|
|
|
@ -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 = [];
|
|
|
|
|
export default {
|
|
|
|
|
name: "Employee", //员工管理
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
rowSelection,
|
|
|
|
|
value: undefined,
|
|
|
|
|
treeData,
|
|
|
|
|
expandedKeys: ["0-0-0", "0-0-1"],
|
|
|
|
|