safety-eval-service-frontend/.api/safetyEval-regulator-eval-p.../spec.json

71 lines
3.5 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{
"openapi": "3.0.1",
"info": { "title": "实时监控分页", "version": "1.0.0" },
"paths": {
"/safetyEval/regulator/eval-project-monitor/realtime-page": {
"get": {
"summary": "实时监控分页",
"tags": ["监管端-安评项目"],
"parameters": [
{ "name": "current", "in": "query", "schema": { "type": "integer", "default": 1 } },
{ "name": "size", "in": "query", "schema": { "type": "integer", "default": 10 } },
{ "name": "projectNameOrNo", "in": "query", "schema": { "type": "string" }, "description": "项目名称/编号" },
{ "name": "evalTypeCode", "in": "query", "schema": { "type": "string" }, "description": "评价类型编码PRE/ACCEPT/STATUS" },
{ "name": "industryCode", "in": "query", "schema": { "type": "string" }, "description": "行业类别编码" },
{ "name": "leaderName", "in": "query", "schema": { "type": "string" }, "description": "项目负责人" },
{ "name": "planEndDateStart", "in": "query", "schema": { "type": "string" }, "description": "计划完成日期-起" },
{ "name": "planEndDateEnd", "in": "query", "schema": { "type": "string" }, "description": "计划完成日期-止" },
{ "name": "waringStatus", "in": "query", "schema": { "type": "string" }, "description": "监管状态normal正常PERSONNEL_ABNORMAL人员异常" }
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/PageResponseRegulatorEvalProjectMonitorPageCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"PageResponseRegulatorEvalProjectMonitorPageCO": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"message": { "type": "string" },
"errMessage": { "type": "string" },
"data": {
"type": "array",
"items": { "$ref": "#/components/schemas/RegulatorEvalProjectMonitorPageCO" }
},
"total": { "type": "integer", "format": "int64" }
}
},
"RegulatorEvalProjectMonitorPageCO": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "项目ID" },
"orgId": { "type": "string", "description": "机构ID" },
"projectNo": { "type": "string", "description": "项目编号" },
"projectName": { "type": "string", "description": "项目名称" },
"orgName": { "type": "string", "description": "评价机构" },
"evalTypeCode": { "type": "string", "description": "评价类型编码" },
"industryCode": { "type": "string", "description": "行业编码" },
"leaderName": { "type": "string", "description": "负责人" },
"planEndDate": { "type": "string", "description": "计划完成日期" },
"waringStatus": { "type": "string", "description": "预警状态normal正常abnormal异常" },
"processWaringStatus": { "type": "string", "description": "过程预警状态" },
"processWaringMsg": { "type": "string", "description": "过程预警信息" },
"personnelWaringStatus": { "type": "string", "description": "人员预警状态" },
"personnelWaringMsg": { "type": "string", "description": "人员预警信息" }
}
}
}
}
}