修改
This commit is contained in:
parent
a0f302dc86
commit
10a0146524
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user