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