update 流程完善
This commit is contained in:
+4
-1
@@ -378,7 +378,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 16
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -440,6 +441,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return saveInspectPlan(res)
|
return saveInspectPlan(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
+4
-1
@@ -356,7 +356,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 17
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -409,6 +410,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return saveInspectProcess(res)
|
return saveInspectProcess(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
+4
-1
@@ -329,7 +329,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 19
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -387,6 +388,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return saveInspectRectify(res)
|
return saveInspectRectify(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
+4
-1
@@ -329,7 +329,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 18
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -382,6 +383,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return saveInspectExtension(res)
|
return saveInspectExtension(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
@@ -434,7 +434,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 20
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -498,6 +499,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return savePermissionApply(res)
|
return savePermissionApply(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
@@ -360,7 +360,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
nodeId: this.$route.query.nodeId,
|
||||||
taskId: this.$route.query.taskId
|
taskId: this.$route.query.taskId,
|
||||||
|
prcType: 22
|
||||||
})
|
})
|
||||||
|
|
||||||
// 处理其他参数
|
// 处理其他参数
|
||||||
@@ -424,6 +425,8 @@ export default {
|
|||||||
// 业务数据(需要等后端调整)
|
// 业务数据(需要等后端调整)
|
||||||
// draftData:
|
// draftData:
|
||||||
})
|
})
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
console.log(res)
|
console.log(res)
|
||||||
return savePostMeetingManage(res)
|
return savePostMeetingManage(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
@@ -280,7 +280,8 @@ export default {
|
|||||||
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
params.processAll = Object.assign({}, this.info.processAll, formDataList[0], {
|
||||||
projectId: this.projectId,
|
projectId: this.projectId,
|
||||||
nodeId: this.$route.query.nodeId,
|
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.loading = true
|
||||||
this.getPageParams(false).then(res => {
|
this.getPageParams(false).then(res => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
|
// 1待办 2草稿
|
||||||
|
res.saveSource = this.$route.query.draftId ? 2 : 1
|
||||||
return saveStandardPromotion(res)
|
return saveStandardPromotion(res)
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
|
|||||||
Reference in New Issue
Block a user