From a5bc394eceeaae5923057f1fd919968fd234af23 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 27 五月 2025 17:59:57 +0800
Subject: [PATCH] 2025-05-27

---
 src/utils/option.js |   92 +++++++++++++++++++++++----------------------
 1 files changed, 47 insertions(+), 45 deletions(-)

diff --git a/src/utils/option.js b/src/utils/option.js
index e025897..8d52262 100644
--- a/src/utils/option.js
+++ b/src/utils/option.js
@@ -79,41 +79,41 @@
   date: [
     {value: '', text: '绌�'},
     {value: '0', text: '浠婂ぉ'},
-    {value: 1, text: '鏄ㄥぉ'},
-    {value: 2, text: '鍓嶅ぉ'},
-    {value: 3, text: '鍓嶄笁澶�'},
-    {value: 7, text: '鍓嶄竷澶�'},
-    {value: 30, text: '鍓�30澶�'},
-    {value: 90, text: '鍓�90澶�'},
-    {value: 7300, text: '鍓�20骞�'},
-    {value: -1, text: '鏄庡ぉ'},
-    {value: -2, text: '鍚庡ぉ'},
-    {value: -3, text: '鍚庝笁澶�'},
-    {value: -7, text: '鍚庝竷澶�'},
-    {value: -30, text: '鍚�30澶�'},
-    {value: -90, text: '鍚�90澶�'},
-    {value: -180, text: '鍚庡崐骞�'},
-    {value: -365, text: '鍚�1骞�'},
-    {value: -1095, text: '鍚�3骞�'},
-    {value: -1825, text: '鍚�5骞�'},
-    {value: -3650, text: '鍚�10骞�'},
-    {value: -7300, text: '鍚�20骞�'},
+    {value: '1', text: '鏄ㄥぉ'},
+    {value: '2', text: '鍓嶅ぉ'},
+    {value: '3', text: '鍓嶄笁澶�'},
+    {value: '7', text: '鍓嶄竷澶�'},
+    {value: '30', text: '鍓�30澶�'},
+    {value: '90', text: '鍓�90澶�'},
+    {value: '7300', text: '鍓�20骞�'},
+    {value: '-1', text: '鏄庡ぉ'},
+    {value: '-2', text: '鍚庡ぉ'},
+    {value: '-3', text: '鍚庝笁澶�'},
+    {value: '-7', text: '鍚庝竷澶�'},
+    {value: '-30', text: '鍚�30澶�'},
+    {value: '-90', text: '鍚�90澶�'},
+    {value: '-180', text: '鍚庡崐骞�'},
+    {value: '-365', text: '鍚�1骞�'},
+    {value: '-1095', text: '鍚�3骞�'},
+    {value: '-1825', text: '鍚�5骞�'},
+    {value: '-3650', text: '鍚�10骞�'},
+    {value: '-7300', text: '鍚�20骞�'},
   ],
   dateweek: [
     {value: '', text: '绌�'},
     {value: '0', text: '鏈懆'},
-    {value: 1, text: '涓婂懆'},
-    {value: 3, text: '鍓嶄笁鍛�'},
-    {value: 7, text: '鍓嶄竷鍛�'},
-    {value: -1, text: '涓嬪懆'}
+    {value: '1', text: '涓婂懆'},
+    {value: '3', text: '鍓嶄笁鍛�'},
+    {value: '7', text: '鍓嶄竷鍛�'},
+    {value: '-1', text: '涓嬪懆'}
   ],
   datemonth: [
     {value: '', text: '绌�'},
     {value: '0', text: '鏈湀'},
-    {value: 1, text: '涓婃湀'},
-    {value: 3, text: '鍓嶄笁鏈�'},
-    {value: 7, text: '鍓嶄竷鏈�'},
-    {value: -1, text: '涓嬫湀'}
+    {value: '1', text: '涓婃湀'},
+    {value: '3', text: '鍓嶄笁鏈�'},
+    {value: '7', text: '鍓嶄竷鏈�'},
+    {value: '-1', text: '涓嬫湀'}
   ],
   daterange: [
     {value: '', text: '绌�'},
@@ -133,28 +133,30 @@
     {value: 'week', text: '鏈懆'},
     {value: 'month', text: '鏈湀'},
     {value: 'lastMonth', text: '涓婃湀'},
+    {value: 'year', text: '鏈勾'},
+    {value: 'lastYear', text: '涓婂勾'},
   ],
   datetime: [
     {value: '', text: '绌�'},
     {value: '0', text: '褰撳墠'},
-    {value: 1, text: '鏄ㄥぉ'},
-    {value: 3, text: '鍓嶄笁澶�'},
-    {value: 7, text: '鍓嶄竷澶�'},
-    {value: 30, text: '鍓�30澶�'},
-    {value: 90, text: '鍓�90澶�'},
-    {value: 7300, text: '鍓�20骞�'},
-    {value: -1, text: '鏄庡ぉ'},
-    {value: -2, text: '鍚庡ぉ'},
-    {value: -3, text: '鍚庝笁澶�'},
-    {value: -7, text: '鍚庝竷澶�'},
-    {value: -30, text: '鍚�30澶�'},
-    {value: -90, text: '鍚�90澶�'},
-    {value: -180, text: '鍚庡崐骞�'},
-    {value: -365, text: '鍚�1骞�'},
-    {value: -1095, text: '鍚�3骞�'},
-    {value: -1825, text: '鍚�5骞�'},
-    {value: -3650, text: '鍚�10骞�'},
-    {value: -7300, text: '鍚�20骞�'},
+    {value: '1', text: '鏄ㄥぉ'},
+    {value: '3', text: '鍓嶄笁澶�'},
+    {value: '7', text: '鍓嶄竷澶�'},
+    {value: '30', text: '鍓�30澶�'},
+    {value: '90', text: '鍓�90澶�'},
+    {value: '7300', text: '鍓�20骞�'},
+    {value: '-1', text: '鏄庡ぉ'},
+    {value: '-2', text: '鍚庡ぉ'},
+    {value: '-3', text: '鍚庝笁澶�'},
+    {value: '-7', text: '鍚庝竷澶�'},
+    {value: '-30', text: '鍚�30澶�'},
+    {value: '-90', text: '鍚�90澶�'},
+    {value: '-180', text: '鍚庡崐骞�'},
+    {value: '-365', text: '鍚�1骞�'},
+    {value: '-1095', text: '鍚�3骞�'},
+    {value: '-1825', text: '鍚�5骞�'},
+    {value: '-3650', text: '鍚�10骞�'},
+    {value: '-7300', text: '鍚�20骞�'},
   ]
 }
 

--
Gitblit v1.8.0