| | |
| | | import { authUserSelectAll, unallocatedUserList } from "@/api/system/role"; |
| | | import { UserVO } from '@/api/system/user/types'; |
| | | import { UserQuery } from '@/api/system/user/types'; |
| | | import { ComponentInternalInstance } from 'vue'; |
| | | import { ElForm, ElTable } from 'element-plus'; |
| | | |
| | | |
| | | const props = defineProps({ |
| | |
| | | phonenumber: undefined |
| | | }) |
| | | |
| | | const tableRef = ref(ElTable); |
| | | const queryFormRef = ref(ElForm); |
| | | const tableRef = ref<ElTableInstance>(); |
| | | const queryFormRef = ref<ElFormInstance>(); |
| | | |
| | | const show = () => { |
| | | queryParams.roleId = props.roleId; |
| | |
| | | * 选择行 |
| | | */ |
| | | const clickRow = (row: any) => { |
| | | tableRef.value.toggleRowSelection(row); |
| | | // ele的bug |
| | | tableRef.value?.toggleRowSelection(row); |
| | | } |
| | | /** 多选框选中数据 */ |
| | | const handleSelectionChange = (selection: UserVO[]) => { |
| | |
| | | } |
| | | /** 重置按钮操作 */ |
| | | const resetQuery = () => { |
| | | queryFormRef.value.resetFields(); |
| | | queryFormRef.value?.resetFields(); |
| | | getList(); |
| | | } |
| | | |