From c23a45dcd3d8b12f4e616154f4e18ff6d69309b8 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: Tue, 15 Oct 2024 09:46:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B2=E7=B3=BB=E4=BA=BA=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E7=BC=96=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infoclient/ClientStakeholder/TenantAuditStepModal.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue b/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue index 3527187c..d7a6e6f4 100644 --- a/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue +++ b/src/views/baseinfo/infoclient/ClientStakeholder/TenantAuditStepModal.vue @@ -42,7 +42,7 @@ import { BasicModal, useModalInner } from '/@/components/Modal' import { BasicForm, useForm } from '/@/components/Form/index' import { formSchema } from './columns' - import { ApiEdit, ApiInfo } from './api' + import { ApiEdit, ApiGet } from './api' import { useMessage } from '/@/hooks/web/useMessage' // 声明Emits const emit = defineEmits(['success', 'register']) @@ -65,14 +65,14 @@ if (unref(isUpdate)) { // setModalProps({ confirmLoading: true }); rowId.value = data.record.id - const res: API.DataResult = await ApiInfo({ id: unref(rowId) }) + const res: API.DataResult = await ApiGet({ id: unref(rowId) }) if (res.succeeded) { setFieldsValue({ ...res.data, }) } } else { - setFieldsValue({ clientId: data.clientId }) + setFieldsValue({ clientId: data.clientId, status: 2 }) } setModalProps({ loading: false }) }) @@ -112,7 +112,7 @@ } } async function refresh() { - const res: API.DataResult = await ApiInfo({ id: unref(rowId) }) + const res: API.DataResult = await ApiGet({ id: unref(rowId) }) if (res.succeeded) { await setFieldsValue({ ...res.data,