| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | |
| | | "summary": "获取收款单列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "type": "string", |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ], |
| | | "name": "keywordType", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "name": "sourceId", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "enum": [ |
| | | "" |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | ], |
| | | "type": "string", |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "ReceiptSourceTypeChuKuDan": "出库单it", |
| | | "ReceiptSourceTypeCollectionPlan": "收款计划", |
| | | "ReceiptSourceTypeInvoice": "销售发票", |
| | | "ReceiptSourceTypeSalesDetails": "销售明细单", |
| | | "ReceiptSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | "ReceiptSourceTypeSalesDetails", |
| | | "ReceiptSourceTypeServiceContract", |
| | | "ReceiptSourceTypeInvoice", |
| | | "ReceiptSourceTypeCollectionPlan", |
| | | "ReceiptSourceTypeChuKuDan" |
| | | ], |
| | | "name": "queryClass", |
| | | "name": "sourceType", |
| | | "in": "query" |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/request.AddSalesDetails" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "服务合同id", |
| | | "name": "serviceContractId", |
| | | "in": "query" |
| | | "name": "sourceId", |
| | | "in": "query", |
| | | "required": true |
| | | }, |
| | | { |
| | | "enum": [ |
| | | 1, |
| | | 2 |
| | | ], |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "CollectionSourceTypeSaleDetails": "销售明细", |
| | | "CollectionSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "CollectionSourceTypeSaleDetails", |
| | | "CollectionSourceTypeServiceContract" |
| | | ], |
| | | "name": "sourceType", |
| | | "in": "query", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "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" |
| | | } |
| | | } |
| | | ], |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": { |
| | |
| | | "PaymentTypeQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptKeywordCustomerName" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ReceiptQueryClassExpireLessThen60Days" |
| | | ] |
| | | }, |
| | | "constvar.ReceiptSourceType": { |
| | | "type": "integer", |
| | | "enum": [ |
| | |
| | | 4, |
| | | 5 |
| | | ], |
| | | "x-enum-comments": { |
| | | "ReceiptSourceTypeChuKuDan": "出库单it", |
| | | "ReceiptSourceTypeCollectionPlan": "收款计划", |
| | | "ReceiptSourceTypeInvoice": "销售发票", |
| | | "ReceiptSourceTypeSalesDetails": "销售明细单", |
| | | "ReceiptSourceTypeServiceContract": "服务合同" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "ReceiptSourceTypeSalesDetails", |
| | | "ReceiptSourceTypeServiceContract", |
| | |
| | | "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" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "quotationId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatus": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | }, |
| | | "statusId": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "contact_id": { |
| | | "type": "integer" |
| | | }, |
| | | "contact_information": { |
| | | "$ref": "#/definitions/model.ContactInformation" |
| | | }, |
| | | "contact_information_id": { |
| | | "type": "integer" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "signTime": { |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | }, |
| | | "wechatOrderStatus": { |
| | | "$ref": "#/definitions/model.WechatOrderStatus" |
| | | }, |
| | |
| | | "type": "integer" |
| | | }, |
| | | "desc": { |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "type": "string" |
| | | }, |
| | | "followRecord": { |
| | |
| | | "model.SalesRefund": { |
| | | "type": "object", |
| | | "properties": { |
| | | "Source": { |
| | | "$ref": "#/definitions/model.SalesReturn" |
| | | }, |
| | | "amountTotal": { |
| | | "description": "价税合计", |
| | | "type": "number" |
| | |
| | | "$ref": "#/definitions/constvar.RefundSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "$ref": "#/definitions/constvar.SalesReturnSourceType" |
| | | } |
| | | ] |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "description": "收款负责人ID", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "endTime": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "terms": { |
| | | "type": "string" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | |
| | | "contactId": { |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "file": { |
| | | "type": "string" |
| | | }, |
| | |
| | | }, |
| | | "timelyRateId": { |
| | | "type": "integer" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "联系人id", |
| | | "type": "integer" |
| | | }, |
| | | "createTime": { |
| | | "type": "string" |
| | | }, |
| | | "creatorName": { |
| | | "type": "string" |
| | | }, |
| | | "expectTime": { |
| | | "description": "希望处理时间", |
| | | "type": "string" |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "product": { |
| | | "$ref": "#/definitions/model.Product" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | "serviceContractId": { |
| | | "description": "服务合同id", |
| | | "type": "integer" |
| | | }, |
| | | "serviceMan": { |
| | | "description": "服务人员", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "serviceManId": { |
| | | "description": "服务人员", |
| | |
| | | "timeSpentId": { |
| | | "description": "花费时间", |
| | | "type": "integer" |
| | | }, |
| | | "updateTime": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "物料类型", |
| | | "type": "string" |
| | | }, |
| | | "MaxInventory": { |
| | | "description": "最大库存", |
| | | "type": "integer" |
| | | }, |
| | | "MinInventory": { |
| | | "description": "安全库存", |
| | | "type": "integer" |
| | | }, |
| | | "Name": { |
| | | "type": "string" |
| | | }, |
| | | "Node": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "Number": { |
| | |
| | | "SalePrice": { |
| | | "description": "销售价格", |
| | | "type": "number" |
| | | }, |
| | | "Specs": { |
| | | "description": "规格", |
| | | "type": "string" |
| | | }, |
| | | "Type": { |
| | | "description": "型号", |
| | | "type": "string" |
| | | }, |
| | | "Unit": { |
| | | "type": "string" |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "member_id": { |
| | | "description": "销售负责人ID", |
| | | "type": "integer" |
| | |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "request.AddServiceContractStatus": { |
| | | "type": "object", |
| | | "required": [ |
| | | "name" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "name": { |
| | | "type": "string" |
| | | } |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteContract": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteCountry": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteMasterOrder": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteOrderManage": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteQuotation": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteSaleChance": { |
| | | "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\": \"重要级别\"}", |
| | | "description": "搜索条件: map[string]interface{}{\"name\": \"xxx\"}; {\"name\": \"客户名称\", \"phone\": \"手机号码\", \"detail_address\":\"详细地址\", \"next_visit_time\":\"下回回访日期\", \"member_name\": \"销售负责人\", \"client_status\": \"客户状态\", \"client_level\": \"重要级别\",\"representative\": \"法定代表人\", \"registration_time\": \"注册时间\", \"business_scope\": \"经营范围\", \"remark\": \"备注\", \"not_admin\":\"1:我的客户; 2:admin客户\"}", |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | |
| | | "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 |
| | | } |
| | |
| | | "description": "账户id", |
| | | "type": "integer" |
| | | }, |
| | | "client": { |
| | | "description": "客户id", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.Client" |
| | | } |
| | | ] |
| | | }, |
| | | "clientId": { |
| | | "description": "客户id", |
| | | "type": "integer" |
| | |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "detail_address": { |
| | | "description": "详细地址", |
| | | "type": "string" |
| | | }, |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | "description": "比例", |
| | | "type": "number" |
| | | }, |
| | | "principal": { |
| | | "description": "收款负责人ID", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/model.User" |
| | | } |
| | | ] |
| | | }, |
| | | "principalId": { |
| | | "description": "收款负责人ID", |
| | | "type": "integer" |
| | |
| | | "salesDetailsId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractStatusId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceContractTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "serviceTimes": { |
| | | "type": "integer" |
| | | }, |
| | |
| | | }, |
| | | "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" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | "description": "问题描述", |
| | | "type": "string" |
| | | }, |
| | | "productId": { |
| | | "description": "产品id", |
| | | "type": "integer" |
| | | "productName": { |
| | | "description": "产品名称", |
| | | "type": "string" |
| | | }, |
| | | "productTypeName": { |
| | | "description": "产品分类名称", |
| | | "type": "string" |
| | | }, |
| | | "realTime": { |
| | | "description": "实际处理时间", |
| | |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.Satisfaction" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "response.ServiceContractStatusResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/model.ServiceContractStatus" |
| | | } |
| | | } |
| | | } |