text: import Mock from 'mockjs'
  
  const List = []
  const count = 20
  
  for (let i = 0; i < count; i++) {
    List.push(Mock.mock({
      id: '@increment',
      'flag|1': ['呼入工单转办', '新单回访转办', '理赔回访转办', '核保回访转办', '保全回访转办'],
      date: '@dateTime(\'yyyy-MM-dd HH:mm:ss\')',
      theme: '@ctitle',
      name: '@cname'
    }))
  }
  
  export default [
    {
      url: '/backlogTaskPool/create',
      type: 'post',
      response: _ => {
        return {
          code: 20000,
          data: 'success'
        }
      }
    },
    {
      url: '/backlogTaskPool/update',
      type: 'post',
      response: _ => {
        return {
          code: 20000,
          data: 'success'
        }
      }
    },
    {
      url: '/backlogTaskPool/list',
      type: 'get',
      response: config => {
        const { page = 1, limit = 10 } = config.query
        const pageList = List.filter((item, index) => index < limit * page && index >= limit * (page - 1))
        return {
          code: 20000,
          data: {
            total: List.length,
            items: pageList
          }
        }
      }
    }
  ]
  