[update] 流程发起传saveSource,解决强制撤回没有草稿的问题,法规符合性流程字段修改

This commit is contained in:
lideqin
2024-07-17 19:57:25 +08:00
parent b8e48012b0
commit c3428f6741
8 changed files with 29 additions and 9 deletions
@@ -128,7 +128,7 @@ export default {
title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'),
align: 'center',
width: 180,
dataIndex: 'correctionCycle',
dataIndex: 'correctionCycle_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 整改费用
@@ -208,7 +208,7 @@ export default {
title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'),
align: 'center',
width: 180,
dataIndex: 'correctionCycle',
dataIndex: 'correctionCycle_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 整改费用
@@ -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 {
@@ -143,7 +143,7 @@ export default {
title: this.$t('workCenter.regulatoryComplianceCheckProcess.rectificationCycle'),
align: 'center',
width: 180,
dataIndex: 'correctionCycle',
dataIndex: 'correctionCycle_dictText',
scopedSlots: { customRender: 'text' }
},
{ // 整改费用