我的已办添加行政处罚修复的打印文书按钮
This commit is contained in:
parent
4b71de9878
commit
71c5c61c62
|
|
@ -78,3 +78,12 @@ export function downloadTSWrits(writsid) {
|
||||||
responseType: 'blob'
|
responseType: 'blob'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 获取行政处罚信用修复决定书
|
||||||
|
*/
|
||||||
|
export function getRemPunishWrit(bizSeq) {
|
||||||
|
return request({
|
||||||
|
url: '/tswrittemplate/getRemPunishWrit?bizSeq=' + bizSeq,
|
||||||
|
method: 'get'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,7 @@
|
||||||
<el-button v-if="tableData[scope.$index].busstatus != 2 && tableData[scope.$index].isPassDissentApply" type="primary" size="mini" @click="gotoPrintNotice(scope.row)">打印</el-button>
|
<el-button v-if="tableData[scope.$index].busstatus != 2 && tableData[scope.$index].isPassDissentApply" type="primary" size="mini" @click="gotoPrintNotice(scope.row)">打印</el-button>
|
||||||
<!-- 撤销案件登记 -->
|
<!-- 撤销案件登记 -->
|
||||||
<el-button v-if="scope.row.bustype==='31'" type="primary" size="mini" @click="getStepsEvent(scope.row)">现场核查进度</el-button>
|
<el-button v-if="scope.row.bustype==='31'" type="primary" size="mini" @click="getStepsEvent(scope.row)">现场核查进度</el-button>
|
||||||
|
<el-button v-if="scope.row.bustype==='27' && tableData[scope.$index].busstatus === '2'" type="primary" size="mini" @click="gotoPrint27(scope.row.bizseqid)">打印</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -221,7 +222,7 @@
|
||||||
import { finishTaskUnionPage } from '@/api/task'
|
import { finishTaskUnionPage } from '@/api/task'
|
||||||
import { getSteps } from '@/api/personate'
|
import { getSteps } from '@/api/personate'
|
||||||
import { isPassDissentApply } from '@/api/abnormal'
|
import { isPassDissentApply } from '@/api/abnormal'
|
||||||
import { getCreditRepairDecision } from '@/api/writs'
|
import { getCreditRepairDecision, getRemPunishWrit } from '@/api/writs'
|
||||||
import { isMenHu } from '@/utils/utils'
|
import { isMenHu } from '@/utils/utils'
|
||||||
import { tSUsualInspectListFile } from '@/api/market'
|
import { tSUsualInspectListFile } from '@/api/market'
|
||||||
import { getUsualInspectInfo } from '@/api/market'
|
import { getUsualInspectInfo } from '@/api/market'
|
||||||
|
|
@ -1090,6 +1091,15 @@ export default {
|
||||||
}).finally(() => {
|
}).finally(() => {
|
||||||
this.inputDialog.loading = false
|
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)
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -269,11 +269,11 @@
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="punishInfo.linkType === '0'">
|
<template v-else-if="punishInfo.linkType === '0'">
|
||||||
<el-radio label="approveRemPunish">提交至审批人</el-radio>
|
<el-radio label="approveRemPunish">提交至审批人</el-radio>
|
||||||
<el-radio label="returnRemPunish">回退上一步</el-radio>
|
<el-radio label="returnRemPunish">回退至上一操作人</el-radio>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="punishInfo.linkType === '2'">
|
<template v-else-if="punishInfo.linkType === '2'">
|
||||||
<el-radio label="endRemPunish">业务结束</el-radio>
|
<el-radio label="endRemPunish">业务结束</el-radio>
|
||||||
<el-radio label="returnRemPunish">回退上一步</el-radio>
|
<el-radio label="returnRemPunish">回退至上一操作人</el-radio>
|
||||||
</template>
|
</template>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
@ -298,6 +298,7 @@
|
||||||
filterable
|
filterable
|
||||||
class="custom"
|
class="custom"
|
||||||
style="width:40%"
|
style="width:40%"
|
||||||
|
@change="handlePerformerChange"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in reviewer"
|
v-for="item in reviewer"
|
||||||
|
|
@ -390,7 +391,7 @@ export default {
|
||||||
bizseq: '',
|
bizseq: '',
|
||||||
writsType: '',
|
writsType: '',
|
||||||
isTemplate: '',
|
isTemplate: '',
|
||||||
type: 'punishment' // 设置为行政处罚类型
|
type: 'punishment' // 设置为行政处罚类型
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
applyDate: [
|
applyDate: [
|
||||||
|
|
@ -414,7 +415,8 @@ export default {
|
||||||
isAgreeRepair: '',
|
isAgreeRepair: '',
|
||||||
formData: {
|
formData: {
|
||||||
opinion: '',
|
opinion: '',
|
||||||
nextPerformerids: ''
|
nextPerformerids: '',
|
||||||
|
nextPerformerName: ''
|
||||||
},
|
},
|
||||||
reviewer: []
|
reviewer: []
|
||||||
}
|
}
|
||||||
|
|
@ -461,6 +463,15 @@ export default {
|
||||||
this.loadReviewer()
|
this.loadReviewer()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
handlePerformerChange(selectedValue) {
|
||||||
|
// 找到对应的 reviewer 并设置 nextPerformerName
|
||||||
|
const selectedReviewer = this.reviewer.find(item => item.primaryKey === selectedValue);
|
||||||
|
if (selectedReviewer) {
|
||||||
|
this.punishInfo.nextPerformerName = selectedReviewer.name;
|
||||||
|
} else {
|
||||||
|
this.punishInfo.nextPerformerName = ''; // 如果没有找到,清空
|
||||||
|
}
|
||||||
|
},
|
||||||
// 动态获取下一步操作人的 label
|
// 动态获取下一步操作人的 label
|
||||||
getOperatorLabel() {
|
getOperatorLabel() {
|
||||||
if (this.punishInfo.linkType === '1') {
|
if (this.punishInfo.linkType === '1') {
|
||||||
|
|
@ -707,6 +718,8 @@ export default {
|
||||||
this.$set(this.tswrittemplate, 'content', res.data.content)
|
this.$set(this.tswrittemplate, 'content', res.data.content)
|
||||||
this.$set(this, 'eidtContent', 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.tswrittemplate, 'writsType', res.data.writsType)
|
||||||
this.$set(this, 'eidtContent', res.data.content)
|
this.$set(this, 'eidtContent', res.data.content)
|
||||||
})
|
})
|
||||||
|
} else {
|
||||||
|
this.$message.error(res.msg)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue