|
|
@ -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;
|
|
|
|