/** * 人员服务 * 冯海夫 * 20201008 */ var ServicePerson={ // 仓库人员 getWarehousePersonList:function(){ return getService.methodGet("/workingStatistics/fbsWorkingStatistics/getFilePersonList?code=warehouse"); // return getService.methodPost("/fbsPerson/fbsPerson/getWarehousePersonList"); // const personList = []; // personList.push({ // realName:"李白", // inTime:"09:11", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_1.jpg" // }); // personList.push({ // realName:"里斯", // inTime:"09:14", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_5.jpg" // }); // personList.push({ // realName:"杜普", // inTime:"09:12", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_2.jpg" // }); // personList.push({ // realName:"李牧", // inTime:"09:10", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_3.jpg" // }); // personList.push({ // realName:"杜普", // inTime:"09:12", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_2.jpg" // }); // personList.push({ // realName:"范仲淹", // inTime:"09:15", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_4.jpg" // }); // personList.push({ // realName:"杜普", // inTime:"09:12", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_2.jpg" // }); // personList.push({ // realName:"里斯", // inTime:"09:14", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_5.jpg" // }); // return personList; }, // 人员月出勤率,考勤人数,总人数 getMonthAttendance:function(){ // const list = []; // list.push({label:"01",sum1:0,sum2:0}); // list.push({label:"02",sum1:0,sum2:0}); // list.push({label:"03",sum1:0,sum2:0}); // list.push({label:"04",sum1:0,sum2:0}); // list.push({label:"05",sum1:0,sum2:0}); // list.push({label:"06",sum1:0,sum2:0}); // list.push({label:"07",sum1:0,sum2:0}); // list.push({label:"08",sum1:0,sum2:0}); // list.push({label:"09",sum1:0,sum2:0}); // list.push({label:"10",sum1:0,sum2:0}); // list.push({label:"11",sum1:48,sum2:50}); // list.push({label:"12",sum1:0,sum2:0}); // return list; // return MethodGetService.methodGet("/fbsWorkshopDispatchList/fbsWorkshopDispatchList/getAttendance"); return MethodGetService.methodGet("/fbsAbnormalWorkingHours/fbsAbnormalWorkingHours/getMonthAttendance"); }, // 人员日出勤率,考勤人数,总人数 getDayAttendance:function(){ // return { // "考勤人数":48, // "未考勤人数":2 // }; return MethodGetService.methodGet("/fbsWorkshopDispatchList/fbsWorkshopDispatchList/getAttendanceOfTheDay"); }, // 班组装人员信息 getWorkPersonList:function(){ // const personList = []; // personList.push({ // realName:"李白", // inTime:"09:11", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_1.jpg" // }); // personList.push({ // realName:"杜普", // inTime:"09:12", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_2.jpg" // }); // personList.push({ // realName:"李牧", // inTime:"09:10", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_3.jpg" // }); // personList.push({ // realName:"范仲淹", // inTime:"09:15", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_4.jpg" // }); // personList.push({ // realName:"里斯", // inTime:"09:14", // warehouseId:"0001", // warehouseName:"A仓库", // classId:"0001", // className:"A班", // avatar:"/images/avatar/avata_5.jpg" // }); return getService.methodGet("/workingStatistics/fbsWorkingStatistics/getFilePersonList?code=Mechanice"); }, }