ITSM

运维管理系统


XiNanSwitchMiddle(流程执行情况)

简要描述

  • 流程执行情况

请求URL

  • http://192.168.2.72:8080/mqtransfer/quest/XiNanSwitchMiddle
对应的图标,注意,编号即是返回数据格式的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": [
                {
                    "indicName": [
                        {
                            "unit": "_1",
                            "name": "系统切换准备1"
                        },
                        {
                            "unit": "_7",
                            "name": "数据库切换1"
                        },
                        {
                            "unit": "_8",
                            "name": "程序启动1"
                        },
                        {
                            "unit": "_4",
                            "name": "系统就绪1"
                        }
                    ],
                    "name": "集中交易系统",
                    "keyId": "1"
                },
                {
                    "indicName": [
                        {
                            "unit": "_7",
                            "name": "系统切换准备2"
                        },
                        {
                            "unit": "_3",
                            "name": "数据库切换2"
                        },
                        {
                            "unit": "_2",
                            "name": "程序启动2"
                        },
                        {
                            "unit": "_7",
                            "name": "系统就绪2"
                        }
                    ],
                    "name": "集中运营平台",
                    "keyId": "2"
                },
                {
                    "indicName": [
                        {
                            "unit": "_3",
                            "name": "系统切换准备3"
                        },
                        {
                            "unit": "_7",
                            "name": "数据库切换3"
                        },
                        {
                            "unit": "_5",
                            "name": "程序启动3"
                        },
                        {
                            "unit": "_7",
                            "name": "系统就绪3"
                        }
                    ],
                    "name": "个股期权系统",
                    "keyId": "3"
                },
                {
                    "indicName": [
                        {
                            "unit": "_7",
                            "name": "系统切换准备4"
                        },
                        {
                            "unit": "_6",
                            "name": "数据库切换4"
                        },
                        {
                            "unit": "_8",
                            "name": "程序启动4"
                        },
                        {
                            "unit": "_8",
                            "name": "系统就绪4"
                        }
                    ],
                    "name": "两融柜台系统",
                    "keyId": "4"
                },
                {
                    "indicName": [
                        {
                            "unit": "_5",
                            "name": "系统切换准备5"
                        },
                        {
                            "unit": "_8",
                            "name": "数据库切换5"
                        },
                        {
                            "unit": "_4",
                            "name": "程序启动5"
                        },
                        {
                            "unit": "_3",
                            "name": "系统就绪5"
                        }
                    ],
                    "name": "港股通系统",
                    "keyId": "5"
                },
                {
                    "indicName": [
                        {
                            "unit": "_7",
                            "name": "系统切换准备6"
                        },
                        {
                            "unit": "_9",
                            "name": "数据库切换6"
                        },
                        {
                            "unit": "_1",
                            "name": "程序启动6"
                        },
                        {
                            "unit": "_4",
                            "name": "系统就绪6"
                        }
                    ],
                    "name": "三方存管银证",
                    "keyId": "6"
                },
                {
                    "indicName": [
                        {
                            "unit": "_4",
                            "name": "系统切换准备7"
                        },
                        {
                            "unit": "_7",
                            "name": "数据库切换7"
                        },
                        {
                            "unit": "_1",
                            "name": "程序启动7"
                        },
                        {
                            "unit": "_6",
                            "name": "系统就绪7"
                        }
                    ],
                    "name": "机构柜台",
                    "keyId": "7"
                },
                {
                    "indicName": [
                        {
                            "unit": "_9",
                            "name": "系统切换准备8"
                        },
                        {
                            "unit": "_7",
                            "name": "数据库切换8"
                        },
                        {
                            "unit": "_5",
                            "name": "程序启动8"
                        },
                        {
                            "unit": "_1",
                            "name": "系统就绪8"
                        }
                    ],
                    "name": "股转做市商系统",
                    "keyId": "8"
                },
                {
                    "indicName": [
                        {
                            "unit": "_2",
                            "name": "系统切换准备9"
                        },
                        {
                            "unit": "_7",
                            "name": "数据库切换9"
                        },
                        {
                            "unit": "_3",
                            "name": "程序启动9"
                        },
                        {
                            "unit": "_5",
                            "name": "系统就绪9"
                        }
                    ],
                    "name": "自营O32交易管理系统",
                    "keyId": "9"
                },
                {
                    "indicName": [
                        {
                            "unit": "_5",
                            "name": "系统切换准备10"
                        },
                        {
                            "unit": "_4",
                            "name": "数据库切换10"
                        },
                        {
                            "unit": "_3",
                            "name": "程序启动10"
                        },
                        {
                            "unit": "_6",
                            "name": "系统就绪10"
                        }
                    ],
                    "name": "资管O32交易管理系统",
                    "keyId": "10"
                },
                {
                    "indicName": [
                        {
                            "unit": "_8",
                            "name": "系统切换准备11"
                        },
                        {
                            "unit": "_2",
                            "name": "数据库切换11"
                        },
                        {
                            "unit": "_7",
                            "name": "程序启动11"
                        },
                        {
                            "unit": "_5",
                            "name": "系统就绪11"
                        }
                    ],
                    "name": "PC金点子系统",
                    "keyId": "11"
                },
                {
                    "indicName": [
                        {
                            "unit": "_4",
                            "name": "系统切换准备12"
                        },
                        {
                            "unit": "_9",
                            "name": "数据库切换12"
                        },
                        {
                            "unit": "_3",
                            "name": "程序启动12"
                        },
                        {
                            "unit": "_2",
                            "name": "系统就绪12"
                        }
                    ],
                    "name": "手机金点子系统",
                    "keyId": "12"
                },
                {
                    "indicName": [
                        {
                            "unit": "_6",
                            "name": "集中交易系统"
                        },
                        {
                            "unit": "_9",
                            "name": "集中运营平台"
                        },
                        {
                            "unit": "_8",
                            "name": "个股期权系统"
                        },
                        {
                            "unit": "_3",
                            "name": "两融柜台系统"
                        },
                        {
                            "unit": "_3",
                            "name": "港股通系统"
                        },
                        {
                            "unit": "_2",
                            "name": "三方存管银证"
                        },
                        {
                            "unit": "_9",
                            "name": "机构柜台"
                        },
                        {
                            "unit": "_2",
                            "name": "股转做市商系统"
                        },
                        {
                            "unit": "_2",
                            "name": "自营O32交易��理系统"
                        },
                        {
                            "unit": "_1",
                            "name": "资管O32交易管理系统"
                        },
                        {
                            "unit": "_6",
                            "name": "PC金点子系统"
                        },
                        {
                            "unit": "_4",
                            "name": "手机金点子系统"
                        }
                    ],
                    "name": "切换系统总进度",
                    "keyId": "13"
                },
                {
                    "name": "灾备切换里程碑总耗时",
                    "keyId": "0"
                }
            ],
            "title": []
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1651023041683,
    "message": "success"
}
返回参数为:questType=dataValue 示例
{
    "responseBody": {
        "result": {
            "11": {
                "process": [
                    {
                        "state": 4,
                        "time": "00:27:05",
                        "second": 1625
                    },
                    {
                        "state": 4,
                        "time": "00:23:10",
                        "second": 1390
                    },
                    {
                        "state": 4,
                        "time": "00:26:27",
                        "second": 1587
                    },
                    {
                        "state": 3,
                        "time": "00:09:19",
                        "second": 559
                    }
                ],
                "percent": 100
            },
            "12": {
                "process": [
                    {
                        "state": 4,
                        "time": "00:13:26",
                        "second": 806
                    },
                    {
                        "state": 1,
                        "time": "00:23:34",
                        "second": 1414
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 25
            },
            "13": {
                "process": [
                    {
                        "index": 1,
                        "state": 1,
                        "time": "01:07:36",
                        "second": 4056
                    },
                    {
                        "index": 2,
                        "state": 4,
                        "time": "00:48:31",
                        "second": 2911
                    },
                    {
                        "index": 3,
                        "state": 1,
                        "time": "00:29:42",
                        "second": 1782
                    },
                    {
                        "index": 4,
                        "state": 1,
                        "time": "00:23:16",
                        "second": 1396
                    },
                    {
                        "index": 5,
                        "state": 1,
                        "time": "00:27:52",
                        "second": 1672
                    },
                    {
                        "index": 6,
                        "state": 1,
                        "time": "00:16:50",
                        "second": 1010
                    },
                    {
                        "index": 7,
                        "state": 2,
                        "time": "01:06:55",
                        "second": 4015
                    },
                    {
                        "index": 8,
                        "state": 1,
                        "time": "01:22:08",
                        "second": 4928
                    },
                    {
                        "index": 9,
                        "state": 1,
                        "time": "00:56:25",
                        "second": 3385
                    },
                    {
                        "index": 10,
                        "state": 1,
                        "time": "00:09:20",
                        "second": 560
                    },
                    {
                        "index": 11,
                        "state": 3,
                        "time": "01:26:01",
                        "second": 5161
                    },
                    {
                        "index": 12,
                        "state": 1,
                        "time": "00:37:00",
                        "second": 2220
                    }
                ],
                "percent": 25
            },
            "0": "09:11:36",
            "1": {
                "process": [
                    {
                        "state": 4,
                        "time": "00:29:46",
                        "second": 1786
                    },
                    {
                        "state": 4,
                        "time": "00:11:29",
                        "second": 689
                    },
                    {
                        "state": 4,
                        "time": "00:05:43",
                        "second": 343
                    },
                    {
                        "state": 1,
                        "time": "00:20:38",
                        "second": 1238
                    }
                ],
                "percent": 75
            },
            "2": {
                "process": [
                    {
                        "state": 4,
                        "time": "00:21:11",
                        "second": 1271
                    },
                    {
                        "state": 4,
                        "time": "00:15:30",
                        "second": 930
                    },
                    {
                        "state": 4,
                        "time": "00:10:36",
                        "second": 636
                    },
                    {
                        "state": 4,
                        "time": "00:01:14",
                        "second": 74
                    }
                ],
                "percent": 100
            },
            "3": {
                "process": [
                    {
                        "state": 1,
                        "time": "00:29:42",
                        "second": 1782
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 0
            },
            "4": {
                "process": [
                    {
                        "state": 3,
                        "time": "00:19:01",
                        "second": 1141
                    },
                    {
                        "state": 1,
                        "time": "00:04:15",
                        "second": 255
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 25
            },
            "5": {
                "process": [
                    {
                        "state": 1,
                        "time": "00:27:52",
                        "second": 1672
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 0
            },
            "6": {
                "process": [
                    {
                        "state": 1,
                        "time": "00:16:50",
                        "second": 1010
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 0
            },
            "7": {
                "process": [
                    {
                        "state": 2,
                        "time": "00:29:51",
                        "second": 1791
                    },
                    {
                        "state": 2,
                        "time": "00:13:35",
                        "second": 815
                    },
                    {
                        "state": 3,
                        "time": "00:00:57",
                        "second": 57
                    },
                    {
                        "state": 2,
                        "time": "00:22:32",
                        "second": 1352
                    }
                ],
                "percent": 100
            },
            "8": {
                "process": [
                    {
                        "state": 4,
                        "time": "00:15:36",
                        "second": 936
                    },
                    {
                        "state": 4,
                        "time": "00:25:00",
                        "second": 1500
                    },
                    {
                        "state": 4,
                        "time": "00:13:59",
                        "second": 839
                    },
                    {
                        "state": 1,
                        "time": "00:27:33",
                        "second": 1653
                    }
                ],
                "percent": 75
            },
            "9": {
                "process": [
                    {
                        "state": 2,
                        "time": "00:28:39",
                        "second": 1719
                    },
                    {
                        "state": 1,
                        "time": "00:27:46",
                        "second": 1666
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 25
            },
            "10": {
                "process": [
                    {
                        "state": 1,
                        "time": "00:09:20",
                        "second": 560
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    },
                    {
                        "state": 0,
                        "time": "00:00:00",
                        "second": 0
                    }
                ],
                "percent": 0
            }
        },
        "parseRet": null,
        "rawRet": null
    },
    "errorCode": 0,
    "time": 1651023107701,
    "message": "success"
}

返回参数说明

参数名 类型 说明
keyId String 标识此接口的唯一id,对应到图标
percent Integer 百分比 单位默认%
process Array 流程对象数组
process[i].state 流程状态 0 未切换;1 正在切换;2 切换超时;3 切换失败;4 切换成功
process[i].second Integer 流程时长 单位s
peocess[i].time String 流程时长 second对应的hh:mm:ss格式

页面列表

ITEM_HTML