From 6e9274c27ffc8fe7f41e2c3c06a239d4c3fb09e5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 02 八月 2023 14:38:15 +0800 Subject: [PATCH] 增加服务回访单搜索条件 --- docs/docs.go | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 166 insertions(+), 9 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 73dae90..827d7ce 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -135,6 +135,36 @@ } } }, + "/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": [ @@ -471,7 +501,7 @@ } } }, - "/api/client/delete/{id}": { + "/api/client/delete": { "delete": { "produces": [ "application/json" @@ -482,11 +512,13 @@ "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": { @@ -2108,7 +2140,7 @@ "tags": [ "FollowRecord" ], - "summary": "璺熻繘璁板綍鍒楄〃", + "summary": "鍥炶璁板綍鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -5685,14 +5717,25 @@ } }, "/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", @@ -7057,6 +7100,67 @@ "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": { @@ -9743,6 +9847,20 @@ } } }, + "request.Assign": { + "type": "object", + "properties": { + "id": { + "type": "integer" + }, + "member_id": { + "type": "integer" + }, + "type": { + "type": "string" + } + } + }, "request.CasbinInfo": { "type": "object", "properties": { @@ -9861,6 +9979,17 @@ "wechat": { "description": "寰俊鍙�", "type": "string" + } + } + }, + "request.DeleteClient": { + "type": "object", + "properties": { + "ids": { + "type": "array", + "items": { + "type": "integer" + } } } }, @@ -10137,6 +10266,28 @@ } } }, + "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": { @@ -10158,6 +10309,9 @@ "properties": { "keyword": { "type": "string" + }, + "keywordType": { + "$ref": "#/definitions/constvar.ServiceFollowupKeywordType" }, "page": { "description": "椤电爜", @@ -13020,6 +13174,9 @@ "response.ServiceContractsResponse": { "type": "object", "properties": { + "count": { + "type": "integer" + }, "list": { "type": "array", "items": { -- Gitblit v1.8.0