data.ts 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. export interface GrowCardItem {
  2. icon: string;
  3. title: string;
  4. value?: number;
  5. total: number;
  6. color?: string;
  7. action?: string;
  8. footer?: string;
  9. }
  10. export const growCardList: GrowCardItem[] = [
  11. {
  12. title: '访问数',
  13. icon: 'visit-count|svg',
  14. value: 2000,
  15. total: 120000,
  16. color: 'green',
  17. action: '月',
  18. },
  19. {
  20. title: '成交额',
  21. icon: 'total-sales|svg',
  22. value: 20000,
  23. total: 500000,
  24. color: 'blue',
  25. action: '月',
  26. },
  27. {
  28. title: '下载数',
  29. icon: 'download-count|svg',
  30. value: 8000,
  31. total: 120000,
  32. color: 'orange',
  33. action: '周',
  34. },
  35. {
  36. title: '成交数',
  37. icon: 'transaction|svg',
  38. value: 5000,
  39. total: 50000,
  40. color: 'purple',
  41. action: '年',
  42. },
  43. ];
  44. export const chartCardList: GrowCardItem[] = [
  45. {
  46. title: '总销售额',
  47. icon: 'visit-count|svg',
  48. total: 126560,
  49. value: 234.56,
  50. footer: '日均销售额',
  51. },
  52. {
  53. title: '订单量',
  54. icon: 'total-sales|svg',
  55. value: 1234,
  56. total: 8846,
  57. color: 'blue',
  58. footer: '日订单量',
  59. },
  60. {
  61. title: '支付笔数',
  62. icon: 'download-count|svg',
  63. value: 60,
  64. total: 6560,
  65. color: 'orange',
  66. footer: '转化率',
  67. },
  68. {
  69. title: '运营活动效果',
  70. icon: 'transaction|svg',
  71. total: 78,
  72. },
  73. ];
  74. export const bdcCardList: GrowCardItem[] = [
  75. {
  76. title: '受理量',
  77. icon: 'ant-design:info-circle-outlined',
  78. total: 100,
  79. value: 60,
  80. footer: '今日受理量',
  81. },
  82. {
  83. title: '办结量',
  84. icon: 'ant-design:info-circle-outlined',
  85. value: 54,
  86. total: 87,
  87. color: 'blue',
  88. footer: '今日办结量',
  89. },
  90. {
  91. title: '用户受理量',
  92. icon: 'ant-design:info-circle-outlined',
  93. value: 13,
  94. total: 15,
  95. color: 'orange',
  96. footer: '用户今日受理量',
  97. },
  98. {
  99. title: '用户办结量',
  100. icon: 'ant-design:info-circle-outlined',
  101. total: 9,
  102. value: 7,
  103. footer: '用户今日办结量',
  104. },
  105. ];
  106. export const table = {
  107. dataSource : [
  108. {reBizCode:"1",type:"转移登记",acceptBy:'张三',acceptDate:"2019-01-22",curNode:"任务分派",flowRate:60},
  109. {reBizCode:"2",type:"抵押登记",acceptBy:'李四',acceptDate:"2019-01-23",curNode:"领导审核",flowRate:30},
  110. {reBizCode:"3",type:"转移登记",acceptBy:'王武',acceptDate:"2019-01-25",curNode:"任务处理",flowRate:20},
  111. {reBizCode:"4",type:"转移登记",acceptBy:'赵楼',acceptDate:"2019-11-22",curNode:"部门审核",flowRate:80},
  112. {reBizCode:"5",type:"转移登记",acceptBy:'钱就',acceptDate:"2019-12-12",curNode:"任务分派",flowRate:90},
  113. {reBizCode:"6",type:"转移登记",acceptBy:'孙吧',acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10},
  114. {reBizCode:"7",type:"抵押登记",acceptBy:'周大',acceptDate:"2019-04-13",curNode:"任务分派",flowRate:100},
  115. {reBizCode:"8",type:"抵押登记",acceptBy:'吴二',acceptDate:"2019-05-09",curNode:"任务上报",flowRate:50},
  116. {reBizCode:"9",type:"抵押登记",acceptBy:'郑爽',acceptDate:"2019-07-12",curNode:"任务处理",flowRate:63},
  117. {reBizCode:"20",type:"抵押登记",acceptBy:'林有',acceptDate:"2019-12-12",curNode:"任务打回",flowRate:59},
  118. {reBizCode:"11",type:"转移登记",acceptBy:'码云',acceptDate:"2019-09-10",curNode:"任务签收",flowRate:87}
  119. ],
  120. columns: [{
  121. title: '业务号',
  122. align:"center",
  123. dataIndex: 'reBizCode'
  124. },{
  125. title: '业务类型',
  126. align:"center",
  127. dataIndex: 'type'
  128. },{
  129. title: '受理人',
  130. align:"center",
  131. dataIndex: 'acceptBy'
  132. },{
  133. title: '受理时间',
  134. align:"center",
  135. dataIndex: 'acceptDate'
  136. },{
  137. title: '当前节点',
  138. align:"center",
  139. dataIndex: 'curNode'
  140. },{
  141. title: '办理时长',
  142. align:"center",
  143. dataIndex: 'flowRate',
  144. slots: { customRender: 'flowRate' }
  145. }],
  146. ipagination:{
  147. current: 1,
  148. pageSize: 5,
  149. pageSizeOptions: ['10', '20', '30'],
  150. showTotal: (total, range) => {
  151. return range[0] + "-" + range[1] + " 共" + total + "条"
  152. },
  153. showQuickJumper: true,
  154. showSizeChanger: true,
  155. total: 0,
  156. }
  157. };
  158. export const table1 = {
  159. dataSource : [
  160. {reBizCode:"A001",type:"转移登记",acceptBy:'张四',acceptDate:"2019-01-22",curNode:"任务分派",flowRate:12},
  161. {reBizCode:"A002",type:"抵押登记",acceptBy:'李吧',acceptDate:"2019-01-23",curNode:"任务签收",flowRate:3},
  162. {reBizCode:"A003",type:"转移登记",acceptBy:'王三',acceptDate:"2019-01-25",curNode:"任务处理",flowRate:24},
  163. {reBizCode:"A004",type:"转移登记",acceptBy:'赵二',acceptDate:"2019-11-22",curNode:"部门审核",flowRate:10},
  164. {reBizCode:"A005",type:"转移登记",acceptBy:'钱大',acceptDate:"2019-12-12",curNode:"任务签收",flowRate:8},
  165. {reBizCode:"A006",type:"转移登记",acceptBy:'孙就',acceptDate:"2019-03-06",curNode:"任务处理",flowRate:10},
  166. {reBizCode:"A007",type:"抵押登记",acceptBy:'周晕',acceptDate:"2019-04-13",curNode:"部门审核",flowRate:24},
  167. {reBizCode:"A008",type:"抵押登记",acceptBy:'吴有',acceptDate:"2019-05-09",curNode:"部门审核",flowRate:30},
  168. {reBizCode:"A009",type:"抵押登记",acceptBy:'郑武',acceptDate:"2019-07-12",curNode:"任务分派",flowRate:1},
  169. {reBizCode:"A0010",type:"抵押登记",acceptBy:'林爽',acceptDate:"2019-12-12",curNode:"部门审核",flowRate:16},
  170. {reBizCode:"A0011",type:"转移登记",acceptBy:'码楼',acceptDate:"2019-09-10",curNode:"部门审核",flowRate:7},
  171. ],
  172. columns: [{
  173. title: '业务号',
  174. align:"center",
  175. dataIndex: 'reBizCode'
  176. },{
  177. title: '受理人',
  178. align:"center",
  179. dataIndex: 'acceptBy'
  180. },{
  181. title: '发起时间',
  182. align:"center",
  183. dataIndex: 'acceptDate'
  184. },{
  185. title: '当前节点',
  186. align:"center",
  187. dataIndex: 'curNode'
  188. },{
  189. title: '超时时间',
  190. align:"center",
  191. dataIndex: 'flowRate',
  192. slots: { customRender: 'flowRate' }
  193. }],
  194. ipagination:{
  195. current: 1,
  196. pageSize: 5,
  197. pageSizeOptions: ['10', '20', '30'],
  198. showTotal: (total, range) => {
  199. return range[0] + "-" + range[1] + " 共" + total + "条"
  200. },
  201. showQuickJumper: true,
  202. showSizeChanger: true,
  203. total: 0,
  204. }
  205. };