From 71c5c61c62eae76d4118c6ac2c66097e23bd6e99 Mon Sep 17 00:00:00 2001 From: zhouxy Date: Fri, 27 Feb 2026 14:48:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E5=B7=B2=E5=8A=9E=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=A1=8C=E6=94=BF=E5=A4=84=E7=BD=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=9A=84=E6=89=93=E5=8D=B0=E6=96=87=E4=B9=A6=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/writs.js | 9 +++++++++ src/views/finish/index.vue | 12 +++++++++++- src/views/rempunish/accept.vue | 23 +++++++++++++++++++---- 3 files changed, 39 insertions(+), 5 deletions(-) diff --git a/src/api/writs.js b/src/api/writs.js index a3c559d..549265c 100644 --- a/src/api/writs.js +++ b/src/api/writs.js @@ -78,3 +78,12 @@ export function downloadTSWrits(writsid) { responseType: 'blob' }) } +/** + * 获取行政处罚信用修复决定书 + */ +export function getRemPunishWrit(bizSeq) { + return request({ + url: '/tswrittemplate/getRemPunishWrit?bizSeq=' + bizSeq, + method: 'get' + }) +} diff --git a/src/views/finish/index.vue b/src/views/finish/index.vue index ea6a9cf..2c549c9 100644 --- a/src/views/finish/index.vue +++ b/src/views/finish/index.vue @@ -144,6 +144,7 @@ 打印 现场核查进度 + 打印 @@ -221,7 +222,7 @@ import { finishTaskUnionPage } from '@/api/task' import { getSteps } from '@/api/personate' import { isPassDissentApply } from '@/api/abnormal' -import { getCreditRepairDecision } from '@/api/writs' +import { getCreditRepairDecision, getRemPunishWrit } from '@/api/writs' import { isMenHu } from '@/utils/utils' import { tSUsualInspectListFile } from '@/api/market' import { getUsualInspectInfo } from '@/api/market' @@ -1090,6 +1091,15 @@ export default { }).finally(() => { this.inputDialog.loading = false }) + }, + gotoPrint27(bizseqid) { + getRemPunishWrit(bizseqid).then(res => { + if (res.code === 0) { + window.open(`${process.env.VUE_APP_DOWNLOAD_URL}/` + res.data, '_blank') + } else { + this.$message.error(res.msg) + } + }) } } } diff --git a/src/views/rempunish/accept.vue b/src/views/rempunish/accept.vue index 6113241..36f70bf 100644 --- a/src/views/rempunish/accept.vue +++ b/src/views/rempunish/accept.vue @@ -269,11 +269,11 @@ @@ -298,6 +298,7 @@ filterable class="custom" style="width:40%" + @change="handlePerformerChange" > item.primaryKey === selectedValue); + if (selectedReviewer) { + this.punishInfo.nextPerformerName = selectedReviewer.name; + } else { + this.punishInfo.nextPerformerName = ''; // 如果没有找到,清空 + } + }, // 动态获取下一步操作人的 label getOperatorLabel() { if (this.punishInfo.linkType === '1') { @@ -707,6 +718,8 @@ export default { this.$set(this.tswrittemplate, 'content', res.data.content) this.$set(this, 'eidtContent', res.data.content) }) + } else { + this.$message.error(res.msg) } }) }, @@ -726,6 +739,8 @@ export default { this.$set(this.tswrittemplate, 'writsType', res.data.writsType) this.$set(this, 'eidtContent', res.data.content) }) + } else { + this.$message.error(res.msg) } }) }