From 7c24e02dd40f435aa036d4f3932e72f193441d06 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 18 四月 2025 17:34:42 +0800 Subject: [PATCH] feat: 页面 --- src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue b/src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue index a8defb8..fbc2d2e 100644 --- a/src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue +++ b/src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue @@ -16,7 +16,10 @@ </ProFormColItem> <ProFormColItem :span="8"> <ProFormItemV2 label="浼佷笟绫诲瀷:" prop="enterpriseType"> - <ProFormRadio v-model.trim="detail.enterpriseType" :value-enum="AuthTypeText" /> + <ProFormRadio + v-model.trim="detail.enterpriseType" + :value-enum="EnterpriseTypeText" + /> </ProFormItemV2> </ProFormColItem> </ProFormCol> @@ -35,6 +38,11 @@ <ProFormCol> <ProFormColItem :span="8"> <ProFormItemV2 label="寮�鎴烽摱琛�:" prop="bankName"> + <ProFormText v-model.trim="detail.bankName" /> + </ProFormItemV2> + </ProFormColItem> + <ProFormColItem :span="8"> + <ProFormItemV2 label="寮�鎴锋敮琛�:" prop="bankName"> <ProFormText v-model.trim="detail.bankName" /> </ProFormItemV2> </ProFormColItem> @@ -68,10 +76,11 @@ ProFormItemV2, ProFormText, ProFormUpload, + ProFormRadio, } from '@bole-core/components'; import { useQuery } from '@tanstack/vue-query'; import * as customerServices from '@/services/api/Customer'; -import { AuthTypeText } from '@/constants'; +import { EnterpriseTypeText } from '@/constants'; import { convertApi2FormUrlOnlyOne } from '@/utils'; defineOptions({ @@ -84,12 +93,7 @@ const { data: detail, isLoading } = useQuery({ queryKey: ['customerServices/getParkCustomerManageBaseDetail', id], queryFn: async () => { - return await customerServices.getParkCustomerManageBaseDetail( - { id: id }, - { - showLoading: false, - } - ); + return await customerServices.getParkCustomerManageBaseDetail({ id: id }); }, placeholderData: () => ({} as API.GetParkCustomerManageDetailOutput), enabled: !!id, -- Gitblit v1.9.1