Browse Source

fix: 添加挂号就诊状态

liweimin 2 years ago
parent
commit
ed05f27bcf

+ 3 - 3
antbuilder/industry/hospitalV2/components/appointment-result/index.axml

@@ -141,7 +141,7 @@
 
       <template is="from" data="{{ viewItem, result }}" />
 
-      <view class="result-block" a:if="{{ result.status === 8 || result.status === 9 }}">
+      <!-- <view class="result-block" a:if="{{ result.status === 8 || result.status === 9 }}">
         <view class="result-block-title">
           <view>关于退款</view>
         </view>
@@ -150,7 +150,7 @@
         <view class="result-block-flex">
           <image a:for="{{ refund }}" key="{{ index }}" class="result-block-image" src="{{ item }}" />
         </view>
-      </view>
+      </view> -->
 
       <view a:if="{{ result.status === 0 }}" class="order-button-wrap">
         <view class="order-pay-tip">暂不支持医保支付,如有需要请去人工窗口/自助机挂号</view>
@@ -160,7 +160,7 @@
           <button type="primary" class="button" onTap="onPay">支付</button>
         </view>
       </view>
-      <view a:else class="result-button" onTap="reAppoint"><text class="txt">再次预约</text></view>
+      <!-- <view a:else class="result-button" onTap="reAppoint"><text class="txt">再次预约</text></view> -->
     </block>
   </view>
 

+ 4 - 0
antbuilder/industry/hospitalV2/components/subscribe-record/record-item/index.sjs

@@ -19,6 +19,10 @@ const statusMap = {
     name: '已取消',
     activeClass: 'cancel',
   },
+  status_2: {
+    name: '待就诊',
+    activeClass: 'cancel',
+  },
 };
 
 /* 获取状态名称 */