diff --git a/src/views/bg/xispeak/components/BgXiSpeakDetailModal.vue b/src/views/bg/xispeak/components/BgXiSpeakDetailModal.vue index ed0d1c2..62eee93 100644 --- a/src/views/bg/xispeak/components/BgXiSpeakDetailModal.vue +++ b/src/views/bg/xispeak/components/BgXiSpeakDetailModal.vue @@ -7,20 +7,55 @@ :footer="null" :maskClosable="true" :bodyStyle="{ maxHeight: '70vh', overflowY: 'auto', padding: '16px 24px 20px' }" + wrapClassName="xispeak-detail-modal" destroyOnClose > -
-
- {{ field.label }} - {{ field.value }} -
+
+
+
+ + + +
+ {{ summaryKicker }} +

{{ detailSummary.title }}

+
+
+ +
+
+ + 时间 + {{ detailSummary.time }} +
+
+ + 密级 + {{ detailSummary.secretLevel }} +
+
+ 截止日期:{{ detailSummary.deadline }} + 督办次数:{{ detailSummary.supervisionCount }} +
+
+
+ +
+
+ + + +

{{ group.title }}

+
+
+
+ {{ field.label }} + {{ field.value }} +
+
+
@@ -103,25 +138,59 @@ return fmt(record[`${key}_dictText`] || record[key]); } - const detailFields = computed(() => { + const summaryKicker = '习讲话事项'; + const summaryIcon = 'ant-design:sound-outlined'; + + // 摘要区只承载最常用于快速判断事项状态的信息,详细字段放入下方分组,避免重复平铺。 + const detailSummary = computed(() => { + const r = record.value || {}; + return { + title: fmt(r.speakStatus), + time: fmtDate(r.time), + secretLevel: dictText(r, 'secretLevel'), + deadline: fmtDate(r.deadline), + supervisionCount: fmt(r.supervisionCount), + }; + }); + + const detailGroups = computed(() => { const r = record.value || {}; return [ - { label: '重要讲话指示批示', value: fmt(r.speakStatus), fullWidth: true, bold: true }, - { label: '时间', value: fmtDate(r.time), bold: true }, - { label: '企业负责同志批示情况', value: fmt(r.elmComment) }, - { label: '学习传达研究部署', value: fmt(r.status) }, - { label: '密级', value: dictText(r, 'secretLevel') }, - { label: '所党委责任领导', value: dictText(r, 'responsiblePerson'), bold: true }, - { label: '牵头部门', value: dictText(r, 'implDept'), bold: true }, - { label: '贯彻落实措施', value: fmt(r.implMeasures) }, - { label: '会议决策数', value: fmt(r.numberOfResolutions) }, - { label: '是否需要所党委领导督办', value: ynText(r.needSdwApproval) }, - { label: '所党委领导列表', value: dictText(r, 'sdwLeaderList') }, - { label: '指定落实措施条数', value: fmt(r.implCount) }, - { label: '措施已闭环数量', value: fmt(r.closedCount) }, - { label: '报告反馈情况', value: fmt(r.reportFeedbackStatus) }, - { label: '截止日期', value: fmtDate(r.deadline) }, - { label: '督办次数', value: fmt(r.supervisionCount) }, + { + title: '批示与传达', + icon: 'ant-design:notification-outlined', + fields: [ + { label: '企业负责同志批示情况', value: fmt(r.elmComment) }, + { label: '学习传达研究部署', value: fmt(r.status) }, + ], + }, + { + title: '责任与落实', + icon: 'ant-design:team-outlined', + fields: [ + { label: '所党委责任领导', value: dictText(r, 'responsiblePerson'), bold: true }, + { label: '牵头部门', value: dictText(r, 'implDept'), bold: true }, + { label: '贯彻落实措施', value: fmt(r.implMeasures), fullWidth: true }, + ], + }, + { + title: '决策与进展', + icon: 'ant-design:fund-outlined', + fields: [ + { label: '会议决策数', value: fmt(r.numberOfResolutions) }, + { label: '指定落实措施条数', value: fmt(r.implCount) }, + { label: '措施已闭环数量', value: fmt(r.closedCount) }, + { label: '报告反馈情况', value: fmt(r.reportFeedbackStatus) }, + ], + }, + { + title: '审批设置', + icon: 'ant-design:safety-outlined', + fields: [ + { label: '是否需要所党委领导督办', value: ynText(r.needSdwApproval) }, + { label: '所党委领导列表', value: dictText(r, 'sdwLeaderList'), fullWidth: true }, + ], + }, ]; }); @@ -176,40 +245,265 @@