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

67 lines
2.4 KiB
JSON

{
"openapi": "3.0.1",
"info": { "title": "踏勘监管分页", "version": "1.0.0" },
"paths": {
"/safetyEval/regulator/eval-project-monitor/survey-page": {
"get": {
"summary": "项目踏勘监管分页",
"tags": ["监管端-安评项目"],
"parameters": [
{ "name": "current", "in": "query", "schema": { "type": "integer", "default": 1 } },
{ "name": "size", "in": "query", "schema": { "type": "integer", "default": 10 } },
{ "name": "startTime", "in": "query", "schema": { "type": "string" } },
{ "name": "endTime", "in": "query", "schema": { "type": "string" } },
{ "name": "projectNameOrNo", "in": "query", "schema": { "type": "string" } },
{ "name": "orgId", "in": "query", "schema": { "type": "integer" } },
{ "name": "clockInStatus", "in": "query", "schema": { "type": "string" } }
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/PageResponseRegulatorEvalProjectSurveyPageCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"PageResponseRegulatorEvalProjectSurveyPageCO": {
"type": "object",
"properties": {
"success": { "type": "boolean" },
"code": { "type": "string" },
"message": { "type": "string" },
"errMessage": { "type": "string" },
"data": {
"type": "array",
"items": { "$ref": "#/components/schemas/RegulatorEvalProjectSurveyPageCO" }
},
"total": { "type": "integer" }
}
},
"RegulatorEvalProjectSurveyPageCO": {
"type": "object",
"properties": {
"id": { "type": "string" },
"orgId": { "type": "string" },
"projectNo": { "type": "string" },
"projectName": { "type": "string" },
"orgName": { "type": "string" },
"expectedCount": { "type": "integer" },
"actualCount": { "type": "integer" },
"signInCount": { "type": "integer" },
"signOutCount": { "type": "integer" },
"faceCount": { "type": "integer" },
"scenePhotoCount": { "type": "integer" },
"notificationFileUrl": { "type": "string" }
}
}
}
}
}