2 次代码提交 c3ddde0b69 ... a549cb6ffd

作者 SHA1 备注 提交日期
  liweimin a549cb6ffd fix: 屏蔽缴费记录全部状态 2 年之前
  liweimin 9a4cfcbe80 fix: 屏蔽缴费记录全部状态 2 年之前

+ 2 - 2
antbuilder/industry/hospitalV2/components/components/patient-tabs-pro/filters/mask-option/index.axml

@@ -20,13 +20,13 @@
     />
     <view class="options">
       <!-- 屏蔽全部类型,暂时根据 showTimeSelector 进行判断,后续可以细分 -->
-      <view
+      <!-- <view
         onTap="onTapItem"
         class="option {{ !value ? 'active' : '' }}"
         a:if="{{ showTimeSelector }}" 
       >
         {{ defaultLabel || '全部类型' }}
-      </view>
+      </view> -->
       <view
         onTap="onTapItem"
         a:for="{{ showStatus ? statusItems : options }}"

+ 2 - 21
antbuilder/industry/hospitalV2/components/hospital-payment/index.js

@@ -29,7 +29,7 @@ Component({
 			},
 		],
 		showAll: false,
-		showTimeSelector: false,
+		showTimeSelector: true,
 		defaultLabel: "待支付",
 		defaultName: "待支付",
 		defaultStatus: "待支付",
@@ -62,28 +62,9 @@ Component({
 		onService(page) {
 			console.log("onService ===>");
 			const { type, status } = this.filters || {};
-			if (!this.hisPatientId) return;
-			if (this.filters && this.filters.status === "1") {
-				this.setData({
-					showTimeSelector: true,
-				});
-				if (!this.filters.startTime) {
-					my.showToast({
-						type: "fail",
-						content: "请选择时间段",
-						duration: 3000,
-					});
-				}
-				return;
-			} else {
-				this.setData({
-					showTimeSelector: false,
-				});
-			}
-			console.log("onService 执行 ===>");
+      if(!this.hisPatientId) return
 			return payHistory({
 				...this.filters,
-				type: type || "9",
 				status: status || "0",
 				...page,
 				hisPatientId: this.hisPatientId,