info.ts 692 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { resultSuccess } from '../_util';
  2. const taskManagementItem = {
  3. id: 1001,
  4. taskName: '日常检查任务2024',
  5. selfCheckUnit: '安全生产部',
  6. taskType: 2,
  7. taskTemplate: 2,
  8. shouldCompleteTime: '2024-03-20 10:00',
  9. checkRequirement: '检查要求',
  10. checkUser: [
  11. {
  12. id: 1,
  13. realname: 'test111',
  14. username: '3133',
  15. },
  16. {
  17. id: 3,
  18. realname: 'test333',
  19. username: '3135',
  20. },
  21. ],
  22. isPush: true,
  23. createUser: '张三',
  24. };
  25. export default [
  26. {
  27. url: '/safety_api/api/admin/task/getTaskManagementItem',
  28. timeout: 1000,
  29. method: 'get',
  30. response: () => {
  31. return resultSuccess(taskManagementItem);
  32. },
  33. }
  34. ];