Browse Source

fix: 挂号详情页面修改

liweimin 2 years ago
parent
commit
bd9b3aed76

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

@@ -12,9 +12,9 @@
           <view class="result-block-row" a:for="{{ viewItem.slice(0, 4) }}" key="{{ index }}">
             <view class="result-form-label">{{ item.label }}</view>
 
-            <view class="result-form-val" a:if="{{ item.key === 'date' }}">{{ result.date }}({{ result.day }}){{ result.am }}</view>
+            <view class="result-form-val" a:if="{{ item.key === 'date' }}">{{ result.registeredDate}}</view>
             <view class="result-form-val" a:elif="{{ item.key === 'time' }}">
-              <text a:if="{{ result.time }}">{{ result.time }}</text>
+              <text a:if="{{ result.timeRange }}">{{ result.timeRange }}</text>
               <text a:if="{{ result.queueNum }}" style="margin-left: 20rpx;">{{ result.queueNum }}号</text>
             </view>
             <view class="result-form-val" a:else >{{ result[item.key] || '-' }}</view>
@@ -70,8 +70,8 @@
           </view>
         </view>
       </view>
-
-      <static-block />
+      <!-- 底部路线按钮隐藏 -->
+      <!-- <static-block /> -->
       <view class="footer-container">
         <view class="back-to-home" onTap="toBackHome">回到首页</view>
         <view class="result-button" onTap="onCancel"><text class="txt">取消预约</text></view>

+ 1 - 0
antbuilder/industry/hospitalV2/components/appointment-result/index.js

@@ -104,6 +104,7 @@ Component({
 			orderDetail({
 				orderId: query.orderId,
 			}).then((data) => {
+        console.log('data====', data);
 				this.setData({
 					result: Object.assign(data, cuttingDate(data.startTime)),
 				});