查询资料跟踪流程下节点状态列表。
2016-04-11
1、返回nodeList列表,新增node_action字段,字段枚举值见2
2、增加节点操作类型枚举值定义,客户端根据最新节点操作类型初始化操作界面
2016-07-15
1、node_action字段枚举值新增H5
H5链接地址: /sbw/info/index/v1
POST请求参数: key city_code id_card
2016-08-24
1、nodeList列表的节点node,新增materialList列表,表示该节点上传的材料。
URI
/sbl/materialflow/node/list/v1 POST
参数
String key
int f_id //资料跟踪流程编号
用户资料跟踪流程节点状态列表
状态码(code)
601 无效的用户标识
10004 需要登录
600 参数异常
DATA字段说明
remainUploadSize //剩下可上传图片最大数量
materialList //已上传图片信息(客户端通过图片索引key值计算出最大值+1作为下次上传的文件索引)
nodeList //流程节点列表(按创建时间降序排列返回)
枚举值定义
//节点操作类型
public static String NODE_ACTION_NONE = "NONE"; //没有任何操作
public static String NODE_ACTION_UPLOAD = "UPLOAD"; //上传材料操作
public static String NODE_ACTION_POST = "POST"; //邮寄材料操作
public static String NODE_ACTION_INPUT_SB = "INPUT_SB"; //输入社保号操作
public static String NODE_ACTION_INPUT_FUND = "INPUT_FUND"; //输入公积金号操作
public static String NODE_ACTION_INPUT_POSTADDR = "INPUT_POSTADDR"; //输入邮寄地址操作
public static String NODE_ACTION_INPUT_MEMO = "INPUT_MEMO"; //输入备注信息
public static String NODE_ACTION_H5 = "H5"; //H5页面编辑
数据范例
{
"data": {
"remainUploadSize": 8,
"materialList": [
{
"id": 1,
"f_id": 8,
"n_id": 17,
"key": 1,
"value": "/upload/material/1/1000001_8_1.jpg",
"create_time": "2016-03-29 15:49:56"
},
{
"id": 2,
"f_id": 8,
"n_id": 17,
"key": 2,
"value": "/upload/material/1/1000001_8_2.jpg",
"create_time": "2016-03-29 15:49:56"
}
],
"nodeList": [
{
"n_id": 18,
"f_id": 8,
"node_type": 3103,
"node_action": "UPLOAD",
"node_name": "已收到您的资料",
"materialList" : [],
"memo": "这是快递单号111111112222222",
"create_time": "2016-03-29 15:53:01"
},
{
"n_id": 17,
"f_id": 8,
"node_type": 3102,
"node_action": "UPLOAD",
"node_name": "已上传资料",
"materialList" : [{
"id": 1,
"f_id": 8,
"n_id": 17,
"key": 1,
"value": "/upload/material/1/1000001_8_1.jpg",
"create_time": "2016-03-29 15:49:56"
},
{
"id": 2,
"f_id": 8,
"n_id": 17,
"key": 2,
"value": "/upload/material/1/1000001_8_2.jpg",
"create_time": "2016-03-29 15:49:56"
}],
"memo": "",
"create_time": "2016-03-29 15:49:56"
},
{
"n_id": 16,
"f_id": 8,
"node_type": 3101,
"node_action": "UPLOAD",
"node_name": "已通知用户上传材料",
"materialList" : [],
"memo": "",
"create_time": "2016-03-29 15:41:27"
},
{
"n_id": 15,
"f_id": 8,
"node_type": 1000,
"node_action": "NONE",
"node_name": "开始",
"materialList" : [],
"memo": "",
"create_time": "2016-03-29 15:41:27"
}
]
},
"msg": "",
"code": 200
}