123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- /**
- * 人员服务
- * 冯海夫
- * 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");
- },
- }
|