Forráskód Böngészése

fix: 修复报告查询默认字段

carver 2 éve
szülő
commit
25c0765af0

+ 4 - 0
antbuilder/industry/hospitalV2/components/report-list/index.js

@@ -30,6 +30,9 @@ Component({
 	methods: {
 		onFilterHandel(filters) {
 			this.filters = filters;
+			if (!filters.type) {
+				this.filters.type = "检查报告";
+			}
 			this.flatRef.refresh();
 		},
 
@@ -48,6 +51,7 @@ Component({
 		},
 
 		onAutoFilter(patient) {
+			console.log("onAutoFilter", patient);
 			if (patient) {
 				this.hisPatientId = patient.hisPatientId;
 			}