###登录
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/contract/list
Authorization: {{authToken}}
Content-Type: application/json

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


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

{
        "staffId":773,
        "staffName":"shj3pz",
        "gender":1,
        "birthday":"1680796800000",
        "photoPath":"uu1rz2",
        "phoneNumber":"ok15y9",
        "idCard":"5k5l38",
        "workNum":"bvv843",
        "politicalstatus":1,
        "deptId":266,
        "deptName":"pk6m9e",
        "jobId":393,
        "jobName":"0cofvj",
        "staffType":1,
        "status":1,
        "entryDate":"1680796800000",
        "contractStartDate":"1680796800000",
        "contractEndDate":"1680796800000",
        "contractCompany":"zntlpv",
        "contractType":1,
        "newStartDate":"1680796800000",
        "newEndDate":"1680796800000",
        "auditStatus":0
}

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

###员工合同信息查看
GET {{baseUrl}}/staff/contract/info?id={{StaffContract_id}}
Authorization: {{authToken}}
Accept: application/json

###员工合同信息编辑
GET {{baseUrl}}/staff/contract/edit?id={{StaffContract_id}}
Authorization: {{authToken}}
Accept: application/json


###员工合同信息删除
GET {{baseUrl}}/staff/contract/delete?id={{StaffContract_id}}
Authorization: {{authToken}}
Accept: application/json




