|
|
@@ -101,7 +101,6 @@ import { validateRules } from '@/constants/regex'
|
|
|
import { useCountDown } from '@vant/use'
|
|
|
import { useUserStore, i18n } from '@/stores'
|
|
|
import AppModal from '@/components/base/modal/index.vue'
|
|
|
-import { queryMemberCusBankInfo } from '@/services/api/bank'
|
|
|
|
|
|
const props = defineProps({
|
|
|
isedit: {
|
|
|
@@ -115,7 +114,7 @@ const SelectBank = defineAsyncComponent(() => import('./select-bank/index.vue'))
|
|
|
// 搜索支行
|
|
|
const SearchBank = defineAsyncComponent(() => import('./search-bank/index.vue'))
|
|
|
|
|
|
-const { formData, onSubmit, cusBanks, selectCusBank, swsFormData, bankInfo, extendInfo, system_1010, system_1016, system_1013, smsVerificationCode } = useDoBankSign()
|
|
|
+const { formData, onSubmit, cusBanks, selectCusBank, swsFormData, bankInfo, extendInfo, system_1010, system_1013, smsVerificationCode } = useDoBankSign()
|
|
|
const showModal = shallowRef(true)
|
|
|
const refresh = shallowRef(false) // 是否刷新父组件数据
|
|
|
const formRef = shallowRef<FormInstance>()
|
|
|
@@ -328,19 +327,6 @@ watch(configs, (data) => {
|
|
|
|
|
|
onMounted(() => {
|
|
|
// 任务 #6605
|
|
|
- setTimeout(() => {
|
|
|
- if (system_1016.value === '1') {
|
|
|
- queryMemberCusBankInfo().then((res) => {
|
|
|
- // 签约界面可用渠道列表逻辑变更: 若1016参数有且为1时,通过userid查询经纪会员配置(Qhj/QueryMemberCusBankInfo)的可用渠道列表;1016无或为其它值值,使用原逻辑取得的渠道列表
|
|
|
- cusBanks.value = res.data ?? []
|
|
|
- // 默认选中第一个
|
|
|
- if (res.data.length != 0) {
|
|
|
- selectCusBank.value = res.data[0]
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- }, 300);
|
|
|
-
|
|
|
if (formData.CusBankID) {
|
|
|
cusBankName.value = bankInfo.value?.cusbankname ?? ''
|
|
|
formData.CusBankID = bankInfo.value?.cusbankid
|