From 54ca0a37e3480692243e1ecfa29cd49c640ec920 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Tue, 2 Dec 2025 17:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../archivesManagement/fileManager/fileManager.js | 2 +- .../fileManager/components/rectificationList.vue | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/api/archivesManagement/fileManager/fileManager.js b/src/api/archivesManagement/fileManager/fileManager.js index 96661862..dce643fa 100644 --- a/src/api/archivesManagement/fileManager/fileManager.js +++ b/src/api/archivesManagement/fileManager/fileManager.js @@ -87,7 +87,7 @@ export function selectRectificationListApi(data) { } export function updateRectificationApi(data) { return request({ - url: '/blade-system/fileManage/selectRectificationList', + url: '/blade-system/fileManage/updateRectification', method: 'post', data:data, }) diff --git a/src/views/fileManager/components/rectificationList.vue b/src/views/fileManager/components/rectificationList.vue index fe2fe05e..c6942cfa 100644 --- a/src/views/fileManager/components/rectificationList.vue +++ b/src/views/fileManager/components/rectificationList.vue @@ -153,20 +153,23 @@ const formRef = ref(); // 编辑表单配置 const editOption = reactive({ - labelWidth: 100, + submitBtn: false, + emptyBtn: false, column: [ { label: '档案名称', prop: 'contentName', disabled: true, - placeholder: '档案名称' + placeholder: '档案名称', + span: 24 }, { label: '整改内容', prop: 'description', type: 'textarea', rows: 4, - placeholder: '请输入整改内容' + placeholder: '请输入整改内容', + span: 24 } ] }); @@ -196,7 +199,11 @@ const submitEdit = async () => { await formRef.value.validate(); submitLoading.value = true; try { - const res = await updateRectificationApi(formData.value); + const submitData = { + id: formData.value.id, + description: formData.value.description + } + const res = await updateRectificationApi(submitData); if (res.data.code === 200) { ElMessage.success('保存成功'); closeDialog();