From a1f2c86055b480daff6b5b256c45e8cc8667dc7b Mon Sep 17 00:00:00 2001 From: shijing Date: Fri, 23 Feb 2024 17:01:02 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bigScreen/enpComponents/alarmrecord.vue | 75 +++++++++++++------ .../bigScreen/enpComponents/envirmonitor.vue | 8 +- .../bigScreen/enpComponents/innerclean.vue | 14 ++-- .../enpComponents/pollutecalendar.vue | 4 +- .../bigScreen/enpComponents/transport.vue | 25 +++++-- src/views/em/equipment_form.vue | 2 +- 6 files changed, 86 insertions(+), 42 deletions(-) diff --git a/src/views/bigScreen/enpComponents/alarmrecord.vue b/src/views/bigScreen/enpComponents/alarmrecord.vue index 089603b6..98d51353 100644 --- a/src/views/bigScreen/enpComponents/alarmrecord.vue +++ b/src/views/bigScreen/enpComponents/alarmrecord.vue @@ -1,35 +1,64 @@ \ No newline at end of file diff --git a/src/views/bigScreen/enpComponents/envirmonitor.vue b/src/views/bigScreen/enpComponents/envirmonitor.vue index 342cb7f4..0929b5ab 100644 --- a/src/views/bigScreen/enpComponents/envirmonitor.vue +++ b/src/views/bigScreen/enpComponents/envirmonitor.vue @@ -24,13 +24,13 @@ :value="item"> + placeholder="设备名称/设备编号"> 查询 - + @@ -59,10 +59,10 @@ export default { data() { return { + params: {}, query: {}, + apiObj: null, processOptions: [], - apiObj: this.$API.enp.vehicle_access, - params: { type: 2 }, } }, methods: { diff --git a/src/views/bigScreen/enpComponents/innerclean.vue b/src/views/bigScreen/enpComponents/innerclean.vue index c661e083..3f4c01e7 100644 --- a/src/views/bigScreen/enpComponents/innerclean.vue +++ b/src/views/bigScreen/enpComponents/innerclean.vue @@ -22,11 +22,11 @@ - + 查询 @@ -35,8 +35,9 @@ - - + + @@ -57,14 +58,15 @@ export default { data() { return { query: {}, + params: { type: 30, tags: 'carwash' }, cateOptions: [ { id: 1, name: '场内运输车辆(白名单)' }, { id: 2, name: '非路道移动机械' }, { id: 3, name: '环卫车辆' }, { id: 4, name: '其他车辆' }, ], - apiObj: this.$API.enp.vehicle_access, - params: { type: 1 }, + apiObj: this.$API.em.equipment.list, + } }, methods: { diff --git a/src/views/bigScreen/enpComponents/pollutecalendar.vue b/src/views/bigScreen/enpComponents/pollutecalendar.vue index 367dfc66..bd59f3f8 100644 --- a/src/views/bigScreen/enpComponents/pollutecalendar.vue +++ b/src/views/bigScreen/enpComponents/pollutecalendar.vue @@ -5,7 +5,7 @@
污染日历
- + diff --git a/src/views/bigScreen/enpComponents/transport.vue b/src/views/bigScreen/enpComponents/transport.vue index ee78d845..d602f6ea 100644 --- a/src/views/bigScreen/enpComponents/transport.vue +++ b/src/views/bigScreen/enpComponents/transport.vue @@ -47,14 +47,19 @@ - - - - - - - - + + + + + + + + + + @@ -80,6 +85,10 @@ export default { { id: 10, name: '已录入' }, { id: 20, name: '未录入' } ], + type_: { + 1: '进厂', + 2: '出厂' + }, timeOptions: ['日', '月', '年'], apiObj: this.$API.enp.vehicle_access, params: { type: 2 }, diff --git a/src/views/em/equipment_form.vue b/src/views/em/equipment_form.vue index a763c25e..d1ed34d2 100644 --- a/src/views/em/equipment_form.vue +++ b/src/views/em/equipment_form.vue @@ -3,7 +3,7 @@ + v-if="form.type == 10 || form.type == 30">