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/assets/js/asyncRouter.js b/src/assets/js/asyncRouter.js index cca0f7d..eab67c3 100644 --- a/src/assets/js/asyncRouter.js +++ b/src/assets/js/asyncRouter.js @@ -330,6 +330,15 @@ export default [ component: "hazard_investigation/inventory_management/insurance_coverage", }, + { + path: "/hazard_investigation/inventory_management/insurance_coverage_custom", + meta: { + title: "设置包保责任类型", + activeMenu: "/hazard_investigation/inventory_management", + }, + component: + "hazard_investigation/inventory_management/insurance_coverage_custom", + }, { path: "/hazard_investigation/inventory_management/add", meta: { @@ -1090,10 +1099,71 @@ export default [ component: "safety_environmental_management/hazard_assignment_acceptance/hidden_list", }, + { + path: "/safety_environmental_management/hazard_assignment_acceptance/assign/assign", + meta: { + title: "指派", + activeMenu: + "/safety_environmental_management/hazard_assignment_acceptance", + }, + component: + "safety_environmental_management/hazard_assignment_acceptance/assign", + }, + { + path: "/safety_environmental_management/hazard_assignment_acceptance/assign/acceptance", + meta: { + title: "验收", + activeMenu: + "/safety_environmental_management/hazard_assignment_acceptance", + }, + component: + "safety_environmental_management/hazard_assignment_acceptance/acceptance", + }, + ], + }, + { + path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance", + meta: { + title: "验收", + activeMenu: + "/safety_environmental_management/hazard_assignment_acceptance", + }, + component: "children", + children: [ + { + path: "", + component: + "safety_environmental_management/hazard_assignment_acceptance/hidden_list", + }, + { + path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance/assign", + meta: { + title: "指派", + activeMenu: + "/safety_environmental_management/hazard_assignment_acceptance", + }, + component: + "safety_environmental_management/hazard_assignment_acceptance/acceptance", + }, + { + path: "/safety_environmental_management/hazard_assignment_acceptance/acceptance/acceptance", + meta: { + title: "验收", + activeMenu: + "/safety_environmental_management/hazard_assignment_acceptance", + }, + component: + "safety_environmental_management/hazard_assignment_acceptance/acceptance", + }, ], }, ], }, + { + path: "/safety_environmental_management/hazard_management", + meta: { title: "隐患管理", isSubMenu: false }, + component: "safety_environmental_management/hazard_management/index", + }, ], }, { diff --git a/src/components/hidden_view/index.vue b/src/components/hidden_view/index.vue index 45edce2..400fbb6 100644 --- a/src/components/hidden_view/index.vue +++ b/src/components/hidden_view/index.vue @@ -9,7 +9,7 @@ 安全环保检查 安全环保检查 -