mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-22 17:31:03 +01:00
更新统计埋点
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
@@ -113,9 +113,7 @@ export default {
|
||||
this.$message.success(this.$t('Saved successfully'))
|
||||
}
|
||||
})
|
||||
},
|
||||
toggleDingTalkAppSecret () {
|
||||
this.isShowDingTalkAppSecret = !this.isShowDingTalkAppSecret
|
||||
this.$st.sendEv('设置', '保存')
|
||||
}
|
||||
},
|
||||
async created () {
|
||||
|
||||
Reference in New Issue
Block a user