diff --git a/src/assets/styles/common.less b/src/assets/styles/common.less index fd4c13f29..759027128 100644 --- a/src/assets/styles/common.less +++ b/src/assets/styles/common.less @@ -396,3 +396,6 @@ border-color: #3986c9 } +.flow-list{ + height: 100%; +} diff --git a/src/components/CustomFormComponents/InputForAllStandards.vue b/src/components/CustomFormComponents/InputForAllStandards.vue index 0ba3725d4..23c07f169 100644 --- a/src/components/CustomFormComponents/InputForAllStandards.vue +++ b/src/components/CustomFormComponents/InputForAllStandards.vue @@ -131,6 +131,8 @@ {{$t('m.dataAcquisition')}} - + @@ -664,7 +666,7 @@ @pageChange="handlePageChange" @pageSizeChange="handlePageSizeChange" > - 数据获取中 + 数据获取中 +
@@ -259,6 +263,7 @@ 流程列表加载中
+
- + + + { if(item.wbbzform !== undefined){ this.wbbzform = item.wbbzform + this.commentStep = JSON.parse(JSON.stringify(item)).commentStep || '' this.participantsData = item.participantsData }else{ return @@ -638,6 +653,23 @@ export default { }, handleSave() { + this.saveLoading = true + this.isSubmit = true + let _formData = new FormData() + _formData.append('taskIds', this.taskIds) + _formData.append('json', JSON.stringify({ + wbbzform: this.wbbzform, + participantsData: this.participantsData, + commentStep: this.commentStep + })) + saveTaskForPub(_formData).then(res => { + this.$message.success('保存成功') + this.bpnId = res.result + }).finally(() => { + this.isSubmit = false + this.saveLoading = false + }) + }, //不备案 handleRecord() { @@ -668,7 +700,7 @@ export default { this.$message.warning("请完善项目信息"); } }); - this.wbbzform.commentText = this.commentText; + this.wbbzform.commentText = this.commentStep; let json = { participantsData: this.participantsData, wbbzform: this.wbbzform, @@ -702,7 +734,7 @@ export default { projectNumber: this.projectNumber, projectName: this.projectName, expenses: this.expenses, - costBudget: this.costBudget + costBudget: this.costBudget, }; this.participantsData.push(list); }, @@ -723,6 +755,9 @@ export default {