sige 1 year ago
parent
commit
6fc3007964
  1. 6
      src/web/src/utils/ApiClient.js

6
src/web/src/utils/ApiClient.js

@ -1,4 +1,5 @@
import axios from 'axios';
import { Modal } from 'ant-design-vue';
import { useAppStore } from '@/stores/AppStore';
export default class ApiClient {
// client instance
@ -107,6 +108,11 @@ export default class ApiClient {
return await this.call('task/task-action-execute',{id,action, params});
}
// task step action execute
async taskStepActionExecute(id, action, params={}) {
return await this.call('task/task-step-action-execute',{id,action,params});
}
// resource data get
async resourceDataGet( name ) {
return await this.call('resource/data-get', {name});

Loading…
Cancel
Save