【修改】修改传参

This commit is contained in:
zhoulingpo
2023-04-25 14:57:36 +08:00
parent 21f68b0bd8
commit fc43422f22
12 changed files with 157 additions and 88 deletions
+11 -4
View File
@@ -28,7 +28,10 @@
taskId: '',
userId: '',
},
processOld:{} //存储流程的就信息
processOld:{} , //存储流程的就信息
prcId: '',
prcNum: '',
prcName:''
}
},
methods: {
@@ -101,11 +104,15 @@
})
},
// 获取流程详细信息
getProcessDetail(params){
getProcessDetail(){
return new Promise((resolve,reject)=>{
this.$api.process.getProcessDetail(params).then(res=>{
this.$api.process.getProcessDetail({
prcId: this.prcId,
prcType: this.prcType
}).then(res=>{
let data=res.data
this.processOld=data.data
this.processOld=data
console.log( this.processOld,"processOld")
resolve()
}).catch(err=>{
reject()