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 @@ - - - + +