|
|
@ -122,11 +122,6 @@ export default { |
|
|
|
deleteVisible: false, |
|
|
|
restoreVisible: false, |
|
|
|
tableData: [], |
|
|
|
deptName: '', |
|
|
|
depts: [], |
|
|
|
deptDatas: [], |
|
|
|
level: 3, |
|
|
|
// defaultProps: { children: 'children', label: 'name', isLeaf: 'leaf' } |
|
|
|
defaultProps: { children: 'children', label: 'cnName' } |
|
|
|
|
|
|
|
} |
|
|
@ -170,6 +165,12 @@ export default { |
|
|
|
}, |
|
|
|
selectionChangeHandler(val) { |
|
|
|
this.selections = val |
|
|
|
}, |
|
|
|
handleDelConfirm() { |
|
|
|
console.log('确定彻底删除') |
|
|
|
}, |
|
|
|
handleRestoreConfirm() { |
|
|
|
console.log('确定还原') |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|