| | |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | appointmentTime: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | carFare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | chargeAmount: |
| | | description: 收费金额 |
| | | type: number |
| | | client: |
| | |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/model.Contact' |
| | | contact_id: |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contract: |
| | |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faq: |
| | | $ref: '#/definitions/model.Faq' |
| | | faqId: |
| | | description: 常见问题id |
| | | type: integer |
| | | faultType: |
| | | $ref: '#/definitions/model.FaultType' |
| | | faultTypeId: |
| | | description: 故障类别id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | order: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | type: integer |
| | | orderManage: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | priorityLevel: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | problem_desc: |
| | | priorityLevelId: |
| | | description: 优先级别id |
| | | type: integer |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | product: |
| | | $ref: '#/definitions/model.Product' |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | |
| | | serviceType: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | serviceTypeId: |
| | | description: 服务方式 |
| | | description: 服务方式id |
| | | type: integer |
| | | severity: |
| | | $ref: '#/definitions/model.Severity' |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | timeSpent: |
| | | $ref: '#/definitions/model.TimeSpent' |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | appointmentTime: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | carFare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | chargeAmount: |
| | | description: 收费金额 |
| | | type: number |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | contact_id: |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faqId: |
| | | description: 常见问题id |
| | | type: integer |
| | | faultTypeId: |
| | | description: 故障类别id |
| | | type: integer |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | priorityLevelId: |
| | | description: 优先级别id |
| | | type: integer |
| | | problem_desc: |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | |
| | | description: 服务单编号 |
| | | type: string |
| | | serviceTypeId: |
| | | description: 服务方式 |
| | | description: 服务方式id |
| | | type: integer |
| | | severity: |
| | | description: 严重程度 |
| | | description: 严重程度id |
| | | type: integer |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | appointmentTime: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | carFare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | chargeAmount: |
| | | description: 收费金额 |
| | | type: number |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | | contact_id: |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | contractId: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faqId: |
| | | description: 常见问题id |
| | | type: integer |
| | | faultTypeId: |
| | | description: 故障类别id |
| | | type: integer |
| | | id: |
| | | type: integer |
| | | orderId: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | priorityLevelId: |
| | | description: 优先级别id |
| | | type: integer |
| | | problem_desc: |
| | | problemDesc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | productId: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | realTime: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | |
| | | description: 服务单编号 |
| | | type: string |
| | | serviceTypeId: |
| | | description: 服务方式 |
| | | description: 服务方式id |
| | | type: integer |
| | | severity: |
| | | description: 严重程度 |
| | | description: 严重程度id |
| | | type: integer |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | solutionRemark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务类型 |
| | | summary: 添加服务方式 |
| | | tags: |
| | | - 服务类型管理 |
| | | - 服务方式管理 |
| | | /api/serviceType/delete/{id}: |
| | | delete: |
| | | parameters: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务类型 |
| | | summary: 删除服务方式 |
| | | tags: |
| | | - 服务类型管理 |
| | | - 服务方式管理 |
| | | /api/serviceType/list: |
| | | get: |
| | | produces: |
| | |
| | | $ref: '#/definitions/model.ServiceType' |
| | | type: array |
| | | type: object |
| | | summary: 获取服务类型列表 |
| | | summary: 获取服务方式列表 |
| | | tags: |
| | | - 服务类型管理 |
| | | - 服务方式管理 |
| | | /api/serviceType/update: |
| | | put: |
| | | parameters: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务类型 |
| | | summary: 更新服务方式 |
| | | tags: |
| | | - 服务类型管理 |
| | | - 服务方式管理 |
| | | /api/severity/add: |
| | | post: |
| | | parameters: |