From f025e90a0abde33981df620183f5c266f5fce9ff Mon Sep 17 00:00:00 2001 From: WenShiJun Date: Fri, 23 Feb 2024 19:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E5=85=A8=E9=80=9A=E7=9F=A5=E6=A8=A1?= =?UTF-8?q?=E5=9D=97->=E6=96=B0=E5=A2=9E=E5=88=97=E8=A1=A8=E3=80=81?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E3=80=81=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/request/safety_production_related.js | 18 ++ .../inventory_management/add.vue | 1 - .../components/inspection_route.vue | 1 - .../security_notice/add.vue | 178 ++++++++++++++++++ .../components/select_risk.vue | 116 ++++++++++++ .../security_notice/details.vue | 140 ++++++++++++++ .../security_notice/index.vue | 173 +++++++++++++++++ .../security_notice/notice_info.vue | 60 ++++++ 8 files changed, 685 insertions(+), 2 deletions(-) create mode 100644 src/request/safety_production_related.js create mode 100644 src/views/safety_production_related/security_notice/add.vue create mode 100644 src/views/safety_production_related/security_notice/components/select_risk.vue create mode 100644 src/views/safety_production_related/security_notice/details.vue create mode 100644 src/views/safety_production_related/security_notice/index.vue create mode 100644 src/views/safety_production_related/security_notice/notice_info.vue diff --git a/src/request/safety_production_related.js b/src/request/safety_production_related.js new file mode 100644 index 0000000..10ef43d --- /dev/null +++ b/src/request/safety_production_related.js @@ -0,0 +1,18 @@ +import { post,upload } from "@/request/axios.js"; +import {getLevelsByParentId} from "@/request/data_dictionary.js"; +import {ref} from "vue"; + +export const getSecurityNoticeList = (params) => post("/securitynotice/listForSecurityNotice", params); // 安全通知列表 +export const getSecurityNotice = (params) => post("/securitynotice/getAllReadDetail", params); // 阅读详情 +export const dateteSecurityNotice = (params) => post("/securitynotice/delete", params); // 安全通知删除 +export const getSecurityNoticeInfo = (params) => post("/securitynotice/goEdit", params); // 安全通知详情 +export const addSecurityNotice = (params) => upload("/securitynotice/add", params); // 添加安全通知 +export const getUserListAll = (params) => post("/user/listUserByCorp", params); + +export const layoutFnGetNotificationsClassification = async () => { + const resData = await getLevelsByParentId({ + parentId: "aaecb47d95524b84904809671e48a777", + }); + return ref(resData); +}; + diff --git a/src/views/hazard_investigation/inventory_management/add.vue b/src/views/hazard_investigation/inventory_management/add.vue index 5eb891c..54b1eae 100644 --- a/src/views/hazard_investigation/inventory_management/add.vue +++ b/src/views/hazard_investigation/inventory_management/add.vue @@ -253,7 +253,6 @@ import useFormValidate from "@/assets/js/useFormValidate.js"; import { ElMessage } from "element-plus"; import AddRisk from "@/views/risk_control/ledger/components/add.vue"; import SelectRisk from "./components/select_risk.vue"; -import AddInspectionRoute from "./components/add_inspection_route.vue"; const route = useRoute(); const router = useRouter(); diff --git a/src/views/hazard_investigation/inventory_management/components/inspection_route.vue b/src/views/hazard_investigation/inventory_management/components/inspection_route.vue index ab6c401..baec158 100644 --- a/src/views/hazard_investigation/inventory_management/components/inspection_route.vue +++ b/src/views/hazard_investigation/inventory_management/components/inspection_route.vue @@ -57,7 +57,6 @@ import { useVModels } from "@vueuse/core"; import { ElMessage } from "element-plus"; import { debounce } from "throttle-debounce"; import { setInventoryManagementRoute } from "@/request/hazard_investigation.js"; -import { VueDraggable } from "vue-draggable-plus"; const props = defineProps({ visible: { diff --git a/src/views/safety_production_related/security_notice/add.vue b/src/views/safety_production_related/security_notice/add.vue new file mode 100644 index 0000000..a4c433a --- /dev/null +++ b/src/views/safety_production_related/security_notice/add.vue @@ -0,0 +1,178 @@ + + + + + diff --git a/src/views/safety_production_related/security_notice/components/select_risk.vue b/src/views/safety_production_related/security_notice/components/select_risk.vue new file mode 100644 index 0000000..edfbffd --- /dev/null +++ b/src/views/safety_production_related/security_notice/components/select_risk.vue @@ -0,0 +1,116 @@ + + + + + diff --git a/src/views/safety_production_related/security_notice/details.vue b/src/views/safety_production_related/security_notice/details.vue new file mode 100644 index 0000000..14279ca --- /dev/null +++ b/src/views/safety_production_related/security_notice/details.vue @@ -0,0 +1,140 @@ + + + + + diff --git a/src/views/safety_production_related/security_notice/index.vue b/src/views/safety_production_related/security_notice/index.vue new file mode 100644 index 0000000..18f0713 --- /dev/null +++ b/src/views/safety_production_related/security_notice/index.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/src/views/safety_production_related/security_notice/notice_info.vue b/src/views/safety_production_related/security_notice/notice_info.vue new file mode 100644 index 0000000..d804c72 --- /dev/null +++ b/src/views/safety_production_related/security_notice/notice_info.vue @@ -0,0 +1,60 @@ + + + + +