样式调制器

This commit is contained in:
qweasdzxclm 2026-01-28 10:06:58 +08:00
parent 98b85e8132
commit 5d32f01548
2 changed files with 16 additions and 16 deletions

View File

@ -1,15 +1,15 @@
<template>
<Dialog :title="'评估报告'" v-model="dialogVisible" width="900px">
<Dialog style="display: none;" :title="'评估报告'" v-model="dialogVisible" width="900px">
<div v-loading="loading" class="report-edit-container" ref="previewRef">
<template v-if="selectedReport">
<!-- 基本信息区 -->
<div class="basic-info-section">
<span class="basic-info-item">服刑人员{{ selectedReport.prisonerName }} ({{ selectedReport.prisonerNo }})</span>
<span class="basic-info-item">监区{{ selectedReport.areaName || '-' }}</span>
<span class="basic-info-item">评估日期{{ formatDateTime(selectedReport.evaluationDate, 'YYYY-MM-DD') }}</span>
<span class="basic-info-item">模板{{ selectedReport.templateName }}</span>
<span class="basic-info-item">风险等级{{ getDictLabel(DICT_TYPE.PRISON_RISK_LEVEL, selectedReport.riskLevel) }}</span>
<span class="basic-info-item">状态{{ getDictLabel(DICT_TYPE.PRISON_REPORT_STATUS, selectedReport.status) }}</span>
<div class="basic-info-item">服刑人员{{ selectedReport.prisonerName }} ({{ selectedReport.prisonerNo }})</div>
<div class="basic-info-item">监区{{ selectedReport.areaName || '-' }}</div>
<div class="basic-info-item">评估日期{{ formatDateTime(selectedReport.evaluationDate, 'YYYY-MM-DD') }}</div>
<div class="basic-info-item">模板{{ selectedReport.templateName }}</div>
<div class="basic-info-item">风险等级{{ getDictLabel(DICT_TYPE.PRISON_RISK_LEVEL, selectedReport.riskLevel) }}</div>
<div class="basic-info-item">状态{{ getDictLabel(DICT_TYPE.PRISON_REPORT_STATUS, selectedReport.status) }}</div>
</div>
<!-- 维度分析区 - 新版维度分析面板 -->

View File

@ -338,7 +338,7 @@ const exportToWord = async () => {
<style>
body {
font-family: 'Microsoft YaHei', '微软雅黑', SimSun, Arial, sans-serif;
font-size: 14px;
font-size: 16px;
line-height: 1.6;
margin: 20px;
padding: 20px;
@ -350,18 +350,18 @@ const exportToWord = async () => {
}
.section-title {
margin: 15px 0;
font-size: 16px;
font-size: 18px;
font-weight: 500;
color: #000;
}
.description-content {
color: #000;
line-height: 1.8;
font-size: 14px;
font-size: 16px;
}
.instruction-content {
color: #000;
font-size: 16px;
font-size: 18px;
font-weight: 500;
line-height: 1.8;
}
@ -369,20 +369,20 @@ const exportToWord = async () => {
margin-bottom: 16px;
margin-top: 24px;
color: #000;
font-size: 15px;
font-size: 17px;
font-weight: 500;
}
.partition-title:first-child {
margin-top: 0;
}
.question-count {
font-size: 12px;
font-size: 14px;
color: #909399;
font-weight: normal;
margin-left: 4px;
}
.question-item {
font-size: 14px;
font-size: 16px;
color: #000;
line-height: 1.6;
margin-bottom: 16px;
@ -400,7 +400,7 @@ const exportToWord = async () => {
align-items: center;
gap: 6px;
color: #909399;
font-size: 13px;
font-size: 15px;
padding: 4px 8px;
background: #f4f4f5;
border-radius: 4px;
@ -436,7 +436,7 @@ const exportToWord = async () => {
}
.question-input-inline {
color: #000;
font-size: 14px;
font-size: 16px;
line-height: 2.2;
text-decoration: underline;
}