ic-service.js 532 B

1234567891011121314151617181920212223
  1. import axios from '@/common/services/axios-instance'
  2. class IcService {
  3. // 获取当前人组织id
  4. getGroupIds() {
  5. return axios.get('api/xcoa-mobile/v1/iam-common/getGroupIds').then(function(res) {
  6. console.log('---getgroup')
  7. console.log(res)
  8. return res
  9. })
  10. }
  11. // 草稿箱、废件箱删除
  12. fnDarftsDelete(params) {
  13. return axios({
  14. url: 'api/framework/v1/iam-process-manager/process-instance/remove',
  15. method: 'post',
  16. data: params,
  17. })
  18. }
  19. }
  20. export default new IcService()