From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
packages/components/src/views/GasBillRecharge/GasBillRecharge.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/packages/components/src/views/GasBillRecharge/GasBillRecharge.vue b/packages/components/src/views/GasBillRecharge/GasBillRecharge.vue
index b3cd21d..43369c5 100644
--- a/packages/components/src/views/GasBillRecharge/GasBillRecharge.vue
+++ b/packages/components/src/views/GasBillRecharge/GasBillRecharge.vue
@@ -5,6 +5,8 @@
v-else-if="current === 'step3'"
v-bind="props"
@go-pay="emit('goPay', $event)"
+ @paySuccess="emit('paySuccess', $event)"
+ @missName="emit('missName', $event)"
/>
</template>
@@ -16,16 +18,13 @@
import GasBillRechargeStep2 from './GasBillRechargeStep2.vue';
import GasBillRechargeStep3 from './GasBillRechargeStep3.vue';
import { LifeRechargeConstants } from '@life-payment/core-vue';
+import { RechargeProps } from '../PhoneBillRecharge/types';
defineOptions({
name: 'GasBillRecharge',
});
-type Props = {
- isDev?: boolean;
-};
-
-const props = withDefaults(defineProps<Props>(), {
+const props = withDefaults(defineProps<RechargeProps>(), {
isDev: false,
});
@@ -34,6 +33,8 @@
const emit = defineEmits<{
(e: 'goPay', orderNo: string): void;
+ (e: 'paySuccess', orderNo: string): void;
+ (e: 'missName', userAccountId: string): void;
}>();
const preSetForm = reactive({
@@ -43,6 +44,7 @@
gasAccount: '',
remark: '',
areaList: [] as string[],
+ name: '',
});
provide(GasBillRechargeContextKey, {
--
Gitblit v1.9.1