其他分享
首页 > 其他分享> > 今日校园 请假相关接口(天津理工大学版)

今日校园 请假相关接口(天津理工大学版)

作者:互联网

今日校园 请假相关接口(天津理工大学版)

获取请假列表

地址

https://tjut.campusphere.net/wec-counselor-leave-apps/leave/stu/list

返回信息

{
    "code": "0",
    "message": "success",
    "datas": {
        "totalSize": 8,
        "pageSize": 20,
        "pageNumber": 1,
        "allowApply": 1,
        "allowPcApply": 0,
        "rows": [
            {
                "id": "11111",
                "leaveType": "事假",
                "createTime": "10-20 19:01",
                "startTime": "10-20 19:01",
                "endTime": "10-20 19:01",
                "totalDay": 1,
                "status": "5",
                "expireDay": null,
                "isExtend": "0",
                "applyTime": "10-20 19:01",
                "out": "1",
                "leaveTime": "111小时",
                "startTimePC": "10-20 19:01",
                "endTimePC": "10-20 19:01",
                "leaveReason": "我是小猪头,你是大猪头。",
                "shutDown": false,
                "actEndTime": "10-20 19:01",
                "actEndTimeDesc": "永久有效",
                "actStatus": "5",
                "isEarlyEnd": "0"
            },
            {
                "id": "11111",
                "leaveType": "事假",
                "createTime": "10-01 22:22",
                "startTime": "10-01 22:22",
                "endTime": "10-01 22:22",
                "totalDay": 1,
                "status": "4",
                "expireDay": null,
                "isExtend": "0",
                "applyTime": "10-01 22:22",
                "out": "1",
                "leaveTime": "8小时",
                "startTimePC": "10-01 22:22",
                "endTimePC": "10-01 22:22",
                "leaveReason": "吧唧吧唧这里是描述虽然感觉这个界面不会显示吧",
                "shutDown": false,
                "actEndTime": "10-01 22:22",
                "actEndTimeDesc": "8小时",
                "actStatus": "8",
                "isEarlyEnd": "0"
            }
        ]
    }
}

获取请假信息

地址

https://tjut.campusphere.net/wec-counselor-leave-apps/leave/stu/detail

返回信息

