api.ts 1.6 KB

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