| | |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.ReportSource: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.SaleChance: |
| | | properties: |
| | | advantages: |
| | |
| | | - name |
| | | type: object |
| | | request.AddRegularCustomers: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddReportSource: |
| | | properties: |
| | | name: |
| | | type: string |
| | |
| | | required: |
| | | - regularCustomers |
| | | type: object |
| | | request.UpdateReportSource: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateReportSources: |
| | | properties: |
| | | report_source: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateReportSource' |
| | | type: array |
| | | required: |
| | | - report_source |
| | | type: object |
| | | request.UpdateSaleChance: |
| | | properties: |
| | | advantages: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.RegularCustomers' |
| | | type: array |
| | | reportSource: |
| | | description: 报表来源 |
| | | items: |
| | | $ref: '#/definitions/model.ReportSource' |
| | | type: array |
| | | sale_stage: |
| | | description: 销售阶段 |
| | | items: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.RegularCustomers' |
| | | type: array |
| | | type: object |
| | | response.ReportSourceResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.ReportSource' |
| | | type: array |
| | | type: object |
| | | response.SaleChanceResponse: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加订单 |
| | | summary: 添加工单 |
| | | tags: |
| | | - OrderManage |
| | | /api/orderManage/delete/{id}: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 删除订单 |
| | | summary: 删除工单 |
| | | tags: |
| | | - OrderManage |
| | | /api/orderManage/list: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 订单列表 |
| | | summary: 工单列表 |
| | | tags: |
| | | - OrderManage |
| | | /api/orderManage/update: |
| | |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新订单 |
| | | summary: 更新工单 |
| | | tags: |
| | | - OrderManage |
| | | /api/plan/add: |
| | |
| | | summary: 更新常客 |
| | | tags: |
| | | - RegularCustomers |
| | | /api/reportSource/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddReportSource' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加报表来源 |
| | | tags: |
| | | - ReportSource |
| | | /api/reportSource/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: |
| | | - ReportSource |
| | | /api/reportSource/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.ReportSourceResponse' |
| | | type: object |
| | | summary: 获取报表来源列表 |
| | | tags: |
| | | - ReportSource |
| | | /api/reportSource/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateReportSources' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新报表来源 |
| | | tags: |
| | | - ReportSource |
| | | /api/saleChance/add: |
| | | post: |
| | | parameters: |