###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
"loginName":"admin",
"password":"admin",
"securityCode":"8888"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}

###员工离职信息列表
POST {{baseUrl}}/staff/leave/list
Authorization: {{authToken}}
Content-Type: application/json

{
    "staffName":"mcznju",
    "gender":1,
    "politicalstatus":1,
    "staffType":1,
    "status":1,
    "auditStatus":0,
    "page":1,
    "size":10
}


###员工离职信息更新与保存
POST {{baseUrl}}/staff/leave/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "staffId":417,
        "staffName":"ono5z7",
        "gender":1,
        "birthday":"1680796800000",
        "photoPath":"mkomi2",
        "phoneNumber":"jwevad",
        "idCard":"ywq3no",
        "workNum":"8mmgsg",
        "politicalstatus":1,
        "deptId":216,
        "deptName":"0eceja",
        "jobId":904,
        "jobName":"ul91ui",
        "staffType":1,
        "status":1,
        "entryDate":"1680796800000",
        "leaveDate":"1680796800000",
        "leaveReason":"c7jgln",
        "auditStatus":0
}

> {%
client.global.set("StaffLeave_id", JSON.parse(response.body).data.id);
%}

###员工离职信息查看
GET {{baseUrl}}/staff/leave/info?id={{StaffLeave_id}}
Authorization: {{authToken}}
Accept: application/json

###员工离职信息编辑
GET {{baseUrl}}/staff/leave/edit?id={{StaffLeave_id}}
Authorization: {{authToken}}
Accept: application/json


###员工离职信息删除
GET {{baseUrl}}/staff/leave/delete?id={{StaffLeave_id}}
Authorization: {{authToken}}
Accept: application/json




