dedsudiyu 1 개월 전
부모
커밋
e399093819
2개의 변경된 파일7개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 1
      pages_manage/views/laboratory/safetyCardScan.vue
  2. 2 3
      pages_safetyCheck/views/safetyCheck.vue

+ 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() {
 
 		},