From 356b5c056ba5bd0f1224be9e0bc4201e565d8ccf Mon Sep 17 00:00:00 2001 From: marvzhang Date: Thu, 16 Jan 2020 16:03:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=BB=9F=E8=AE=A1=E5=9F=8B?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/File/FileList.vue | 1 + frontend/src/views/schedule/ScheduleList.vue | 12 ++---------- frontend/src/views/setting/Setting.vue | 4 +--- 3 files changed, 4 insertions(+), 13 deletions(-) diff --git a/frontend/src/components/File/FileList.vue b/frontend/src/components/File/FileList.vue index 26ed393a..c3f47aa1 100644 --- a/frontend/src/components/File/FileList.vue +++ b/frontend/src/components/File/FileList.vue @@ -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) diff --git a/frontend/src/views/schedule/ScheduleList.vue b/frontend/src/views/schedule/ScheduleList.vue index cd66231e..c1955dd5 100644 --- a/frontend/src/views/schedule/ScheduleList.vue +++ b/frontend/src/views/schedule/ScheduleList.vue @@ -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 () { diff --git a/frontend/src/views/setting/Setting.vue b/frontend/src/views/setting/Setting.vue index 75dc856f..e82d47b6 100644 --- a/frontend/src/views/setting/Setting.vue +++ b/frontend/src/views/setting/Setting.vue @@ -113,9 +113,7 @@ export default { this.$message.success(this.$t('Saved successfully')) } }) - }, - toggleDingTalkAppSecret () { - this.isShowDingTalkAppSecret = !this.isShowDingTalkAppSecret + this.$st.sendEv('设置', '保存') } }, async created () {