档案多维度分类管理功能

This commit is contained in:
lSun 2025-11-27 11:28:31 +08:00
parent e62fcc16f5
commit 765d49ddd5
1 changed files with 12 additions and 1 deletions

View File

@ -104,6 +104,9 @@ export default {
shareDialogVisible: false,
shareRowData: null,
selectedNodeId: 0,
selectedNodeName: '',
};
},
@ -138,6 +141,8 @@ export default {
nodeClick(node) {
this.treeDeptId = node.id;
this.selectedNodeId = node.id
this.selectedNodeName = node.title
this.loadDatasetNoPaging();
},
@ -244,7 +249,13 @@ export default {
},
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; //
}
}