GET /gxt/orderScore/list
查询合并的维修工单和维保工单列表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repairOrder | GxtRepairOrder | 否 | 维修工单查询条件 |
| workOrder | GxtWorkOrder | 否 | 维保工单查询条件 |
{
"code": 200,
"msg": "查询成功",
"data": {
"total": 100,
"rows": [
{
"orderType": 1,
"id": 1,
"workOrderProjectNo": "WX20251201001",
"workOrderStatus": "completed",
"scoringStatus": "to_self",
"scorePersonList": [
{
"id": 1,
"userId": 1001,
"nickName": "张三",
"selfScore": null,
"reviewScore": null,
"finalScore": null,
"isLeader": 1,
"confirmStatus": 0
}
]
}
]
}
}
@gxt:orderScore:list
GET /gxt/orderScore/mobile/list
查询移动端合并的维修工单和维保工单列表
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repairOrder | GxtRepairOrder | 否 | 维修工单查询条件 |
| workOrder | GxtWorkOrder | 否 | 维保工单查询条件 |
| keyword | String | 否 | 关键词 |
| scoringStatus | String | 否 | 评分状态 |
{
"code": 200,
"msg": "查询成功",
"data": {
"total": 100,
"rows": [
{
"orderType": 2,
"id": 2,
"workOrderProjectNo": "WB20251201001",
"workOrderStatus": "completed",
"scoringStatus": "to_re",
"inspectionType": "年检",
"scorePersonList": [
{
"id": 2,
"userId": 1002,
"nickName": "李四",
"selfScore": 8.5,
"reviewScore": null,
"finalScore": null,
"isLeader": 0,
"confirmStatus": 0
}
]
}
]
}
}
GET /gxt/orderScore/statistics
获取工单评分统计信息
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| repairOrder | GxtRepairOrder | 否 | 维修工单查询条件 |
| workOrder | GxtWorkOrder | 否 | 维保工单查询条件 |
| month | String | 否 | 月份筛选条件 |
{
"code": 200,
"msg": "操作成功",
"data": {
"totalScore": 85.5,
"maintenanceScore": 45.0,
"repairScore": 40.5,
"maintenanceCount": 5,
"repairCount": 3
}
}
GET /gxt/orderScore/{orderType}/{orderId}
获取工单评分详细信息
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| orderType | Integer | 是 | 工单类型(1-维修工单,2-维保工单) |
| orderId | Long | 是 | 工单ID |
{
"code": 200,
"msg": "操作成功",
"data": {
"id": 1,
"workOrderProjectNo": "WX20251201001",
"workOrderStatus": "completed",
"scoringStatus": "to_self",
"content": "风机齿轮箱更换",
"maintenanceType": "A类",
"scorePersonList": [
{
"id": 1,
"userId": 1001,
"nickName": "张三",
"selfScore": null,
"reviewScore": null,
"finalScore": null,
"isLeader": 1,
"confirmStatus": 0
}
]
}
}
PUT /gxt/orderScore/selfEvaluation
保存自评信息
{
"orderType": 1,
"id": 1,
"workSummary": "完成了齿轮箱更换工作",
"maintenanceType": "A类",
"scorePersonList": [
{
"id": 1,
"selfScore": 9.0
}
]
}
{
"code": 200,
"msg": "操作成功"
}
@gxt:orderScore:selfEvaluation
PUT /gxt/orderScore/review
保存复评信息
{
"orderType": 1,
"id": 1,
"modifyReason": "工作质量优秀",
"reviewScoreNum": 1,
"scorePersonList": [
{
"id": 1,
"reviewScore": 9.5
}
]
}
{
"code": 200,
"msg": "操作成功"
}
@gxt:orderScore:review
PUT /gxt/orderScore/finalEvaluation
保存终评信息
{
"orderType": 1,
"id": 1,
"finalCoefficient": 1.0,
"scorePersonList": [
{
"id": 1,
"finalScore": 9.8
}
]
}
{
"code": 200,
"msg": "操作成功"
}
@gxt:orderScore:finalEvaluation
PUT /gxt/orderScore/confirm
保存确认信息
{
"orderType": 1,
"id": 1,
"confirmStatus": 1,
"feedbackReason": "",
"scorePersonList": [
{
"id": 1,
"reviewScore": 9.5
}
]
}
{
"code": 200,
"msg": "操作成功"
}
@gxt:orderScore:confirm
PUT /gxt/orderScore/appeal
发起申诉
{
"orderType": 1,
"id": 1,
"appealReason": "评分不合理,工作质量优秀"
}
{
"code": 200,
"msg": "操作成功"
}
@gxt:orderScore:appeal