...
|
...
|
@@ -18,6 +18,90 @@ |
|
|
"application/xml"
|
|
|
],
|
|
|
"paths": {
|
|
|
"/config/customer-values": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回客户价值列表",
|
|
|
"description": "返回客户价值列表",
|
|
|
"operationId": "config#listCustomerValues",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListCustomerValuesResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-natures": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务性质列表",
|
|
|
"description": "返回任务性质列表",
|
|
|
"operationId": "config#listTaskNatures",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskNaturesResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-statuses": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务状态列表",
|
|
|
"description": "返回任务状态列表",
|
|
|
"operationId": "config#listTaskStatus",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskStatusResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/config/task-types": {
|
|
|
"get": {
|
|
|
"tags": [
|
|
|
"config"
|
|
|
],
|
|
|
"summary": "返回任务类型列表",
|
|
|
"description": "返回任务类型列表",
|
|
|
"operationId": "config#listTaskTypes",
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/ConfigListTaskTypesResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/employees": {
|
|
|
"get": {
|
|
|
"tags": [
|
...
|
...
|
@@ -714,9 +798,88 @@ |
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"/tasks/search-off-task-record": {
|
|
|
"post": {
|
|
|
"tags": [
|
|
|
"task"
|
|
|
],
|
|
|
"summary": "搜索关闭任务记录",
|
|
|
"description": "搜索关闭任务记录",
|
|
|
"operationId": "task#searchOffTaskRecord",
|
|
|
"parameters": [
|
|
|
{
|
|
|
"name": "SearchOffTaskRecordRequestBody",
|
|
|
"in": "body",
|
|
|
"required": true,
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchOffTaskRecordRequestBody"
|
|
|
}
|
|
|
}
|
|
|
],
|
|
|
"responses": {
|
|
|
"200": {
|
|
|
"description": "OK response.",
|
|
|
"schema": {
|
|
|
"$ref": "#/definitions/TaskSearchOffTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"schemes": [
|
|
|
"http"
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"definitions": {
|
|
|
"ConfigListCustomerValuesResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListCustomerValuesResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"customerValues": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskNaturesResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskNaturesResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskNatures": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskStatusResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskStatusResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskStatuses": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"ConfigListTaskTypesResponseBody": {
|
|
|
"title": "Mediatype identifier: ConfigListTaskTypesResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"taskTypes": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/configResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"EmployeeCreateEmployeeRequestBody": {
|
|
|
"title": "EmployeeCreateEmployeeRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1133,6 +1296,73 @@ |
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchOffTaskRecordRequestBody": {
|
|
|
"title": "TaskSearchOffTaskRecordRequestBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"companyId": {
|
|
|
"type": "integer",
|
|
|
"description": "公司ID",
|
|
|
"required": [
|
|
|
"companyId"
|
|
|
]
|
|
|
},
|
|
|
"customerValue": {
|
|
|
"type": "string",
|
|
|
"description": "客户价值"
|
|
|
},
|
|
|
"limit": {
|
|
|
"type": "integer",
|
|
|
"description": "查询限制",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offEndTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-截止时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offStartTime": {
|
|
|
"type": "string",
|
|
|
"description": "关闭任务时间区间-开始时间",
|
|
|
"format": "datetime"
|
|
|
},
|
|
|
"offset": {
|
|
|
"type": "integer",
|
|
|
"description": "查询偏离量",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"taskContentMatch": {
|
|
|
"type": "string",
|
|
|
"description": "任务内容匹配"
|
|
|
},
|
|
|
"taskNature": {
|
|
|
"type": "string",
|
|
|
"description": "任务性质"
|
|
|
},
|
|
|
"taskType": {
|
|
|
"type": "integer",
|
|
|
"description": "任务类型",
|
|
|
"format": "int64"
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchOffTaskRecordResponseBody": {
|
|
|
"title": "Mediatype identifier: TaskSearchOffTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"count": {
|
|
|
"type": "integer",
|
|
|
"description": "结果总数",
|
|
|
"format": "int64"
|
|
|
},
|
|
|
"offTaskRecords": {
|
|
|
"type": "array",
|
|
|
"items": {
|
|
|
"$ref": "#/definitions/offTaskRecordResponseBody"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
"TaskSearchTaskRequestBody": {
|
|
|
"title": "TaskSearchTaskRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1341,6 +1571,27 @@ |
|
|
},
|
|
|
"description": "竞标人员信息"
|
|
|
},
|
|
|
"configResponseBody": {
|
|
|
"title": "configResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"id": {
|
|
|
"type": "integer",
|
|
|
"description": "ID",
|
|
|
"required": [
|
|
|
"id"
|
|
|
]
|
|
|
},
|
|
|
"name": {
|
|
|
"type": "string",
|
|
|
"description": "名称",
|
|
|
"required": [
|
|
|
"name"
|
|
|
]
|
|
|
}
|
|
|
},
|
|
|
"description": "配置字典"
|
|
|
},
|
|
|
"employeeInfoRequestBody": {
|
|
|
"title": "employeeInfoRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
@@ -1427,6 +1678,40 @@ |
|
|
},
|
|
|
"description": "员工"
|
|
|
},
|
|
|
"offTaskRecordResponseBody": {
|
|
|
"title": "offTaskRecordResponseBody",
|
|
|
"type": "object",
|
|
|
"properties": {
|
|
|
"createTime": {
|
|
|
"type": "string",
|
|
|
"description": "创建时间",
|
|
|
"required": [
|
|
|
"createTime"
|
|
|
]
|
|
|
},
|
|
|
"offReason": {
|
|
|
"type": "string",
|
|
|
"description": "关闭理由",
|
|
|
"required": [
|
|
|
"offReason"
|
|
|
]
|
|
|
},
|
|
|
"offTaskRecordId": {
|
|
|
"type": "integer",
|
|
|
"description": "关闭任务记录ID",
|
|
|
"required": [
|
|
|
"offTaskRecordId"
|
|
|
]
|
|
|
},
|
|
|
"operator": {
|
|
|
"$ref": "#/definitions/employeeInfoResponseBody"
|
|
|
},
|
|
|
"task": {
|
|
|
"$ref": "#/definitions/taskResponseBody"
|
|
|
}
|
|
|
},
|
|
|
"description": "关闭任务记录"
|
|
|
},
|
|
|
"referenceResourceItemRequestBody": {
|
|
|
"title": "referenceResourceItemRequestBody",
|
|
|
"type": "object",
|
...
|
...
|
|