{
    "code": "0",
    "message": "SUCCESS",
    "datas": {
        "condition": {
            "allowWithdraw": 1,
            "reportTutorialUrl": "http://catqa.cpdaily.com/2018/10/24/如何销假?/",
            "reportTutorialTitle": "如何销假?",
            "shutDown": false
        },
        "isReport": "1",
        "isExtend": "1",
        "isAllowedExtend": false,
        "isPress": null,
        "nextApproveInfo": null,
        "leaveType": {
            "id": "1234",
            "code": 1,
            "name": "事假",
            "mustOut": 0
        },
        "currApprover": null,
        "detail": {
            "id": "idid202772077",
            "userId": "20772077",
            "userWid": null,
            "userName": "[用户名]",
            "gender": "1",
            "leaveType": "事假",
            "startTime": "[开始时间文本]",
            "endTime": "[结束时间文本]",
            "startDate": "2021-10-20 15:36",
            "endDate": "2021-10-21 13:12",
            "outStatus": true,
            "pressStatus": false,
            "urgencyMobile": "[紧急联系人]",
            "studentMobile": "12345678999",
            "approverName": null,
            "approverId": null,
            "approverWid": "20772077",
            "leaveReason": "理想不是现成的粮食,而是一粒种子,需要你去播种,培育;理想不是壮美的画卷,而是一张白纸,需要你去描绘,渲染;理想不是葱茏的绿洲,而是一片荒漠,需要你去开垦,改造。",
            "status": "2",
            "approverOpinion": "",
            "applyAttach": [],
            "reportAttach": [],
            "reportLocation": null,
            "reportLongitude": null,
            "reportLatitude": null,
            "createTime": "10-24 19:17",
            "isResumptionSelf": null,
            "reportComment": null,
            "isOverdue": true,
            "lastOut": null,
            "dstStatus": "5",
            "leaveName": "事假",
            "mustOut": 0,
            "sex": "男",
            "totalDays": "9小时",
            "ljDays": null,
            "leaveHour": "420",
            "logInfos": [
                {
                    "status": "1",
                    "createTime": "2021-10-21 21:00:00",
                    "delayStatus": null,
                    "nodeType": null,
                    "nodeName": null,
                    "approverWid": null,
                    "approverName": null,
                    "approveOption": null,
                    "leaveId": "1234567890",
                    "extendId": null
                },
                {
                    "status": "3",
                    "createTime": "2021-10-21 21:00:00",
                    "delayStatus": null,
                    "nodeType": null,
                    "nodeName": null,
                    "approverWid": null,
                    "approverName": null,
                    "approveOption": null,
                    "leaveId": "1234567890",
                    "extendId": null
                }
            ],
            "approvers": [
                {
                    "level": null,
                    "status": "1",
                    "handled": true,
                    "createTime": "[具体审批发起时间]",
                    "delayStatus": null,
                    "approveOption": null,
                    "approveType": null,
                    "approver": {
                        "userWid": "207720772077",
                        "userId": "20772077",
                        "userName": "[这里应该是放名字的]"
                    },
                    "approveNode": [
                        {
                            "flowWid": null,
                            "nodeWid": null,
                            "nodeType": null,
                            "nodeName": null,
                            "approveWid": null,
                            "approveType": null,
                            "nodeIndex": null,
                            "nextNodeIndex": null,
                            "nextApproverIndex": null,
                            "approverName": null,
                            "approverId": null,
                            "approverWid": null,
                            "status": "1",
                            "approveOption": null,
                            "delayStatus": null,
                            "createTime": "2021-10-20 10:10:10",
                            "approvers": []
                        }
                    ]
                },
                {
                    "level": "1",
                    "status": "3",
                    "handled": true,
                    "createTime": "[具体审批完成时间]",
                    "delayStatus": false,
                    "approveOption": "",
                    "approveType": null,
                    "approver": {
                        "userWid": "1234567",
                        "userId": "7654321",
                        "userName": "[审批人名字]"
                    },
                    "approveNode": [
                        {
                            "flowWid": null,
                            "nodeWid": "1002",
                            "nodeType": "1",
                            "nodeName": "院级管理员",
                            "approveWid": null,
                            "approveType": null,
                            "nodeIndex": "0",
                            "nextNodeIndex": null,
                            "nextApproverIndex": null,
                            "approverName": "[审批人]",
                            "approverId": "14455555",
                            "approverWid": "114514",
                            "status": "3",
                            "approveOption": "",
                            "delayStatus": false,
                            "createTime": "2021-10-22 20:59:47",
                            "approvers": []
                        },
                        {
                            "flowWid": null,
                            "nodeWid": "1234",
                            "nodeType": "1",
                            "nodeName": "辅导员",
                            "approveWid": null,
                            "approveType": null,
                            "nodeIndex": "0",
                            "nextNodeIndex": null,
                            "nextApproverIndex": null,
                            "approverName": null,
                            "approverId": null,
                            "approverWid": "null",
                            "status": null,
                            "approveOption": null,
                            "delayStatus": false,
                            "createTime": "2021-10-20 20:30:22",
                            "approvers": []
                        }
                    ]
                }
            ],
            "leaveCreateTime": "10-20 20:30",
            "locationType": 0,
            "applyLocation": {
                "locationType": 0,
                "address": "[地址<比如黑心的赛马场>]",
                "longitude": "地理位置",
                "latitude": "地理位置"
            },
            "ccInfo": null,
            "actEndTime": "10-20 20:30",
            "actEndTimeDesc": "7小时",
            "actStatus": "5",
            "isEarlyEnd": "0",
            "disclaimers": null,
            "destination": ""
        },
        "leaveExtends": [],
        "reportPlaces": [],
        "termination": {
            "allowTerminate": 0,
            "terminated": 0,
            "terminationObjectName": null,
            "terminationReason": null,
            "terminationDate": null
        },
        "notOutReport": {
            "setedNotOutReport": 1,
            "rule": 0,
            "operatorWid": "20772077",
            "operatorId": "20772077",
            "operatorName": "张三",
            "operatorDate": "2020-08-21 23:23"
        },
        "studentInfo": {
            "userId": "20772077",
            "userWid": "20772077",
            "userName": "[用户名]",
            "gender": 1,
            "grade": "2019",
            "dept": "张三学院",
            "major": "恶人专业",
            "cls": "张三大学"
        },
        "recordStatus": "5",
        "nowTime": "2021-10-26 21:00:00"
    }
}

标签:请假,10,01,理工大学,22,接口,20,null,createTime
来源: https://blog.csdn.net/heer_kaisair/article/details/120930957