| | |
| | | title: |
| | | type: string |
| | | type: object |
| | | model.OrderType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | type: object |
| | | model.Plan: |
| | | properties: |
| | | clientId: |
| | |
| | | type: integer |
| | | sourceSheet: |
| | | type: integer |
| | | type: object |
| | | request.AddOrderType: |
| | | properties: |
| | | name: |
| | | type: string |
| | | required: |
| | | - name |
| | | type: object |
| | | request.AddPlan: |
| | | properties: |
| | |
| | | sourceSheet: |
| | | type: integer |
| | | type: object |
| | | request.UpdateOrderType: |
| | | properties: |
| | | id: |
| | | type: integer |
| | | name: |
| | | type: string |
| | | required: |
| | | - id |
| | | - name |
| | | type: object |
| | | request.UpdateOrderTypes: |
| | | properties: |
| | | order_type: |
| | | items: |
| | | $ref: '#/definitions/request.UpdateOrderType' |
| | | type: array |
| | | required: |
| | | - order_type |
| | | type: object |
| | | request.UpdatePlan: |
| | | properties: |
| | | id: |
| | |
| | | items: |
| | | $ref: '#/definitions/model.User' |
| | | type: array |
| | | orderType: |
| | | description: 工单类型 |
| | | items: |
| | | $ref: '#/definitions/model.OrderType' |
| | | type: array |
| | | province: |
| | | description: 省份数据 |
| | | items: |
| | |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.Menu' |
| | | type: array |
| | | type: object |
| | | response.OrderTypeResponse: |
| | | properties: |
| | | list: |
| | | items: |
| | | $ref: '#/definitions/model.OrderType' |
| | | type: array |
| | | type: object |
| | | response.PageResult: |
| | |
| | | summary: 更新工单 |
| | | tags: |
| | | - OrderManage |
| | | /api/orderType/add: |
| | | post: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.AddOrderType' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 添加工单类型 |
| | | tags: |
| | | - OrderType |
| | | /api/orderType/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: |
| | | - OrderType |
| | | /api/orderType/list: |
| | | get: |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | allOf: |
| | | - $ref: '#/definitions/contextx.Response' |
| | | - properties: |
| | | data: |
| | | $ref: '#/definitions/response.OrderTypeResponse' |
| | | type: object |
| | | summary: 获取工单类型列表 |
| | | tags: |
| | | - OrderType |
| | | /api/orderType/update: |
| | | put: |
| | | parameters: |
| | | - description: 查询参数 |
| | | in: body |
| | | name: object |
| | | required: true |
| | | schema: |
| | | $ref: '#/definitions/request.UpdateOrderTypes' |
| | | produces: |
| | | - application/json |
| | | responses: |
| | | "200": |
| | | description: OK |
| | | schema: |
| | | $ref: '#/definitions/contextx.Response' |
| | | summary: 更新工单类型 |
| | | tags: |
| | | - OrderType |
| | | /api/plan/add: |
| | | post: |
| | | parameters: |