| | |
| | | } |
| | | }, |
| | | "/api/serviceOrder/list": { |
| | | "get": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | |
| | | "服务单管理" |
| | | ], |
| | | "summary": "获取服务单列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetServiceOrderList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | "ServiceFollowupKeywordCustomerServiceNo", |
| | | "ServiceFollowupKeywordVisitor", |
| | | "ServiceFollowupKeywordSatisfactionDegree" |
| | | ] |
| | | }, |
| | | "constvar.ServiceOrderKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "服务单编号", |
| | | "主题", |
| | | "客户名称", |
| | | "实际处理时间", |
| | | "服务人员", |
| | | "服务方式", |
| | | "产品类别", |
| | | "故障类别" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceOrderKeywordOrderNumber", |
| | | "ServiceOrderKeywordSubject", |
| | | "ServiceOrderKeywordClientName", |
| | | "ServiceOrderKeywordRealProcessTime", |
| | | "ServiceOrderKeywordServiceMan", |
| | | "ServiceOrderKeywordServiceType", |
| | | "ServiceOrderKeywordProductType", |
| | | "ServiceOrderKeywordFaultType" |
| | | ] |
| | | }, |
| | | "constvar.ServiceOrderQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceOrderQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.UserType": { |
| | |
| | | "model.ServiceFollowup": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/model.Contact" |
| | | }, |
| | | "contactId": { |
| | | "type": "integer" |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "isVisit": { |
| | | "$ref": "#/definitions/model.IsVisit" |
| | | }, |
| | | "isVisitId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "oldMember": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "oldMemberId": { |
| | | "type": "integer" |
| | |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "satisfaction": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | }, |
| | | "satisfactionId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "serviceOrder": { |
| | | "$ref": "#/definitions/model.ServiceOrder" |
| | | }, |
| | | "solveRate": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | | }, |
| | | "solveRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "timelyRate": { |
| | | "$ref": "#/definitions/model.TimelyRate" |
| | | }, |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetServiceOrderList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.ServiceOrderKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "queryClass": { |
| | | "$ref": "#/definitions/constvar.ServiceOrderQueryClass" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetSubOrderList": { |
| | | "type": "object", |
| | | "properties": { |