绑定辅助设备优化

yangwl
A0010407 9 months ago
parent 9919b455d8
commit f4ce92f40a

@ -76,7 +76,7 @@
<el-table-column prop="standardName" label="标准名称" width="500"> <el-table-column prop="standardName" label="标准名称" width="500">
</el-table-column> </el-table-column>
<el-table-column prop="itemLoop" label="次" width="55"> </el-table-column> <el-table-column prop="itemLoop" label="次" width="55"> </el-table-column>
<el-table-column prop="itemLoopType" label="周期" width="55"> <el-table-column prop="itemLoopType" label="周期" width="60">
</el-table-column> </el-table-column>
<el-table-column prop="head" label="责任人" width="70"> </el-table-column> <el-table-column prop="head" label="责任人" width="70"> </el-table-column>
<el-table-column prop="one" label="1" width="40"> <el-table-column prop="one" label="1" width="40">

@ -1221,6 +1221,8 @@ export default {
getList() { getList() {
this.loading = true; this.loading = true;
listEquipment(this.queryParams).then((response) => { listEquipment(this.queryParams).then((response) => {
this.auxiliaryEquipmentLeftList = [];
this.auxiliaryEquipmentRightList = [];
for (let i in response.rows) { for (let i in response.rows) {
// 穿 // 穿
this.auxiliaryEquipmentLeftList.push({ this.auxiliaryEquipmentLeftList.push({
@ -1229,9 +1231,8 @@ export default {
}); });
} }
for (let i in response.selected) { for (let i in response.selected) {
this.auxiliaryEquipmentLeftList.push(response.selected[i].key); this.auxiliaryEquipmentRightList.push(response.selected[i].key);
this.form.auxiliaryEquipmentRightData = this.form.auxiliaryEquipmentRightData = this.auxiliaryEquipmentRightList;
this.auxiliaryEquipmentRightList;
} }
this.equipmentList = response.rows; this.equipmentList = response.rows;
this.total = response.total; this.total = response.total;

Loading…
Cancel
Save