update 流程完善

This commit is contained in:
danshihao
2024-01-05 18:43:56 +08:00
parent a01793b9ea
commit 9ff54f05ea
7 changed files with 28 additions and 7 deletions
@@ -378,7 +378,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 16
})
// 处理其他参数
@@ -440,6 +441,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return saveInspectPlan(res)
}).then(res => {
@@ -356,7 +356,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 17
})
// 处理其他参数
@@ -409,6 +410,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return saveInspectProcess(res)
}).then(res => {
@@ -329,7 +329,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 19
})
// 处理其他参数
@@ -387,6 +388,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return saveInspectRectify(res)
}).then(res => {
@@ -329,7 +329,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 18
})
// 处理其他参数
@@ -382,6 +383,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return saveInspectExtension(res)
}).then(res => {
@@ -434,7 +434,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 20
})
// 处理其他参数
@@ -498,6 +499,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return savePermissionApply(res)
}).then(res => {
@@ -360,7 +360,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 22
})
// 处理其他参数
@@ -424,6 +425,8 @@ export default {
// 业务数据(需要等后端调整)
// draftData:
})
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
console.log(res)
return savePostMeetingManage(res)
}).then(res => {
@@ -280,7 +280,8 @@ export default {
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
projectId: this.projectId,
nodeId: this.$route.query.nodeId,
taskId: this.$route.query.taskId
taskId: this.$route.query.taskId,
prcType: 21
})
// 处理其他参数
@@ -308,6 +309,8 @@ export default {
this.loading = true
this.getPageParams(false).then(res => {
console.log(res)
// 1待办 2草稿
res.saveSource = this.$route.query.draftId ? 2 : 1
return saveStandardPromotion(res)
}).then(res => {
if (res.success) {