work.js 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. export default [
  2. {
  3. url: `/mock/work/list`,
  4. method: 'post',
  5. response: ({ body }) => {
  6. return {
  7. code: 200,
  8. data: {
  9. list: [
  10. {
  11. name: '待处理',
  12. children: [
  13. {
  14. id: 101,
  15. tags: ['优化'],
  16. name: '父级菜单显示为白色',
  17. options: [
  18. '类型:系统优化'
  19. ]
  20. }, {
  21. id: 102,
  22. tags: ['优化'],
  23. name: '菜单国际化处理',
  24. options: [
  25. '类型:系统优化'
  26. ]
  27. }, {
  28. id: 103,
  29. tags: ['优化'],
  30. name: '系统全局国际化',
  31. options: [
  32. '类型:系统优化'
  33. ]
  34. }]
  35. },
  36. {
  37. name: '处理中',
  38. children: [{
  39. id: 12,
  40. tags: ['新增'],
  41. name: '系统管理-菜单管理',
  42. options: [
  43. '类型:页面'
  44. ]
  45. },{
  46. id: 104,
  47. tags: ['新增'],
  48. name: '系统管理-字典管理',
  49. options: [
  50. '类型:页面'
  51. ]
  52. },{
  53. id: 105,
  54. tags: ['新增'],
  55. name: '系统管理-用户管理',
  56. options: [
  57. '类型:页面'
  58. ]
  59. },{
  60. id: 13,
  61. tags: ['新增'],
  62. name: '系统管理-角色管理',
  63. options: [
  64. '类型:页面'
  65. ]
  66. },
  67. ]
  68. },
  69. {
  70. name: '测试中',
  71. children: [{
  72. id: 11,
  73. tags: ['新增'],
  74. name: '右键菜单',
  75. options: [
  76. '类型:页面'
  77. ]
  78. },{
  79. id: 14,
  80. tags: ['优化'],
  81. name: 'tab标签栏Keep-alive',
  82. options: [
  83. '类型:系统优化'
  84. ]
  85. },{
  86. id: 15,
  87. tags: ['优化'],
  88. name: 'tab标签栏切换时自动居中处理tab标签栏切换时自动居中处理',
  89. options: [
  90. '类型:系统优化'
  91. ]
  92. },{
  93. id: 6,
  94. tags: ['新增'],
  95. name: '柱状图',
  96. options: [
  97. '类型:页面'
  98. ]
  99. },{
  100. id: 7,
  101. tags: ['新增'],
  102. name: '折线图',
  103. options: [
  104. '类型:页面'
  105. ]
  106. },{
  107. id: 8,
  108. tags: ['新增'],
  109. name: '饼图',
  110. options: [
  111. '类型:页面'
  112. ]
  113. },{
  114. id: 9,
  115. tags: ['新增'],
  116. name: '雷达图',
  117. options: [
  118. '类型:页面'
  119. ]
  120. },{
  121. id: 10,
  122. tags: ['新增'],
  123. name: '地图',
  124. options: [
  125. '类型:页面'
  126. ]
  127. },{
  128. id: 1,
  129. tags: ['新增'],
  130. name: '拖拽指令',
  131. options: [
  132. '类型:页面'
  133. ]
  134. },{
  135. id: 2,
  136. tags: ['新增'],
  137. name: '复制指令',
  138. options: [
  139. '类型:页面'
  140. ]
  141. },{
  142. id: 3,
  143. tags: ['新增'],
  144. name: '防抖指令',
  145. options: [
  146. '类型:页面'
  147. ]
  148. },{
  149. id: 4,
  150. tags: ['新增'],
  151. name: '长按指令',
  152. options: [
  153. '类型:页面'
  154. ]
  155. },{
  156. id: 5,
  157. tags: ['新增'],
  158. name: '下拉加载',
  159. options: [
  160. '类型:页面'
  161. ]
  162. },]
  163. },
  164. {
  165. name: '已完成',
  166. children: [{
  167. id: 16,
  168. tags: ['新增'],
  169. name: '页面-工作进度',
  170. options: [
  171. '类型:页面'
  172. ]
  173. },{
  174. id: 18,
  175. tags: ['系统'],
  176. name: '路由管理router',
  177. options: [
  178. '类型:系统'
  179. ]
  180. },{
  181. id: 19,
  182. tags: ['系统'],
  183. name: '存储方案store',
  184. options: [
  185. '类型:系统'
  186. ]
  187. },{
  188. id: 20,
  189. tags: ['系统'],
  190. name: '登录管理',
  191. options: [
  192. '类型:系统'
  193. ]
  194. },{
  195. id: 21,
  196. tags: ['系统'],
  197. name: '菜单配置',
  198. options: [
  199. '类型:系统'
  200. ]
  201. },{
  202. id: 22,
  203. tags: ['系统'],
  204. name: '国际化解决方案',
  205. options: [
  206. '类型:系统'
  207. ]
  208. },{
  209. id: 23,
  210. tags: ['系统'],
  211. name: '尺寸切换',
  212. options: [
  213. '类型:系统'
  214. ]
  215. },{
  216. id: 24,
  217. tags: ['系统'],
  218. name: '全屏功能',
  219. options: [
  220. '类型:系统'
  221. ]
  222. },{
  223. id: 25,
  224. tags: ['系统'],
  225. name: '导航栏功能',
  226. options: [
  227. '类型:系统'
  228. ]
  229. },{
  230. id: 26,
  231. tags: ['新增'],
  232. name: '首页',
  233. options: [
  234. '类型:页面'
  235. ]
  236. },{
  237. id: 27,
  238. tags: ['新增'],
  239. name: '首页',
  240. options: [
  241. '类型:页面'
  242. ]
  243. },{
  244. id: 28,
  245. tags: ['新增'],
  246. name: '组件-按钮',
  247. options: [
  248. '类型:页面'
  249. ]
  250. },{
  251. id: 29,
  252. tags: ['新增'],
  253. name: '组件-文本编辑器',
  254. options: [
  255. '类型:页面'
  256. ]
  257. },{
  258. id: 30,
  259. tags: ['新增'],
  260. name: '组件-代码编辑器',
  261. options: [
  262. '类型:页面'
  263. ]
  264. },{
  265. id: 31,
  266. tags: ['新增'],
  267. name: '组件-md编辑器',
  268. options: [
  269. '类型:页面'
  270. ]
  271. },{
  272. id: 32,
  273. tags: ['新增'],
  274. name: '组件-JSON编辑器',
  275. options: [
  276. '类型:页面'
  277. ]
  278. },{
  279. id: 33,
  280. tags: ['新增'],
  281. name: '组件-可拖拽面板',
  282. options: [
  283. '类型:页面'
  284. ]
  285. },{
  286. id: 34,
  287. tags: ['新增'],
  288. name: '组件-地图组件',
  289. options: [
  290. '类型:页面'
  291. ]
  292. },{
  293. id: 35,
  294. tags: ['新增'],
  295. name: '组件-弹窗图片裁剪',
  296. options: [
  297. '类型:页面'
  298. ]
  299. },{
  300. id: 36,
  301. tags: ['新增'],
  302. name: '多级嵌套表单',
  303. options: [
  304. '类型:页面'
  305. ]
  306. },{
  307. id: 37,
  308. tags: ['新增'],
  309. name: '页面-业务表格',
  310. options: [
  311. '类型:页面'
  312. ]
  313. },{
  314. id: 38,
  315. tags: ['新增'],
  316. name: '页面-卡片列表',
  317. options: [
  318. '类型:页面'
  319. ]
  320. },{
  321. id: 39,
  322. tags: ['新增'],
  323. name: '页面-百度一下',
  324. options: [
  325. '类型:页面'
  326. ]
  327. }]
  328. }
  329. ]
  330. },
  331. msg: ''
  332. };
  333. }
  334. },
  335. ]