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