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

const list = {
  records: [
    {
      id: 1,
      templateName: '审批1',
      description: '审批1描述1242323rw2c3r2c3535c4',
    },
    {
      id: 2,
      templateName: '审批2',
    },
    {
      id: 3,
      templateName: '审批3',
      description: '审批3描述fwq  xc  3er xr  3xr2 rq2x',
    },
    {
      id: 4,
      templateName: '审批21c q2cr24',
      description: '审批4描述     1d3x    13  1xx3crdx     r  3',
    },
    {
      id: 5,
      templateName: '审批5插入2呈现出13传参   23r',
      description: '审批5描述 23 让传入请人才从1传入吃仍持续  ',
    },
    {
      id: 6,
      templateName: '审批6',
      description: '审批描述   23   23   23',
    },
    {
      id: 7,
      templateName: '审批7',
      description:
        '审批7描述   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23',
    },
    {
      id: 8,
      templateName: '审批8',
      description:
        '审批8描述   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23',
    },
    {
      id: 9,
      templateName: '审批9',
      description:
        '审批9描述   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23',
    },
    {
      id: 10,
      templateName: '审批10',
    },
    {
      id: 11,
      templateName: '审批11',
      description:
        '审批11描述   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23   23',
    },
  ],
  totalRow: 11,
};

export default [
  {
    url: '/safety_mock_api/approvalManagement/queryApprovalTemplatePage',
    timeout: 1000,
    method: 'post',
    response: () => {
      return resultSuccess(list);
    },
  },
];
