From bb5c88074e9635cdcd59ad886e28a890876298f0 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 6 Jul 2022 17:33:15 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=94=BE=E5=BC=80=E4=B8=8B=E6=8B=89?= =?UTF-8?q?=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppMonitoringObject/AppMonitoringObject.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/AppMonitoringObject/AppMonitoringObject.vue b/src/apps/AppMonitoringObject/AppMonitoringObject.vue index 58018610..4e15be84 100644 --- a/src/apps/AppMonitoringObject/AppMonitoringObject.vue +++ b/src/apps/AppMonitoringObject/AppMonitoringObject.vue @@ -4,7 +4,7 @@
-
+
全部类型 {{ $dict.getLabel('fpPrtpStatus', status)}} From 752d8020a2b216c37ca461543b69b1ce25c1f152 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 6 Jul 2022 18:32:55 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=B7=B2=E8=84=B1=E8=B4=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppMonitoringObject/AppMonitoringObject.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/apps/AppMonitoringObject/AppMonitoringObject.vue b/src/apps/AppMonitoringObject/AppMonitoringObject.vue index 4e15be84..ce56950b 100644 --- a/src/apps/AppMonitoringObject/AppMonitoringObject.vue +++ b/src/apps/AppMonitoringObject/AppMonitoringObject.vue @@ -146,8 +146,17 @@ export default { change(index) { this.currentTabs = index + if(this.currentTabs == 1) { + this.typelist = this.$dict.getDict('fpPrtpStatus') + this.typelist.unshift({ dictName: '全部类型', dictValue: ''}) + } else if (this.currentTabs == 0) { + this.typelist = this.$dict.getDict('fpPrtpStatus').filter((e) => e.dictValue != 5) + this.typelist.unshift({ dictName: '全部类型', dictValue: ''}) + } + this.status = '' this.getListInit() + }, toDetail(item) { From 5dbc0728212611bcfc4fe62a3c0124a9f6428fb9 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 7 Jul 2022 10:04:44 +0800 Subject: [PATCH 3/3] bug --- src/apps/AppMonitoringObject/AppMonitoringObject.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps/AppMonitoringObject/AppMonitoringObject.vue b/src/apps/AppMonitoringObject/AppMonitoringObject.vue index ce56950b..e78d4a05 100644 --- a/src/apps/AppMonitoringObject/AppMonitoringObject.vue +++ b/src/apps/AppMonitoringObject/AppMonitoringObject.vue @@ -112,6 +112,8 @@ export default { confirmTypeSelect(val) { this.status = val?.[0].value this.$nextTick(()=>{ + this.current = 1, + this.list = [] this.getList() }) }, @@ -153,7 +155,6 @@ export default { this.typelist = this.$dict.getDict('fpPrtpStatus').filter((e) => e.dictValue != 5) this.typelist.unshift({ dictName: '全部类型', dictValue: ''}) } - this.status = '' this.getListInit()