Преглед на файлове

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

carver преди 2 години
родител
ревизия
25c0765af0
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      antbuilder/industry/hospitalV2/components/report-list/index.js

+ 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;
 			}