import { resultSuccess } from '../_util';

const taskManagementItem = {
  id: 1001,
  taskName: '日常检查任务2024',
  selfCheckUnit: '安全生产部',
  taskType: 2,
  taskTemplate: 2,
  shouldCompleteTime: '2024-03-20 10:00',
  checkRequirement: '检查要求',
  checkUser: [
    {
      id: 1,
      realname: 'test111',
      username: '3133',
    },
    {
      id: 3,
      realname: 'test333',
      username: '3135',
    },
  ],
  isPush: true,
  createUser: '张三',
};

export default [
  {
    url: '/safety_api/api/admin/task/getTaskManagementItem',
    timeout: 1000,
    method: 'get',
    response: () => {
      return resultSuccess(taskManagementItem);
    },
  }
];
