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 });