文档
测试

单表整改详情

POST
/api/user/appraisal/rectify/summary/selectOneStruct

接口描述

单稽核表单内,根据状态不同,返回不同数据的考评对象赖以汇总和细则赖以汇总

请求头

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

请求参数

参数名
类型
描述
必填
college_id
string
学院id
必填
b_date
string
开始日期
必填
e_date
string
结束日期
必填
struct_id
string
表单id
必填
rectify_state
integer
整改状态状态:0发起(待执行);1已执行(待监督);2已监督(待检查);3已检查(已完成)
必填
data_range
string
数据范围 self:我发起的;dept:权限范围内
必填
obj_id
string
对象id
可选

请求示例

``` { "college_id": "61d77baabc27cbc818fcf8bf9bcc57f8", "b_date": "2021-01-01", "e_date": "2021-07-13", "rectify_state": 0, "data_range": "" } ```

响应参数

参数名
类型
描述
必填
flag
int
返回状态
必填
msg
string
返回消息
必填
abid
string
示例:
必填
val
object
数据字典
必填
all_count
string
总数量
必填
name
string
表单名称 示例:FM楼面评核表
必填
executor_count
string
示例:待执行数量
必填
supervise_count
string
示例:待监督数量
必填
checker_count
string
示例:待检查数量
必填
complete_count
string
示例:已完成数量
必填
struct_id
string
表单id
必填
users
array
数据列表 根据整改对象分组统计
必填
all_count
string
总数量
必填
status0_count
string
对应状态数量
必填
status1_count
string
对应状态数量
必填
status2_count
string
对应状态数量
必填
status3_count
string
对应状态数量
必填
obj_id
string
整改对象id
必填
obj_name
string
整改对象名称
必填
executor_id
string
执行人id
必填
executor_name
string
执行人名
必填
supervisor_id
string
监督人id
必填
supervisor_name
string
监督人名
必填
checker_id
string
检查人id
必填
checker_name
string
检查人名
必填
problems
array
数据列表 根据细则分组统计
必填
struct_name
string
表单名称
必填
memo
string
细则描述
必填
name
string
细则标题
必填
obj_count
string
对象数量
必填
record_count
string
整改数量
必填
struct_item_id
string
细则id
必填
complete_count
string
完成数量
必填
no_complete_count
string
未完成数量
必填

返回示例

``` { "flag": 0, "msg": "success", "abid": "", "val": { "all_count": "9", "name": "FM楼面评核表", "problems": [ { "memo": "迎宾台干净,各类物品摆放符合标准", "name": "01", "obj_count": "3", "record_count": "5", "struct_item_id": "624e128459dd3477444ad8ba6812abee" }, { "memo": "茶水及小食准备完毕", "name": "02", "obj_count": "2", "record_count": "2", "struct_item_id": "4d830df16f99d157ed0679149fd4e603" }, { "memo": "调料台下冷藏柜内调料均需要有产品名称及保质期标签,标签完好", "name": "08", "obj_count": "1", "record_count": "1", "struct_item_id": "0fe92d2d52e01a0976fea7ce266f3ad4" }, { "memo": "喇叭可以正常使用,且音量正常", "name": "03", "obj_count": "1", "record_count": "1", "struct_item_id": "55e5366e9a914a8ac24034dd38be78cc" } ], "status0_count": "0", "status1_count": "0", "status2_count": "0", "status3_count": "9", "struct_id": "3a2d7ebd6cf9fd6c1d7b0e00410b7583", "users": [ { "all_count": "4", "executor_id": "94795dd1ec2f3f234d6fd01120dbe9d6", "executor_name": "scc", "obj_id": "2", "obj_name": "仙鹤宝", "status0_count": "0", "status1_count": "0", "status2_count": "0", "status3_count": "4" }, { "all_count": "1", "executor_id": "2c2c8b24add55f1b034c6297360ca724", "executor_name": "SSSS", "obj_id": "20f9053eba67b6c7eb2114b7a9799232", "obj_name": "测试部", "status0_count": "0", "status1_count": "0", "status2_count": "0", "status3_count": "1" }, { "all_count": "1", "executor_id": "ea2686a8f73f4163708a876128a102e3", "executor_name": "陈灿军", "obj_id": "20f9053eba67b6c7eb2114b7a9799232", "obj_name": "测试部", "status0_count": "0", "status1_count": "0", "status2_count": "0", "status3_count": "1" }, { "all_count": "3", "executor_id": "ef176d2224af69bbc0f303d857925a55", "executor_name": "晨超", "obj_id": "631279e7a87ec505cc9d73f859e9d7e2", "obj_name": "产品部", "status0_count": "0", "status1_count": "0", "status2_count": "0", "status3_count": "3" } ] } } ```