档案多维度分类管理功能
This commit is contained in:
parent
e62fcc16f5
commit
765d49ddd5
|
|
@ -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; // 打开弹窗
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue