|
|
@ -690,7 +690,7 @@ export default { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
getViewvariables ({ state }, payload) { |
|
|
|
getViewvariables ({ state }, payload) { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
io.get(`projects/${state.projectCode}/process-instances/${payload.code}/view-variables`, payload, res => { |
|
|
|
io.get(`projects/${state.projectCode}/process-instances/${payload.processInstanceId}/view-variables`, res => { |
|
|
|
resolve(res) |
|
|
|
resolve(res) |
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
reject(e) |
|
|
|
reject(e) |
|
|
|