فهرست منبع

fix: 删除多余代码

carver 1 سال پیش
والد
کامیت
5156484c05
1فایلهای تغییر یافته به همراه2 افزوده شده و 44 حذف شده
  1. 2 44
      antbuilder/industry/hospitalV2/components/hospital-payment-detail-yibao/index.js

+ 2 - 44
antbuilder/industry/hospitalV2/components/hospital-payment-detail-yibao/index.js

@@ -47,7 +47,6 @@ Component(
 					hisOrderNo: hisOrdNum,
 					authCode,
 					reqBizNo,
-					resultCode,
 				} = this.$page.data.query;
 				const _this = this;
 				const ramdonNum = generateRandomFourDigitNumber();
@@ -61,17 +60,6 @@ Component(
 					`antbuilder/industry/hospitalV2/pages/page-no-pull/index${qsResult}`
 				);
 				if (type === "onShow") {
-					// 需要路由传递一个参数,用于判断是否授权,确定授权则下一步;取消授权则返回上一页
-					console.log(
-						"this.$page.data.query ===>",
-						this.$page.data.query,
-						this.$page.data,
-						resultCode
-					);
-					// if (resultCode === "SUCCESS") {
-					// 	my.navigateBack();
-					// 	return;
-					// }
 					my.getAuthCode({
 						scopes: ["nhsamp", "auth_user"], // 主动授权:auth_user,静默授权:auth_base。或者其它scopes
 						success: (res) => {
@@ -115,7 +103,7 @@ Component(
 						);
 						return;
 					}
-					if (result.authUrl && lifeType === 'didMount') {
+					if (result.authUrl && lifeType === "didMount") {
 						// 跳转医保授权页面
 						my.ap.openURL({
 							url: result.authUrl,
@@ -123,7 +111,7 @@ Component(
 								my.navigateBack();
 							},
 						});
-					}else{
+					} else {
 						my.navigateBack();
 					}
 				}
@@ -283,37 +271,7 @@ Component(
 				const {
 					preConfirmInfo: { invoiceNo, insuAdmDr, insUploadFeeResp },
 				} = this.data;
-				console.log("this.$page.data.query ==>", this.$page.data.query);
 				let result = false;
-				console.log("requset data ==>", {
-					useBalance: false,
-					useMedicare: true,
-					outTradeNo,
-					hisPatientId,
-					age,
-					sex,
-					orderId,
-					hisOrderNo,
-					amount,
-					deptName,
-					doctorName,
-					doctorCode,
-					total,
-					hisClinicCode,
-					name,
-					prescribeDate,
-					orderInsType,
-					payInsType,
-					consumeType,
-					totalFee: total,
-					medInsFee,
-					selfFee,
-					payName,
-					patName,
-					invoiceNo,
-					insuAdmDr,
-					insUploadFeeResp,
-				});
 				try {
 					my.showLoading();
 					// 门诊订单