fix 征求意见流程转办加参数projectId

This commit is contained in:
赵霄
2024-01-12 15:13:04 +08:00
parent 6b41d39536
commit af0f5ab8cb
2 changed files with 4 additions and 2 deletions
@@ -384,6 +384,7 @@ export default {
userSelectChange (value) { userSelectChange (value) {
if (value) { if (value) {
let func let func
const param = {}
switch (this.currentTurnTo.prcType + '') { switch (this.currentTurnTo.prcType + '') {
// 标准法规入库/变更流程 // 标准法规入库/变更流程
case '1': case '1':
@@ -392,6 +393,7 @@ export default {
// 标准征求意见流程 // 标准征求意见流程
case '2': case '2':
func = transferConsultationProcess func = transferConsultationProcess
param.projectId = this.currentTurnTo.projectId
break break
// 项目合规评估流程 // 项目合规评估流程
case '3': case '3':
@@ -467,7 +469,6 @@ export default {
func = transferPostMeetingManage func = transferPostMeetingManage
break break
} }
const param = {}
param.userId = value param.userId = value
param.taskId = this.currentTurnTo.taskId param.taskId = this.currentTurnTo.taskId
func(param).then(res => { func(param).then(res => {
@@ -1087,7 +1087,8 @@ export default {
continueTurnTo (userId) { continueTurnTo (userId) {
const params = { const params = {
taskId: this.$route.query.taskId, taskId: this.$route.query.taskId,
userId userId,
projectId: this.$route.query.projectId
} }
this.loading = true this.loading = true
transferConsultationProcess(params).then(res => { transferConsultationProcess(params).then(res => {