| | |
| | | import { getAuthRole, updateAuthRole } from '@/api/system/user'; |
| | | import { UserForm } from '@/api/system/user/types'; |
| | | import { RouteLocationNormalized } from 'vue-router'; |
| | | import { parseTime } from "@/utils/ruoyi"; |
| | | import { parseTime } from '@/utils/ruoyi'; |
| | | |
| | | const route = useRoute(); |
| | | const { proxy } = getCurrentInstance() as ComponentInternalInstance; |
| | |
| | | |
| | | /** 单击选中行数据 */ |
| | | const clickRow = (row: RoleVO) => { |
| | | // ele的方法有问题,selected应该为可选参数 |
| | | tableRef.value?.toggleRowSelection(row, false); |
| | | row.flag = !row.flag; |
| | | tableRef.value?.toggleRowSelection(row, row.flag); |
| | | }; |
| | | /** 多选框选中数据 */ |
| | | const handleSelectionChange = (selection: RoleVO[]) => { |