/* * @Author: code4eat awesomedema@gmail.com * @Date: 2023-01-05 11:01:37 * @LastEditors: code4eat awesomedema@gmail.com * @LastEditTime: 2023-01-05 16:46:11 * @FilePath: /BudgetManaSystem/mock/home.ts * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ export default { 'GET /performance/index': (req: any, res: any) => { res.json({ success: true, data: [ { id: 1, computeDate: '2022-09', code: 1, name: '月度结转', preCode: 0, sort: 1, status: 2, audit: '0', }, { id: 1, computeDate: '2022-09', code: 1, name: '设置信息', preCode: 0, sort: 1, status: 2, audit: '0', }, { id: 1, computeDate: '2022-09', code: 1, name: '绩效数据', preCode: 0, sort: 1, status: 1, audit: '0', }, ], errorCode: 0, }); }, 'GET /performance/index/getCurrentComputeDate': (req: any, res: any) => { res.json({ success: true, data: `${Math.random()}`, }); }, };