> 返回字段说明
| 字段 | 名称 | 说明 |
| --- | --- | --- |
| title | 列表标题 | |
| content| 列表内容 | 数组结构,在列表中最多显示数组前3行 |
| status_cancel| 申请人撤回状态 | 是否撤回状态【 0正常,1撤回】。如果此项值为**1**,则列表状态显示**撤回**;如果此项值为**0**,则列表状态显示**审批状态**; |
| status_check| 审批状态 | 审批状态【0未审批/审批中,1审批通过,2审批驳回】 |
> 返回状态列表
| 状态名称 | 说明 |
| --- | --- |
| 已撤销 | 如果status_cancel=1,则列表状态显示撤回 |
| 审核中 | 如果status_cancel=0,则列表状态显示审批状态 |
| 已通过 | 如果status_cancel=0,则列表状态显示审批状态 |
| 已驳回 | 如果status_cancel=0,则列表状态显示审批状态 |
~~~[api]
get:/v1/approvesys/formContent/list
*string:open_id#提交申请的用户open_id
form_id#表单id
int:index# 页码,默认1
int:limit#每页显示数据量
<<<
success
{
"code": 0,
"msg": "ok",
"data": {
"list": [
{
"id": 17,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "5f2a270443c7cd058e28138da602fff2",
"content": [
{
"title": "单行文本",
"value": "咯哦"
},
{
"title": "多行文本",
"value": "咯么"
},
{
"title": "日期",
"value": "2018-12-08"
},
{
"title": "日期时间",
"value": "2018-12-08 14:57"
},
{
"title": "金额",
"value": "6556"
},
{
"title": "单选",
"value": "选项2"
},
{
"title": "开关",
"value": "true"
},
{
"title": "下拉框",
"value": "选项3"
}
],
"form_id": "64129274e911d52a85b4ce02a81243ca",
"form_title": "模板demo",
"status_cancel": 0,
"status_check": 2,
"status_del": 0,
"timestamp": 1544252316,
"timeformat": "2018/12/08 14:58"
},
{
"id": 18,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "175870dc03da8d28a139eb35bf83ea05",
"content": [
{
"title": "请假类型",
"value": "调休假"
},
{
"title": "开始时间",
"value": "2018-12-08 15:09"
},
{
"title": "结束时间",
"value": "2018-12-09 15:09"
},
{
"title": "请假事由",
"value": "有时"
}
],
"form_id": "c18f99a89a22b1af2e395df6352c831e",
"form_title": "请假申请",
"status_cancel": 0,
"status_check": 0,
"status_del": 0,
"timestamp": 1544252993,
"timeformat": "2018/12/08 15:09"
},
{
"id": 19,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "ec30914fc497f2532d8d3d416ac412c9",
"content": [
{
"title": "报销类型",
"value": "其他"
},
{
"title": "报销事由",
"value": "他咯哦哦"
},
{
"title": "发生时间",
"value": "2018-12-08 15:10"
},
{
"title": "费用金额",
"value": "9656"
},
{
"title": "费用说明",
"value": "们哦"
}
],
"form_id": "a5a0a39d2181dd2274f31a909d9d6d50",
"form_title": "报销申请",
"status_cancel": 0,
"status_check": 0,
"status_del": 0,
"timestamp": 1544253033,
"timeformat": "2018/12/08 15:10"
},
{
"id": 20,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "c4b8b62ca516ae000488874c9b9c80c6",
"content": [
{
"title": "申请事由",
"value": "mood"
},
{
"title": "期望交付日期",
"value": "2018-12-08"
},
{
"title": "物品名称",
"value": "哦啦啦啦"
},
{
"title": "型号或规格",
"value": "统计口径"
},
{
"title": "数量",
"value": "咯哦哦"
},
{
"title": "金额",
"value": "55555"
},
{
"title": "备注",
"value": ""
}
],
"form_id": "7bfa33825e781939445e782bfb6dd603",
"form_title": "用品采购",
"status_cancel": 0,
"status_check": 0,
"status_del": 0,
"timestamp": 1544253070,
"timeformat": "2018/12/08 15:11"
},
{
"id": 21,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "9ba843beebd7112c2dfa2e47257b3ae9",
"content": [
{
"title": "用车事由",
"value": "也可以"
},
{
"title": "开始时间",
"value": "2018-12-08 15:11"
},
{
"title": "结束时间",
"value": "2018-12-08 23:11"
},
{
"title": "用车时长",
"value": "1天"
},
{
"title": "用车目的地",
"value": "火车站"
},
{
"title": "车辆类型",
"value": "商务车"
}
],
"form_id": "9a2f10346efd8ba6e594c0ded7953c35",
"form_title": "用车申请",
"status_cancel": 0,
"status_check": 0,
"status_del": 0,
"timestamp": 1544253123,
"timeformat": "2018/12/08 15:12"
},
{
"id": 25,
"open_id": "0490ec1e8af0a2710f2baf64fc0b01c7",
"content_id": "1e34747ec467fe1cab703f46b95a8305",
"content": [
{
"title": "请假类型",
"value": "年假"
},
{
"title": "开始时间",
"value": "2018-12-08 17:05"
},
{
"title": "结束时间",
"value": "2018-12-08 19:06"
},
{
"title": "请假事由",
"value": "狗狗你公"
}
],
"form_id": "c18f99a89a22b1af2e395df6352c831e",
"form_title": "请假申请",
"status_cancel": 0,
"status_check": 0,
"status_del": 0,
"timestamp": 1544259975,
"timeformat": "2018/12/08 17:06"
}
],
"total": 6
}
}
<<<
error
~~~