ITSM

运维管理系统


XiNanSwitchLeftTop(营业部连接情况)

简要描述

  • 营业部连接情况

请求URL

  • http://192.168.2.72:8080/mqtransfer/quest/XiNanSwitchLeftTop
对应的图标,注意,编号即是返回数据格式的keyId

请求方式

  • POST

参数

> 特别说明:页面初次打开初始化渲染页面,请求questType=configInfo获取配置信息(只获取一次),第二次轮询请求开始questType=dataValue,且初次获取数据dataType=all(全量数据),下一次开始都是增量获取即传参数:dataType=increment

参数名 必选 类型 说明
region string 传递空字符串
name string 传递空字符串
param string 请求参数必填
param.questType string 请求类型,值: configInfo/dataValue 含义:配置信息/数据信息
param.dataType string 请求类型,值: all/increment 含义:全量获取/增量获取
请求json格式
  {
    "region": "",
    "name": "",
    "param": {
        "questType":"configInfo",
        "dataType": "all"
    }
}
返回参数为:questType=configInfo 示例
{
    "responseBody": {
        "result": {
            "configInfo": [
                {
                    "name": "连接成功营业部数量",
                    "keyId": "1"
                },
                {
                    "name": "连接失败营业部数量",
                    "keyId": "2"
                },
                {
                    "name": "首次连接成功营业部",
                    "keyId": "3"
                },
                {
                    "name": "首次连接成功时间",
                    "keyId": "4"
                },
                {
                    "name": "左侧地图数据",
                    "keyId": "5"
                },
                {
                    "name": "右侧地图数据",
                    "keyId": "6"
                }
            ],
            "title": [
                {
                    "titleRank": "1",
                    "name": "营业部连接情况"
                }
            ]
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1650356158702,
    "message": "success"
}
返回参数为:questType=dataValue 示例
{
    "responseBody": {
        "result": {
            "1": 17,
            "2": 11,
            "3": "江西",
            "4": "2022-04-19 16:18:38",
            "5": [
                {
                    "city": "深圳",
                    "name": "深圳",
                    "value": 1
                },
                {
                    "city": "南宁",
                    "name": "广西",
                    "value": 1
                },
                {
                    "city": "广州",
                    "name": "广州",
                    "value": 1
                },
                {
                    "city": "北京",
                    "name": "北京",
                    "value": 0
                },
                {
                    "city": "呼和浩特",
                    "name": "内蒙古",
                    "value": 0
                },
                {
                    "city": "沈阳",
                    "name": "沈阳",
                    "value": 1
                },
                {
                    "city": "长春",
                    "name": "吉林",
                    "value": 1
                },
                {
                    "city": "哈尔滨",
                    "name": "黑龙江",
                    "value": 0
                },
                {
                    "city": "上海",
                    "name": "上海",
                    "value": 0
                },
                {
                    "city": "兰州",
                    "name": "甘肃",
                    "value": 0
                },
                {
                    "city": "西宁",
                    "name": "青海",
                    "value": 0
                },
                {
                    "city": "乌鲁木齐",
                    "name": "新疆",
                    "value": 1
                },
                {
                    "city": "长沙",
                    "name": "湖南",
                    "value": 1
                },
                {
                    "city": "太原",
                    "name": "山西",
                    "value": 0
                },
                {
                    "city": "济南",
                    "name": "山东",
                    "value": 0
                },
                {
                    "city": "武汉",
                    "name": "湖北",
                    "value": 0
                },
                {
                    "city": "西安",
                    "name": "西安",
                    "value": 1
                },
                {
                    "city": "成都",
                    "name": "四川",
                    "value": 0
                },
                {
                    "city": "福州",
                    "name": "福州",
                    "value": 0
                },
                {
                    "city": "大理",
                    "name": "大理",
                    "value": 1
                },
                {
                    "city": "南昌",
                    "name": "江西",
                    "value": 1
                },
                {
                    "city": "苏州",
                    "name": "苏州",
                    "value": 0
                },
                {
                    "city": "杭州",
                    "name": "杭州",
                    "value": 0
                },
                {
                    "city": "大同",
                    "name": "大同",
                    "value": 0
                },
                {
                    "city": "攀枝花",
                    "name": "攀枝花",
                    "value": 1
                },
                {
                    "city": "马鞍山",
                    "name": "马鞍山",
                    "value": 0
                },
                {
                    "city": "大连",
                    "name": "大连",
                    "value": 0
                },
                {
                    "city": "贵州",
                    "name": "贵州",
                    "value": 0
                }
            ],
            "6": [
                {
                    "city": "金渝大道",
                    "value": 1
                },
                {
                    "city": "高笋塘",
                    "value": 0
                },
                {
                    "city": "渝碚",
                    "value": 0
                },
                {
                    "city": "北碚",
                    "value": 0
                },
                {
                    "city": "荣昌",
                    "value": 1
                },
                {
                    "city": "长寿",
                    "value": 0
                },
                {
                    "city": "酉阳",
                    "value": 0
                },
                {
                    "city": "彭水",
                    "value": 0
                },
                {
                    "city": "南川",
                    "value": 1
                },
                {
                    "city": "铜梁",
                    "value": 0
                },
                {
                    "city": "潼南",
                    "value": 1
                },
                {
                    "city": "奉节",
                    "value": 1
                },
                {
                    "city": "璧山",
                    "value": 0
                },
                {
                    "city": "大足",
                    "value": 0
                },
                {
                    "city": "石柱",
                    "value": 1
                },
                {
                    "city": "云阳",
                    "value": 1
                },
                {
                    "city": "巫山",
                    "value": 0
                },
                {
                    "city": "城口",
                    "value": 0
                },
                {
                    "city": "黔江",
                    "value": 1
                },
                {
                    "city": "秀山",
                    "value": 0
                },
                {
                    "city": "忠县",
                    "value": 0
                }
            ]
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1650356318762,
    "message": "success"
}

返回参数说明

参数名 类型 说明
keyId String 标识此接口的唯一id,对应到图标
city string 城市名 用于在地图上定位
name string 城市名 用于在地图上显示
value string 状态 0正常 1异常

页面列表

ITEM_HTML