From c5a0eb549cba2cd358a2d0496c44f3a289f15d9c Mon Sep 17 00:00:00 2001
From: wangpengfei <274878379@qq.com>
Date: 星期一, 28 八月 2023 14:22:06 +0800
Subject: [PATCH] fix

---
 constvar/const.go |   88 ++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 81 insertions(+), 7 deletions(-)

diff --git a/constvar/const.go b/constvar/const.go
index c5420da..b70189e 100644
--- a/constvar/const.go
+++ b/constvar/const.go
@@ -32,16 +32,21 @@
 	UserTypeSub                         // 瀛愯处鎴�
 )
 
+type NotAdmin int
+
+const (
+	NotAdminAll NotAdmin = iota // 鍏捣
+	NotAdminYes                 // 鎴戠殑瀹㈡埛
+)
+
 type SalesStatus int
 
 const (
-	SalesStatusNew                           SalesStatus = iota + 1
-	SalesStatusIng                                       // 杩涜涓�
-	SalesStatusSuccess                                   // 鎴愬姛
-	SalesStatusFail                                      // 澶辫触
-	SalesStatusLevelUptoClient                           // 鍗囩骇涓哄鎴�
-	SalesStatusLevelUptoClientAndSalesChance             // 鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�
-
+	SalesStatusNew                           SalesStatus = iota // 鏂板缓
+	SalesStatusIng                                              // 杩涜涓�
+	SalesStatusLevelUptoClient                                  // 鍗囩骇涓哄鎴�
+	SalesStatusLevelUptoClientAndSalesChance                    // 鍗囩骇涓哄鎴峰苟涓旀湁閿�鍞満浼�
+	SalesStatusFail                          SalesStatus = -1   // 澶辫触
 )
 
 type CurrencyType int
@@ -58,3 +63,72 @@
 const (
 	MenuTypeClient MenuType = "client"
 )
+
+type VettingType int
+
+const (
+	VettingTypeClient VettingType = iota + 1
+	VettingTypeSales
+	VettingTypeSalesChance
+	VettingTypeSalesChanceFollow
+)
+
+type ServiceContractQueryClass string
+
+const (
+	ServiceContractQueryClassExpireAfter30Day   ServiceContractQueryClass = "30澶╁悗杩囨湡"
+	ServiceContractQueryClassExpireAfter60Day   ServiceContractQueryClass = "60澶╁悗杩囨湡"
+	ServiceContractQueryClassExpiredBefore15Day ServiceContractQueryClass = "宸茶繃鏈�15澶�"
+	ServiceContractQueryClassExpiredBefore60Day ServiceContractQueryClass = "宸茶繃鏈�60澶�"
+)
+
+type ServiceContractKeywordType string
+
+const (
+	ServiceContractKeywordContractNo        ServiceContractKeywordType = "鏈嶅姟鍚堝悓缂栧彿"
+	ServiceContractKeywordCustomerName      ServiceContractKeywordType = "瀹㈡埛鍚嶇О"
+	ServiceContractKeywordContractDate      ServiceContractKeywordType = "绛剧害鏃ユ湡"
+	ServiceContractKeywordContractType      ServiceContractKeywordType = "鍚堝悓绫诲瀷"
+	ServiceContractKeywordContractStatus    ServiceContractKeywordType = "鍚堝悓鐘舵��"
+	ServiceContractKeywordPrincipal         ServiceContractKeywordType = "璐熻矗浜�"
+	ServiceContractKeywordProductName       ServiceContractKeywordType = "浜у搧鍚嶇О"
+	ServiceContractKeywordServiceBeginDate  ServiceContractKeywordType = "鏈嶅姟寮�濮嬫棩"
+	ServiceContractKeywordServiceEndDate    ServiceContractKeywordType = "鏈嶅姟鍒版湡鏃�"
+	ServiceContractKeywordServiceTotalPrice ServiceContractKeywordType = "浠风◣鍚堣"
+)
+
+type ServiceFollowupKeywordType string
+
+const (
+	ServiceFollowupKeywordFollowupNo         ServiceFollowupKeywordType = "鍥炶鍗曠紪鍙�"
+	ServiceFollowupKeywordCustomerName       ServiceFollowupKeywordType = "瀹㈡埛鍚嶇О"
+	ServiceFollowupKeywordContactName        ServiceFollowupKeywordType = "鑱旂郴浜哄鍚�"
+	ServiceFollowupKeywordCustomerServiceNo  ServiceFollowupKeywordType = "瀹㈡埛鏈嶅姟鍗�"
+	ServiceFollowupKeywordVisitor            ServiceFollowupKeywordType = "鍥炶浜�"
+	ServiceFollowupKeywordSatisfactionDegree ServiceFollowupKeywordType = "婊℃剰搴�"
+)
+
+type ServiceFeeQueryClass string
+
+const (
+	ServiceFeeQueryClassExpireLessThen60Days ServiceFeeQueryClass = "杩囨湡鏈弧60澶�"
+	ServiceFeeQueryClassExpireLessThen30Days ServiceFeeQueryClass = "杩囨湡鏈弧30澶�"
+	ServiceFeeQueryClassExpireAboutTo60Day   ServiceFeeQueryClass = "鍗冲皢杩囨湡60澶�"
+	ServiceFeeQueryClassExpireAboutTo30Day   ServiceFeeQueryClass = "鍗冲皢杩囨湡30澶�"
+	ServiceFeeQueryClassExpired              ServiceFeeQueryClass = "宸茶繃鏈�"
+	ServiceFeeQueryClassNoService            ServiceFeeQueryClass = "鏃犳湇鍔�"
+)
+
+type ServiceFeeKeywordType string
+
+const (
+	ServiceFeeKeywordCustomerName   ServiceFeeKeywordType = "瀹㈡埛鍚嶇О"
+	ServiceFeeKeywordCustomerType   ServiceFeeKeywordType = "瀹㈡埛绫诲瀷"
+	ServiceFeeKeywordSalesPrincipal ServiceFeeKeywordType = "閿�鍞礋璐d汉"
+	ServiceFeeKeywordCustomerScale  ServiceFeeKeywordType = "瀹㈡埛瑙勬ā"
+	ServiceFeeKeywordClientLevel    ServiceFeeKeywordType = "閲嶈绾у埆"
+	ServiceFeeKeywordCustomerNo     ServiceFeeKeywordType = "瀹㈡埛缂栧彿"
+	ServiceFeeKeywordCustomerStatus ServiceFeeKeywordType = "瀹㈡埛鐘舵��"
+	ServiceFeeKeywordProductName    ServiceFeeKeywordType = "浜у搧鍚嶇О"
+	ServiceFeeKeywordServiceEndDate ServiceFeeKeywordType = "鏈嶅姟鍒版湡鏃�"
+)

--
Gitblit v1.8.0