|
|
@ -143,11 +143,23 @@ const treeData = [
|
|
|
|
],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
const rowSelection = {
|
|
|
|
|
|
|
|
onChange: (selectedRowKeys, selectedRows) => {
|
|
|
|
|
|
|
|
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onSelect: (record, selected, selectedRows) => {
|
|
|
|
|
|
|
|
console.log(record, selected, selectedRows);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
onSelectAll: (selected, selectedRows, changeRows) => {
|
|
|
|
|
|
|
|
console.log(selected, selectedRows, changeRows);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
};
|
|
|
|
const options = [];
|
|
|
|
const options = [];
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "Employee", //员工管理
|
|
|
|
name: "Employee", //员工管理
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
rowSelection,
|
|
|
|
value: undefined,
|
|
|
|
value: undefined,
|
|
|
|
treeData,
|
|
|
|
treeData,
|
|
|
|
expandedKeys: ["0-0-0", "0-0-1"],
|
|
|
|
expandedKeys: ["0-0-0", "0-0-1"],
|
|
|
|