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 @@