From ce38a19607a22872f6b2d5180b881c63190536a0 Mon Sep 17 00:00:00 2001 From: wangpeng Date: Mon, 8 Apr 2024 20:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=BA=E5=91=98=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/constant.js | 7 ---- src/request/safety_production_related.js | 1 - src/request/user_practitioner.js | 8 +++++ .../production_accident/add.vue | 4 +-- .../production_accident/index.vue | 4 +-- .../violation_registration/add.vue | 24 +++++++------ .../violation_registration/edit.vue | 4 +-- .../violation_registration/index.vue | 4 +-- .../driving_log/add.vue | 8 +---- .../safety_meeting/add.vue | 7 +--- .../components/select_person.vue | 36 +++++++++++-------- .../security_notice/add.vue | 6 ---- .../components/select_person.vue | 36 +++++++++++-------- 13 files changed, 73 insertions(+), 76 deletions(-) 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 @@