maotao il y a 2 mois
Parent
commit
9f36b500bc
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      pages/repair/rapidRepNext.vue

+ 4 - 2
pages/repair/rapidRepNext.vue

@@ -8,7 +8,7 @@
8 8
 		<view class="body view-body page_padding">
9 9
       <!-- 科内报修 -->
10 10
       <template v-if="dataInfo.tabActiveValue === 'doing'">
11
-				<view class="form_item">
11
+				<view class="form_item" v-if="hospitalModel.valueconfig!=1">
12 12
 				  <view class="title select"><text class="required newicon newicon-bitian"></text>院区:</view>
13 13
 					<uni-data-picker class="value" placeholder="请选择院区"
14 14
 						v-model="dataInfo.branch" :localdata="branchData" @change="doingDeptChange"
@@ -54,7 +54,7 @@
54 54
 
55 55
       <!-- 公共报修 -->
56 56
       <template v-if="dataInfo.tabActiveValue === 'overtime'">
57
-				<view class="form_item" v-if="isRepair.valueconfig==1">
57
+				<view class="form_item" v-if="isRepair.valueconfig==1 && hospitalModel.valueconfig!=1">
58 58
 				  <view class="title select"><text class="required newicon newicon-bitian"></text>院区:</view>
59 59
 					<uni-data-picker class="value" placeholder="请选择院区" @change="overDeptChange"
60 60
 						v-model="dataInfo.branch" :localdata="branchData"
@@ -140,6 +140,7 @@
140 140
 
141 141
 	const isDept = ref({})
142 142
 	const isRepair = ref({})
143
+	const hospitalModel = ref({})
143 144
 	const branchData = ref([])
144 145
 	const candidateData = ref(loginUserStore.loginUser.user)
145 146
 
@@ -335,6 +336,7 @@
335 336
 		let data = JSON.parse(uni.getStorageSync('sysData'))
336 337
 		isDept.value = data.find(i=>i.keyconfig=='deptRepair')
337 338
 		isRepair.value = data.find(i=>i.keyconfig=='publicRepair')
339
+		hospitalModel.value = data.find(i=>i.keyconfig=='hospitalModel')
338 340
 		if(isDept.value.valueconfig==1 && isRepair.value.valueconfig==1){
339 341
 			dataInfo.tabs = [
340 342
 				{id: 5, name: '科内报修', value: 'doing', num: ''},