fix 项目合规流程、未符合项流程保存调整
This commit is contained in:
+4
-3
@@ -897,8 +897,8 @@ export default {
|
||||
if (res.success) {
|
||||
const { result = {} } = res
|
||||
this.approvalInfo = Object.assign({}, result.basicTaskInfoDTO)
|
||||
// 如果是草稿,会从json里取数据
|
||||
if (this.$route.query.draftId) {
|
||||
// 如果有草稿,会从json里取数据
|
||||
if (result.infoJsonStr) {
|
||||
const draftResult = JSON.parse(result.infoJsonStr)
|
||||
// 发起节点数据处理
|
||||
if (this.currentNode === ProjectComplianceEvaluationProcessNode.initiate.value) {
|
||||
@@ -1318,7 +1318,8 @@ export default {
|
||||
const params = {
|
||||
infoJsonStr: JSON.stringify(formData),
|
||||
basicProcessInfoDTO: processInfo,
|
||||
draftId: this.$route.query.draftId
|
||||
draftId: this.$route.query.draftId,
|
||||
basicTaskInfoDTO: Object.assign(formData.approvalInfo, { taskId: this.$route.query.taskId })
|
||||
}
|
||||
this.loading = true
|
||||
saveProjectComplianceEvaluation(params).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user