This commit is contained in:
曹辉 2023-02-16 15:27:26 +08:00
parent a0f302dc86
commit 10a0146524

View File

@ -956,7 +956,6 @@ export default {
}, },
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
console.log(selection);
this.ids = selection.map((item) => item.nurseStationId); this.ids = selection.map((item) => item.nurseStationId);
this.itemids = selection.map((item) => item.nurseItemId); this.itemids = selection.map((item) => item.nurseItemId);
this.Types = selection.map((item) => item.moduleType); this.Types = selection.map((item) => item.moduleType);
@ -973,7 +972,7 @@ export default {
handleUpdate(row) { handleUpdate(row) {
this.reset(); this.reset();
const id = row.nurseStationId || this.ids; const id = row.nurseStationId || this.ids;
const itemid = row.nurseStationId || this.ids; const itemid = row.nurseItemId || this.itemids;
const type = row.moduleType || this.Types; const type = row.moduleType || this.Types;
getPoser(type, id, itemid).then((response) => { getPoser(type, id, itemid).then((response) => {
this.form = response.data; this.form = response.data;