| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/assign/assign": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "Assign" |
| | | ], |
| | | "summary": "审核", |
| | | "parameters": [ |
| | | { |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.Assign" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | | "schema": { |
| | | "$ref": "#/definitions/contextx.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api/authority/add": { |
| | | "post": { |
| | | "security": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api/client/delete/{id}": { |
| | | "/api/client/delete": { |
| | | "delete": { |
| | | "produces": [ |
| | | "application/json" |
| | |
| | | "summary": "删除客户", |
| | | "parameters": [ |
| | | { |
| | | "type": "integer", |
| | | "description": "客户ID", |
| | | "name": "id", |
| | | "in": "path", |
| | | "required": true |
| | | "description": "查询参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.DeleteClient" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | |
| | | "tags": [ |
| | | "FollowRecord" |
| | | ], |
| | | "summary": "跟进记录列表", |
| | | "summary": "回访记录列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | |
| | | } |
| | | }, |
| | | "/api/serviceContract/list": { |
| | | "get": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "ServiceContract" |
| | | ], |
| | | "summary": "服务合同列表", |
| | | "summary": "生成计划列表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.GetServiceContractList" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "OK", |
| | |
| | | "SalesStatusFail", |
| | | "SalesStatusLevelUptoClient", |
| | | "SalesStatusLevelUptoClientAndSalesChance" |
| | | ] |
| | | }, |
| | | "constvar.ServiceContractKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "服务合同编号", |
| | | "客户名称", |
| | | "签约日期", |
| | | "合同类型", |
| | | "合同状态", |
| | | "负责人", |
| | | "产品名称", |
| | | "服务开始日", |
| | | "服务到期日", |
| | | "价税合计" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceContractKeywordContractNo", |
| | | "ServiceContractKeywordCustomerName", |
| | | "ServiceContractKeywordContractDate", |
| | | "ServiceContractKeywordContractType", |
| | | "ServiceContractKeywordContractStatus", |
| | | "ServiceContractKeywordPrincipal", |
| | | "ServiceContractKeywordProductName", |
| | | "ServiceContractKeywordServiceBeginDate", |
| | | "ServiceContractKeywordServiceEndDate", |
| | | "ServiceContractKeywordServiceTotalPrice" |
| | | ] |
| | | }, |
| | | "constvar.ServiceContractQueryClass": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "30天后过期", |
| | | "60天后过期", |
| | | "已过期15天", |
| | | "已过期60天" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceContractQueryClassExpireAfter30Day", |
| | | "ServiceContractQueryClassExpireAfter60Day", |
| | | "ServiceContractQueryClassExpiredBefore15Day", |
| | | "ServiceContractQueryClassExpiredBefore60Day" |
| | | ] |
| | | }, |
| | | "constvar.ServiceFollowupKeywordType": { |
| | | "type": "string", |
| | | "enum": [ |
| | | "回访单编号", |
| | | "客户名称", |
| | | "联系人姓名", |
| | | "客户服务单", |
| | | "回访人", |
| | | "满意度" |
| | | ], |
| | | "x-enum-varnames": [ |
| | | "ServiceFollowupKeywordFollowupNo", |
| | | "ServiceFollowupKeywordCustomerName", |
| | | "ServiceFollowupKeywordContactName", |
| | | "ServiceFollowupKeywordCustomerServiceNo", |
| | | "ServiceFollowupKeywordVisitor", |
| | | "ServiceFollowupKeywordSatisfactionDegree" |
| | | ] |
| | | }, |
| | | "constvar.UserType": { |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.Assign": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "member_id": { |
| | | "type": "integer" |
| | | }, |
| | | "type": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.CasbinInfo": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "wechat": { |
| | | "description": "微信号", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.DeleteClient": { |
| | | "type": "object", |
| | | "properties": { |
| | | "ids": { |
| | | "type": "array", |
| | | "items": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | } |
| | | }, |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.GetServiceContractList": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.ServiceContractKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | }, |
| | | "queryClass": { |
| | | "$ref": "#/definitions/constvar.ServiceContractQueryClass" |
| | | } |
| | | } |
| | | }, |
| | | "request.GetServiceFeeManageList": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "keywordType": { |
| | | "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | |
| | | "response.ServiceContractsResponse": { |
| | | "type": "object", |
| | | "properties": { |
| | | "count": { |
| | | "type": "integer" |
| | | }, |
| | | "list": { |
| | | "type": "array", |
| | | "items": { |