From 9ff54f05eab21260d21bc423e58ca15411d1ca48 Mon Sep 17 00:00:00 2001 From: danshihao Date: Fri, 5 Jan 2024 18:43:56 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=B5=81=E7=A8=8B=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EnterpriseStandardInspectionPlanFlow.vue | 5 ++++- .../EnterpriseStandardInspectionProcess.vue | 5 ++++- .../EnterpriseStandardInspectionRectification.vue | 5 ++++- .../InspectionExtensionRequestProcess.vue | 5 ++++- .../PermissionApplicationProcess.vue | 5 ++++- .../postMeetingManageProcess/PostMeetingManageProcess.vue | 5 ++++- .../standardPromotionProcess/StandardPromotionProcess.vue | 5 ++++- 7 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue index d090a8ec..03cf4362 100644 --- a/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue +++ b/src/views/workCenter/enterpriseStandardInspectionPlan/EnterpriseStandardInspectionPlanFlow.vue @@ -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 => { diff --git a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue index 79f14a55..70e09eee 100644 --- a/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue +++ b/src/views/workCenter/enterpriseStandardInspectionProcess/EnterpriseStandardInspectionProcess.vue @@ -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 => { diff --git a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue index 2016a87b..978ea753 100644 --- a/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue +++ b/src/views/workCenter/enterpriseStandardInspectionRectification/EnterpriseStandardInspectionRectification.vue @@ -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 => { diff --git a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue index 6aaa7264..214cd5f5 100644 --- a/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue +++ b/src/views/workCenter/inspectionExtensionRequestProcess/InspectionExtensionRequestProcess.vue @@ -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 => { diff --git a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue index 279bd57f..fb93c4f0 100644 --- a/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue +++ b/src/views/workCenter/permissionApplicationProcess/PermissionApplicationProcess.vue @@ -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 => { diff --git a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue index 4f0313da..92ec9e4a 100644 --- a/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue +++ b/src/views/workCenter/postMeetingManageProcess/PostMeetingManageProcess.vue @@ -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 => { diff --git a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue index f73c9033..c25eda3d 100644 --- a/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue +++ b/src/views/workCenter/standardPromotionProcess/StandardPromotionProcess.vue @@ -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) {