api.ts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536
  1. export const MOD = '/order'
  2. export const IMPORTMOD = 'Order'
  3. export const GETSYSFILED = "/sys-dict/getListByCode";
  4. export const GETPERSONNEL = "/user/getSimpleActiveUserList";
  5. export const GETGENERATEFOEM = `/sys-form/getListByCode${MOD}`
  6. export const GETALLPRODUCT = `/sys-form/getListByCode/Order`
  7. export const GETTABLELISTPRODUCT = `/product/list`
  8. export const GETTABLELIST = `${MOD}/list`
  9. export const URL_OEDERUPDATE = `${MOD}/addOrUpdate`
  10. export const URL_PRODUTWITHORDER = `${MOD}/productWithOrder`
  11. export const URL_DETELEITEM = `${MOD}/delete`
  12. export const EXPORTTIME = `${MOD}/exportData`
  13. export const IMPORITEM = `${MOD}/importData`
  14. export const URL_BATCHDELETE = `${MOD}/batchDeleteOrder`
  15. export const URL_RECOVER = `${MOD}/recover`
  16. export const tableColumns: TableColumn[] = [
  17. { prop: 'orderCode', label: '订单编号', event: 'toDetali', width: '150' },
  18. { prop: 'orderName', label: '订单名称', width: '150' },
  19. { prop: 'customName', label: '客户名称', width: '200' },
  20. { prop: 'businessOpportunityName', label: '商机名称', width: '200' },
  21. { prop: 'price', label: '订单金额', width: '100' },
  22. { prop: 'receivedPayment', label: '已回款', width: '100' },
  23. { prop: 'unReceivedPayment', label: '未回款', width: '100' },
  24. { prop: 'status', label: '回放状态', width: '100' },
  25. { prop: 'typeName', label: '订单类型', width: '200' },
  26. { prop: 'placeTime', label: '下单时间', width: '200' },
  27. { prop: 'orderStartDate', label: '订单开始时间', width: '200' },
  28. { prop: 'orderEndDate', label: '订单结束时间', width: '200' },
  29. { prop: 'customSigner', label: '客户签的人', width: '200' },
  30. { prop: 'companySigner', label: '公司签的人', width: '200' },
  31. { prop: 'inchargerName', label: '负责人', width: '200' },
  32. { prop: 'creatorName', label: '创建人', width: '200' },
  33. { prop: 'createTime', label: '创建时间', width: '200' },
  34. ]