From 3e40ba462b2c535c0b62234aa66ea322624459ad Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Thu, 4 Dec 2025 10:18:46 +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 --- .../components/rectFeedbackDetail.vue | 62 ++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/src/views/fileTransfer/components/rectFeedbackDetail.vue b/src/views/fileTransfer/components/rectFeedbackDetail.vue index 6745ea99..82438827 100644 --- a/src/views/fileTransfer/components/rectFeedbackDetail.vue +++ b/src/views/fileTransfer/components/rectFeedbackDetail.vue @@ -69,8 +69,18 @@ 联系方式:{{ issuerPhone || '--' }} + +
+

责任单位整改反馈

+
+
+ {{ record.name }}:{{ record.description }} +
+
+
+ -
+
整改
@@ -135,6 +145,8 @@ const proId = route.query.proId || '0' const fileList = ref([]) const issuerName = ref('') const issuerPhone = ref('') +const rectifyStatus = ref('') // 新增:整改状态 +const rectificationRecords = ref([]) // 新增:整改记录 // 新增:预览相关响应式变量 const isViewFlag = ref(false) @@ -165,6 +177,10 @@ const initData = async () => { // 1. 先赋值下发人信息(用于底部) issuerName.value = data.issuerName || '--' issuerPhone.value = data.issuerPhone || '--' + // 2. 设置整改状态 + rectifyStatus.value = data.rectifyStatus || '' + // 3. 设置整改记录 + rectificationRecords.value = data.rectificationDtos || [] // 关键:把单条记录转为数组 if (Object.keys(data).length > 0) { fileList.value = [ @@ -241,6 +257,8 @@ const saveRectify = async () => { ElMessage.success('整改提交成功') // 关闭弹框 closeRectifyDialog() + // 刷新数据 + await initData() // 可选:刷新页面或更新状态 // router.go(-1) // 根据业务需求决定是否返回 } else { @@ -301,6 +319,48 @@ const saveRectify = async () => { padding-right: 20px; } +/* 整改记录区域 */ +.rectification-records-section { + margin: 24px 0; + padding: 16px; + //border: 1px solid #ebeef5; + border-radius: 4px; + //background-color: #fafafa; +} + +.rectification-records-section h3 { + margin: 0 0 16px 0; + font-size: 16px; + font-weight: bold; + //color: #333; +} + +.record-item { + margin-bottom: 16px; + padding: 12px; + background-color: #fff; + border: 1px solid #ebeef5; + border-radius: 4px; +} + +.record-header { + display: flex; + justify-content: space-between; + margin-bottom: 8px; + font-weight: bold; + color: #333; +} + +.record-time { + color: #909399; + font-size: 12px; +} + +/* 最后一个记录项不显示下边距 */ +.record-item:last-child { + margin-bottom: 0; +} + .archive-name-cell { white-space: normal; word-break: break-word;