From 6eb668f6c996d4ead7e96600bd7de337ce9daff4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Fri, 30 Aug 2024 11:08:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=80=E6=9D=A5=E5=8D=95=E4=BD=8D=20?= =?UTF-8?q?=E8=B4=B9=E7=94=A8=E4=BB=A3=E7=A0=81=20=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infoclient/ClientAccountDateModal.vue | 27 ++- .../infoclient/TenantAuditStepModal.vue | 158 ++---------------- src/views/baseinfo/infoclient/columns.tsx | 2 +- .../infoclient/tabs3/TenantAuditStepModal.vue | 21 +-- .../baseinfo/infoclient/tabs3/columns.tsx | 1 + src/views/baseinfo/infoclient/tabs3/index.vue | 5 +- src/views/fee/code/index.vue | 38 +---- 7 files changed, 41 insertions(+), 211 deletions(-) diff --git a/src/views/baseinfo/infoclient/ClientAccountDateModal.vue b/src/views/baseinfo/infoclient/ClientAccountDateModal.vue index 6ac65630..96a7a374 100644 --- a/src/views/baseinfo/infoclient/ClientAccountDateModal.vue +++ b/src/views/baseinfo/infoclient/ClientAccountDateModal.vue @@ -57,25 +57,20 @@ }) const [registerModal, { setModalProps, closeModal }] = useModalInner(async (data) => { - console.log(data, 3333333333333333333333333) resetFields() setModalProps({ confirmLoading: false, loading: true }) isUpdate.value = !!data?.isUpdate + rowId.value = data.record.id if (unref(isUpdate)) { setModalProps({ confirmLoading: true }) - - rowId.value = data.record.id const res: API.DataResult = await getClientBankInfo({ id: unref(rowId) }) if (res.succeeded) { setFieldsValue({ ...res.data, }) - // console.log('返回数据Form', getFieldsValue()); - // setFieldsValue({ trainId: unref(res.data.trainId) }); } setModalProps({ confirmLoading: false }) } else { - rowId.value = data.record.id setFieldsValue({ permissionIdentity: unref(2), clientId: data.record.id }) } setModalProps({ loading: false }) @@ -97,11 +92,11 @@ //刷新页面 if (!exit) { if (unref(isUpdate)) { - await refresh() + // await refresh() } else { rowId.value = res.data isUpdate.value = true - await refresh() + // await refresh() } } } @@ -111,12 +106,12 @@ setModalProps({ confirmLoading: false, loading: false }) } } - async function refresh() { - // const res: API.DataResult = await getClientBankInfo({ id: unref(rowId) }) - // if (res.succeeded) { - // await setFieldsValue({ - // ...res.data, - // }) - // } - } + // async function refresh() { + // const res: API.DataResult = await getClientBankInfo({ id: unref(rowId) }) + // if (res.succeeded) { + // await setFieldsValue({ + // ...res.data, + // }) + // } + // } diff --git a/src/views/baseinfo/infoclient/TenantAuditStepModal.vue b/src/views/baseinfo/infoclient/TenantAuditStepModal.vue index f165e784..55adab9e 100644 --- a/src/views/baseinfo/infoclient/TenantAuditStepModal.vue +++ b/src/views/baseinfo/infoclient/TenantAuditStepModal.vue @@ -160,7 +160,7 @@