- 清单信息
+ {{
+ listType === "1" ? "风险管控清单信息" : "隐患排查清单信息"
+ }}
{{ info.LIST_NAME ? info.LIST_NAME : info.CUSTOM_NAME }}
diff --git a/src/views/hazard_investigation/checklist_inspection_status/index.vue b/src/views/hazard_investigation/checklist_inspection_status/index.vue
index 6f0d964..0677d0a 100644
--- a/src/views/hazard_investigation/checklist_inspection_status/index.vue
+++ b/src/views/hazard_investigation/checklist_inspection_status/index.vue
@@ -183,7 +183,7 @@
@@ -234,20 +234,28 @@ import {
layoutFnGetInventoryType,
layoutFnGetTroubleshootingCycle,
} from "@/assets/js/data_dictionary.js";
-import { getRiskStandardStatusList } from "@/request/hazard_investigation.js";
+import {
+ getCorpinfo,
+ getRiskStandardStatusList,
+} from "@/request/hazard_investigation.js";
import { useRouter } from "vue-router";
-import { SPECIAL_ENTERPRISES } from "@/assets/js/constant.js";
-import { useUserStore } from "@/pinia/user.js";
import dayjs from "dayjs";
+import { reactive } from "vue";
+const data = reactive({
+ WHETHER_HAZARDS: "",
+});
const router = useRouter();
-const userStore = useUserStore();
-const CORPINFO_ID = userStore.getUserInfo.CORPINFO_ID;
const { list, pagination, searchForm, fnGetData, fnResetPagination } =
useListData(getRiskStandardStatusList);
const troubleshootingCycleList = await layoutFnGetTroubleshootingCycle();
const inventoryLevelList = await layoutFnGetInventoryLevel();
const inventoryTypeList = await layoutFnGetInventoryType();
+const fnGetCorpinfo = async () => {
+ const resData = await getCorpinfo();
+ data.WHETHER_HAZARDS = resData.pd.WHETHER_HAZARDS;
+};
+fnGetCorpinfo();
const fnGetDataTransfer = () => {
fnGetData({
DEPTIDS: searchForm.value.DEPTIDS?.join(","),
diff --git a/src/views/hazard_investigation/delete_inventory_management/components/list.vue b/src/views/hazard_investigation/delete_inventory_management/components/list.vue
index db522bf..f5bac49 100644
--- a/src/views/hazard_investigation/delete_inventory_management/components/list.vue
+++ b/src/views/hazard_investigation/delete_inventory_management/components/list.vue
@@ -122,7 +122,7 @@
show-overflow-tooltip
/>
@@ -190,9 +196,8 @@ import {
layoutFnGetInventoryType,
layoutFnGetTroubleshootingType,
} from "@/assets/js/data_dictionary.js";
-import { SPECIAL_ENTERPRISES } from "@/assets/js/constant.js";
-import { useUserStore } from "@/pinia/user.js";
import {
+ getCorpinfo,
getDeleteCustomList,
getDeleteInventoryManagementList,
setCustomBatchDelete,
@@ -201,6 +206,7 @@ import {
setInventoryManagementBatchDelete,
} from "@/request/hazard_investigation.js";
import { useRouter } from "vue-router";
+import { reactive } from "vue";
const tabName = defineProps({
name: {
@@ -209,19 +215,24 @@ const tabName = defineProps({
default: "",
},
});
-
+const data = reactive({
+ WHETHER_HAZARDS: "",
+});
const router = useRouter();
const { list, pagination, searchForm, fnGetData, fnResetPagination, tableRef } =
tabName.name === "risk"
? useListData(getDeleteInventoryManagementList)
: useListData(getDeleteCustomList);
-const userStore = useUserStore();
-const CORPINFO_ID = userStore.getUserInfo.CORPINFO_ID;
const buttonJurisdiction = await useButtonJurisdiction("stoplistmanager");
const inventoryTypeList = await layoutFnGetInventoryType();
const troubleshootingTypeList = await layoutFnGetTroubleshootingType();
const inventoryLevelList = await layoutFnGetInventoryLevel();
+const fnGetCorpinfo = async () => {
+ const resData = await getCorpinfo();
+ data.WHETHER_HAZARDS = resData.pd.WHETHER_HAZARDS;
+};
+fnGetCorpinfo();
const fnGetDataTransfer = () => {
fnGetData({
DEPTIDS: searchForm.value.DEPTIDS?.join(","),
diff --git a/src/views/hazard_investigation/delete_inventory_management/view.vue b/src/views/hazard_investigation/delete_inventory_management/view.vue
index 26c9421..6196846 100644
--- a/src/views/hazard_investigation/delete_inventory_management/view.vue
+++ b/src/views/hazard_investigation/delete_inventory_management/view.vue
@@ -5,7 +5,10 @@
{{ info.NAME }}
-
+
否
是
@@ -57,7 +60,7 @@ import { getInventoryManagementView } from "@/request/hazard_investigation.js";
import { ref } from "vue";
const route = useRoute();
-const { LISTMANAGER_ID } = route.query;
+const { LISTMANAGER_ID, WHETHER_HAZARDS } = route.query;
const info = ref({});
const { list } = useListData(getInventoryManagementView, {
otherParams: { LISTMANAGER_ID },
diff --git a/src/views/hazard_investigation/delete_inventory_management/view_custom.vue b/src/views/hazard_investigation/delete_inventory_management/view_custom.vue
index b9128f0..6e4c444 100644
--- a/src/views/hazard_investigation/delete_inventory_management/view_custom.vue
+++ b/src/views/hazard_investigation/delete_inventory_management/view_custom.vue
@@ -5,7 +5,10 @@
{{ info.NAME }}
-
+
否
是
@@ -72,7 +75,7 @@ import { getCustomStopView } from "@/request/hazard_investigation.js";
import { ref } from "vue";
const route = useRoute();
-const { CUSTOM_ID } = route.query;
+const { CUSTOM_ID, WHETHER_HAZARDS } = route.query;
const info = ref({});
const { list } = useListData(getCustomStopView, {
otherParams: { CUSTOM_ID },
diff --git a/src/views/hazard_investigation/inventory_management/components/checkstandard_add.vue b/src/views/hazard_investigation/inventory_management/components/checkstandard_add.vue
index c0005ae..df3ab47 100644
--- a/src/views/hazard_investigation/inventory_management/components/checkstandard_add.vue
+++ b/src/views/hazard_investigation/inventory_management/components/checkstandard_add.vue
@@ -7,7 +7,7 @@
-
+
-
+
- 清单信息
+ 风险管控清单信息
{{ info.NAME }}
diff --git a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue
index d31f987..c12ee30 100644
--- a/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue
+++ b/src/views/hazard_investigation/inventory_troubleshooting/inspect_custom.vue
@@ -1,6 +1,6 @@
- 清单信息
+ 隐患排查清单信息
{{ info.NAME }}