| | |
| | | properties: |
| | | code: |
| | | type: integer |
| | | count: |
| | | type: integer |
| | | data: {} |
| | | msg: |
| | | type: string |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Faq: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.FollowRecord: |
| | | properties: |
| | | client: |
| | |
| | | type: integer |
| | | type: object |
| | | model.Possibility: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.PriorityLevel: |
| | | properties: |
| | | id: |
| | | type: integer |
| | |
| | | timelyRateId: |
| | | type: integer |
| | | type: object |
| | | model.ServiceOrder: |
| | | properties: |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | description: 收费金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | description: 客户id |
| | | type: integer |
| | | contract: |
| | | $ref: '#/definitions/model.Contract' |
| | | contract_id: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faq: |
| | | $ref: '#/definitions/model.Faq' |
| | | id: |
| | | type: integer |
| | | linkman_id: |
| | | description: 联系人id |
| | | type: integer |
| | | order: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | order_id: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | type: integer |
| | | priorityLevel: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | problem_desc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | product: |
| | | $ref: '#/definitions/model.Product' |
| | | product_id: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | sale_leads: |
| | | description: 销售机会id |
| | | type: integer |
| | | service_man_id: |
| | | description: 服务人员 |
| | | type: integer |
| | | service_number: |
| | | description: 服务单编号 |
| | | type: string |
| | | service_type_id: |
| | | description: 服务方式 |
| | | type: integer |
| | | serviceType: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | severity: |
| | | $ref: '#/definitions/model.Severity' |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | model.ServiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Severity: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.SolveRate: |
| | | properties: |
| | | id: |
| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddFaq: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddFollowRecord: |
| | | properties: |
| | | follow_record: |
| | |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddPriorityLevel: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddProvince: |
| | | properties: |
| | |
| | | type: integer |
| | | timelyRate: |
| | | type: integer |
| | | type: object |
| | | request.AddServiceOrder: |
| | | properties: |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | description: 收费金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | description: 客户id |
| | | type: integer |
| | | contract: |
| | | $ref: '#/definitions/model.Contract' |
| | | contract_id: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faq: |
| | | $ref: '#/definitions/model.Faq' |
| | | id: |
| | | type: integer |
| | | linkman_id: |
| | | description: 联系人id |
| | | type: integer |
| | | order: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | order_id: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | type: integer |
| | | priorityLevel: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | problem_desc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | product: |
| | | $ref: '#/definitions/model.Product' |
| | | product_id: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | sale_leads: |
| | | description: 销售机会id |
| | | type: integer |
| | | service_man_id: |
| | | description: 服务人员 |
| | | type: integer |
| | | service_number: |
| | | description: 服务单编号 |
| | | type: string |
| | | service_type_id: |
| | | description: 服务方式 |
| | | type: integer |
| | | serviceType: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | severity: |
| | | $ref: '#/definitions/model.Severity' |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | request.AddServiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddSeverity: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.AddSolveRate: |
| | | properties: |
| | |
| | | $ref: '#/definitions/request.UpdateEnterpriseScale' |
| | | type: array |
| | | type: object |
| | | request.UpdateFaq: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateFollowRecord: |
| | | properties: |
| | | follow_record: |
| | |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdatePriorityLevel: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateProvince: |
| | | properties: |
| | |
| | | timelyRate: |
| | | type: integer |
| | | type: object |
| | | request.UpdateServiceOrder: |
| | | properties: |
| | | address: |
| | | description: 上门地址 |
| | | type: string |
| | | appointment_time: |
| | | description: 预约上门时间 |
| | | type: string |
| | | car_fare: |
| | | description: 交通费 |
| | | type: number |
| | | charge_amount: |
| | | description: 收费金额 |
| | | type: number |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | description: 客户id |
| | | type: integer |
| | | contract: |
| | | $ref: '#/definitions/model.Contract' |
| | | contract_id: |
| | | description: 合同id |
| | | type: integer |
| | | expect_time: |
| | | description: 希望处理时间 |
| | | type: string |
| | | faq: |
| | | $ref: '#/definitions/model.Faq' |
| | | id: |
| | | type: integer |
| | | linkman_id: |
| | | description: 联系人id |
| | | type: integer |
| | | order: |
| | | $ref: '#/definitions/model.OrderManage' |
| | | order_id: |
| | | description: 销售订单id |
| | | type: integer |
| | | priority_level_id: |
| | | description: 优先级别 |
| | | type: integer |
| | | priorityLevel: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | problem_desc: |
| | | description: 问题描述 |
| | | type: string |
| | | problem_id: |
| | | description: 常见问题id |
| | | type: integer |
| | | product: |
| | | $ref: '#/definitions/model.Product' |
| | | product_id: |
| | | description: 产品id |
| | | type: integer |
| | | real_time: |
| | | description: 实际处理时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | sale_leads: |
| | | description: 销售机会id |
| | | type: integer |
| | | service_man_id: |
| | | description: 服务人员 |
| | | type: integer |
| | | service_number: |
| | | description: 服务单编号 |
| | | type: string |
| | | service_type_id: |
| | | description: 服务方式 |
| | | type: integer |
| | | serviceType: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | severity: |
| | | $ref: '#/definitions/model.Severity' |
| | | solution: |
| | | description: 解决方法 |
| | | type: string |
| | | solution_remark: |
| | | description: 内部备注 |
| | | type: string |
| | | status: |
| | | description: 处理状态 |
| | | type: integer |
| | | subject: |
| | | description: 主题 |
| | | type: string |
| | | time_spent_id: |
| | | description: 花费时间 |
| | | type: integer |
| | | type: object |
| | | request.UpdateServiceType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateSeverity: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | request.UpdateSolveRate: |
| | | properties: |
| | | id: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.IsVisit' |
| | | type: array |
| | | type: object |
| | | response.ListResponse: |
| | | properties: |
| | | code: |
| | | type: integer |
| | | count: |
| | | type: integer |
| | | data: {} |
| | | msg: |
| | | type: string |
| | | type: object |
| | | response.LoginResponse: |
| | | properties: |
| | |
| | | summary: 更新企业规模 |
| | | tags: |
| | | - EnterpriseScale |
| | | /api/faq/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddFaq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加常见问题 |
| | | tags: |
| | | - 常见问题管理 |
| | | /api/faq/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除常见问题 |
| | | tags: |
| | | - 常见问题管理 |
| | | /api/faq/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.Faq' |
| | | type: array |
| | | type: object |
| | | summary: 获取常见问题列表 |
| | | tags: |
| | | - 常见问题管理 |
| | | /api/faq/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateFaq' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新常见问题 |
| | | tags: |
| | | - 常见问题管理 |
| | | /api/followRecord/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新商机可能性 |
| | | tags: |
| | | - Possibility |
| | | /api/priorityLevel/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddPriorityLevel' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/priorityLevel/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/priorityLevel/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.PriorityLevel' |
| | | type: array |
| | | type: object |
| | | summary: 获取优先级别列表 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/priorityLevel/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdatePriorityLevel' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新优先级别 |
| | | tags: |
| | | - 优先级别管理 |
| | | /api/province/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 更新服务跟进 |
| | | tags: |
| | | - ServiceFollowup |
| | | /api/serviceOrder/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddServiceOrder' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务单 |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceOrder/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务单 |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceOrder/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.ServiceOrder' |
| | | type: array |
| | | type: object |
| | | summary: 获取服务单列表 |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceOrder/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateServiceOrder' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务单 |
| | | tags: |
| | | - 服务单管理 |
| | | /api/serviceType/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddServiceType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务类型 |
| | | tags: |
| | | - 服务类型管理 |
| | | /api/serviceType/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务类型 |
| | | tags: |
| | | - 服务类型管理 |
| | | /api/serviceType/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.ServiceType' |
| | | type: array |
| | | type: object |
| | | summary: 获取服务类型列表 |
| | | tags: |
| | | - 服务类型管理 |
| | | /api/serviceType/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateServiceType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务类型 |
| | | tags: |
| | | - 服务类型管理 |
| | | /api/severity/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddSeverity' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加严重程度 |
| | | tags: |
| | | - 严重程度管理 |
| | | /api/severity/delete/{id}: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | required: true |
| | | type: integer |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除严重程度 |
| | | tags: |
| | | - 严重程度管理 |
| | | /api/severity/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | items: |
| | | $ref: '#/definitions/model.Severity' |
| | | type: array |
| | | type: object |
| | | summary: 获取严重程度列表 |
| | | tags: |
| | | - 严重程度管理 |
| | | /api/severity/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSeverity' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新严重程度 |
| | | tags: |
| | | - 严重程度管理 |
| | | /api/solveRate/add: |
| | | post: |
| | | parameters: |