feat: 增加测点字段
This commit is contained in:
parent
f51655b416
commit
77e8a1a211
|
@ -68,14 +68,29 @@
|
||||||
></el-input>
|
></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :md="12" :sm="24">
|
<el-col :md="12" :sm="24">
|
||||||
<el-form-item label="自采点位编号" prop="xcode" label-width="120">
|
<el-form-item
|
||||||
<el-input
|
label="来源其他自采测点"
|
||||||
v-model="form.xcode"
|
prop="mpoint_from"
|
||||||
|
label-width="150"
|
||||||
|
>
|
||||||
|
<el-select
|
||||||
|
v-model="form.mpoint_from"
|
||||||
|
placeholder="来源其他自采测点"
|
||||||
|
:value-on-clear="null"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
filterable
|
||||||
|
style="width: 100%"
|
||||||
|
>
|
||||||
|
<el-option
|
||||||
|
v-for="item in mpointOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.name"
|
||||||
|
:value="item.id"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col> -->
|
</el-col>
|
||||||
<el-col :md="12" :sm="24">
|
<el-col :md="12" :sm="24">
|
||||||
<el-form-item label="单位" prop="unit">
|
<el-form-item label="单位" prop="unit">
|
||||||
<el-input
|
<el-input
|
||||||
|
@ -437,6 +452,7 @@ export default {
|
||||||
isSaveing: false,
|
isSaveing: false,
|
||||||
setFiltersVisible: false,
|
setFiltersVisible: false,
|
||||||
mgroupOptions: [],
|
mgroupOptions: [],
|
||||||
|
mpointOptions: [],
|
||||||
epOptions: [],
|
epOptions: [],
|
||||||
materials: [],
|
materials: [],
|
||||||
};
|
};
|
||||||
|
@ -445,6 +461,7 @@ export default {
|
||||||
this.getMgroup();
|
this.getMgroup();
|
||||||
this.getEquipment();
|
this.getEquipment();
|
||||||
this.getMaterial();
|
this.getMaterial();
|
||||||
|
this.getMpointSet();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//获取集合列表
|
//获取集合列表
|
||||||
|
@ -453,6 +470,12 @@ export default {
|
||||||
this.mgroupOptions = res;
|
this.mgroupOptions = res;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//获取测点集合
|
||||||
|
getMpointSet() {
|
||||||
|
this.$API.enm.mpoint.list.req({ page: 0 }).then((res) => {
|
||||||
|
this.mpointOptions = res;
|
||||||
|
});
|
||||||
|
},
|
||||||
//获取设备列表
|
//获取设备列表
|
||||||
getEquipment() {
|
getEquipment() {
|
||||||
this.$API.em.equipment.list.req({ page: 0 }).then((res) => {
|
this.$API.em.equipment.list.req({ page: 0 }).then((res) => {
|
||||||
|
|
Loading…
Reference in New Issue