简要描述
- 问卷列表
- 搜索字段:模板标题,创建人姓名,创建时间
请求URL
http://192.168.2.107:8080/ops/itsm/questionnaire/getList
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
keyword |
是 |
string |
搜索关键字 |
page |
是 |
int |
页数 |
limit |
是 |
int |
每页显示条数 |
调用示例
{
"keyword":"",
"page":1,
"limit":10
}
返回示例
{
"errorCode": 0,
"message": "成功",
"time": 1632467173462,
"responseBody": {
"result": [
{
"uuid": "8067a4e55eb84ddba33a4e73593c16de",
"code": "xxx-2021-09-002",
"title": "问卷调查2",
"pattern": "按部门",
"startTime": "2021-09-23 15:16:55",
"endTime": "2021-09-25 15:16:55",
"notSubmitted": 1,
"submitted": 1,
"status": "进行中",
"createUserName":"超级管理员",
"createUser":"admin"
},
{
"uuid": "c364265ef749436399e29a11bfd02ed8",
"code": "xxx-2021-09-001",
"title": "问卷调查1",
"pattern": "按人员",
"startTime": "2021-09-25 15:16:55",
"endTime": "2021-09-26 15:16:55",
"notSubmitted": 3,
"submitted": 0,
"status": "未开始"
"createUserName":"超级管理员",
"createUser":"admin"
}
],
"pageInfo": {
"page": 1,
"limit": 10,
"total": 2
}
}
}
返回参数说明
参数名 |
类型 |
说明 |
result |
JSON |
问卷列表数据 |
pageInfo |
JSON |
分页栏数据 |
备注