pending.js 485 B

12345678910111213141516171819202122
  1. import { getRequest, postRequest } from '/src/lib/axios';
  2. export const pendingApi = {
  3. /**
  4. * 获取项目板块 @author DCCloud
  5. */
  6. initCategory: (params) => {
  7. return postRequest(`/deliver/project/category/list`);
  8. },
  9. /**
  10. * 获取施工公司 @author DCCloud
  11. */
  12. initCompanyList: (params) => {
  13. return getRequest(`/department/listAll`);
  14. },
  15. submitDistribution: (data) => {
  16. return postRequest(`/deliver/allocation/project/create`, data);
  17. },
  18. };