From 9b47d54a72046f3926c5620bfd4c836db5c61147 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 12 九月 2025 13:32:24 +0800 Subject: [PATCH] feat: 公告 --- packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue b/packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue index 51222db..bd2b1fb 100644 --- a/packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue +++ b/packages/components/src/views/PhoneBillRecharge/PhoneBillRechargeBaseForm.vue @@ -8,12 +8,9 @@ > <NutFormItem label="閫夋嫨杩愯惀鍟�:" class="bole-form-item" prop="ispCode" required> <NutRadioGroup v-model="form.ispCode" direction="horizontal" @change="handleIspCodeChange"> - <BlRadio - :label="key" - v-for="(val, key) in BlLifeRecharge.constants.IspCodeText" - :key="key" - >{{ val }}</BlRadio - > + <BlRadio :label="item.code" v-for="item in allRateChannelList" :key="item.id">{{ + item.rateChannelName + }}</BlRadio> </NutRadioGroup> </NutFormItem> <NutFormItem label="鍏呭�兼墜鏈哄彿" class="bole-form-item" prop="phone" required> @@ -38,7 +35,7 @@ </NutForm> <NutDialog title="鎻愮ず" - content="鐢典俊鍙厖鍊煎尯鍩熷寘鎷細骞夸笢銆佹睙鑻忋�佹箹鍖椼�佸洓宸濄�佹睙瑗裤�佹渤鍖椼�佹渤鍗椼�佺寤恒�佽窘瀹併�傚叾瀹冨尯鍩熸鍦ㄥ垎鎵规杩涜缁存姢涓紝鍦ㄦ鏈熼棿鍙兘浼氬嚭鐜板厖鍊间笉鎴愬姛骞惰嚜鍔ㄩ��娆剧殑鎯呭喌锛岃鎮ㄨ皡瑙c��" + content="鐢典俊鍙厖鍊煎尯鍩熷寘鎷細 姹熻嫃銆佺敇鑲冦�佸洓宸濄�佺寤恒�佸悏鏋椼�佽窘瀹併�佸北涓溿�佽吹宸炪�傚叾瀹冨尯鍩熸鍦ㄥ垎鎵规杩涜缁存姢涓紝鍦ㄦ鏈熼棿鍙兘浼氬嚭鐜板厖鍊间笉鎴愬姛骞惰嚜鍔ㄩ��娆剧殑鎯呭喌锛岃鎮ㄨ皡瑙c��" v-model:visible="dialogVisible" /> </template> @@ -56,6 +53,7 @@ import BlRadio from '../../components/Radio/Radio.vue'; import { FormValidator } from '../../utils'; import { BlLifeRecharge, LifeRechargeConstants } from '@life-payment/core-vue'; +import { useLifePayRateChannelAllList } from '../../hooks/rate'; defineOptions({ name: 'PhoneBillRechargeBaseForm', @@ -78,6 +76,12 @@ const dialogVisible = ref(false); +const { allRateChannelList } = useLifePayRateChannelAllList({ + params: { + lifePayOrderType: LifeRechargeConstants.LifePayOrderTypeEnum.璇濊垂璁㈠崟, + }, +}); + function handleIspCodeChange(ispCode: LifeRechargeConstants.IspCode) { console.log('ispCode: ', ispCode); if (ispCode === LifeRechargeConstants.IspCode.dianxin) { -- Gitblit v1.9.1