diff --git a/src/request/hazard_investigation.js b/src/request/hazard_investigation.js
index f510992..a95d76a 100644
--- a/src/request/hazard_investigation.js
+++ b/src/request/hazard_investigation.js
@@ -128,3 +128,4 @@ export const setCustomInsuranceCoverageSave = (params) =>
post("/hiddenstandardCustom/saveBaoBaoType", params); // 清单管理设置包保责任类型提交
export const getCustomCheckListOtherHiddenList = (params) =>
post("/customHidden/getCheckHidden", params); // 隐患清单检查情况检查记录查看其它隐患列表
+export const getCorpinfo = (params) => post("/corpinfo/goEdit", params); // 获取企业信息
diff --git a/src/views/enterprise_management/information/edit.vue b/src/views/enterprise_management/information/edit.vue
index b77cb03..a964ea2 100644
--- a/src/views/enterprise_management/information/edit.vue
+++ b/src/views/enterprise_management/information/edit.vue
@@ -534,6 +534,11 @@ const rules = {
message: "请输入正确的手机号码",
},
],
+ WHETHER_HAZARDS: {
+ required: true,
+ message: "请选择有无重大危险源",
+ trigger: "change",
+ },
};
const data = reactive({
form: {
diff --git a/src/views/hazard_investigation/inventory_management/add.vue b/src/views/hazard_investigation/inventory_management/add.vue
index 91388c2..5eb891c 100644
--- a/src/views/hazard_investigation/inventory_management/add.vue
+++ b/src/views/hazard_investigation/inventory_management/add.vue
@@ -13,9 +13,8 @@
-
+
import { nextTick, reactive, ref, watchEffect } from "vue";
-import { SPECIAL_ENTERPRISES } from "@/assets/js/constant.js";
-import { useUserStore } from "@/pinia/user.js";
import {
layoutFnGetInventoryType,
layoutFnGetTaskType,
@@ -260,9 +257,7 @@ import AddInspectionRoute from "./components/add_inspection_route.vue";
const route = useRoute();
const router = useRouter();
-const { LISTMANAGER_ID } = route.query;
-const userStore = useUserStore();
-const CORPINFO_ID = userStore.getUserInfo.CORPINFO_ID;
+const { LISTMANAGER_ID, WHETHER_HAZARDS } = route.query;
const rules = {
NAME: [{ required: true, message: "清单名称不能为空", trigger: "blur" }],
BAO_BAO_TYPE: [
diff --git a/src/views/hazard_investigation/inventory_management/add_custom.vue b/src/views/hazard_investigation/inventory_management/add_custom.vue
index 409b814..eac302d 100644
--- a/src/views/hazard_investigation/inventory_management/add_custom.vue
+++ b/src/views/hazard_investigation/inventory_management/add_custom.vue
@@ -13,9 +13,8 @@
-
+
@@ -184,7 +183,6 @@
:data="data.list"
:show-pagination="false"
max-height="400"
- row-key="RISKCHECKITEM_ID"
>
@@ -203,7 +201,7 @@
label="检查不合格项"
width="200"
/>
-
+
选择
填写
@@ -234,8 +232,6 @@