From 680b3cc994e818f8a8a24991f836c2cafde27c2e Mon Sep 17 00:00:00 2001 From: xiepeng Date: Tue, 9 Apr 2024 19:08:35 +0800 Subject: [PATCH] =?UTF-8?q?BUG=20=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 | 6 + .../violation_registration/edit.vue | 2 +- .../violation_registration/index.vue | 14 +- .../security_notice/add.vue | 7 +- .../security_notice/details.vue | 356 +++++++++++------- .../security_notice/index.vue | 68 +++- .../security_notice/notice_info.vue | 64 +++- 7 files changed, 341 insertions(+), 176 deletions(-) diff --git a/src/request/safety_production_related.js b/src/request/safety_production_related.js index e64eb09..3c81300 100644 --- a/src/request/safety_production_related.js +++ b/src/request/safety_production_related.js @@ -17,9 +17,15 @@ export const getSecurityNoticeInfo = (params) => post("/securitynotice/goEdit", params); // 安全通知详情 export const addSecurityNotice = (params) => upload("/securitynotice/add", params); // 添加安全通知 + +export const editSecurityNotice = (params) => + upload("/securitynotice/edit", params); // 修改安全通知 export const getUserBuUserId = (params) => post("/user/getUserByUserId", params); +export const issueSecurityNotice = (params) => + post("/securitynotice/issueSecurityNotice", params); // 发布安全通知 + // 通知等级 export const layoutFnGetNotificationsClassification = async () => { const resData = await getLevelsByParentId({ diff --git a/src/views/production_course_regulate/violation_registration/edit.vue b/src/views/production_course_regulate/violation_registration/edit.vue index 8d00591..1efbf0d 100644 --- a/src/views/production_course_regulate/violation_registration/edit.vue +++ b/src/views/production_course_regulate/violation_registration/edit.vue @@ -10,7 +10,7 @@ - + - - - + + diff --git a/src/views/safety_production_related/security_notice/add.vue b/src/views/safety_production_related/security_notice/add.vue index d9d005c..b54c49e 100644 --- a/src/views/safety_production_related/security_notice/add.vue +++ b/src/views/safety_production_related/security_notice/add.vue @@ -74,13 +74,14 @@ - + diff --git a/src/views/safety_production_related/security_notice/details.vue b/src/views/safety_production_related/security_notice/details.vue index ed26911..48514df 100644 --- a/src/views/safety_production_related/security_notice/details.vue +++ b/src/views/safety_production_related/security_notice/details.vue @@ -1,155 +1,239 @@ - + diff --git a/src/views/safety_production_related/security_notice/index.vue b/src/views/safety_production_related/security_notice/index.vue index 21515f8..c40aa53 100644 --- a/src/views/safety_production_related/security_notice/index.vue +++ b/src/views/safety_production_related/security_notice/index.vue @@ -52,22 +52,22 @@ :data="list" @get-data="fnGetData" > - + - - + + - + @@ -90,11 +90,38 @@ - - - + +