diff --git a/package-lock.json b/package-lock.json
index 487fd27..271a460 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -33,6 +33,7 @@
"relation-graph": "^2.1.24",
"throttle-debounce": "^5.0.0",
"v-viewer": "^3.0.11",
+ "vant": "^4.8.4",
"vue": "^3.4.3",
"vue-countup-v3": "^1.4.1",
"vue-draggable-plus": "^0.3.4",
@@ -1421,6 +1422,19 @@
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
}
},
+ "node_modules/@vant/popperjs": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmmirror.com/@vant/popperjs/-/popperjs-1.3.0.tgz",
+ "integrity": "sha512-hB+czUG+aHtjhaEmCJDuXOep0YTZjdlRR+4MSmIFnkCQIxJaXLQdSsR90XWvAI2yvKUI7TCGqR8pQg2RtvkMHw=="
+ },
+ "node_modules/@vant/use": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmmirror.com/@vant/use/-/use-1.6.0.tgz",
+ "integrity": "sha512-PHHxeAASgiOpSmMjceweIrv2AxDZIkWXyaczksMoWvKV2YAYEhoizRuk/xFnKF+emUIi46TsQ+rvlm/t2BBCfA==",
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
"node_modules/@vitejs/plugin-basic-ssl": {
"version": "1.1.0",
"resolved": "https://registry.npmmirror.com/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.1.0.tgz",
@@ -5695,6 +5709,19 @@
"vue": "^3.0.0"
}
},
+ "node_modules/vant": {
+ "version": "4.8.4",
+ "resolved": "https://registry.npmmirror.com/vant/-/vant-4.8.4.tgz",
+ "integrity": "sha512-2ompmogS76pFWUDrQGYNXAENWxisJXqv0+eIqt7mGo1TJJXcUikQ5sfRjX8W3HTkTe1FxV7lzuI3QrW01i043g==",
+ "dependencies": {
+ "@vant/popperjs": "^1.3.0",
+ "@vant/use": "^1.6.0",
+ "@vue/shared": "^3.0.0"
+ },
+ "peerDependencies": {
+ "vue": "^3.0.0"
+ }
+ },
"node_modules/viewerjs": {
"version": "1.11.6",
"resolved": "https://registry.npmmirror.com/viewerjs/-/viewerjs-1.11.6.tgz",
diff --git a/package.json b/package.json
index 7405f6e..422b29d 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"relation-graph": "^2.1.24",
"throttle-debounce": "^5.0.0",
"v-viewer": "^3.0.11",
+ "vant": "^4.8.4",
"vue": "^3.4.3",
"vue-countup-v3": "^1.4.1",
"vue-draggable-plus": "^0.3.4",
diff --git a/src/assets/css/common.scss b/src/assets/css/common.scss
index 0e9f5aa..32c94e5 100644
--- a/src/assets/css/common.scss
+++ b/src/assets/css/common.scss
@@ -316,3 +316,9 @@ div::-webkit-scrollbar-track {
display: none;
}
}
+
+.mobile {
+ padding: 10px;
+ background-color: #fafafa;
+ min-height: 100vh;
+}
diff --git a/src/mobile/identifying_parts/hidden_danger_view.vue b/src/mobile/identifying_parts/hidden_danger_view.vue
new file mode 100644
index 0000000..3048dd3
--- /dev/null
+++ b/src/mobile/identifying_parts/hidden_danger_view.vue
@@ -0,0 +1,216 @@
+
+
+
+
+
+
+
diff --git a/src/mobile/identifying_parts/index.vue b/src/mobile/identifying_parts/index.vue
new file mode 100644
index 0000000..6e57aca
--- /dev/null
+++ b/src/mobile/identifying_parts/index.vue
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ index + 1 }}. {{ item.RISK_DESCR }}
+
+
+
+
+
+
+ {{ index + 1 }}. {{ item.MEASURES }}
+
+
+
+
+
+
+
+
+ 低风险/D级
+
+
+ 一般风险/C级
+
+
+ 较大风险/B级
+
+
+ 重大风险/A级
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mobile/identifying_parts/inspection_record.vue b/src/mobile/identifying_parts/inspection_record.vue
new file mode 100644
index 0000000..11cbe0c
--- /dev/null
+++ b/src/mobile/identifying_parts/inspection_record.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+ {{ item.CHECK_CONTENT }}
+
+ 合格
+ 不合格
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mobile/information/index.vue b/src/mobile/information/index.vue
new file mode 100644
index 0000000..1d92678
--- /dev/null
+++ b/src/mobile/information/index.vue
@@ -0,0 +1,246 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ info.CORP_OF_TYPE_NAME ? info.CORP_OF_TYPE_NAME : "" }}
+ {{ info.CORP_OF_TYPE_NAME && info.CORP_OF_TYPE_NAME2 ? "/" : "" }}
+ {{ info.CORP_OF_TYPE_NAME2 ? info.CORP_OF_TYPE_NAME2 : "" }}
+
+
+
+
+
+
+ {{ info.SCALE_TYPE === "0" ? "否" : "" }}
+ {{ info.SCALE_TYPE === "1" ? "是" : "" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ info.WHETHER_HYGIENE === undefined
+ ? ""
+ : info.WHETHER_HYGIENE === 0
+ ? "无"
+ : "有"
+ }}
+
+
+ {{
+ info.WHETHER_HAZARDS === undefined
+ ? ""
+ : info.WHETHER_HAZARDS === 0
+ ? "无"
+ : "有"
+ }}
+
+
+ {{
+ info.WHETHER_SCARCE === undefined
+ ? ""
+ : info.WHETHER_SCARCE === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_CHEMICALS === undefined
+ ? ""
+ : info.WHETHER_CHEMICALS === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_SPECIALEQUIPMENT === undefined
+ ? ""
+ : info.WHETHER_SPECIALEQUIPMENT === 0
+ ? "无"
+ : "有"
+ }}
+
+
+ {{
+ info.WHETHER_SPECIALPEOPLE === undefined
+ ? ""
+ : info.WHETHER_SPECIALPEOPLE === 0
+ ? "无"
+ : "有"
+ }}
+
+
+ {{
+ info.WHETHER_COALGAS === undefined
+ ? ""
+ : info.WHETHER_COALGAS === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_FIRE === undefined
+ ? ""
+ : info.WHETHER_FIRE === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_CONFINED === undefined
+ ? ""
+ : info.WHETHER_CONFINED === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_POWDER === undefined
+ ? ""
+ : info.WHETHER_POWDER === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_LIGHTNING === undefined
+ ? ""
+ : info.WHETHER_LIGHTNING === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_ACTINOGEN === undefined
+ ? ""
+ : info.WHETHER_ACTINOGEN === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_LIQUIDAMMONIA === undefined
+ ? ""
+ : info.WHETHER_LIQUIDAMMONIA === 0
+ ? "否"
+ : "是"
+ }}
+
+
+ {{
+ info.WHETHER_PIPELINE === undefined
+ ? ""
+ : info.WHETHER_PIPELINE === 0
+ ? "否"
+ : "是"
+ }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mobile/risk_point/checklist.vue b/src/mobile/risk_point/checklist.vue
new file mode 100644
index 0000000..4fda425
--- /dev/null
+++ b/src/mobile/risk_point/checklist.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
diff --git a/src/mobile/risk_point/hidden_danger_view.vue b/src/mobile/risk_point/hidden_danger_view.vue
new file mode 100644
index 0000000..53601f2
--- /dev/null
+++ b/src/mobile/risk_point/hidden_danger_view.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/src/mobile/risk_point/index.vue b/src/mobile/risk_point/index.vue
new file mode 100644
index 0000000..0bf8d3c
--- /dev/null
+++ b/src/mobile/risk_point/index.vue
@@ -0,0 +1,74 @@
+
+
+
+
+ 搜索
+
+
+
+
+
+
+
+ 低风险/D级
+
+
+ 一般风险/C级
+
+
+ 较大风险/B级
+
+
+ 重大风险/A级
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/mobile/risk_point/inspection_record.vue b/src/mobile/risk_point/inspection_record.vue
new file mode 100644
index 0000000..c1ae205
--- /dev/null
+++ b/src/mobile/risk_point/inspection_record.vue
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
diff --git a/src/request/mobile.js b/src/request/mobile.js
new file mode 100644
index 0000000..1cb0d28
--- /dev/null
+++ b/src/request/mobile.js
@@ -0,0 +1,19 @@
+import { post } from "@/request/axios.js";
+
+export const getInformationView = (params) =>
+ post("/app/corpinfo/goEdit", params); // 企业信息
+export const getIdentifyingPartsInfo = (params) =>
+ post("/app/identificationparts/goEdit", params); // 辨识部位详情
+export const getIdentifyingPartsInspectionRecordList = (params) =>
+ post("/app/checkrecord/recordByIde", params); // 辨识部位检查记录列表
+export const getIdentifyingPartsInfoList = (params) =>
+ post("/app/riskpoint/getForIdentification", params); // 辨识部位存在风险、主要管控措施列表
+export const getInspectionRecordInfo = (params) =>
+ post("/app/checkrecord/goEditWeui", params); // 检查记录详情
+export const getInspectionRecordMapInfo = (params) =>
+ post("/app/checkrecord/goMapWeui", params); // 检查记录地图
+export const geHiddenDangerView = (params) =>
+ post("/app/hidden/goEditWeui", params); // 隐患详情
+export const getRiskPointList = (params) => post("/app/riskpoint/list", params); // 风险点单元列表
+export const getRiskPointCheckList = (params) =>
+ post("/app/checkrecord/recordByIde", params); // 风险点单元检查清单列表
diff --git a/src/router/index.js b/src/router/index.js
index e6ba9cb..85167e2 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -1,6 +1,6 @@
import { createRouter, createWebHashHistory } from "vue-router";
import layout from "../layout/index.vue";
-// import children from "../components/children/index.vue";
+import children from "../components/children/index.vue";
const routes = [
{
@@ -35,6 +35,61 @@ const routes = [
meta: { title: "BI", isBreadcrumb: false, isMenu: false },
component: () => import("@/views/BI/index"),
},
+ {
+ path: "/mobile",
+ meta: { isBreadcrumb: false, isMenu: false, isLogin: false },
+ component: children,
+ children: [
+ {
+ path: "information",
+ component: () => import("@/mobile/information/index"),
+ },
+ {
+ path: "identifying_parts",
+ component: children,
+ children: [
+ {
+ path: "index",
+ component: () => import("@/mobile/identifying_parts/index.vue"),
+ },
+ {
+ path: "inspection_record",
+ component: () =>
+ import("@/mobile/identifying_parts/inspection_record.vue"),
+ },
+ {
+ path: "hidden_danger_view",
+ component: () =>
+ import("@/mobile/identifying_parts/hidden_danger_view.vue"),
+ },
+ ],
+ },
+ {
+ path: "risk_point",
+ component: children,
+ children: [
+ {
+ path: "index",
+ component: () => import("@/mobile/risk_point/index.vue"),
+ },
+ {
+ path: "checklist",
+ component: () => import("@/mobile/risk_point/checklist.vue"),
+ },
+ {
+ path: "inspection_record",
+ component: () =>
+ import("@/mobile/risk_point/inspection_record.vue"),
+ },
+ {
+ path: "hidden_danger_view",
+ component: () =>
+ import("@/mobile/risk_point/hidden_danger_view.vue"),
+ },
+ ],
+ },
+ ],
+ },
{
path: "/404",
name: "/404",
diff --git a/src/views/enterprise_management/information/components/qr_code.vue b/src/views/enterprise_management/information/components/qr_code.vue
index 4e09852..bde028b 100644
--- a/src/views/enterprise_management/information/components/qr_code.vue
+++ b/src/views/enterprise_management/information/components/qr_code.vue
@@ -4,8 +4,13 @@
{{ info.CORP_NAME }}
-
-
+
关闭
@@ -32,6 +37,7 @@ const props = defineProps({
});
const emits = defineEmits(["update:visible"]);
const visible = useVModel(props, "visible", emits);
+const locationOrigin = window.location.origin;
diff --git a/src/views/risk_control/identifying_parts/components/qr_code.vue b/src/views/risk_control/identifying_parts/components/qr_code.vue
index 99e8770..cd4ea61 100644
--- a/src/views/risk_control/identifying_parts/components/qr_code.vue
+++ b/src/views/risk_control/identifying_parts/components/qr_code.vue
@@ -18,8 +18,15 @@
{{ item.DEPT_NAME }}
-
-
+
@@ -47,6 +54,7 @@ const props = defineProps({
});
const emits = defineEmits(["update:visible"]);
const visible = useVModel(props, "visible", emits);
+const locationOrigin = window.location.origin;
diff --git a/src/views/risk_control/risk_point/components/qr_code.vue b/src/views/risk_control/risk_point/components/qr_code.vue
index 2ededc1..d49a53b 100644
--- a/src/views/risk_control/risk_point/components/qr_code.vue
+++ b/src/views/risk_control/risk_point/components/qr_code.vue
@@ -17,8 +17,13 @@
{{ item.HEADMAN }}
-
-
+
@@ -46,6 +51,7 @@ const props = defineProps({
});
const emits = defineEmits(["update:visible"]);
const visible = useVModel(props, "visible", emits);
+const locationOrigin = window.location.origin;