| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /*
- * @Author: code4eat awesomedema@gmail.com
- * @Date: 2023-01-05 15:17:29
- * @LastEditors: code4eat awesomedema@gmail.com
- * @LastEditTime: 2023-01-05 17:29:17
- * @FilePath: /BudgetManaSystem/mock/monthlySet.ts
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- */
- export default {
- 'GET /performance/carry/list': (req: any, res: any) => {
- res.json({
- success: true,
- data: {
- preCarry: {
- computeDate: `${Math.random()}`, //核算年月
- dateRange: '2022/10/01-2022/10/31', //日期区间
- personalRate: '10%', //人事成本比例
- seniority: 30, //年资
- }, //上月度结转数据
- currentCarry: {
- computeDate: `${Math.random()}`, //核算年月
- dateRange: '2022/11/01-2022/11/31', //日期区间
- personalRate: '10%', //人事成本比例
- seniority: '30.00', //年资
- }, //本月度结转数据
- lastCarry: {
- computeDate: `${Math.random()}`, //核算年月
- dateRange: '2022/12/01-2022/12/31', //日期区间
- personalRate: '10%', //人事成本比例
- seniority: '30.00', //年资
- }, //下月度结转数据
- },
- errorCode: 0,
- });
- },
- 'POST /performance/carry/over': (req: any, res: any) => {
- res.json({
- code: '200',
- message: '返回成功',
- data: null,
- });
- },
- 'POST /performance/carry/back': (req: any, res: any) => {
- res.json({
- code: '200',
- message: '返回成功',
- data: null,
- });
- },
- };
|