diff --git a/src/assets/js/constant.js b/src/assets/js/constant.js index cf2c357..db31fd3 100644 --- a/src/assets/js/constant.js +++ b/src/assets/js/constant.js @@ -29,13 +29,6 @@ export const TRUCKMENU = [ { id: "货B73752", name: "2" }, { id: "货C87376", name: "3" }, ]; -export const PERSONTYPEMENU = [ - { id: "其他", name: "1" }, - { id: "驾驶员", name: "2" }, - { id: "监控员", name: "3" }, - { id: "押运员", name: "4" }, - { id: "安全负责人", name: "5" }, -]; export const CUSTOMERTYPEMENU = [ { id: "委托方", name: "1" }, { id: "确认方", name: "2" }, diff --git a/src/request/safety_production_related.js b/src/request/safety_production_related.js index 0aff50f..a11ad88 100644 --- a/src/request/safety_production_related.js +++ b/src/request/safety_production_related.js @@ -17,7 +17,6 @@ export const getSecurityNoticeInfo = (params) => post("/securitynotice/goEdit", params); // 安全通知详情 export const addSecurityNotice = (params) => upload("/securitynotice/add", params); // 添加安全通知 -export const getUserListAll = (params) => post("/user/listSelect", params); export const getUserBuUserId = (params) => post("/user/getUserByUserId", params); diff --git a/src/request/user_practitioner.js b/src/request/user_practitioner.js index 6fbfc06..c88d055 100644 --- a/src/request/user_practitioner.js +++ b/src/request/user_practitioner.js @@ -26,3 +26,11 @@ export const setPractitionerEdit = (params) => // 从业人员解聘 export const setPractitionerDismissal = (params) => post("/user/setPractitionerDismissal", params); + +// 人员列表(table分页) +export const getUserSelectListAll = (params) => + post("/user/listSelect", params); + +// 人员列表(select) +export const getPractitionerSelectList = (params) => + post("/user/getPractitionerSelectList", params); diff --git a/src/views/mechanical_files/production_accident/add.vue b/src/views/mechanical_files/production_accident/add.vue index 6a42d09..3150e69 100644 --- a/src/views/mechanical_files/production_accident/add.vue +++ b/src/views/mechanical_files/production_accident/add.vue @@ -401,7 +401,6 @@ diff --git a/src/views/production_course_regulate/violation_registration/edit.vue b/src/views/production_course_regulate/violation_registration/edit.vue index 671701b..8d00591 100644 --- a/src/views/production_course_regulate/violation_registration/edit.vue +++ b/src/views/production_course_regulate/violation_registration/edit.vue @@ -105,7 +105,6 @@