From d59f518f466274b2caeb2e01c10c92deafe7c93b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 09 二月 2022 11:48:29 +0800
Subject: [PATCH] 2022-02-09
---
src/utils/option.js | 359 ++++++++++++++++++++++++++++-------------------------------
1 files changed, 169 insertions(+), 190 deletions(-)
diff --git a/src/utils/option.js b/src/utils/option.js
index 81b642d..3a2d801 100644
--- a/src/utils/option.js
+++ b/src/utils/option.js
@@ -87,18 +87,18 @@
isSystem: true
},
{
- title: '瑙掕壊鏉冮檺鍒嗛厤',
- type: 'RolePermission',
- url: rolemanage,
- isSystem: true,
- hidden: true
- },
- {
title: '澶栭儴椤甸潰',
type: 'NewPage',
url: customImg,
baseconfig: '',
isSystem: true
+ },
+ {
+ title: '瑙掕壊鏉冮檺鍒嗛厤',
+ type: 'RolePermission',
+ url: rolemanage,
+ isSystem: true,
+ hidden: true
}
]
@@ -115,8 +115,20 @@
{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: -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: _dict['model.empty']},
@@ -145,17 +157,31 @@
{value: '[30, -30]', text: '鍓嶅悗30澶�'},
{value: '[90, -90]', text: '鍓嶅悗90澶�'},
{value: '[-1, -1]', text: '鏄庡ぉ'},
- {value: '[-2, -2]', text: '鍚庡ぉ'}
+ {value: '[-2, -2]', text: '鍚庡ぉ'},
+ {value: 'week', text: '鏈懆'},
+ {value: 'month', text: '鏈湀'},
],
datetime: [
{value: '', text: _dict['model.empty']},
- {value: '0', 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: -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骞�'},
]
}
@@ -210,9 +236,6 @@
// 鎸夐挳鍥炬爣闆�
export const btnIcons = [{
- value: '',
- text: '鏃�'
-}, {
value: 'plus',
text: 'plus'
}, {
@@ -284,6 +307,9 @@
}, {
value: 'double-left',
text: 'double-left'
+}, {
+ value: 'search',
+ text: 'search'
}]
// 鎸夐挳棰滆壊闆�
@@ -665,94 +691,47 @@
export const minkeIconSystem = {
direction: [
- 'step-backward',
- 'step-forward',
- 'fast-backward',
- 'fast-forward',
- 'shrink',
- 'arrows-alt',
- 'down',
- 'up',
- 'left',
- 'right',
- 'caret-up',
- 'caret-down',
- 'caret-left',
- 'caret-right',
- 'up-circle',
- 'down-circle',
- 'left-circle',
- 'right-circle',
- 'double-right',
- 'double-left',
- 'vertical-left',
- 'vertical-right',
- 'vertical-align-top',
- 'vertical-align-middle',
- 'vertical-align-bottom',
- 'forward',
- 'backward',
- 'rollback',
- 'enter',
- 'retweet',
- 'swap',
- 'swap-left',
- 'swap-right',
'arrow-up',
'arrow-down',
'arrow-left',
'arrow-right',
+ 'down',
+ 'up',
+ 'left',
+ 'right',
+ 'download',
+ 'upload',
+ 'step-backward',
+ 'step-forward',
+ 'double-right',
+ 'double-left',
+ 'rollback',
+ 'enter',
+ 'retweet',
+ 'swap',
'play-circle',
- 'up-square',
- 'down-square',
- 'left-square',
- 'right-square',
'login',
'logout',
- 'menu-fold',
- 'menu-unfold',
- 'border-bottom',
- 'border-horizontal',
- 'border-inner',
- 'border-outer',
- 'border-left',
- 'border-right',
- 'border-top',
- 'border-verticle',
- 'pic-center',
- 'pic-left',
- 'pic-right',
- 'radius-bottomleft',
- 'radius-bottomright',
- 'radius-upleft',
- 'radius-upright',
+ 'search',
'fullscreen',
- 'fullscreen-exit'
+ 'fullscreen-exit',
],
hint: [
- 'question',
- 'question-circle',
'plus',
'plus-circle',
- 'pause',
'pause-circle',
'minus',
'minus-circle',
- 'plus-square',
- 'minus-square',
- 'info',
+ 'question',
+ 'question-circle',
'info-circle',
- 'exclamation',
'exclamation-circle',
'close',
'close-circle',
- 'close-square',
'check',
'check-circle',
- 'check-square',
'clock-circle',
'warning',
- 'issues-close',
'stop'
],
edit: [
@@ -762,33 +741,14 @@
'scissor',
'delete',
'snippets',
- 'diff',
'highlight',
- 'align-center',
- 'align-left',
- 'align-right',
- 'bg-colors',
- 'bold',
- 'italic',
- 'underline',
- 'strikethrough',
'redo',
'undo',
'zoom-in',
'zoom-out',
- 'font-colors',
- 'font-size',
- 'line-height',
'dash',
- 'small-dash',
'sort-ascending',
- 'sort-descending',
- 'drag',
- 'ordered-list',
- 'unordered-list',
- 'radius-setting',
- 'column-width',
- 'column-height'
+ 'sort-descending'
],
data: [
'area-chart',
@@ -797,66 +757,12 @@
'dot-chart',
'line-chart',
'radar-chart',
- 'heat-map',
'fall',
'rise',
'stock',
- 'box-plot',
- 'fund',
- 'sliders'
- ],
- trademark: [
- 'android',
- 'apple',
- 'windows',
- 'ie',
- 'chrome',
- 'github',
- 'aliwangwang',
- 'dingding',
- 'weibo-square',
- 'weibo-circle',
- 'taobao-circle',
- 'html5',
- 'weibo',
- 'twitter',
- 'wechat',
- 'youtube',
- 'alipay-circle',
- 'taobao',
- 'skype',
- 'qq',
- 'medium-workmark',
- 'gitlab',
- 'medium',
- 'linkedin',
- 'google-plus',
- 'dropbox',
- 'facebook',
- 'codepen',
- 'code-sandbox',
- 'amazon',
- 'google',
- 'codepen-circle',
- 'alipay',
- 'ant-design',
- 'ant-cloud',
- 'aliyun',
- 'zhihu',
- 'slack',
- 'slack-square',
- 'behance',
- 'behance-square',
- 'dribbble',
- 'dribbble-square',
- 'instagram',
- 'yuque',
- 'alibaba',
- 'yahoo',
- 'reddit',
- 'sketch'
],
normal: [
+ 'user',
'account-book',
'alert',
'api',
@@ -864,42 +770,22 @@
'audio',
'bank',
'bell',
- 'book',
+ 'scan',
'bug',
- 'bulb',
- 'calculator',
- 'build',
'calendar',
'camera',
- 'car',
- 'carry-out',
'cloud',
- 'code',
'compass',
- 'contacts',
- 'container',
- 'control',
'credit-card',
- 'crown',
'customer-service',
'dashboard',
+ 'ellipsis',
+ 'more',
'database',
'dislike',
'environment',
- 'experiment',
'eye-invisible',
'eye',
- 'file-add',
- 'file-excel',
- 'file-exclamation',
- 'file-image',
- 'file-markdown',
- 'file-pdf',
- 'file-ppt',
- 'file-text',
- 'file-unknown',
- 'file-word',
- 'file-zip',
'file',
'filter',
'fire',
@@ -907,41 +793,134 @@
'folder-add',
'folder',
'folder-open',
- 'frown',
- 'funnel-plot',
- 'gift',
- 'hdd',
'heart',
'home',
'hourglass',
'idcard',
- 'insurance',
- 'interaction',
- 'layout',
'like',
'lock',
'mail',
- 'medicine-box',
- 'meh',
'message',
'mobile',
'phone',
'picture',
'red-envelope',
+ 'setting',
+ 'tool',
'smile',
'star',
'thunderbolt',
- 'trophy',
'unlock',
'barcode',
'key',
'man',
'woman',
+ 'team',
'poweroff',
- 'search',
'shopping-cart',
- 'link'
+ 'link',
+ 'aim',
+ 'apartment',
+ 'appstore-add',
+ 'audio-mute',
+ 'audit',
+ 'bars',
+ 'block',
+ 'book',
+ 'bulb',
+ 'border',
+ 'number',
+ 'branches',
+ 'build',
+ 'calculator',
+ 'car',
+ 'carry-out',
+ 'ci',
+ 'clear',
+ 'cloud-download',
+ 'cloud-server',
+ 'cloud-sync',
+ 'cloud-upload',
+ 'cluster',
+ 'code',
+ 'coffee',
+ 'comment',
+ 'compress',
+ 'control',
+ 'copyright',
+ 'crown',
+ 'delete-column',
+ 'delete-row',
+ 'delivered-procedure',
+ 'deployment-unit',
+ 'desktop',
+ 'disconnect',
+ 'dollar',
+ 'euro',
+ 'expand',
+ 'export',
+ 'file-add',
+ 'file-done',
+ 'file-image',
+ 'file-pdf',
+ 'file-ppt',
+ 'file-text',
+ 'file-unknown',
+ 'file-word',
+ 'file-zip',
+ 'fork',
+ 'frown',
+ 'funnel-plot',
+ 'gateway',
+ 'gif',
+ 'gift',
+ 'global',
+ 'gold',
+ 'import',
+ 'laptop',
+ 'loading',
+ 'medicine-box',
+ 'meh',
+ 'menu',
+ 'paper-clip',
+ 'partition',
+ 'pay-circle',
+ 'printer',
+ 'pushpin',
+ 'qrcode',
+ 'reload',
+ 'rest',
+ 'robot',
+ 'rotate-left',
+ 'rotate-right',
+ 'safety-certificate',
+ 'save',
+ 'send',
+ 'shake',
+ 'share-alt',
+ 'shop',
+ 'shopping',
+ 'sound',
+ 'sync',
+ 'tag',
+ 'tags',
+ 'trademark',
+ 'trophy',
+ 'usb',
+ 'user-add',
+ 'user-delete',
+ 'user-switch',
+ 'video-camera',
+ 'wifi',
+ 'table',
+ 'apple',
+ 'dingding',
+ 'weibo',
+ 'wechat',
+ 'taobao',
+ 'qq',
+ 'alipay',
]
}
-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'
+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'
--
Gitblit v1.8.0