浏览代码

fix: 修复重复函数

carver 2 年之前
父节点
当前提交
b30b45edc9

+ 1 - 1
antbuilder/industry/hospitalV2/components/deposit/index.axml

@@ -12,7 +12,7 @@
     </view>
     <view class="person-change" onTap="onAdmissionRegistration">切换住院人</view>
   </view>
-  <view a:else><button style="margin-bottom: 10px" onTap="addPatient">绑定就诊人</button></view>
+  <view a:else><button style="margin-bottom: 10px" onTap="addPatientNew">绑定就诊人</button></view>
   <!-- 充值金额 -->
   <view class="detail-block">
     <view class="person-name">充值金额</view>

+ 1 - 1
antbuilder/industry/hospitalV2/components/deposit/index.js

@@ -107,7 +107,7 @@ Component({
 		},
 
 		// 跳转到绑定就诊人管理
-		addPatient() {
+		addPatientNew() {
 			my.navigateTo({
 				url: "/antbuilder/industry/hospitalV2/pages/page-no-pull/index?header=show&pageType=edit-patient&title=添加就诊人",
 			});