|
|
@ -538,7 +538,7 @@ export default { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
getReceiver ({ state }, payload) { |
|
|
|
getReceiver ({ state }, payload) { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
io.get(`projects/{projectName}/executors/get-receiver-cc`, payload, res => { |
|
|
|
io.get(`projects/${state.projectName}/executors/get-receiver-cc`, payload, res => { |
|
|
|
resolve(res.data) |
|
|
|
resolve(res.data) |
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
reject(e) |
|
|
|
reject(e) |
|
|
@ -547,7 +547,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
getTaskListDefIdAll ({ state }, payload) { |
|
|
|
getTaskListDefIdAll ({ state }, payload) { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
return new Promise((resolve, reject) => { |
|
|
|
io.get(`projects/{projectName}/process/get-task-list`, payload, res => { |
|
|
|
io.get(`projects/${state.projectName}/process/get-task-list`, payload, res => { |
|
|
|
resolve(res.data) |
|
|
|
resolve(res.data) |
|
|
|
}).catch(e => { |
|
|
|
}).catch(e => { |
|
|
|
reject(e) |
|
|
|
reject(e) |
|
|
|