From ed1fbcb9a08a414c2ef5ddda976705945ffe7fbc Mon Sep 17 00:00:00 2001 From: "978184212@qq.com" <978184212@qq.com> Date: Tue, 2 Dec 2025 10:57:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packDetail/pages/analysis/index.vue | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/packDetail/pages/analysis/index.vue b/packDetail/pages/analysis/index.vue index 41a9bb8..4279403 100644 --- a/packDetail/pages/analysis/index.vue +++ b/packDetail/pages/analysis/index.vue @@ -241,15 +241,36 @@ this.index = 0 this.index1 = 0 this.getpj() + this.importWyw() this.getazsurvMulchRecord() this.getyjList() // this.gettj() this.qushicov() }, methods: { + importWyw() { + this.array = [] + this.arrays = [] + this.arrays1 = [{ + label: '全部监测设备', + value: '' + }] + this.$http.get('/applet/survStationInfo/list').then(res => { + for (var i = 0; i < res.data.data.length; i++) { + this.arrays.push({ + label: res.data.data[i].stationName, + value: res.data.data[i].stationCode + }) + this.arrays1.push({ + label: res.data.data[i].stationName, + value: res.data.data[i].stationCode + }) + this.array.push(res.data.data[i].stationName) + } + }) + }, // 获取监测站点数据 getazsurvMulchRecord() { - this.array = [] this.arrays = [] this.array1 = ['全部监测设备', ] this.arrays1 = [{ @@ -266,7 +287,6 @@ label: res.data.data[i].fullDeviceName, value: res.data.data[i].id }) - this.array.push(res.data.data[i].fullDeviceName) this.array1.push(res.data.data[i].fullDeviceName) } })