From cdd5b449130ea4d7223fde4f414a11a7d0c33d6d Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 07 三月 2024 17:52:16 +0800
Subject: [PATCH] 2024-03-07

---
 src/utils/option.js |   44 +++++++++++++++++++++++++++-----------------
 1 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/src/utils/option.js b/src/utils/option.js
index 2d60bbf..54180b1 100644
--- a/src/utils/option.js
+++ b/src/utils/option.js
@@ -1,7 +1,4 @@
 import nortable from '@/assets/img/normaltable.jpg'
-// import mainsubtable from '@/assets/img/mainsubtable.jpg'
-import treepage from '@/assets/img/treepage.jpg'
-import calendar from '@/assets/img/calendar.jpg'
 import customImg from '@/assets/img/custom.jpg'
 import newpage from '@/assets/img/newpage.jpg'
 import rolemanage from '@/assets/img/rolemanage.jpg'
@@ -74,20 +71,13 @@
     baseconfig: '',
     isSystem: true
   },
-  {
-    title: '鏍戝舰椤甸潰',
-    type: 'TreePage',
-    url: treepage,
-    baseconfig: '',
-    isSystem: true
-  },
-  {
-    title: '鏃ュ巻',
-    type: 'CalendarPage',
-    url: calendar,
-    baseconfig: '',
-    isSystem: true
-  },
+  // {
+  //   title: '鏍戝舰椤甸潰',
+  //   type: 'TreePage',
+  //   url: treepage,
+  //   baseconfig: '',
+  //   isSystem: true
+  // },
   {
     title: '澶栭儴椤甸潰',
     type: 'NewPage',
@@ -154,13 +144,17 @@
     {value: '[3, 0]', text: '杩戜笁澶�'},
     {value: '[7, 0]', text: '杩戜竷澶�'},
     {value: '[30, 0]', text: '杩�30澶�'},
+    {value: '[90, 0]', text: '杩�90澶�'},
     {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: '鏈懆'},
     {value: 'month', text: '鏈湀'},
+    {value: 'lastMonth', text: '涓婃湀'},
   ],
   datetime: [
     {value: '', text: '绌�'},
@@ -246,6 +240,13 @@
   class5: [{
     value: 'between',
     text: 'between'
+  }],
+  class6: [{
+    value: 'between',
+    text: 'between'
+  }, {
+    value: '=',
+    text: '='
   }]
 }
 
@@ -909,3 +910,12 @@
 }
 
 export const queryTableSql = 'select top 999999 TbName,Remark from (select TbName,Remark from sDataDictb where appkey= @appkey@ and Deleted=0 union select a.TbName,Remark from (select TbName,Remark from sDataDictb where appkey= \'\' and Deleted=0 ) a left join (select TbName from sDataDictb where appkey= @appkey@ and Deleted=0 ) b on a.TbName=b.TbName where b.TbName is null ) t order by TbName'
+
+export const queryPrintSql = `select ID,Images,PrintTempNO+PrintTempName as PN from sPrintTemplate 
+  where appkey= @appkey@ and Deleted=0 and typechartwo='web_print'
+  union select ID,Images,a.PrintTempNO+PrintTempName as PN 
+  from (select * from sPrintTemplate where appkey= '' and Deleted=0 and typechartwo='web_print') a 
+  left join (select PrintTempNO from sPrintTemplate where appkey= @appkey@ and Deleted=0 ) b 
+  on a.PrintTempNO=b.PrintTempNO 
+  left join (select Srcid from sPrintTemplate_Log where appkey='' and apicode= @appkey@ and Deleted=0 ) c 
+  on a.ID=c.Srcid where b.PrintTempNO is null and c.Srcid is null`
\ No newline at end of file

--
Gitblit v1.8.0