| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/checkName": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Client" |
| | | ], |
| | | "summary": "检查客户名称是否重复", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CheckClientName" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/collectionProjection/add": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "CollectionProjection" |
| | | ], |
| | | "summary": "添加收款预测", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddCollectionProjection" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/collectionProjection/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "CollectionProjection" |
| | | ], |
| | | "summary": "删除收款预测", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/collectionProjection/list": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "CollectionProjection" |
| | | ], |
| | | "summary": "获取收款预测列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/collectionProjection/update": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "CollectionProjection" |
| | | ], |
| | | "summary": "更新收款预测", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateCollectionProjection" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/contact/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/contactInformation/list": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ContactInformation" |
| | | ], |
| | | "summary": "联系方式列表", |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ContactInformationResponse" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/contract/add": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/contract/delete/{id}": { |
| | | "/api/contract/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除合同", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteContract" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/masterOrder/delete/{id}": { |
| | | "/api/masterOrder/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除主订单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteMasterOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/quotation/delete/{id}": { |
| | | "/api/quotation/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除报价单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteQuotation" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/saleChance/delete/{id}": { |
| | | "/api/saleChance/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除销售机会", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteSaleChance" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/saleChance/push": { |
| | | "put": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SaleChance" |
| | | ], |
| | | "summary": "推进销售机会", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.PushSaleChance" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesDetails 销售明细" |
| | | ], |
| | | "summary": "批量删除销售明细", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesDetails/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesRefund" |
| | | "销售退款单" |
| | | ], |
| | | "summary": "添加销售退款", |
| | | "parameters": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesRefund/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "销售退款单" |
| | | ], |
| | | "summary": "批量删除销售退款单", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesRefund/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesRefund" |
| | | "销售退款单" |
| | | ], |
| | | "summary": "删除销售退款", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesRefund" |
| | | "销售退款单" |
| | | ], |
| | | "summary": "销售退款单列表", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesRefund" |
| | | "销售退款单" |
| | | ], |
| | | "summary": "更新销售退款", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturn" |
| | | "销售退货单" |
| | | ], |
| | | "summary": "添加销售退货", |
| | | "parameters": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturn/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "销售退货单" |
| | | ], |
| | | "summary": "批量删除销售退货单", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/salesReturn/delete/{id}": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturn" |
| | | "销售退货单" |
| | | ], |
| | | "summary": "删除销售退货", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturn" |
| | | "销售退货单" |
| | | ], |
| | | "summary": "销售退货单列表", |
| | | "parameters": [ |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "SalesReturn" |
| | | "销售退货单" |
| | | ], |
| | | "summary": "更新销售退货", |
| | | "parameters": [ |
| | |
| | | "tags": [ |
| | | "ServiceContract" |
| | | ], |
| | | "summary": "删除服务合同", |
| | | "summary": "批量删除服务合同", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteServiceContract" |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | "合同状态" |
| | | ], |
| | | "summary": "添加服务合同状态", |
| | | "summary": "添加合同状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | "合同状态" |
| | | ], |
| | | "summary": "删除服务合同状态", |
| | | "summary": "删除合同状态", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | "合同状态" |
| | | ], |
| | | "summary": "获取服务合同状态列表", |
| | | "summary": "获取合同状态列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ServiceContractStatusKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ServiceContractStatusQueryClassExpireLessThen60Days" |
| | | ], |
| | | "name": "queryClass", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "$ref": "#/definitions/response.ListResponse" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.ServiceContractStatusResponse" |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContractStatus" |
| | | "合同状态" |
| | | ], |
| | | "summary": "更新服务合同状态", |
| | | "summary": "更新合同状态", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractStatuss" |
| | | "$ref": "#/definitions/request.UpdateServiceContractStatus" |
| | | } |
| | | } |
| | | ], |
| | |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.AddServiceOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/serviceOrder/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "服务单" |
| | | ], |
| | | "summary": "批量删除服务单", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.CommonIds" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/subOrder/delete/{id}": { |
| | | "/api/subOrder/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除子订单", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "查询参数", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteSubOrder" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ] |
| | | }, |
| | | "constvar.RefundSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | | 1 |
| | | ], |
| | | "x-enum-comments": { |
| | | "RefundSourceTypeSalesReturn": "销售退货" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "RefundSourceTypeSalesReturn" |
| | | ] |
| | | }, |
| | | "constvar.SalesDetailsKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | |
| | | "SalesDetailsKeywordTypeSignTime", |
| | | "SalesDetailsKeywordTypePrincipal", |
| | | "SalesDetailsKeywordTypeProductName" |
| | | ] |
| | | }, |
| | | "constvar.SalesRefundKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "销售退货单编号", |
| | | "客户名称", |
| | | "退款日期", |
| | | "账户", |
| | | "是否开票", |
| | | "付款方式", |
| | | "销售负责人", |
| | | "修改时间", |
| | | "价税合计" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "SalesRefundKeywordRefundNumber", |
| | | "SalesRefundKeywordClientName", |
| | | "SalesRefundKeywordRefundDate", |
| | | "SalesRefundKeywordAccount", |
| | | "SalesRefundKeywordIsInvoice", |
| | | "SalesRefundKeywordPaymentType", |
| | | "SalesRefundKeywordPrincipal", |
| | | "SalesRefundKeywordUpdateAt", |
| | | "SalesRefundKeywordPriceTotal" |
| | | ] |
| | | }, |
| | | "constvar.SalesReturnKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "销售退货单编号", |
| | | "客户名称", |
| | | "退款日期", |
| | | "状态", |
| | | "退入仓库", |
| | | "应退款", |
| | | "已退款", |
| | | "销售负责人" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "SalesReturnKeywordReturnNumber", |
| | | "SalesReturnKeywordClientName", |
| | | "SalesReturnKeywordReturnDate", |
| | | "SalesReturnKeywordStatus", |
| | | "SalesReturnKeywordRepository", |
| | | "SalesReturnKeywordAmountShouldRefund", |
| | | "SalesReturnKeywordAmountHasRefund", |
| | | "SalesReturnKeywordPrincipal" |
| | | ] |
| | | }, |
| | | "constvar.SalesReturnSourceType": { |
| | |
| | | "ServiceContractQueryClassExpireAfter60Day", |
| | | "ServiceContractQueryClassExpiredBefore15Day", |
| | | "ServiceContractQueryClassExpiredBefore60Day" |
| | | ] |
| | | }, |
| | | "constvar.ServiceContractStatusKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceContractStatusKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.ServiceContractStatusQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceContractStatusQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ServiceFeeKeywordType": { |
| | |
| | | "model.Client": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "business_scope": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "creator_id": { |
| | | "type": "integer" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | |
| | | } |
| | | }, |
| | | "id": { |
| | | "description": "The ID of the item\nexample: 1", |
| | | "type": "integer" |
| | | }, |
| | | "industry": { |
| | |
| | | }, |
| | | "service_member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.CollectionProjection": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "creator": { |
| | | "type": "integer" |
| | | }, |
| | | "estimated_collection_amount": { |
| | | "type": "number" |
| | | }, |
| | | "estimated_collection_date": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "The ID of the item\nexample: 1", |
| | | "type": "integer" |
| | | }, |
| | | "modifier": { |
| | | "type": "integer" |
| | | }, |
| | | "sale_chance_id": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Contact": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | }, |
| | | "is_first": { |
| | | "type": "boolean" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | |
| | | "is_first": { |
| | | "type": "boolean" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "model.ContactInformation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.Contract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "_": { |
| | | "description": "The date when the item was deleted\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "created_at": { |
| | | "description": "The date when the item was created\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "description": "The ID of the item\nexample: 1", |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | |
| | | }, |
| | | "statusId": { |
| | | "type": "integer" |
| | | }, |
| | | "updated_at": { |
| | | "description": "The date when the item was last updated\nexample: 2023-08-10 15:48:25", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "model.CustomerServiceSheet": { |
| | | "type": "object", |
| | | "properties": { |
| | | "handleStatus": { |
| | | "type": "integer" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "priority": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceFollowupId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceMode": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "client_status": { |
| | | "$ref": "#/definitions/model.ClientStatus" |
| | | }, |
| | | "client_status_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "record": { |
| | | "type": "string" |
| | | }, |
| | | "sale_chance": { |
| | | "$ref": "#/definitions/model.SaleChance" |
| | | }, |
| | | "sale_chance_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sales_leads": { |
| | | "$ref": "#/definitions/model.SalesLeads" |
| | | }, |
| | | "sales_leads_id": { |
| | | "type": "integer" |
| | |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotation_status": { |
| | | "$ref": "#/definitions/model.QuotationStatus" |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | |
| | | "client_id": { |
| | | "type": "integer" |
| | | }, |
| | | "collection_projections": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.CollectionProjection" |
| | | } |
| | | }, |
| | | "competitors": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "key_maker": { |
| | | "type": "string" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "possibilities_id": { |
| | | "type": "integer" |
| | | }, |
| | | "possibility": { |
| | | "$ref": "#/definitions/model.Possibility" |
| | | }, |
| | | "process": { |
| | | "type": "string" |
| | |
| | | "region_id": { |
| | | "type": "integer" |
| | | }, |
| | | "regular_customers": { |
| | | "$ref": "#/definitions/model.RegularCustomers" |
| | | }, |
| | | "regular_customers_id": { |
| | | "type": "integer" |
| | | }, |
| | | "remark": { |
| | | "type": "string" |
| | | }, |
| | | "sale_stage": { |
| | | "$ref": "#/definitions/model.SaleStage" |
| | | }, |
| | | "sale_stage_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sale_type": { |
| | | "$ref": "#/definitions/model.SaleType" |
| | | }, |
| | | "sale_type_id": { |
| | | "type": "integer" |
| | | }, |
| | | "salesSources": { |
| | | "sales_sources": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | }, |
| | | "sales_sources_id": { |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "region_id": { |
| | | "type": "integer" |
| | | }, |
| | | "sales_sources": { |
| | | "$ref": "#/definitions/model.SalesSources" |
| | | }, |
| | | "sales_sources_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "model.SalesRefund": { |
| | | "type": "object", |
| | | "properties": { |
| | | "accountId": { |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "isInvoice": { |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundMethod": { |
| | | "type": "string" |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售退货)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "$ref": "#/definitions/model.SalesReturnStatus" |
| | | } |
| | | ] |
| | | }, |
| | | "amountHasRefund": { |
| | | "description": "已退款金额", |
| | | "type": "number" |
| | | }, |
| | | "amountShouldRefund": { |
| | | "description": "应退款金额", |
| | | "type": "number" |
| | | }, |
| | | "client": { |
| | | "$ref": "#/definitions/model.Client" |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | | "customerServiceSheet": { |
| | | "$ref": "#/definitions/model.CustomerServiceSheet" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "satisfactionId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceOrder": { |
| | | "$ref": "#/definitions/model.ServiceOrder" |
| | | }, |
| | | "serviceOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "solveRate": { |
| | | "$ref": "#/definitions/model.SolveRate" |
| | |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contract": { |
| | | "$ref": "#/definitions/model.Contract" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "orderManage": { |
| | | "$ref": "#/definitions/model.OrderManage" |
| | | }, |
| | | "priorityLevel": { |
| | | "$ref": "#/definitions/model.PriorityLevel" |
| | | }, |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "$ref": "#/definitions/model.Product" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | "saleChanceId": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "salesDetails": { |
| | | "$ref": "#/definitions/model.SalesDetails" |
| | | }, |
| | | "salesDetailsId": { |
| | | "description": "销售明细id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceContract": { |
| | | "$ref": "#/definitions/model.ServiceContract" |
| | | }, |
| | | "serviceContractId": { |
| | | "description": "服务合同id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceMan": { |
| | | "description": "服务人员", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "masterOrder": { |
| | | "$ref": "#/definitions/model.MasterOrder" |
| | | }, |
| | | "masterOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "member": { |
| | | "$ref": "#/definitions/model.User" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.AddCollectionProjection": { |
| | | "type": "object", |
| | | "properties": { |
| | | "estimated_collection_amount": { |
| | | "description": "预计收款金额", |
| | | "type": "number" |
| | | }, |
| | | "estimated_collection_time": { |
| | | "description": "预计收款时间", |
| | | "type": "string" |
| | | }, |
| | | "sale_chance_id": { |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | |
| | | }, |
| | | "request.AddServiceContractStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | |
| | | "satisfaction": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceId": { |
| | | "serviceOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "solveRate": { |
| | |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | |
| | | "description": "故障类别id", |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "priorityLevelId": { |
| | | "description": "优先级别id", |
| | | "type": "integer" |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | | "type": "integer" |
| | |
| | | "serviceNumber": { |
| | | "description": "服务单编号", |
| | | "type": "string" |
| | | }, |
| | | "serviceOrderStatusId": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "serviceTypeId": { |
| | | "description": "服务方式id", |
| | |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.CheckClientName": { |
| | | "type": "object", |
| | | "properties": { |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.CommonIds": { |
| | | "type": "object", |
| | | "required": [ |
| | | "ids" |
| | | ], |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.Contact": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteContract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteCountry": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | }, |
| | | "request.DeleteFollowRecord": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteMasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteSalesLeads": { |
| | | "request.DeleteQuotation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteServiceContract": { |
| | | "request.DeleteSaleChance": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteSalesLeads": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | |
| | | } |
| | | }, |
| | | "request.DeleteServiceFollowup": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteSubOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\", \"is_first\": \"是否是首要联系人\"}", |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\", \"is_first\": \"是否是首要联系人\", \"client_id\": \"clientId 用于返回首要联系人\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | |
| | | "request.GetContractList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{} {\"member_name\": \"销售负责人\", \"number\": \"合同编号\", \"created_at\": \"创建时间\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\"}", |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"topic\": \"跟进主题\", \"member_name\": \"跟进人\", \"client_name\": \"客户名称\", \"client_status\": \"客户状态\", \"follow_time\": \"跟进时间\", \"next_follow_time\": \"下次跟进时间\", \"record\": \"跟进记录\", \"phone\": \"联系人电话\", \"contact_name\": \"联系人姓名\", \"sales_leads_id\": \"销售线索id\", \"sale_chance_id\": \"销售机会id\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | |
| | | "request.GetMasterOrderList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"销售总单号\", \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"start_time\": \"开始时间\", \"end_time\": \"结束时间\", \"money\": \"总金额\", \"member_name\": \"负责人\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | |
| | | "request.GetQuotationList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"sale_chance_id\": 销售线索id, \"client_name\": \"客户名称\", \"member_name\": \"销售负责人\", \"contact_name\": \"联系人\", \"validity_date\": \"有效期\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | | "request.GetSaleChanceList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"机会名称\", \"client_name\": \"客户名称\",\"number\":\"编号\", \"contact_name\":\"联系人姓名\", \"member_name\": \"销售负责人\", \"status\": \"状态\", \"sale_stage\": \"阶段\", \"possibilities\": \"可能性\", \"expected_time\": \"预计成交时间\", \"budget\": \"资金绝对值\", \"projected_amount\": \"预计合同金额\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.SalesRefundKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.SalesReturnKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "serviceOrderId": { |
| | | "description": "服务回访单id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "queryClass": { |
| | | "$ref": "#/definitions/constvar.ServiceOrderQueryClass" |
| | | }, |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetSubOrderList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "search_map": { |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"number\": \"销售子单号\", \"client_name\": \"客户名称\", \"master_order_number\": \"销售总单号\", \"member_name\": \"销售负责人\", \"master_order_id\": \"销售总单id\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "subOrderId": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.PushSaleChance": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "step" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "step": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | |
| | | }, |
| | | "request.SalesRefund": { |
| | | "type": "object", |
| | | "required": [ |
| | | "sourceId", |
| | | "sourceType" |
| | | ], |
| | | "properties": { |
| | | "accountId": { |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "clientId": { |
| | | "type": "integer" |
| | | }, |
| | | "isInvoice": { |
| | | "type": "integer" |
| | | "type": "string" |
| | | }, |
| | | "memberId": { |
| | | "type": "integer" |
| | | }, |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | |
| | | "refundDate": { |
| | | "type": "string" |
| | | }, |
| | | "refundMethod": { |
| | | "type": "string" |
| | | "sourceId": { |
| | | "description": "源单id", |
| | | "type": "integer" |
| | | }, |
| | | "sourceType": { |
| | | "description": "来源类型(1销售退款单)", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | }, |
| | |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateClientType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateCollectionProjection": { |
| | | "type": "object", |
| | | "properties": { |
| | | "estimated_collection_amount": { |
| | | "description": "预计收款金额", |
| | | "type": "number" |
| | | }, |
| | | "estimated_collection_time": { |
| | | "description": "预计收款时间", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "number": { |
| | | "type": "string" |
| | | }, |
| | | "products": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Product" |
| | | } |
| | | }, |
| | | "quotation_status_id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "收款金额", |
| | | "type": "number" |
| | | }, |
| | | "bankAccount": { |
| | | "$ref": "#/definitions/model.BankAccount" |
| | | }, |
| | | "bankAccountId": { |
| | | "description": "账户id", |
| | | "type": "integer" |
| | |
| | | "description": "币种", |
| | | "type": "string" |
| | | }, |
| | | "paymentType": { |
| | | "$ref": "#/definitions/model.PaymentType" |
| | | }, |
| | | "paymentTypeId": { |
| | | "description": "收款方式ID", |
| | | "type": "integer" |
| | | }, |
| | | "principal": { |
| | | "description": "负责人id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "负责人id", |
| | |
| | | }, |
| | | "request.UpdateServiceContractStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id", |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.UpdateServiceContractStatuss": { |
| | | "type": "object", |
| | | "required": [ |
| | | "service_contract_status" |
| | | ], |
| | | "properties": { |
| | | "service_contract_status": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/request.UpdateServiceContractStatus" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | }, |
| | | "contact": { |
| | | "$ref": "#/definitions/request.Contact" |
| | | }, |
| | | "contact_id": { |
| | | "description": "联系人ID", |
| | | "type": "integer" |
| | | }, |
| | | "country_id": { |
| | | "type": "integer" |
| | |
| | | "satisfaction": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceId": { |
| | | "serviceOrderId": { |
| | | "type": "integer" |
| | | }, |
| | | "solveRate": { |
| | |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "contractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "orderId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "priorityLevelId": { |
| | | "description": "优先级别id", |
| | | "type": "integer" |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | "description": "销售机会id", |
| | | "type": "integer" |
| | | }, |
| | | "salesDetailsId": { |
| | | "description": "销售订单id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractId": { |
| | | "description": "合同id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | | "type": "integer" |
| | |
| | | "serviceNumber": { |
| | | "description": "服务单编号", |
| | | "type": "string" |
| | | }, |
| | | "serviceOrderStatusId": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "serviceTypeId": { |
| | | "description": "服务方式id", |
| | |
| | | "solutionRemark": { |
| | | "description": "内部备注", |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "description": "处理状态", |
| | | "type": "integer" |
| | | }, |
| | | "subject": { |
| | | "description": "主题", |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ClientType" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ContactInformationResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ContactInformation" |
| | | } |
| | | } |
| | | } |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ServiceContractStatusResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | } |
| | | } |
| | | } |