From 72cab70f23576d79c1d474989cf226d50eda8fa6 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 6 May 2024 11:20:42 +0800 Subject: [PATCH] =?UTF-8?q?fix:em=E4=B8=AD=E8=AE=A1=E9=87=8F=E7=89=A9?= =?UTF-8?q?=E6=96=99=E5=8F=96=E6=B6=88=E7=B1=BB=E5=9E=8B=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/em/mpoint_form.vue | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/views/em/mpoint_form.vue b/src/views/em/mpoint_form.vue index aaec0640..2701037d 100644 --- a/src/views/em/mpoint_form.vue +++ b/src/views/em/mpoint_form.vue @@ -160,7 +160,10 @@ - + - + - + - @@ -243,21 +249,19 @@ label="影响测点编号" label-width="100" > - - + - + @@ -378,11 +382,9 @@ export default { methods: { //获取集合列表 getMgroup() { - this.$API.mtm.mgroup.list - .req({ page: 0 }) - .then((res) => { - this.mgroupOptions = res; - }); + this.$API.mtm.mgroup.list.req({ page: 0 }).then((res) => { + this.mgroupOptions = res; + }); }, //获取设备列表 getEquipment() { @@ -394,11 +396,9 @@ export default { }, //获取产品列表 getMaterial() { - this.$API.mtm.material.list - .req({ page: 0, type__in: "0, 30" }) - .then((res) => { - this.materials = res; - }); + this.$API.mtm.material.list.req({ page: 0 }).then((res) => { + this.materials = res; + }); }, mgroupChange(e) { this.form.mgroups_allocate.push({ mgroup: e, ratio: 1 });