Commit ee34befe by cen

fix: 新加埋点

1 parent 07074e06
......@@ -570,6 +570,9 @@ export default {
if (this.query.type == 'edit') {
this.title = '编辑评估单'
this.getDetail(this.query.evalOrderNo)
uni.$track.add({ eventCode: 'app_edit_evaluation_from' })
} else {
uni.$track.add({ eventCode: 'app_add_evaluation_from' })
}
this.formData.carBaseReqDTO.ownerTypeName = '个人'
this.formData.carBaseReqDTO.usageTypeName = '非营运'
......@@ -578,7 +581,6 @@ export default {
this.formData.carBaseReqDTO.emissionStandardName = '国6'
this.formData.carBaseReqDTO.overallRatingName = '优'
this.userInfo = uni.$storage.get('userInfo') || {}
uni.$track.add({ eventCode: 'app_add_evaluation_from' })
},
methods: {
loadCachedData() {
......
......@@ -693,6 +693,7 @@ export default {
})
},
switchTabByKey(key) {
uni.$track.add({ eventCode: 'app_evaluation_tabChange' })
// 确保切换的key存在于当前的tabs数组中
const tabExists = this.tabs.some(tab => tab.key === key)
if (tabExists) {
......
......@@ -235,6 +235,7 @@ export default {
}
},
mounted() {
uni.$track.add({ eventCode: 'app_evaluation_from' })
this.getStatByStatus()
},
methods: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!