zhengyiming
2025-03-25 dca624a7e4c877dc4bfd8c496a6c2a6b29ad4b46
packages/components/src/views/GasBillRecharge/GasBillRechargeStep1.vue
@@ -2,10 +2,10 @@
  <NutForm label-position="top" class="order-bill-recharge gas-bill-recharge-wrapper phone">
    <NutFormItem class="bole-form-item">
      <GasOrgTypeCard
        :title="item"
        v-for="(item, gasOrgCodeEnum) in BlLifeRecharge.constants.GasOrgCodeEnumText"
        :key="item"
        @click="goNext(gasOrgCodeEnum)"
        :title="item.gasOrgName"
        v-for="item in gasParValueList"
        :key="item.gasOrgCode"
        @click="goNext(item.gasOrgCode)"
      ></GasOrgTypeCard>
    </NutFormItem>
    <div class="common-content">
@@ -23,6 +23,7 @@
import GasOrgTypeCard from './GasOrgTypeCard.vue';
import { BlLifeRecharge, LifeRechargeConstants } from '@life-payment/core-vue';
import { useGasBillRechargeContext } from './context';
import { useGetGasParValue } from '../../hooks';
defineOptions({
  name: 'GasBillRechargeStep1',
@@ -30,7 +31,9 @@
const { preSetForm, goToNext, goTo } = useGasBillRechargeContext();
function goNext(gasOrgType: LifeRechargeConstants.GasOrgCodeEnum) {
const { gasParValueList } = useGetGasParValue();
function goNext(gasOrgType: string) {
  preSetForm.gasOrgType = gasOrgType;
  goToNext();
}