【修改】修改传参
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user