From 08cce3334a2dc81d690b518136b0aaea64e48b0b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 14 六月 2023 09:55:50 +0800
Subject: [PATCH] 2023-06-14

---
 src/utils/option.js |   64 ++++++-------------------------
 1 files changed, 13 insertions(+), 51 deletions(-)

diff --git a/src/utils/option.js b/src/utils/option.js
index ca6a857..e771dfe 100644
--- a/src/utils/option.js
+++ b/src/utils/option.js
@@ -157,6 +157,8 @@
     {value: '[7, -7]', text: '鍓嶅悗涓冨ぉ'},
     {value: '[30, -30]', text: '鍓嶅悗30澶�'},
     {value: '[90, -90]', text: '鍓嶅悗90澶�'},
+    {value: '[180, -180]', label: '鍓嶅悗180澶�'},
+    {value: '[365, -365]', label: '鍓嶅悗365澶�'},
     {value: '[-1, -1]', text: '鏄庡ぉ'},
     {value: '[-2, -2]', text: '鍚庡ぉ'},
     {value: 'week', text: '鏈懆'},
@@ -188,7 +190,7 @@
 
 // 鍖归厤瑙勫垯
 export const matchReg = {
-  text: [{
+  class1: [{
     value: 'like',
     text: 'like'
   }, {
@@ -210,20 +212,7 @@
     value: '<=',
     text: '<='
   }],
-  multiselect: [{
-    value: 'like',
-    text: 'like'
-  }, {
-    value: 'not like',
-    text: 'not like'
-  }],
-  select: [{
-    value: 'like',
-    text: 'like'
-  }, {
-    value: 'not like',
-    text: 'not like'
-  }, {
+  class2: [{
     value: '=',
     text: '='
   }, {
@@ -239,7 +228,14 @@
     value: '<=',
     text: '<='
   }],
-  date: [{
+  class3: [{
+    value: 'like',
+    text: 'like'
+  }, {
+    value: 'not like',
+    text: 'not like'
+  }],
+  class4: [{
     value: '>=',
     text: '>='
   }, {
@@ -249,11 +245,7 @@
     value: '=',
     text: '='
   }],
-  datemonth: [{
-    value: 'between',
-    text: 'between'
-  }],
-  daterange: [{
+  class5: [{
     value: 'between',
     text: 'between'
   }]
@@ -389,36 +381,6 @@
 }, {
   value: 'border-purple',
   text: '鐧藉簳绱'
-}]
-
-// 鎸夐挳棰滆壊闆�
-export const btnCustomClasses = [{
-  value: 'primary',
-  text: '钃濊壊'
-}, {
-  value: 'yellow',
-  text: '榛勮壊'
-}, {
-  value: 'orange',
-  text: '姗欒壊'
-}, {
-  value: 'danger',
-  text: '绾㈣壊'
-}, {
-  value: 'green',
-  text: '缁胯壊'
-}, {
-  value: 'dgreen',
-  text: '娣辩豢鑹�'
-}, {
-  value: 'purple',
-  text: '绱壊'
-}, {
-  value: 'cyan',
-  text: '闈掕壊'
-}, {
-  value: 'gray',
-  text: '鐏拌壊'
 }]
 
 export const calendarColors = [

--
Gitblit v1.8.0