diff --git a/src/views/jobManage/listJobsOverTimeGet.vue b/src/views/jobManage/listJobsOverTimeGet.vue index 3590ab7..f390877 100644 --- a/src/views/jobManage/listJobsOverTimeGet.vue +++ b/src/views/jobManage/listJobsOverTimeGet.vue @@ -144,22 +144,6 @@ value: 'createTime', width: 170, align: 'center' - }, - { - text: '处理状态', - value: 'jobStatusName', - align: 'center' - }, - { - text: '处理人', - value: 'jobBelongTo', - align: 'center', - format: true - }, - { - text: '接单时间', - value: 'getJobTime', - align: 'center' } ], // 显示列 multipleSelection: [], // 多选选中项 @@ -209,6 +193,7 @@ console.log('create') this.fetchAlarmType() // 告警类型下拉菜单 this.fetchAlarmContentType() // 告警内容下拉菜单 + this.fetchData() }, beforeRouteEnter(to, from, next) { if (from.name) { @@ -222,10 +207,8 @@ } next() }, - mounted() { - this.fetchData() - }, activated() { + // 如果不是从详情页来 if (!isFromDetail) { this.listQuery.keywords = '' this.listQuery.alarmType = ''