dedsudiyu 1 miesiąc temu
rodzic
commit
e399093819

+ 5 - 1
pages_manage/views/laboratory/safetyCardScan.vue

@@ -311,7 +311,11 @@
 					});
 					return
 				} else if (type == 'securityCheck') {
-					this.securityAppCheckPlanScanCode(this.newData.subId,);
+					if(status){
+						this.securityAppCheckPlanScanCode(this.newData.subId,);
+					}else{
+						this.$set(this,'securityCheck',false);
+					}
 				} else if (type == 'snapshot') {
 					console.log(111)
 					console.log(this.newData)

+ 2 - 3
pages_safetyCheck/views/safetyCheck.vue

@@ -137,12 +137,11 @@
 			}
 		},
 		onLoad(option) {
-
-		},
-		onShow() {
 			this.$set(this,'securityCheck',false)
 			this.getList()
 		},
+		onShow() {
+		},
 		mounted() {
 
 		},