api.ts 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. export const MOD = '/order'
  2. export const IMPOERMOD = '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 GETTABLELIST = `${MOD}/list`
  8. export const actionButtons: any[] = [
  9. { text: '新建订单' },
  10. { text: '批量转移' },
  11. { text: '批量删除' },
  12. { text: '回收站' },
  13. { text: '导入' },
  14. { text: '导出' },
  15. ]
  16. export const tableColumns: TableColumn[] = [
  17. { prop: 'name', label: '订单编号', event: 'toDetali', width: '150' },
  18. { prop: 'mobile', label: '订单名称', width: '150' },
  19. { prop: 'email', label: '客户名称', width: '200' },
  20. { prop: 'wechat', label: '商机名称', width: '200' },
  21. { prop: 'position', label: '订单金额', width: '100' },
  22. { prop: 'company', label: '已回款', width: '100' },
  23. { prop: 'companya', label: '未回款', width: '100' },
  24. { prop: 'companyb', label: '回放状态', width: '100' },
  25. { prop: 'companyc', label: '订单类型', width: '200' },
  26. { prop: 'companyd', label: '下单时间', width: '200' },
  27. { prop: 'companye', label: '订单开始时间', width: '200' },
  28. { prop: 'companyf', label: '订单结束时间', width: '200' },
  29. { prop: 'companyg', label: '客户签的人', width: '200' },
  30. { prop: 'companyh', label: '公司签的人', width: '200' },
  31. { prop: 'companyj', label: '负责人', width: '200' },
  32. { prop: 'companyk', label: '创建人', width: '200' },
  33. { prop: 'companyl', label: '创建时间', width: '200' },
  34. ]