| | |
| | | import { getDeptPositionTree, getDeptPositionByDeptIdLabor } from "@/api/lavorissce/issue"; |
| | | import { deepCopySameProperties } from '@/utils/util' |
| | | import { ElMessage } from "element-plus"; |
| | | import {staffJoinListPage} from "@/api/personnelManagement/onboarding.js"; |
| | | |
| | | const { proxy } = getCurrentInstance() |
| | | |
| | |
| | | const res = await getDeptPositionByDeptIdLabor({ id: deptPositionId }) |
| | | laborSuppliesOptions.value = res?.data || [] |
| | | |
| | | const staffRes = await staffOnJobListPage({ current: -1, size: -1, staffState: 1, deptPositionId: deptPositionId }) |
| | | const staffRes = await staffJoinListPage({ current: -1, size: -1, staffState: 1, deptPositionId: deptPositionId }) |
| | | const staffList = staffRes?.data?.records || [] |
| | | personList.value = staffList |
| | | const suppliesList = laborSuppliesOptions.value || [] |
| | | |
| | | if (staffList.length > 0 && suppliesList.length > 0) { |