|
@@ -40,9 +40,13 @@ Component({
|
|
title: "缴费记录查询",
|
|
title: "缴费记录查询",
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
+ onInit() {
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
onFilterHandel(filters) {
|
|
onFilterHandel(filters) {
|
|
|
|
+ if (!this.hisPatientId) return
|
|
this.filters = filters;
|
|
this.filters = filters;
|
|
this.scrollRef.refresh();
|
|
this.scrollRef.refresh();
|
|
},
|
|
},
|
|
@@ -55,17 +59,26 @@ Component({
|
|
this.subscribe = ref;
|
|
this.subscribe = ref;
|
|
},
|
|
},
|
|
|
|
|
|
- onService(page) {
|
|
|
|
|
|
+ onService(page) {
|
|
const { type, status } = this.filters || {};
|
|
const { type, status } = this.filters || {};
|
|
-
|
|
|
|
|
|
+ console.log('this.hisPatientId', this.hisPatientId);
|
|
|
|
+ if(!this.hisPatientId) return
|
|
return payHistory({
|
|
return payHistory({
|
|
...this.filters,
|
|
...this.filters,
|
|
type: type || "9",
|
|
type: type || "9",
|
|
status: status || "0",
|
|
status: status || "0",
|
|
...page,
|
|
...page,
|
|
|
|
+ hisPatientId: this.hisPatientId
|
|
});
|
|
});
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ onAutoFilter(patient) {
|
|
|
|
+ if (patient) {
|
|
|
|
+ this.hisPatientId = patient.hisPatientId;
|
|
|
|
+ this.scrollRef.refresh();
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+
|
|
// 进入详情
|
|
// 进入详情
|
|
toDetail(e) {
|
|
toDetail(e) {
|
|
history.push({
|
|
history.push({
|