profile.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. const basicGoods = [
  2. {
  3. id: '1234561',
  4. name: '矿泉水 550ml',
  5. barcode: '12421432143214321',
  6. price: '2.00',
  7. num: '1',
  8. amount: '2.00',
  9. },
  10. {
  11. id: '1234562',
  12. name: '凉茶 300ml',
  13. barcode: '12421432143214322',
  14. price: '3.00',
  15. num: '2',
  16. amount: '6.00',
  17. },
  18. {
  19. id: '1234563',
  20. name: '好吃的薯片',
  21. barcode: '12421432143214323',
  22. price: '7.00',
  23. num: '4',
  24. amount: '28.00',
  25. },
  26. {
  27. id: '1234564',
  28. name: '特别好吃的蛋卷',
  29. barcode: '12421432143214324',
  30. price: '8.50',
  31. num: '3',
  32. amount: '25.50',
  33. },
  34. ];
  35. const basicProgress = [
  36. {
  37. key: '1',
  38. time: '2017-10-01 14:10',
  39. rate: '联系客户',
  40. status: 'processing',
  41. operator: '取货员 ID1234',
  42. cost: '5mins',
  43. },
  44. {
  45. key: '2',
  46. time: '2017-10-01 14:05',
  47. rate: '取货员出发',
  48. status: 'success',
  49. operator: '取货员 ID1234',
  50. cost: '1h',
  51. },
  52. {
  53. key: '3',
  54. time: '2017-10-01 13:05',
  55. rate: '取货员接单',
  56. status: 'success',
  57. operator: '取货员 ID1234',
  58. cost: '5mins',
  59. },
  60. {
  61. key: '4',
  62. time: '2017-10-01 13:00',
  63. rate: '申请审批通过',
  64. status: 'success',
  65. operator: '系统',
  66. cost: '1h',
  67. },
  68. {
  69. key: '5',
  70. time: '2017-10-01 12:00',
  71. rate: '发起退货申请',
  72. status: 'success',
  73. operator: '用户',
  74. cost: '5mins',
  75. },
  76. ];
  77. const advancedOperation1 = [
  78. {
  79. key: 'op1',
  80. type: '订购关系生效',
  81. name: '曲丽丽',
  82. status: 'agree',
  83. updatedAt: '2017-10-03 19:23:12',
  84. memo: '-',
  85. },
  86. {
  87. key: 'op2',
  88. type: '财务复审',
  89. name: '付小小',
  90. status: 'reject',
  91. updatedAt: '2017-10-03 19:23:12',
  92. memo: '不通过原因',
  93. },
  94. {
  95. key: 'op3',
  96. type: '部门初审',
  97. name: '周毛毛',
  98. status: 'agree',
  99. updatedAt: '2017-10-03 19:23:12',
  100. memo: '-',
  101. },
  102. {
  103. key: 'op4',
  104. type: '提交订单',
  105. name: '林东东',
  106. status: 'agree',
  107. updatedAt: '2017-10-03 19:23:12',
  108. memo: '很棒',
  109. },
  110. {
  111. key: 'op5',
  112. type: '创建订单',
  113. name: '汗牙牙',
  114. status: 'agree',
  115. updatedAt: '2017-10-03 19:23:12',
  116. memo: '-',
  117. },
  118. ];
  119. const advancedOperation2 = [
  120. {
  121. key: 'op1',
  122. type: '订购关系生效',
  123. name: '曲丽丽',
  124. status: 'agree',
  125. updatedAt: '2017-10-03 19:23:12',
  126. memo: '-',
  127. },
  128. ];
  129. const advancedOperation3 = [
  130. {
  131. key: 'op1',
  132. type: '创建订单',
  133. name: '汗牙牙',
  134. status: 'agree',
  135. updatedAt: '2017-10-03 19:23:12',
  136. memo: '-',
  137. },
  138. ];
  139. export const getProfileBasicData = {
  140. basicGoods,
  141. basicProgress,
  142. };
  143. export const getProfileAdvancedData = {
  144. advancedOperation1,
  145. advancedOperation2,
  146. advancedOperation3,
  147. };
  148. export default {
  149. getProfileBasicData,
  150. getProfileAdvancedData,
  151. };