From f26cd3f2f6d2b72ae959dd798a2c1191d13a7cc0 Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 23 Feb 2024 11:20:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B4=97=E8=BD=A6=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bigScreen/enpComponents/envirmonitor.vue | 63 +++++-------- src/views/bigScreen/enpComponents/eqments.vue | 90 ++++++++++++------- .../enpComponents/smartg_carwash.vue | 18 ++-- src/views/bigScreen/index_enp_blue.vue | 3 - 4 files changed, 86 insertions(+), 88 deletions(-) diff --git a/src/views/bigScreen/enpComponents/envirmonitor.vue b/src/views/bigScreen/enpComponents/envirmonitor.vue index 48ea7ee0..342cb7f4 100644 --- a/src/views/bigScreen/enpComponents/envirmonitor.vue +++ b/src/views/bigScreen/enpComponents/envirmonitor.vue @@ -19,27 +19,9 @@ 车辆总数:0
- - - - - - - - - - - - - - - - - + + @@ -50,12 +32,23 @@ - - - - - - + + + + + + + + + + + + + + + + + @@ -67,21 +60,7 @@ export default { data() { return { query: {}, - cateOptions: [ - { id: 1, name: '货车' }, - { id: 2, name: '罐车' }, - ], - typeOptions: [ - { id: '', name: '全部' }, - { id: 1, name: '进厂' }, - { id: 2, name: '出厂' } - ], - statusOptions: [ - { id: '', name: '全部' }, - { id: 10, name: '已录入' }, - { id: 20, name: '未录入' } - ], - timeOptions: ['日', '月', '年'], + processOptions: [], apiObj: this.$API.enp.vehicle_access, params: { type: 2 }, } diff --git a/src/views/bigScreen/enpComponents/eqments.vue b/src/views/bigScreen/enpComponents/eqments.vue index f3843fae..061c2f6a 100644 --- a/src/views/bigScreen/enpComponents/eqments.vue +++ b/src/views/bigScreen/enpComponents/eqments.vue @@ -16,20 +16,24 @@
- 设备总数:0 + 设备总数:0 + 在线:0 + 离线:0 + 运行:0 + 待机:0 + 停机:0 + 故障:0 + 未知:0
- - + + - - + - - - - 查询 @@ -37,14 +41,19 @@
- + - - - - - + + + + + + + @@ -55,24 +64,31 @@ export default { data() { return { - query: {}, - cateOptions: [ - { id: 1, name: '货车' }, - { id: 2, name: '罐车' }, - ], + query: { + type: 10, + mgroup: null, + search: '' + }, typeOptions: [ - { id: '', name: 'TSP监测仪表' }, - // { id: 1, name: 'TSP监测仪表' }, - // { id: 2, name: 'TSP监测仪表' } + { id: 10, name: '生产设备' }, + { id: 20, name: '检测设备' }, + { id: 30, name: '治理设备' }, ], - statusOptions: [ - { id: '', name: '全部' }, - { id: 10, name: '已录入' }, - { id: 20, name: '未录入' } - ], - timeOptions: ['日', '月', '年'], - apiObj: this.$API.enp.vehicle_access, - params: { type: 2 }, + type_: { + 10: '生产设备', + 20: '检测设备', + 30: '治理设备', + }, + state_: { + 10: '完好', + 20: '限用', + 30: '在修', + 40: '禁用', + 50: '治理设备', + }, + processOptions: [], + apiObj: this.$API.em.equipment.list, + params: { type: 10 }, } }, methods: { @@ -83,4 +99,14 @@ export default { carHandleQuery() { }, } } - \ No newline at end of file + + \ No newline at end of file diff --git a/src/views/bigScreen/enpComponents/smartg_carwash.vue b/src/views/bigScreen/enpComponents/smartg_carwash.vue index 33e3bef4..edbcbaea 100644 --- a/src/views/bigScreen/enpComponents/smartg_carwash.vue +++ b/src/views/bigScreen/enpComponents/smartg_carwash.vue @@ -11,19 +11,12 @@ + - - - - - - + + + @@ -74,6 +67,9 @@ export default { apiObj2: null, params2: {}, } + }, + mounted() { + this.apiObj = this.$API.enp.carwash; } } \ No newline at end of file diff --git a/src/views/bigScreen/index_enp_blue.vue b/src/views/bigScreen/index_enp_blue.vue index a60d4ba2..4d32c7fe 100644 --- a/src/views/bigScreen/index_enp_blue.vue +++ b/src/views/bigScreen/index_enp_blue.vue @@ -44,9 +44,6 @@ 污染源清单 污染源监测 智能治理 - 设备清单 - 环境质量 - 台账管理