文件名从 src/components/Process/sys-user.vue 修改 |
| | |
| | | |
| | | <script setup name="User" lang="ts"> |
| | | import { deptTreeSelect } from '@/api/system/user'; |
| | | import { getUserListByPage, getUserListByIds } from '@/api/workflow/workflowUser'; |
| | | import { getPageByUserList, getUserListByIds } from '@/api/workflow/workflowUser'; |
| | | import { UserVO } from '@/api/system/user/types'; |
| | | import { DeptVO } from '@/api/system/dept/types'; |
| | | import { ComponentInternalInstance } from 'vue'; |
| | |
| | | userIds.value = userIdList; |
| | | visible.value = true; |
| | | loading.value = true; |
| | | const res = await getUserListByPage(queryParams.value); |
| | | const res = await getPageByUserList(queryParams.value); |
| | | loading.value = false; |
| | | userList.value = res.rows; |
| | | total.value = res.total; |
| | |
| | | |
| | | const getList = async () => { |
| | | loading.value = true; |
| | | const res = await getUserListByPage(queryParams.value); |
| | | const res = await getPageByUserList(queryParams.value); |
| | | loading.value = false; |
| | | userList.value = res.rows; |
| | | total.value = res.total; |