| | |
| | | getExamineList, |
| | | getRoomEnum, |
| | | } from "@/api/managementMeetings/meetExamine"; |
| | | import { getStaffOnJob } from "@/api/personnelManagement/onboarding"; |
| | | import { staffOnJobListPage } from "@/api/personnelManagement/onboarding"; |
| | | import { onShow } from "@dcloudio/uni-app"; |
| | | import useUserStore from "@/store/modules/user"; |
| | | import dayjs from "dayjs"; |
| | |
| | | const staffList = ref([]); |
| | | // 员工列表查询 |
| | | const getStaffOnJobList = () => { |
| | | return getStaffOnJob() |
| | | return staffOnJobListPage() |
| | | .then(res => { |
| | | console.log(res.data, "res.data"); |
| | | staffList.value = res.data; |
| | | staffList.value = res.data.records; |
| | | }) |
| | | .catch(() => { |
| | | closeToast(); |
| | |
| | | .map(staff => { |
| | | return { |
| | | id: staff.id, |
| | | name: `${staff.staffName}(${staff.postJob})`, |
| | | name: `${staff.staffName}(${staff.postName})`, |
| | | }; |
| | | }); |
| | | console.log(it, "it2"); |