文档
测试

获取静态信息

GET
http://127.0.0.1:8091/drillManage/obtainStaticInfo

接口描述

获取演练类型、组织部门、演练部门、演练评委、等级状态等下拉框信息

响应参数

参数名
类型
描述
必填
code
Integer
响应码 200成功,其余失败
必填
msg
String
响应描述
必填
data
json
数据集
必填
drillTypes
List
演练类型
必填
staticKey
Integer
演练类型id
必填
staticValue
String
演练类型名称
必填
organizeDepts
List
组织部门
必填
staticKey
Long
组织部门id
必填
staticValue
String
组织部门名称
必填
drillDepts
List
演练部门
必填
staticKey
Long
演练部门id
必填
staticValue
String
演练部门名称
必填
drillJudges
List
演练评委
必填
staticKey
Long
演练评委id
必填
staticValue
String
演练评委昵称
必填
scoreLevelStatus
List
打分等级状态
必填
staticKey
String
等级状态key(NO->未打分,A->A级,B->B级)
必填
staticValue
String
等级状态描述
必填

说明 / 示例

响应示例: { "msg": "操作成功", "code": 200, "data": { "drillTypes": [ { "staticKey": 1, "staticValue": "程序性演练" }, { "staticKey": 2, "staticValue": "检验性演练" }, { "staticKey": 3, "staticValue": "桌面演练" } ], "organizeDepts": [ { "staticKey": 100, "staticValue": "若依科技" }, { "staticKey": 101, "staticValue": "深圳总公司" }, { "staticKey": 102, "staticValue": "长沙分公司" }, { "staticKey": 103, "staticValue": "研发部门" }, { "staticKey": 104, "staticValue": "市场部门" }, { "staticKey": 105, "staticValue": "测试部门" }, { "staticKey": 106, "staticValue": "财务部门" }, { "staticKey": 107, "staticValue": "运维部门" }, { "staticKey": 108, "staticValue": "市场部门" }, { "staticKey": 109, "staticValue": "财务部门" }, { "staticKey": 203, "staticValue": "通能设计子公司" } ], "drillDepts": [ { "staticKey": 100, "staticValue": "若依科技" }, { "staticKey": 101, "staticValue": "深圳总公司" }, { "staticKey": 102, "staticValue": "长沙分公司" }, { "staticKey": 103, "staticValue": "研发部门" }, { "staticKey": 104, "staticValue": "市场部门" }, { "staticKey": 105, "staticValue": "测试部门" }, { "staticKey": 106, "staticValue": "财务部门" }, { "staticKey": 107, "staticValue": "运维部门" }, { "staticKey": 108, "staticValue": "市场部门" }, { "staticKey": 109, "staticValue": "财务部门" }, { "staticKey": 203, "staticValue": "通能设计子公司" } ], "drillJudges": [ { "staticKey": 1, "staticValue": "admin" }, { "staticKey": 356, "staticValue": "newtester" }, { "staticKey": 357, "staticValue": "cs00c" } ], "scoreLevelStatus": [ { "staticKey": "NO", "staticValue": "未打分" }, { "staticKey": "A", "staticValue": "A级" }, { "staticKey": "B", "staticValue": "B级" }, { "staticKey": "C", "staticValue": "C级" } ] } }