From f0602b981659c6d1ff18e8dba4ca1ce89c5f5610 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 22 三月 2020 21:18:34 +0800
Subject: [PATCH] 2020-03-22

---
 src/utils/option.js |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/src/utils/option.js b/src/utils/option.js
index 5091a41..19b5658 100644
--- a/src/utils/option.js
+++ b/src/utils/option.js
@@ -2,13 +2,19 @@
 import enUS from '@/locales/en-US/share.js'
 import nortable from '@/assets/img/normaltable.jpg'
 import mainsubtable from '@/assets/img/mainsubtable.jpg'
+import rolemanage from '@/assets/img/rolemanage.jpg'
 
 const _dict =  sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
 
+// 琛ㄥ崟鏍¢獙瑙勫垯
 export const formRule = {
   input: {
     max: 100,
-    message: '杈撳叆妗嗘渶澶�100涓瓧绗︺��'
+    message: '杈撳叆妗嗘渶澶�100涓瓧绗︺��',
+    formMessage: '鏈�澶欯max涓瓧绗︺��', // 鏂囨湰琛ㄥ崟鏈�澶ф彁绀�
+    numbermsg: '璇疯緭鍏ユ暟瀛楋紒',
+    lettermsg: '璇疯緭鍏ュ瓧姣嶏紒',
+    letternummsg: '璇疯緭鍏ユ暟瀛楁垨瀛楁瘝锛�'
   },
   field: { // 瀛楁鍚�
     max: 50,
@@ -36,6 +42,7 @@
   }
 }
 
+// 绯荤粺妯℃澘
 export const sysTemps = [
   {
     title: '鍩虹琛ㄦ牸',
@@ -51,9 +58,17 @@
     baseconfig: '',
     isSystem: true,
     isSubtable: true
+  },
+  {
+    title: '瑙掕壊鏉冮檺鍒嗛厤',
+    type: 'RolePermission',
+    url: rolemanage,
+    isSystem: true,
+    hidden: true
   }
 ]
 
+// 鏃ユ湡榛樿鍊奸�夋嫨鑼冨洿
 export const dateOptions = {
   date: [
     {value: '', text: _dict['date.empty']},
@@ -98,7 +113,8 @@
   ]
 }
 
-export const matchReg = { // 鍖归厤瑙勫垯
+// 鍖归厤瑙勫垯
+export const matchReg = {
   text: [{
     value: 'like',
     text: 'like'
@@ -139,6 +155,7 @@
   }]
 }
 
+// 鎸夐挳鍥炬爣闆�
 export const btnIcons = [{
   value: '',
   text: 'unset'
@@ -180,6 +197,7 @@
   text: 'step-forward'
 }]
 
+// 鎸夐挳棰滆壊闆�
 export const btnClasses = [{
   value: 'default',
   text: '榛樿锛堥粦杈圭櫧搴曪級'
@@ -232,3 +250,5 @@
   value: 'border-purple',
   text: '鐧藉簳绱'
 }]
+
+export const queryTableSql = 'select 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'

--
Gitblit v1.8.0