| | |
| | | type: object |
| | | model.MasterOrder: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | client_id: |
| | | type: integer |
| | | end_time: |
| | |
| | | type: string |
| | | addressee: |
| | | type: string |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | conditions: |
| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Satisfaction: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.ServiceContract: |
| | | properties: |
| | | clientId: |
| | |
| | | type: object |
| | | model.SubOrder: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/model.Client' |
| | | clientId: |
| | | type: integer |
| | | id: |
| | |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddSatisfaction: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddServiceContract: |
| | | properties: |
| | | clientId: |
| | |
| | | type: object |
| | | request.AddServiceFeeManage: |
| | | properties: |
| | | client_id: |
| | | business_scope: |
| | | description: 经营范围 |
| | | type: string |
| | | city_id: |
| | | type: integer |
| | | client_level_id: |
| | | description: 客户等级ID |
| | | type: integer |
| | | client_origin_id: |
| | | description: 客户来源ID |
| | | type: integer |
| | | client_status_id: |
| | | description: 客户状态ID |
| | | type: integer |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | | description: 详细地址 |
| | | type: string |
| | | enterprise_nature_id: |
| | | description: 企业性质 |
| | | type: integer |
| | | enterprise_scale_id: |
| | | description: 企业规模 |
| | | type: integer |
| | | file: |
| | | type: string |
| | | industry_id: |
| | | description: 所属行业 |
| | | type: integer |
| | | latest_date: |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | remark: |
| | | latest_service_time: |
| | | description: 最晚服务时间 |
| | | type: string |
| | | member_id: |
| | | description: 销售负责人ID |
| | | type: integer |
| | | name: |
| | | description: 公司名称 |
| | | type: string |
| | | next_visit_time: |
| | | description: 下次回访时间 |
| | | type: string |
| | | number: |
| | | description: 公司编号 |
| | | type: string |
| | | province_id: |
| | | type: integer |
| | | region_id: |
| | | type: integer |
| | | registered_capital_id: |
| | | description: 注册资金 |
| | | type: integer |
| | | registration_time: |
| | | description: 注册时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | representative: |
| | | description: 法人代表 |
| | | type: string |
| | | service_member_id: |
| | | description: 服务负责人ID |
| | | type: integer |
| | | type: object |
| | | request.AddServiceFollowup: |
| | | properties: |
| | |
| | | pos: |
| | | description: 用户岗位 |
| | | type: string |
| | | type: object |
| | | request.Client: |
| | | properties: |
| | | business_scope: |
| | | description: 经营范围 |
| | | type: string |
| | | city_id: |
| | | type: integer |
| | | client_level_id: |
| | | description: 客户等级ID |
| | | type: integer |
| | | client_origin_id: |
| | | description: 客户来源ID |
| | | type: integer |
| | | client_status_id: |
| | | description: 客户状态ID |
| | | type: integer |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | | description: 详细地址 |
| | | type: string |
| | | enterprise_nature_id: |
| | | description: 企业性质 |
| | | type: integer |
| | | enterprise_scale_id: |
| | | description: 企业规模 |
| | | type: integer |
| | | industry_id: |
| | | description: 所属行业 |
| | | type: integer |
| | | latest_service_time: |
| | | description: 最晚服务时间 |
| | | type: string |
| | | member_id: |
| | | description: 销售负责人ID |
| | | type: integer |
| | | name: |
| | | description: 公司名称 |
| | | type: string |
| | | next_visit_time: |
| | | description: 下次回访时间 |
| | | type: string |
| | | number: |
| | | description: 公司编号 |
| | | type: string |
| | | province_id: |
| | | type: integer |
| | | region_id: |
| | | type: integer |
| | | registered_capital_id: |
| | | description: 注册资金 |
| | | type: integer |
| | | registration_time: |
| | | description: 注册时间 |
| | | type: string |
| | | remark: |
| | | description: 备注 |
| | | type: string |
| | | representative: |
| | | description: 法人代表 |
| | | type: string |
| | | service_member_id: |
| | | description: 服务负责人ID |
| | | type: integer |
| | | type: object |
| | | request.Contact: |
| | | properties: |
| | |
| | | $ref: '#/definitions/request.UpdateSalesSources' |
| | | type: array |
| | | type: object |
| | | request.UpdateSatisfaction: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateSatisfactions: |
| | | properties: |
| | | satisfactions: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateSatisfaction' |
| | | type: array |
| | | required: |
| | | - satisfactions |
| | | type: object |
| | | request.UpdateServiceContract: |
| | | properties: |
| | | clientId: |
| | |
| | | type: object |
| | | request.UpdateServiceFeeManage: |
| | | properties: |
| | | client: |
| | | $ref: '#/definitions/request.Client' |
| | | client_id: |
| | | business_scope: |
| | | description: 经营范围 |
| | | type: string |
| | | city_id: |
| | | type: integer |
| | | client_level_id: |
| | | description: 客户等级ID |
| | | type: integer |
| | | client_origin_id: |
| | | description: 客户来源ID |
| | | type: integer |
| | | client_status_id: |
| | | description: 客户状态ID |
| | | type: integer |
| | | client_type_id: |
| | | description: 客户类型ID |
| | | type: integer |
| | | contact: |
| | | $ref: '#/definitions/request.Contact' |
| | | country_id: |
| | | type: integer |
| | | detail_address: |
| | | description: 详细地址 |
| | | type: string |
| | | enterprise_nature_id: |
| | | description: 企业性质 |
| | | type: integer |
| | | enterprise_scale_id: |
| | | description: 企业规模 |
| | | type: integer |
| | | file: |
| | | type: string |
| | | id: |
| | | type: integer |
| | | industry_id: |
| | | description: 所属行业 |
| | | type: integer |
| | | latest_date: |
| | | type: string |
| | | latest_service_time: |
| | | description: 最晚服务时间 |
| | | type: string |
| | | member_id: |
| | | type: integer |
| | | name: |
| | | description: 公司名称 |
| | | type: string |
| | | next_visit_time: |
| | | description: 下次回访时间 |
| | | type: string |
| | | number: |
| | | description: 公司编号 |
| | | type: string |
| | | province_id: |
| | | type: integer |
| | | region_id: |
| | | type: integer |
| | | registered_capital_id: |
| | | description: 注册资金 |
| | | type: integer |
| | | registration_time: |
| | | description: 注册时间 |
| | | type: string |
| | | remark: |
| | | type: string |
| | | representative: |
| | | description: 法人代表 |
| | | type: string |
| | | service_member_id: |
| | | description: 服务负责人ID |
| | | type: integer |
| | | type: object |
| | | request.UpdateServiceFollowup: |
| | | properties: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.SalesSources' |
| | | type: array |
| | | type: object |
| | | response.SatisfactionResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Satisfaction' |
| | | type: array |
| | | type: object |
| | | response.ServiceContractsResponse: |
| | |
| | | summary: 更新商机来源 |
| | | tags: |
| | | - SalesSources |
| | | /api/satisfaction/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddSatisfaction' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加满意度 |
| | | tags: |
| | | - Satisfaction |
| | | /api/satisfaction/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: |
| | | - Satisfaction |
| | | /api/satisfaction/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.SatisfactionResponse' |
| | | type: object |
| | | summary: 满意度列表 |
| | | tags: |
| | | - Satisfaction |
| | | /api/satisfaction/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateSatisfactions' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新满意度 |
| | | tags: |
| | | - Satisfaction |
| | | /api/serviceContract/add: |
| | | post: |
| | | parameters: |