/*
 * @Author: code4eat awesomedema@gmail.com
 * @Date: 2023-01-09 15:27:55
 * @LastEditors: code4eat awesomedema@gmail.com
 * @LastEditTime: 2023-01-10 16:55:27
 * @FilePath: /BudgetManaSystem/mock/monthlyData.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */




export default {
    'GET /performance/kpi/getSalary': (req: any, res: any) => {
        res.json({
            success: true,
            data: {
                current: 1,
                list: [
                    {
                        "unitType": 1,

                        "unitCode": 1,

                        "unitName": "四病区护理组",

                        "deptCode": "1",

                        "deptName": "内科1",

                        "empNo": "90083",

                        "empName": "程静静",

                        "salaryType": "1",

                        "salaryTypeName": "学历工资",

                        "salary": 10250
                    },
                    {
                        "unitType": 1,

                        "unitCode": 2,

                        "unitName": "四病区护理组",

                        "deptCode": "2",

                        "deptName": "内科1",

                        "empNo": "90084",

                        "empName": "程静静",

                        "salaryType": "1",

                        "salaryTypeName": "学历工资",

                        "salary": 20250
                    }
                ],
                pageSize: 10,
                totalCount: 0,
                totalPage: 0
            }

        })
    },
    'GET /performance/kpi/getNonAssessmentList': (req: any, res: any) => {
        res.json({
            success: true,
            data: {
                current: 1,
                list: [
                    {
                        "unitType": "1",

                        "unitTypeName": "护理",

                        "unitCode": "1",

                        "unitName": "四病区护理组",

                        "deptCode": 1,

                        "deptName": "内科1",

                        "assessmentCode": "1",

                        "assessmentName": "最看红按头还",

                        "distributionType": 1,

                        "targetValue": "02032",

                        "targetValueName": "程静静",

                        "describe": "测试说明"
                    },
                    {
                        "unitType": "1",

                        "unitTypeName": "护理",

                        "unitCode": "1",

                        "unitName": "四病区护理组",

                        "deptCode": 1,

                        "deptName": "内科1",

                        "assessmentCode": "2",

                        "assessmentName": "最看红按头还",

                        "distributionType": 1,

                        "targetValue": "02032",

                        "targetValueName": "程静静",

                        "describe": "测试说明"
                    }
                ],
                pageSize: 10,
                totalCount: 0,
                totalPage: 0
            }

        })
    },
    'GET /performance/kpi/getAssessmentList': (req: any, res: any) => {
        res.json({
            success: true,
            data: [
                {
                    "code": "听现音红当",

                    "name": "物军动前压",

                    "child": [
                        {
                            "code": "太必世八目花电速点这动务史主不车每他象身民作或物员做",

                            "name": "文时较清斗最程后作给水",

                            "child": []

                        }
                    ]

                }
            ],

        })
    },
    'GET /performance/getAssessmentData': (req: any, res: any) => {
        res.json({
            success: true,
            data: {
                current: 1,
                list: [
                    {
                        "itemCode": "1",

                        "itemName": "腹腔引流袋",

                        "itemType": "1",

                        "itemTypeName": "收费项目",

                        "pointValue": 50,

                        "value": 10000,

                        "createUser": "低基林算几安",

                        "createTime": "位派济查却精义"
                    },
                    {
                        "itemCode": "1",

                        "itemName": "腹腔引流袋",

                        "itemType": "1",

                        "itemTypeName": "收费项目",

                        "pointValue": 50,

                        "value": 10000,

                        "createUser": "低基林算几安",

                        "createTime": "位派济查却精义"
                    }
                ],
                pageSize: 10,
                totalCount: 0,
                totalPage: 0
            }

        })
    },
    'GET /performance/manager/list': (req: any, res: any) => {
        res.json({
            success: true,
            data: {
                current: 1,
                list: [
                    {
                        "unitCode": "1",

                        "unitName": "护理组",

                        "deptCode": "1",

                        "deptName": "内科",

                        "CMIData": {
                            "targetValue": 1.1,

                            "value": 1.2,

                            "score": 27.7

                        },

                        "totalScore": 100

                    }
                ],
                pageSize: 10,
                totalCount: 0,
                totalPage: 0
            }

        })
    },
}