2.4.1.7.12.1. 查询Dashboard详细列表

    请求参数:

    字段字段名称字段类型说明是否必传
    page_index查询页码Integer大于 0,如果为空,则默认从第一页显示
    page_size每页记录数Integer大于 0,如果为空,则默认为 20
    condition查询条件JsonLIKE模糊搜索条件
    start_time开始时间Datetime按创建时间搜索的开始时间和结束时间
    end_time结束时间Datetime

    condition参数:

    格式

    举例

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result结果Json

    返回数据举例:

    2.4.1.7.12.2. 查询Dashboard指定记录

    调用接口:

    属性
    url/api/dashboard/get
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    返回示例:

    1. {
    2. "code": 200,
    3. "msg": "查询成功",
    4. "mix_code":130001,
    5. "mix_ext":"",
    6. "result": {
    7. "dashboard_id": 1003,
    8. "description": "",
    9. "template": "[]",
    10. "script": "[]",
    11. "mixshow": "[]",
    12. "exp": "[]",
    13. "reference": "",
    14. "is_available": 1,
    15. }
    16. }

    2.4.1.7.12.3. 添加Dashboard

    调用接口:

    属性
    url/api/dashboard/add
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    字段字段名称字段类型说明是否必传
    dashboard_name显示板名称String
    description描述Text
    template模板/样式text
    script脚本text
    reference参考号String

    返回参数:

    |————|—————|—————|——————————-|—————|| 字段 | 字段名称 | 字段类型 | 说明 | 是否必传 || code | 返回码 | Integer | 200:成功 500:失败 | 是 || msg | 提示信息 | String | | 是 || result | 返回结果 | Json | | 是|| || | | | | |

    返回示例:

    2.4.1.7.12.4. 编辑Dashboard

    请求参数:

    字段字段名称字段类型说明是否必传
    dashboard_id显示板标识String
    dashboard_name显示板名称String
    description描述Text
    template模板/样式text
    script脚本text
    reference参考号String
    is_available是否有效Boolean1:是,0:否

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    返回示例:

    1. {
    2. "code": 200,
    3. "msg": "删除成功",
    4. "mix_code":130001,
    5. "mix_msg":"",
    6. "mix_ext":"",
    7. }

    2.4.1.7.12.5. 删除Dashboard

    调用接口:

    属性
    url/api/dashboard/delete
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    返回示例: