diff --git a/.env b/.env
index 366df17..bb915a4 100644
--- a/.env
+++ b/.env
@@ -1,4 +1,4 @@
-VITE_BASE_URL=http://192.168.0.79:8091/
+VITE_BASE_URL=http://192.168.0.55:8088/
VITE_PROXY=/api/
VITE_FILE_URL=https://file.zcloudchina.com/YTHFile
VITE_TEMPLATE_URL=https://qaaq.qhdsafety.com/file/
diff --git a/src/components/hidden_view/index.vue b/src/components/hidden_view/index.vue
index c81e885..9098938 100644
--- a/src/components/hidden_view/index.vue
+++ b/src/components/hidden_view/index.vue
@@ -9,7 +9,7 @@
安全环保检查
安全环保检查
-
+
{{ data.info.RISK_UNIT }}
@@ -26,7 +26,7 @@
{{ data.info.CHECK_CONTENT }}
-
+
{{ data.info.CHECK_CATEGORY_NAME }}
@@ -260,7 +260,10 @@ import { reactive, watchEffect } from "vue";
import { getFileSuffix } from "@/assets/js/utils.js";
import { VideoPlay } from "@element-plus/icons-vue";
import LayoutVideo from "@/components/video/index.vue";
-import { getHiddenDangerView } from "@/request/hazard_investigation.js";
+import {
+ getHiddenDangerView,
+ getCustomHiddenDangerView,
+} from "@/request/hazard_investigation.js";
defineOptions({
name: "LayoutHiddenView",
@@ -272,6 +275,11 @@ const props = defineProps({
required: true,
default: "",
},
+ listType: {
+ type: String,
+ required: true,
+ default: "",
+ },
});
const emits = defineEmits(["throw-data"]);
const data = reactive({
@@ -288,9 +296,12 @@ const data = reactive({
},
});
const fnGetData = async () => {
- const resData = await getHiddenDangerView({
- HIDDEN_ID: props.hiddenId,
- });
+ const resData =
+ props.listType === "2"
+ ? await getCustomHiddenDangerView({ HIDDEN_ID: props.hiddenId })
+ : await getHiddenDangerView({
+ HIDDEN_ID: props.hiddenId,
+ });
data.info = resData.pd;
data.hs = resData.hs;
data.checkList = resData.checkList;