文档
测试

单岗位详情修改(单组)

POST
/api/base/job/update

接口描述

岗位信息修改,实时修改,根据修改标识,一次只修改一组数据

请求头

参数名
类型
描述
必填
Content-Type
String
application/json
必填
token
string
必填

请求参数

参数名
类型
描述
必填
college_id
string
学院id
必填
id
string
岗位id
必填
updateField
string
修改字段或明细对象 示例:name; customList;length_service
必填
name
string
岗位名称
可选
title_grade_id
string
职称等级id
可选
check_theory_test
int
是否开启理论考试
可选
check_appraise
int
是否开启实操鉴定
可选
check_appraisal
int
是否开启巡检稽核
可选
check_length_service
int
是否开启在职时长
可选
length_service
int
在职时长(月)
可选
check_promotion_appraisal
int
是否开启晋升鉴定
可选
superiorList
array
数据列表 上级岗位
可选
id
string
上级岗位id
可选
name
string
上级岗位名称
可选
subordinateList
array
数据列表 下级岗位
可选
id
string
下级岗位id
可选
name
string
下级岗位名称
可选
customList
array
数据列表 自定义备注
可选
custom_title
string
备注标题
可选
custom_remark
string
备注内容
可选
stationList
array
数据列表 课程目录
可选
id
string
课程目录id
可选
name
string
课程目录名称
可选
examList
array
数据列表 理论考试
可选
id
string
试卷id
可选
name
string
试卷名称
可选
appraiseList
array
数据列表 实操鉴定
可选
id
string
鉴定id
可选
name
string
鉴定名称
可选
structList
array
数据列表 巡检稽核
可选
id
string
稽核表单version_id
可选
name
string
稽核表单名称
可选
appraisal_date
int
巡检稽核日期范围
可选
appraisal_rate
int
巡检稽核完成率
可选
prmAppraisalList
array
数据列表 晋升鉴定
可选
id
string
鉴定id
可选
name
string
鉴定名称
可选

请求示例

``` { "college_id": "61d77baabc27cbc818fcf8bf9bcc57f8", "id": "381a5fd9ae8fa3801623d7299d8996f8", "updateField": "prmAppraisalList", "name": "店长", "title_grade_id": "", "check_theory_test": 1, "check_appraise": 1, "check_appraisal": 1, "check_length_service": 1, "length_service": 10, "check_promotion_appraisal": 1, "stationList": [ { "id": "65f50a9ff2b44a48ce45fd617fdfca17", "name": "当你凝视" } ], "customList": [ { "custom_title": "薪资待遇", "custom_remark": " 1000~3000" } ], "examList": [ { "id": "9f09e97fc8d8bc94f7f9050f8d7043f3", "name": "新建试卷" }, { "id": "86264735f80b65f9f7e811eef7f86c13", "name": "电脑端测试课程模板" } ], "appraiseList": [ { "id": "f7f13eeac1b7e5126f46032b38d84718", "name": "示例图测试" } ], "structList": [ { "id": "33ffbcf82838450bd6855ee9b29fe896", "name": "FM楼面评核表", "appraisal_date": "1", "appraisal_rate": "80" } ], "prmAppraisalList": [ { "id": "55beb27723ab61eea89e93dcf98af55e", "name": "是的撒多撒多" } ] } ```

响应参数

参数名
类型
描述
必填
flag
int
返回状态 示例:0
必填
msg
string
返回消息 示例:success
必填
abid
string
必填
val
string
success
必填

返回示例

``` { "flag": 0, "msg": "", "val": "success" } ```