gaoluyang
7 小时以前 1f17fe5e687b4dadef305d25b1e97ce8cd1afc8a
金鹰黄金
1.新增劳保台账选择岗位刷新人员列表接口修改
已修改1个文件
4 ■■■ 文件已修改
src/views/lavorissue/ledger/Modal.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/lavorissue/ledger/Modal.vue
@@ -70,6 +70,7 @@
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()
@@ -210,8 +211,9 @@
  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) {