safety-eval-service-frontend/.api/safetyEval-institution-eval.../spec.json

85 lines
3.5 KiB
JSON
Raw Normal View History

2026-07-27 10:54:22 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "新增签字任务",
"version": "1.0.0"
},
"paths": {
"/safetyEval/institution/eval-sign-task/save": {
"post": {
"summary": "新增签字任务",
"tags": ["机构端-签字任务"],
"requestBody": {
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/EvalSignTaskSaveCmd" }
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseEvalSignTaskCO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"EvalSignTaskSaveCmd": {
"type": "object",
"properties": {
"projectId": { "type": "string", "description": "项目ID" },
"nodeCode": {
"type": "string",
"description": "所属节点编码NODE_01风险分析 NODE_02业务合同 NODE_03项目组成立 NODE_04现场踏勘 NODE_05报告编制 NODE_06内部审核 NODE_07技术审核 NODE_08过程控制"
},
"bizRefId": { "type": "string", "description": "业务关联ID" },
"signerPersonnelId": { "type": "string", "description": "签字人员ID" },
"taskTitle": { "type": "string", "description": "任务标题" },
"taskStatusCode": { "type": "integer", "description": "任务状态编码1待签 2已签 3已作废" },
"issueTime": { "type": "string", "description": "下发时间" },
"signerUrl": { "type": "string", "description": "签字图片" },
"remarks": { "type": "string", "description": "备注" }
},
"required": ["projectId"]
},
"SingleResponseEvalSignTaskCO": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "$ref": "#/components/schemas/EvalSignTaskCO" }
}
},
"EvalSignTaskCO": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "签字任务ID" },
"orgId": { "type": "string", "description": "机构ID" },
"projectId": { "type": "string", "description": "项目ID" },
"nodeCode": { "type": "string", "description": "所属节点编码" },
"bizRefId": { "type": "string", "description": "业务关联ID" },
"signerPersonnelId": { "type": "string", "description": "签字人员ID" },
"taskTitle": { "type": "string", "description": "任务标题" },
"taskStatusCode": { "type": "integer", "description": "任务状态编码1待签 2已签 3已作废" },
"taskStatusName": { "type": "string", "description": "任务状态名称" },
"issueTime": { "type": "string", "description": "下发时间" },
"signerUrl": { "type": "string", "description": "签字图片" },
"remarks": { "type": "string", "description": "备注" },
"createName": { "type": "string", "description": "创建人" },
"createTime": { "type": "string", "description": "创建时间" },
"updateTime": { "type": "string", "description": "更新时间" }
}
}
}
}
}