| | |
| | | - ServiceContractQueryClassExpireAfter60Day |
| | | - ServiceContractQueryClassExpiredBefore15Day |
| | | - ServiceContractQueryClassExpiredBefore60Day |
| | | constvar.ServiceContractStatusKeywordType: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceContractStatusKeywordCustomerName |
| | | constvar.ServiceContractStatusQueryClass: |
| | | enum: |
| | | - "" |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceContractStatusQueryClassExpireLessThen60Days |
| | | constvar.ServiceFeeKeywordType: |
| | | enum: |
| | | - 客户名称 |
| | |
| | | type: object |
| | | model.Client: |
| | | properties: |
| | | _: |
| | | description: |- |
| | | The date when the item was deleted |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | business_scope: |
| | | type: string |
| | | city: |
| | |
| | | $ref: '#/definitions/model.Country' |
| | | country_id: |
| | | type: integer |
| | | created_at: |
| | | description: |- |
| | | The date when the item was created |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | creator_id: |
| | | type: integer |
| | | detail_address: |
| | | type: string |
| | | enterprise_nature_id: |
| | |
| | | $ref: '#/definitions/model.FollowRecord' |
| | | type: array |
| | | id: |
| | | description: |- |
| | | The ID of the item |
| | | example: 1 |
| | | type: integer |
| | | industry: |
| | | $ref: '#/definitions/model.Industry' |
| | |
| | | type: string |
| | | service_member_id: |
| | | type: integer |
| | | updated_at: |
| | | description: |- |
| | | The date when the item was last updated |
| | | example: 2023-08-10 15:48:25 |
| | | type: string |
| | | type: object |
| | | model.ClientLevel: |
| | | properties: |
| | |
| | | $ref: '#/definitions/model.Quotation' |
| | | quotationId: |
| | | type: integer |
| | | serviceContractStatus: |
| | | $ref: '#/definitions/model.ServiceContractStatus' |
| | | statusId: |
| | | type: integer |
| | | updated_at: |
| | |
| | | $ref: '#/definitions/model.Contact' |
| | | contact_id: |
| | | type: integer |
| | | contact_information: |
| | | $ref: '#/definitions/model.ContactInformation' |
| | | contact_information_id: |
| | | type: integer |
| | | content: |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | type: integer |
| | | signTime: |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | wechatOrderStatus: |
| | | $ref: '#/definitions/model.WechatOrderStatus' |
| | | wechatOrderStatusId: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.RefundSourceType' |
| | | description: 来源类型(1销售退货) |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.SalesReturn: |
| | | properties: |
| | |
| | | allOf: |
| | | - $ref: '#/definitions/constvar.SalesReturnSourceType' |
| | | description: 源单类型(1销售明细) |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.SalesReturnStatus: |
| | | properties: |
| | |
| | | $ref: '#/definitions/model.Contact' |
| | | contactId: |
| | | type: integer |
| | | createTime: |
| | | type: string |
| | | creatorName: |
| | | type: string |
| | | endTime: |
| | | type: string |
| | | id: |
| | |
| | | startTime: |
| | | type: string |
| | | terms: |
| | | type: string |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.ServiceContractStatus: |
| | |
| | | $ref: '#/definitions/model.Contact' |
| | | contactId: |
| | | type: integer |
| | | createTime: |
| | | type: string |
| | | creatorName: |
| | | type: string |
| | | file: |
| | | type: string |
| | | id: |
| | |
| | | $ref: '#/definitions/model.TimelyRate' |
| | | timelyRateId: |
| | | type: integer |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.ServiceOrder: |
| | | properties: |
| | |
| | | contactId: |
| | | description: 联系人id |
| | | type: integer |
| | | createTime: |
| | | type: string |
| | | creatorName: |
| | | type: string |
| | | expectTime: |
| | | description: 希望处理时间 |
| | | type: string |
| | |
| | | serviceContractId: |
| | | description: 服务合同id |
| | | type: integer |
| | | serviceMan: |
| | | allOf: |
| | | - $ref: '#/definitions/model.User' |
| | | description: 服务人员 |
| | | serviceManId: |
| | | description: 服务人员 |
| | | type: integer |
| | |
| | | timeSpentId: |
| | | description: 花费时间 |
| | | type: integer |
| | | updateTime: |
| | | type: string |
| | | type: object |
| | | model.ServiceOrderStatus: |
| | | properties: |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | type: object |
| | | request.AddServiceContractStatus: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddServiceContractType: |
| | | properties: |
| | |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteContract: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteCountry: |
| | | properties: |
| | | id: |
| | |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteMasterOrder: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteOrderManage: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteQuotation: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteSaleChance: |
| | | properties: |
| | | ids: |
| | | items: |
| | |
| | | type: array |
| | | type: object |
| | | request.DeleteServiceFollowup: |
| | | properties: |
| | | ids: |
| | | items: |
| | | type: integer |
| | | type: array |
| | | type: object |
| | | request.DeleteSubOrder: |
| | | properties: |
| | | ids: |
| | | items: |
| | |
| | | additionalProperties: true |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"name": "客户名称", |
| | | "phone": "手机号码", "detail_address":"详细地址", "next_visit_time":"下回回访日期", "member_name": |
| | | "销售负责人", "client_status": "客户状态", "client_level": "重要级别", "is_first": "是否是首要联系人"}' |
| | | "销售负责人", "client_status": "客户状态", "client_level": "重要级别", "is_first": "是否是首要联系人", |
| | | "client_id": "clientId 用于返回首要联系人"}' |
| | | type: object |
| | | type: object |
| | | request.GetContractList: |
| | |
| | | description: '搜索条件: map[string]interface{}{"name": "xxx"}; {"topic": "跟进主题", |
| | | "member_name": "跟进人", "client_name": "客户名称", "client_status": "客户状态", "follow_time": |
| | | "跟进时间", "next_follow_time": "下次跟进时间", "record": "跟进记录", "phone": "联系人电话", |
| | | "contact_name": "联系人姓名"}' |
| | | "contact_name": "联系人姓名", "sales_leads_id": "销售线索id", "sale_chance_id": "销售机会id"}' |
| | | type: object |
| | | type: object |
| | | request.GetMasterOrderList: |
| | |
| | | bankAccountId: |
| | | description: 账户id |
| | | type: integer |
| | | client: |
| | | allOf: |
| | | - $ref: '#/definitions/model.Client' |
| | | description: 客户id |
| | | clientId: |
| | | description: 客户id |
| | | type: integer |
| | |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateServiceContractStatuss: |
| | | properties: |
| | | service_contract_status: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateServiceContractStatus' |
| | | type: array |
| | | required: |
| | | - service_contract_status |
| | | type: object |
| | | request.UpdateServiceContractType: |
| | | properties: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Satisfaction' |
| | | type: array |
| | | type: object |
| | | response.ServiceContractStatusResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.ServiceContractStatus' |
| | | type: array |
| | | type: object |
| | | response.ServiceContractTypeResponse: |
| | |
| | | summary: 添加合同 |
| | | tags: |
| | | - Contract |
| | | /api/contract/delete/{id}: |
| | | /api/contract/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | in: body |
| | | name: object |
| | | required: true |
| | | type: integer |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteContract' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 添加主订单 |
| | | tags: |
| | | - MasterOrder |
| | | /api/masterOrder/delete/{id}: |
| | | /api/masterOrder/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | in: body |
| | | name: object |
| | | required: true |
| | | type: integer |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteMasterOrder' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 添加报价单 |
| | | tags: |
| | | - Quotation |
| | | /api/quotation/delete/{id}: |
| | | /api/quotation/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | in: body |
| | | name: object |
| | | required: true |
| | | type: integer |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteQuotation' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | summary: 添加销售机会 |
| | | tags: |
| | | - SaleChance |
| | | /api/saleChance/delete/{id}: |
| | | /api/saleChance/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | in: body |
| | | name: object |
| | | required: true |
| | | type: integer |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteSaleChance' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加服务合同状态 |
| | | summary: 添加合同状态 |
| | | tags: |
| | | - ServiceContractStatus |
| | | - 合同状态 |
| | | /api/serviceContractStatus/delete/{id}: |
| | | delete: |
| | | parameters: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除服务合同状态 |
| | | summary: 删除合同状态 |
| | | tags: |
| | | - ServiceContractStatus |
| | | - 合同状态 |
| | | /api/serviceContractStatus/list: |
| | | get: |
| | | parameters: |
| | | - in: query |
| | | name: keyword |
| | | type: string |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: keywordType |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceContractStatusKeywordCustomerName |
| | | - description: 页码 |
| | | in: query |
| | | name: page |
| | | type: integer |
| | | - description: 每页大小 |
| | | in: query |
| | | name: pageSize |
| | | type: integer |
| | | - enum: |
| | | - "" |
| | | in: query |
| | | name: queryClass |
| | | type: string |
| | | x-enum-varnames: |
| | | - ServiceContractStatusQueryClassExpireLessThen60Days |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - $ref: '#/definitions/response.ListResponse' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.ServiceContractStatusResponse' |
| | | items: |
| | | $ref: '#/definitions/model.ServiceContractStatus' |
| | | type: array |
| | | type: object |
| | | summary: 获取服务合同状态列表 |
| | | summary: 获取合同状态列表 |
| | | tags: |
| | | - ServiceContractStatus |
| | | - 合同状态 |
| | | /api/serviceContractStatus/update: |
| | | put: |
| | | parameters: |
| | |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateServiceContractStatuss' |
| | | $ref: '#/definitions/request.UpdateServiceContractStatus' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新服务合同状态 |
| | | summary: 更新合同状态 |
| | | tags: |
| | | - ServiceContractStatus |
| | | - 合同状态 |
| | | /api/serviceContractType/add: |
| | | post: |
| | | parameters: |
| | |
| | | summary: 添加子订单 |
| | | tags: |
| | | - SubOrder |
| | | /api/subOrder/delete/{id}: |
| | | /api/subOrder/delete: |
| | | delete: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: path |
| | | name: id |
| | | in: body |
| | | name: object |
| | | required: true |
| | | type: integer |
| | | schema: |
| | | $ref: '#/definitions/request.DeleteSubOrder' |
| | | produces: |
| | | - application/json |
| | | responses: |