档案多维度分类管理功能
This commit is contained in:
parent
e62fcc16f5
commit
765d49ddd5
|
|
@ -104,6 +104,9 @@ export default {
|
||||||
|
|
||||||
shareDialogVisible: false,
|
shareDialogVisible: false,
|
||||||
shareRowData: null,
|
shareRowData: null,
|
||||||
|
|
||||||
|
selectedNodeId: 0,
|
||||||
|
selectedNodeName: '',
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -138,6 +141,8 @@ export default {
|
||||||
|
|
||||||
nodeClick(node) {
|
nodeClick(node) {
|
||||||
this.treeDeptId = node.id;
|
this.treeDeptId = node.id;
|
||||||
|
this.selectedNodeId = node.id
|
||||||
|
this.selectedNodeName = node.title
|
||||||
this.loadDatasetNoPaging();
|
this.loadDatasetNoPaging();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -244,7 +249,13 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
shareRow(row) {
|
shareRow(row) {
|
||||||
this.shareRowData = row;
|
const { $cellEdit,$index, ...cleanRow } = row;
|
||||||
|
|
||||||
|
cleanRow.selectedNodeName = this.selectedNodeName;
|
||||||
|
cleanRow.selectedNodeId = this.selectedNodeId;
|
||||||
|
cleanRow.jsonId = cleanRow.id;
|
||||||
|
|
||||||
|
this.shareRowData = cleanRow;
|
||||||
this.shareDialogVisible = true; // 打开弹窗
|
this.shareDialogVisible = true; // 打开弹窗
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue