| | |
| | | <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"> |
| | |
| | | import GasOrgTypeCard from './GasOrgTypeCard.vue'; |
| | | import { BlLifeRecharge, LifeRechargeConstants } from '@life-payment/core-vue'; |
| | | import { useGasBillRechargeContext } from './context'; |
| | | import { useGetGasParValue } from '../../hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'GasBillRechargeStep1', |
| | |
| | | |
| | | const { preSetForm, goToNext, goTo } = useGasBillRechargeContext(); |
| | | |
| | | function goNext(gasOrgType: LifeRechargeConstants.GasOrgCodeEnum) { |
| | | const { gasParValueList } = useGetGasParValue(); |
| | | |
| | | function goNext(gasOrgType: string) { |
| | | preSetForm.gasOrgType = gasOrgType; |
| | | goToNext(); |
| | | } |