From d2b084d2c8838cc58c15ea8d66e344bcc019e20a Mon Sep 17 00:00:00 2001 From: wsm <2746563060@qq.com> Date: Mon, 3 Aug 2026 15:03:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(fixcontact):=20=E5=8F=8D=E9=A6=88=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E8=AE=A1=E5=88=92=E5=AE=8C=E6=88=90=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=E3=80=81=E9=95=BF=E6=96=87=E6=9C=AC=E6=8D=A2?= =?UTF-8?q?=E8=A1=8C=E6=98=BE=E7=A4=BA=E4=B8=8E=E5=8A=9E=E7=90=86=E6=83=85?= =?UTF-8?q?=E5=86=B5=E5=8C=BA=E6=8C=89=E8=8A=82=E7=82=B9=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=98=BE=E9=9A=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 反馈弹窗:计划完成时间改为必填,三个长文本输入框自动增高换行,label 列宽调整避免标题换行 - 台账与办理情况表:计划完成情况/处理意见、承办情况/办结情况/实际完成情况列左对齐并自动换行显示全量内容 - 办理情况/反馈区显隐改由节点权限参数 showFeedbackInfo/showSelnextUser 等驱动 Co-Authored-By: Claude Opus 4.7 --- .../fixcontact/FixedContact20260730.data.ts | 17 +++++-- .../FixedContact20260730BPMFeedbackModal.vue | 15 ++++--- .../FixedContact20260730BPMForm.vue | 45 ++++++++++++++----- 3 files changed, 58 insertions(+), 19 deletions(-) diff --git a/src/views/bg/fixcontact/FixedContact20260730.data.ts b/src/views/bg/fixcontact/FixedContact20260730.data.ts index 2a8d73d..409d083 100644 --- a/src/views/bg/fixcontact/FixedContact20260730.data.ts +++ b/src/views/bg/fixcontact/FixedContact20260730.data.ts @@ -1,5 +1,10 @@ +import { h } from 'vue'; import { BasicColumn } from '/@/components/Table'; +function renderWrappedText({ text }: any) { + return h('div', { style: 'white-space: pre-wrap; word-break: break-word;' }, text ?? ''); +} + export const columns: BasicColumn[] = [ { title: '序号', @@ -86,21 +91,24 @@ export const fixedContactFeedbackColumns: BasicColumn[] = [ }, { title: '计划完成情况', - align: 'center', + align: 'left', dataIndex: 'planFinishStatus', width: 160, + customRender: renderWrappedText, }, { title: '处理意见、承办情况', - align: 'center', + align: 'left', dataIndex: 'handleOpinion', width: 200, + customRender: renderWrappedText, }, { title: '办结情况', - align: 'center', + align: 'left', dataIndex: 'finishStatus', width: 160, + customRender: renderWrappedText, }, { title: '实际完成时间', @@ -114,9 +122,10 @@ export const fixedContactFeedbackColumns: BasicColumn[] = [ }, { title: '实际完成情况', - align: 'center', + align: 'left', dataIndex: 'actualFinishStatus', width: 160, + customRender: renderWrappedText, }, { title: '反馈人', diff --git a/src/views/bg/fixcontact/components/FixedContact20260730BPMFeedbackModal.vue b/src/views/bg/fixcontact/components/FixedContact20260730BPMFeedbackModal.vue index 3638666..57366b3 100644 --- a/src/views/bg/fixcontact/components/FixedContact20260730BPMFeedbackModal.vue +++ b/src/views/bg/fixcontact/components/FixedContact20260730BPMFeedbackModal.vue @@ -28,18 +28,18 @@ - + - + - + @@ -89,8 +89,8 @@ const uploadKey = ref(0); const labelCol = { xs: { span: 24 }, sm: { span: 7 } }; const wrapperCol = { xs: { span: 24 }, sm: { span: 17 } }; - const wideLabelCol = { xs: { span: 24 }, sm: { span: 3 } }; - const wideWrapperCol = { xs: { span: 24 }, sm: { span: 21 } }; + const wideLabelCol = { xs: { span: 24 }, sm: { span: 5 } }; + const wideWrapperCol = { xs: { span: 24 }, sm: { span: 19 } }; const feedbackSaveUrl = '/bg/fixcontact/fixedContact20260730/addFixedContactFeedback20260730'; const feedbackEditUrl = '/bg/fixcontact/fixedContact20260730/editFixedContactFeedback20260730'; @@ -110,6 +110,7 @@ }); const formRules = { + planFinishTime: [{ required: true, message: '请选择计划完成时间' }], planFinishStatus: [{ required: true, message: '请输入计划完成情况' }], }; @@ -206,5 +207,9 @@ diff --git a/src/views/bg/fixcontact/components/FixedContact20260730BPMForm.vue b/src/views/bg/fixcontact/components/FixedContact20260730BPMForm.vue index ade3dc3..8aa975c 100644 --- a/src/views/bg/fixcontact/components/FixedContact20260730BPMForm.vue +++ b/src/views/bg/fixcontact/components/FixedContact20260730BPMForm.vue @@ -118,7 +118,7 @@ -