From 88b97b803745cb8b1a09494655a431605f3ba9b3 Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Fri, 29 Mar 2024 10:48:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=AE=89=E5=85=A8=E4=BA=8B?= =?UTF-8?q?=E6=95=85=E6=A1=A3=E6=A1=88bug=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/request/safety_production_related.js | 11 ++- .../location_managemen/add.vue | 1 + .../production_accident/add.vue | 74 ++++++++----------- .../production_accident/index.vue | 5 +- .../security_notice/add.vue | 11 ++- .../components/select_person.vue | 5 +- 6 files changed, 50 insertions(+), 57 deletions(-) diff --git a/src/request/safety_production_related.js b/src/request/safety_production_related.js index 8cce186..2000a2e 100644 --- a/src/request/safety_production_related.js +++ b/src/request/safety_production_related.js @@ -1,5 +1,8 @@ import { post, upload } from "@/request/axios.js"; -import { getLevelsByObject, getLevelsByParentId } from "@/request/data_dictionary.js"; +import { + getLevelsByObject, + getLevelsByParentId, +} from "@/request/data_dictionary.js"; import { ref } from "vue"; export const getSecurityNoticeList = (params) => @@ -15,6 +18,8 @@ export const getSecurityNoticeInfo = (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); // 通知等级 export const layoutFnGetNotificationsClassification = async () => { @@ -27,8 +32,8 @@ export const layoutFnGetNotificationsClassification = async () => { // 从业类型(人员类型) export const layoutFnGetSIGNEDSTATUSClassification = async () => { const resData = await getLevelsByObject({ - DICTIONARIES_ID: '0b62f92b0b624aab8e89a77304a64d5e', - BIANMA: 'TRAFFIC_EMPLOYMENT' + DICTIONARIES_ID: "0b62f92b0b624aab8e89a77304a64d5e", + BIANMA: "TRAFFIC_EMPLOYMENT", }); return ref(resData); }; diff --git a/src/views/electronic_waybill_management/location_managemen/add.vue b/src/views/electronic_waybill_management/location_managemen/add.vue index 0270314..c44633c 100644 --- a/src/views/electronic_waybill_management/location_managemen/add.vue +++ b/src/views/electronic_waybill_management/location_managemen/add.vue @@ -79,6 +79,7 @@ 确定 + - + @@ -402,7 +402,7 @@