From 3abf43e054719f229a0de981bae0d06dfef47e88 Mon Sep 17 00:00:00 2001 From: b2894lxlx <517289602@qq.com> Date: Fri, 30 Jan 2026 19:04:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=96=E8=AF=81=E5=8D=95?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/components/EvidenceModal.vue | 210 ++++++++++-------- 1 file changed, 119 insertions(+), 91 deletions(-) diff --git a/src/views/pwl/pwlProject/components/components/EvidenceModal.vue b/src/views/pwl/pwlProject/components/components/EvidenceModal.vue index 63a7549..a695fe1 100644 --- a/src/views/pwl/pwlProject/components/components/EvidenceModal.vue +++ b/src/views/pwl/pwlProject/components/components/EvidenceModal.vue @@ -12,7 +12,9 @@ 重置内容 打印/导出 -
可直接在表格中编辑,打印即可生成与效果图一致的取证单
+
可直接在表格中编辑,打印即可生成与效果图一致的取证单
@@ -74,87 +76,80 @@ - +
- - - - - - - - - - + 审计 + (调查) + 事项 + 摘要
审计(调查)事项摘要包括:标题、审计记录、审计发现、定性依据。
-
-
- 1.标题:突出核心问题,采用观点性语句,一般为审计内容、审计目标的结论性描述。例如: + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
标题:
+
-
- 在审计期间,XX单位存在"服务费,其流通"行为。 +
+
审计记录:
+
-
- 2.审计记录:仅客观记录审计核查的具体事实(时间、地点、主体、行为、数据等);不使用主观评价性语言(如"违规""不合理")或问题定性(引证合同条款、凭证等等原始凭证形式:"经核查[凭证描述]……"例如: +
+
审计发现:
+
-
- ① 经查2019年1月1日签订的《XX服务合同》(编号:XYZ-2019-001)第3条约定:"乙方(服务商)员工薪酬中甲方考勤费,甲方有权对乙方员工薪酬进行审核并支付"。 -
-
- ② 调取2019年6月外包人员考勤表显示:实际出勤人数为8人,缺勤2人由甲方部门主管确认,缺勤2人由甲方资源部核实无。 -
-
- ③ 查证2020年3月服务费结算凭证(凭证号:FV20200315):所附明细清单显示人员名单为8人且月计薪资×□工资标准结算费用。 +
+
定性依据:
+
- - - - - - - - - - - - - - - - - - - - - - - - 处理建议 @@ -242,11 +237,11 @@ class="inline-input long" placeholder="填写反馈期限" /> - 前反馈意见,逾期未反馈视为无异议; -
-
- 2. 证据提供单位意见栏如填写不下,可另附说明。 + 前反馈意见,以生成的编制日期为基础,往后推10天填充日期;
+ + +
@@ -324,26 +319,33 @@ // 直接将后端返回的数据映射到表单字段 form.caseIndex = evidenceData.caseIndex || form.caseIndex || ''; form.projectName = evidenceData.projectName || form.projectName || ''; - form.auditedTarget = evidenceData.auditedTarget || form.auditedTarget || ''; + form.auditedTarget = + evidenceData.auditedTarget || form.auditedTarget || ''; form.auditMatter = evidenceData.auditMatter || form.auditMatter || ''; form.summaryTitle = evidenceData.summaryTitle || form.summaryTitle || ''; form.auditRecord = evidenceData.auditRecord || form.auditRecord || ''; form.auditFinding = evidenceData.auditFinding || form.auditFinding || ''; - form.evidenceBasis = evidenceData.evidenceBasis || form.evidenceBasis || ''; + form.evidenceBasis = + evidenceData.evidenceBasis || form.evidenceBasis || ''; form.handling = evidenceData.handling || form.handling || ''; form.suggestion = evidenceData.suggestion || form.suggestion || ''; form.auditors = evidenceData.auditors || form.auditors || ''; form.compileDate = evidenceData.compileDate || form.compileDate || ''; - form.providerOpinion = evidenceData.providerOpinion || form.providerOpinion || ''; - form.providerDate = evidenceData.providerDate || form.providerDate || ''; - form.attachmentPages = evidenceData.attachmentPages || form.attachmentPages || ''; - form.feedbackDeadline = evidenceData.feedbackDeadline || form.feedbackDeadline || ''; - + // form.providerOpinion = + // evidenceData.providerOpinion || form.providerOpinion || ''; + // form.providerDate = evidenceData.providerDate || form.providerDate || ''; + form.providerOpinion = ''; + form.providerDate = ''; + form.attachmentPages = + evidenceData.attachmentPages || form.attachmentPages || ''; + // form.feedbackDeadline = + // evidenceData.feedbackDeadline || form.feedbackDeadline || ''; + form.feedbackDeadline = 'XX年XX月XX日'; // 处理attachment字段(数组转字符串) if (evidenceData.attachment) { form.attachment = Array.isArray(evidenceData.attachment) - ? evidenceData.attachment.join('\n') - : evidenceData.attachment; + ? evidenceData.attachment.join('\n') + : evidenceData.attachment; } // 特殊处理:如果evidenceData中有title字段,也填充到summaryTitle @@ -356,7 +358,7 @@ if (!form.compileDate) { const now = new Date(); form.compileDate = `${now.getFullYear()}-${String( - now.getMonth() + 1 + now.getMonth() + 1 ).padStart(2, '0')}-${String(now.getDate()).padStart(2, '0')}`; } @@ -364,7 +366,10 @@ if (!form.pageIndex) form.pageIndex = '1'; if (!form.pageTotal) form.pageTotal = '1'; - console.log('Form data after applyBaseInfo:', JSON.stringify(form, null, 2)); + console.log( + 'Form data after applyBaseInfo:', + JSON.stringify(form, null, 2) + ); }; watch( @@ -377,16 +382,15 @@ ); watch( - () => props.baseInfo, - () => { - if (props.visible) { - applyBaseInfo(); - } - }, - { deep: true } + () => props.baseInfo, + () => { + if (props.visible) { + applyBaseInfo(); + } + }, + { deep: true } ); - watch( () => props.selectedRows, () => { @@ -435,7 +439,7 @@ .vertical-header { padding: 4px 2px; font-weight: 600; } .vertical-text { display: flex; flex-direction: column; align-items: center; gap: 2px; } .vertical-text span { display: block; line-height: 1.1; } - .cell-input { width: 100%; border: none; resize: none; min-height: 32px; font-size: 14px; line-height: 1.6; font-family: inherit; background: transparent; } + .cell-input { width: 100%; border: none; resize: none; min-height: 32px; font-size: 14px; line-height: 1.6; font-family: inherit; background: transparent; overflow: hidden; field-sizing: content; } .cell-input:focus { outline: none; } .cell-input.single { min-height: 30px; } .cell-input.medium { min-height: 90px; } @@ -446,6 +450,10 @@ .summary-content { text-align: left; line-height: 1.7; font-size: 12px; } .summary-item { margin-bottom: 6px; } .summary-example { margin-left: 16px; margin-bottom: 6px; color: #000; } + .summary-editor { margin-top: 8px; } + .summary-field { margin-bottom: 6px; } + .summary-field-label { font-weight: 600; margin-bottom: 4px; } + .summary-textarea { margin: 0; padding: 0; } .split-row { display: flex; align-items: stretch; gap: 0; min-height: 36px; } .split-left { flex: 1; padding-right: 8px; } .split-right { display: flex; align-items: center; gap: 4px; white-space: nowrap; border-left: 1px solid #000; padding-left: 8px; } @@ -599,6 +607,8 @@ line-height: 1.6; font-family: inherit; background: transparent; + overflow: hidden; + field-sizing: content; } .cell-input:focus { @@ -647,6 +657,24 @@ color: #000; } + .summary-editor { + margin-top: 8px; + } + + .summary-field { + margin-bottom: 6px; + } + + .summary-field-label { + font-weight: 600; + margin-bottom: 4px; + } + + .summary-textarea { + margin: 0; + padding: 0; + } + .split-row { display: flex; align-items: stretch;