更新统计埋点

This commit is contained in:
marvzhang
2020-01-16 16:03:04 +08:00
parent 7d27f014cf
commit 356b5c056b
3 changed files with 4 additions and 13 deletions

View File

@@ -325,6 +325,7 @@ export default {
this.isShowCreatePopoverDict = {}
this.$set(this.isShowCreatePopoverDict, data.path, true)
this.activeFileNode = data
this.$st.sendEv('爬虫详情', '文件', '右键点击导航栏')
},
onHideCreate (data) {
this.$set(this.isShowCreatePopoverDict, data.path, false)

View File

@@ -337,15 +337,6 @@ export default {
return false
}
},
getStatusTooltip (row) {
if (row.status === 'stop') {
return 'Start'
} else if (row.status === 'running') {
return 'Stop'
} else if (row.status === 'error') {
return 'Start'
}
},
async onEnabledChange (row) {
let res
if (row.enabled) {
@@ -358,10 +349,11 @@ export default {
} else {
this.$message.success(this.$t(`${row.enabled ? 'Enabling' : 'Disabling'} the schedule successful`))
}
this.$st.sendEv('定时任务', '启用/禁用')
},
onCronChange (value) {
console.log(value)
this.$set(this.scheduleForm, 'cron', value)
this.$st.sendEv('定时任务', '配置Cron')
}
},
created () {

View File

@@ -113,9 +113,7 @@ export default {
this.$message.success(this.$t('Saved successfully'))
}
})
},
toggleDingTalkAppSecret () {
this.isShowDingTalkAppSecret = !this.isShowDingTalkAppSecret
this.$st.sendEv('设置', '保存')
}
},
async created () {