Selaa lähdekoodia

新增场所消防模块

guoqing 1 vuosi sitten
vanhempi
commit
ef3a1a58f0

+ 27 - 0
src/router/index.js

@@ -330,6 +330,33 @@ const routes = [{
         meta: {
             isShowTarbar: false,
         }
+    },
+    {
+        path: '/placeFirefightingList',
+        name: 'placeFirefightingList',
+        component: () =>
+            import ('../views/placeManage/placeFirefighting/placeFirefightingList.vue'),
+        meta: {
+            isShowTarbar: false,
+        }
+    },
+    {
+        path: '/placeFirefightingInfo',
+        name: 'placeFirefightingInfo',
+        component: () =>
+            import ('../views/placeManage/placeFirefighting/placeFirefightingInfo.vue'),
+        meta: {
+            isShowTarbar: false,
+        }
+    },
+    {
+        path: '/placeFirefightingView',
+        name: 'placeFirefightingView',
+        component: () =>
+            import ('../views/placeManage/placeFirefighting/placeFirefightingView.vue'),
+        meta: {
+            isShowTarbar: false,
+        }
     }
 ]
 

+ 13 - 0
src/views/placeManage/placeFirefighting/placeFirefightingInfo.vue

@@ -0,0 +1,13 @@
+<template>
+  
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>

+ 13 - 0
src/views/placeManage/placeFirefighting/placeFirefightingList.vue

@@ -0,0 +1,13 @@
+<template>
+  
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>

+ 13 - 0
src/views/placeManage/placeFirefighting/placeFirefightingView.vue

@@ -0,0 +1,13 @@
+<template>
+  
+</template>
+
+<script>
+export default {
+
+}
+</script>
+
+<style>
+
+</style>

+ 6 - 2
src/views/tab_a/tabAll.vue

@@ -51,6 +51,7 @@
 			<van-grid-item icon="./loginbg/csdj.png" text="场所登记" @click="goPlaceRegister" />
 			<van-grid-item icon="./loginbg/csry.png" text="场所人员信息" @click="goPlacePerson" />
 			<van-grid-item icon="./loginbg/cspw.png" text="牌位管理" @click="goPlaceTablet" />
+			<van-grid-item icon="./loginbg/cspw.png" text="场所消防" @click="PlaceFirefighting" />
 		</van-grid>
 
 		<div class="hLine"></div>
@@ -107,7 +108,7 @@ export default {
 
 	created() {
 		let id = this.$route.query.id;
-		window.xm.setNavigationBarTitle({ title: '宗教和顺' })
+		// window.xm.setNavigationBarTitle({ title: '宗教和顺' })
 		this.TokenLogin2();
 		this.$dictUtils.refreshDictList();
 	},
@@ -116,7 +117,6 @@ export default {
 		// 待办跳转
 		goToBeDone(e) {
 			let value = JSON.stringify(e.currentTarget.id)
-			// console.log(e.currentTarget.id);
 			this.$router.push({
 				path: "/toBeDone",
 				query: { "name": value }
@@ -134,6 +134,10 @@ export default {
 		goPlaceTablet() {
 			this.$router.push("/placeTablet");
 		},
+		//场所消防
+		PlaceFirefighting(){
+			this.$router.push("/placeFirefightingList");
+		},
 		//待办数据获取
 		dataNumber() {
 			new toBeDone().list().then((res) => {