heyang 2 vuotta sitten
vanhempi
commit
5320a80ec6

+ 6 - 0
pages_safetyExamine/patrolPlan/patrolPlanAdd.vue

@@ -133,9 +133,15 @@ export default {
 		 if(option.pageType==1){//校院巡查
 			 this.form.checkType=option.pageType;
 			 this.form.checkTypeName='校院巡查';
+			 uni.setNavigationBarTitle({
+			 		title:'发起巡查计划'
+			 })
 		 }else if(option.pageType==2){//实验室自查
 			  this.form.checkType=option.pageType;
 			  this.form.checkTypeName='实验室自查';
+			  uni.setNavigationBarTitle({
+			  		title:'发起自查计划'
+			  })
 		 }
 	 }
   },

+ 4 - 1
pages_safetyExamine/patrolPlan/patrolPlanList.vue

@@ -49,7 +49,7 @@
 		</view>
 		<img class="null-img" v-if="!dataList[0]" src="@/images/null-data-1.png">
 	</scroll-view>	
-	<view class="bottom_btn" @click="handleClick('','subBtn')">发起巡查计划</view>
+	<view class="bottom_btn" @click="handleClick('','subBtn')">{{subBtnTitle}}</view>
   </view>
 
 </template>
@@ -76,6 +76,7 @@ export default {
 	  tabText:['全部','未开始','进行中','已结束'],
 	  curTab:0,
 	  dataList:[],
+	  subBtnTitle:'发起巡查计划',
     }
   },
   onLoad(option) {
@@ -85,11 +86,13 @@ export default {
 		  uni.setNavigationBarTitle({
 		  		title:'校院巡查计划'
 		  })
+		  this.subBtnTitle='发起巡查计划';
 	  }else if(option.pageType==2){
 		   this.getData.checkType=option.pageType
 		  uni.setNavigationBarTitle({
 		  		title:'实验室自查计划'
 		  })
+		  this.subBtnTitle='发起自查计划';
 	  }
 		
   },