maotao před 2 měsíci
rodič
revize
06f314d223

+ 1 - 0
components/IncidentListFilter.vue

@@ -217,6 +217,7 @@
217 217
 		searchData.deptValue = {};
218 218
 		searchData.selectBuildingId = [];
219 219
 		searchData.areaName = [];
220
+		pageData.selectBuildingList = [];
220 221
   }
221 222
 
222 223
   // 取消

+ 1 - 0
interceptor/routeInterceptor.js

@@ -7,6 +7,7 @@ let repaireRouterList = [
7 7
     "/pages/repairEntrance/repairEntrance", //报修入口页
8 8
 		"/pages/repository/repository", //知识库
9 9
 		"/pages/repositoryDetails/repositoryDetails", //知识库详情
10
+		"/pages/searchDept/searchDept", //报修科室
10 11
   ]
11 12
   let list = ["navigateTo", "redirectTo", "reLaunch", "switchTab"];
12 13
 	let loginType = uni.getStorageSync('loginType'); //1:处理 2:报修

+ 6 - 6
pages/repair/config.vue

@@ -257,12 +257,12 @@
257 257
 	
258 258
 	function getUserInfo(){
259 259
 		let user = loginUserStore.loginUser.user
260
-		let userId = null
261
-		if(user.currentHospital.parent){
262
-			userId = user.currentHospital.parent.id
263
-		}else{
264
-			userId = user.currentHospital.id
265
-		}
260
+		let userId = user.currentHospital.id
261
+		// if(user.currentHospital.parent){
262
+		// 	userId = user.currentHospital.parent.id
263
+		// }else{
264
+		// 	userId = user.currentHospital.id
265
+		// }
266 266
 		let postData = {
267 267
 		  idx: 0,
268 268
 		  sum: 999,