diff --git a/src/views/bigScreen/enpComponents/smarg_trans.vue b/src/views/bigScreen/enpComponents/smarg_trans.vue index be77b469..c80385f0 100644 --- a/src/views/bigScreen/enpComponents/smarg_trans.vue +++ b/src/views/bigScreen/enpComponents/smarg_trans.vue @@ -2,9 +2,9 @@
- - - 查询 + + +
@@ -32,27 +32,47 @@
- - - - + + + + + - + - - + - - @@ -62,7 +82,20 @@ export default { data() { return { apiObj: null, - params: {} + params: { type: 20, has_equipdata: 'yes', cate: 'mtrans' }, + query: {}, + mgroupOptions: [] + } + }, + mounted() { + this.apiObj = this.$API.enp.drain.list + this.getMgroup() + }, + methods: { + getMgroup() { + this.$API.mtm.mgroup.list.req({ page: 0 }).then(res => { + this.mgroupOptions = res + }) } } } @@ -111,4 +144,5 @@ export default { .grayb { background: #cbcbcb -} \ 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 edbcbaea..85b3086f 100644 --- a/src/views/bigScreen/enpComponents/smartg_carwash.vue +++ b/src/views/bigScreen/enpComponents/smartg_carwash.vue @@ -6,15 +6,21 @@
洗车行为统计
+
+ + + +
- + + - - - + + @@ -48,9 +54,6 @@ - - xx - @@ -66,10 +69,23 @@ export default { params: {}, apiObj2: null, params2: {}, + stationOptions: [], + query: {} } }, mounted() { this.apiObj = this.$API.enp.carwash; + this.getStations(); + }, + methods: { + getStations() { + this.$API.em.equipment.list.req({ cate__code: 'wstation', page: 0 }).then(res => { + this.stationOptions = res; + }) + }, + handleQuery() { + this.$refs.table.queryData(this.query); + }, } } \ No newline at end of file diff --git a/src/views/bigScreen/enpComponents/smartg_prod.vue b/src/views/bigScreen/enpComponents/smartg_prod.vue index be77b469..c0207c2f 100644 --- a/src/views/bigScreen/enpComponents/smartg_prod.vue +++ b/src/views/bigScreen/enpComponents/smartg_prod.vue @@ -2,9 +2,9 @@
- - - 查询 + + +
@@ -32,27 +32,47 @@
- - - - + + + + + - + - - + - - @@ -62,7 +82,20 @@ export default { data() { return { apiObj: null, - params: {} + params: { type: 20, has_equipdata: 'yes', cate: 'product' }, + query: {}, + mgroupOptions: [] + } + }, + mounted() { + this.apiObj = this.$API.enp.drain.list + this.getMgroup() + }, + methods: { + getMgroup() { + this.$API.mtm.mgroup.list.req({ page: 0 }).then(res => { + this.mgroupOptions = res + }) } } } @@ -111,4 +144,5 @@ export default { .grayb { background: #cbcbcb -} \ No newline at end of file +} + \ No newline at end of file