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) } }) }