2 次代码提交 86246c6e73 ... ba25d261e3

作者 SHA1 备注 提交日期
  liweimin ba25d261e3 Merge branch 'dev' of http://gogs.ywtinfo.com/chenjunkun/th_net_hospital_ali_mp into dev 2 年之前
  liweimin 2fa32a5c77 fix: 就医缴费,检查报告cardNum修改为HisPatientId 2 年之前

+ 2 - 2
antbuilder/industry/hospitalV2/components/components/patient-tabs-pro/filters/filter-content/index.axml

@@ -15,9 +15,9 @@
        {{ utils.getTypeName(statusItems, status, defaultStatus || '全部状态') }}
      </view>
   </view>
-  <view class="filter-item{{ showCard ? ' open' : ' '}} {{ cardNum ? '' : ' hide'}}" onTap="onCardTapHandel">
+  <view class="filter-item{{ showCard ? ' open' : ' '}} {{ hisPatientId ? '' : ' hide'}}" onTap="onCardTapHandel">
     <view class="filter-value">
-      {{ cardNum || "全部就诊卡" }}
+      {{ hisPatientId || "全部就诊卡" }}
     </view>
   </view>
 </view>

+ 3 - 0
antbuilder/industry/hospitalV2/components/components/patient-tabs-pro/filters/index.axml

@@ -9,6 +9,7 @@
     onStatusTap="onShowStatusMask"
     timeEnd="{{ filters.endTime }}"
     cardNum="{{ filters.cardNum }}"
+    hisPatientId="{{ filters.hisPatientId }}"
     timeStart="{{ filters.startTime }}"
     showCard="{{ showCard }}"
     showOption="{{ showOptions }}"
@@ -36,6 +37,7 @@
     timeStart="{{ filters.startTime }}"
     timeEnd="{{ filters.endTime }}"
     cardNum="{{ filters.cardNum }}"
+    hisPatientId="{{ filters.hisPatientId }}"
     statusItems="{{ statusList }}"
     defaultLabel="{{ defaultLabel }}"
     defaultName="{{ defaultName }}"
@@ -53,6 +55,7 @@
     timeStart="{{ filters.startTime }}"
     timeEnd="{{ filters.endTime }}"
     cardNum="{{ filters.cardNum }}"
+    hisPatientId="{{ filters.hisPatientId }}"
     statusItems="{{ statusList }}"
     showTimeSelector="{{ showTimeSelector }}"
     defaultStatus="{{ defaultStatus }}"

+ 2 - 0
antbuilder/industry/hospitalV2/components/components/patient-tabs-pro/index.js

@@ -34,6 +34,7 @@ Component({
 			cardNum: "",
 			endTime: "",
 			startTime: "",
+      hisPatientId: "",
 		},
 		contentHeight: `calc(${getContentHeight() - tabHeight}px - ${filterH})`,
 	},
@@ -60,6 +61,7 @@ Component({
 			const { bindCardNum = "", medicCards = [] } = res;
 			this.setData({
 				"filters.cardNum": bindCardNum,
+				"filters.hisPatientId": medicCards[0].hisPatientId,
 				medicCards,
 			});
 			this.props.onAutoFilter(res);