diff --git a/src/api/workCenter.js b/src/api/workCenter.js index f20f789..2e94ac2 100644 --- a/src/api/workCenter.js +++ b/src/api/workCenter.js @@ -93,6 +93,9 @@ const compulsoryWithdrawal = (params) => postAction('/workCenter/forcedWithdrawa // 流程中心统一转办 const processTransfer = (params) => postAction('/workCenter/transfer', params) +// 流程中心-统一保存 +const processSave = (params) => getAction('/workCenter/save', params) + // 流程中心-草稿-办理 const getDataDraft = (params) => getAction('/workCenter/draftHandle', params) @@ -160,6 +163,8 @@ export { processTransfer, + processSave, + getDataDraft, getLookData, diff --git a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue index 5b261ba..26104f9 100644 --- a/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue +++ b/src/views/workCenter/marketListReleaseProcess/MarketListReleaseProcess.vue @@ -514,6 +514,7 @@ export default { paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId } else { func = marketListReleaseApproval + paramObj.saveSource = 3 } func(paramObj).then(res => { if (res.success) { diff --git a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue index 87112b0..2cb25b9 100644 --- a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue +++ b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue @@ -441,6 +441,7 @@ export default { paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId } else { func = newRegulationImportApproval + paramObj.saveSource = 3 } func(paramObj).then(res => { if (res.success) { diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue index 9f5f0da..746353d 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/RegulatoryComplianceCheckProcess.vue @@ -493,15 +493,16 @@ export default { // 流程审批信息 paramObj.basicTaskInfoDTO = Object.assign({}, approvalInfoForm) paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId + // 业务信息 + paramObj.businessInfoDTO = baseInfo + // 人员信息 + paramObj.userInfoMap = personnelObj // 草稿id if (this.model.infoJsonStr) { paramObj.draftId = this.model.id } - // 业务基本信息和人员信息 - paramObj.infoJsonStr = JSON.stringify({ - data: baseInfo.formInline, - personnelObj: personnelObj - }) + // 草稿JSON + paramObj.infoJsonStr = JSON.stringify(paramObj) this.loading = true // 保存到草稿 regulatoryComplianceCheckSave(paramObj).then(res => { @@ -550,6 +551,7 @@ export default { paramObj.basicTaskInfoDTO.taskId = this.$route.query.taskId } else { func = regulatoryComplianceCheckApproval + paramObj.saveSource = 3 } func(paramObj).then(res => { if (res.success) { diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/FinishAuditBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/FinishAuditBaseInfo.vue index 71d9774..a098e53 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/FinishAuditBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/FinishAuditBaseInfo.vue @@ -128,7 +128,7 @@ export default { title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'), align: 'center', width: 180, - dataIndex: 'correctionCycle', + dataIndex: 'correctionCycle_dictText', scopedSlots: { customRender: 'text' } }, { // 整改费用 diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderCollectBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderCollectBaseInfo.vue index 58b381b..f9cadeb 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderCollectBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderCollectBaseInfo.vue @@ -208,7 +208,7 @@ export default { title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'), align: 'center', width: 180, - dataIndex: 'correctionCycle', + dataIndex: 'correctionCycle_dictText', scopedSlots: { customRender: 'text' } }, { // 整改费用 diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue index 25b50e4..11312b6 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderDistributesBaseInfo.vue @@ -518,6 +518,17 @@ export default { initData (data) { // 给表单赋值 this.formInline = Object.assign({}, data.standardInfo) + const personFormInline = {} + // 会签人员 + personFormInline.countersignUser = data.standardInfo.countersignUser + personFormInline.countersignUser_dictText = data.standardInfo.countersignUser_dictText + // 审核人员 + personFormInline.manager = data.standardInfo.manager + personFormInline.manager_dictText = data.standardInfo.manager_dictText + // 批准人员 + personFormInline.seniorManager = data.standardInfo.seniorManager + personFormInline.seniorManager_dictText = data.standardInfo.seniorManager_dictText + this.personFormInline = Object.assign({}, personFormInline) if (this.formInline.distributeFlag === YesOrNoEnum.YES.value) { this.dataSource = JSON.parse(JSON.stringify(data.detailInfoList)) } else { @@ -530,7 +541,7 @@ export default { getData () { // 把数据抛出,在线编辑不知道要不要抛 const data = {} - data.standardInfo = Object.assign({}, this.formInline) + data.standardInfo = Object.assign({}, this.formInline, this.personFormInline) if (this.formInline.distributeFlag === YesOrNoEnum.YES.value) { data.detailInfoList = JSON.parse(JSON.stringify(this.dataSource)) } else { diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderSingleAuditBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderSingleAuditBaseInfo.vue index f72689c..a50ab24 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderSingleAuditBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/MainFinderSingleAuditBaseInfo.vue @@ -143,7 +143,7 @@ export default { title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'), align: 'center', width: 180, - dataIndex: 'correctionCycle', + dataIndex: 'correctionCycle_dictText', scopedSlots: { customRender: 'text' } }, { // 整改费用