import type { MockMethod } from 'vite-plugin-mock';

const apis: MockMethod[] = [
  {
    url: '/mock/busi/budget/order/page',
    method: 'get',
    response: (): Service.MockServiceResult => {
      return {
        code: 200,
        message: 'ok',
        records: [
          {
            budgetCode: 'YTY8899912',
            orderId: 1,
            budgetType: '00',
            contractUserName: '小王',
            contractDeptName: '部门一',
            amount: '12093',
            submitDate: '2022-04-18',
            updateTime: '2023-03-03',
            budgetStatus: '00',
            customer: '小李'
          },
          {
            budgetCode: 'YTY8899912',
            orderId: 1,
            budgetType: '00',
            contractUserName: '小李',
            contractDeptName: '部门一',
            amount: '12093',
            submitDate: '2022-04-18',
            updateTime: '2023-03-03',
            budgetStatus: '00',
            customer: '小李'
          }
        ]
      };
    }
  }
];

export default apis;
