From e543372cc70a19ff2630c79d8421c2c593e54e5f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 02 六月 2021 17:15:21 +0800 Subject: [PATCH] 2021-06-02 --- src/utils/option.js | 221 +++++++++++++++++++------------------------------------ 1 files changed, 77 insertions(+), 144 deletions(-) diff --git a/src/utils/option.js b/src/utils/option.js index d267be0..406f0ae 100644 --- a/src/utils/option.js +++ b/src/utils/option.js @@ -4,6 +4,7 @@ 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 rolemanage from '@/assets/img/rolemanage.jpg' const _dict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS @@ -17,6 +18,7 @@ numbermsg: '璇疯緭鍏ユ暟瀛楋紒', lettermsg: '璇疯緭鍏ュ瓧姣嶏紒', letternummsg: '璇疯緭鍏ユ暟瀛楁垨瀛楁瘝锛�', + quotemsg: '涓嶅彲浣跨敤鑻辨枃鐘舵�佺殑鍗曞紩鍙凤紒', funcname: '璇疯緭鍏ユ暟瀛椼�佸瓧姣嶃�佹眽瀛椾互鍙奯' }, field: { // 瀛楁鍚� @@ -78,13 +80,30 @@ isSystem: true }, { + title: '鑷畾涔�', + type: 'CustomPage', + url: customImg, + baseconfig: '', + isSystem: true + }, + { title: '瑙掕壊鏉冮檺鍒嗛厤', type: 'RolePermission', url: rolemanage, isSystem: true, hidden: true + }, + { + title: '澶栭儴椤甸潰', + type: 'NewPage', + url: customImg, + baseconfig: '', + isSystem: true } ] + +// 鍥捐〃鑹茬郴 +export const chartColors = ['rgb(91, 143, 249)', 'rgb(90, 216, 166)', 'rgb(93, 112, 146)', 'rgb(246, 189, 22)', 'rgb(232, 100, 82)', 'rgb(109, 200, 236)', 'rgb(148, 95, 185)', 'rgb(246, 189, 22)', 'rgb(205, 221, 253)', 'rgb(248, 208, 203)'] // 鏃ユ湡榛樿鍊奸�夋嫨鑼冨洿 export const dateOptions = { @@ -191,9 +210,6 @@ // 鎸夐挳鍥炬爣闆� export const btnIcons = [{ - value: '', - text: 'unset' -}, { value: 'plus', text: 'plus' }, { @@ -253,6 +269,21 @@ }, { value: 'unlock', text: 'unlock' +}, { + value: 'right', + text: 'right' +}, { + value: 'left', + text: 'left' +}, { + value: 'double-right', + text: 'double-right' +}, { + value: 'double-left', + text: 'double-left' +}, { + value: 'search', + text: 'search' }] // 鎸夐挳棰滆壊闆� @@ -307,6 +338,36 @@ }, { 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 = [ @@ -442,6 +503,7 @@ 'magenta-8': '#9e1068', 'magenta-9': '#780650', 'magenta-10': '#520339', + 'transparent': 'transparent', 'gray-1': '#f5f5f5', 'gray-2': '#f0f0f0', 'gray-3': '#d9d9d9', @@ -591,6 +653,7 @@ value: 'Gray', label: '涓�ц壊', children: [ + { value: 'transparent', label: 'transparent' }, { value: 'gray-2', label: 'gray-2' }, { value: 'gray-4', label: 'gray-4' }, { value: 'gray-6', label: 'gray-6' }, @@ -602,12 +665,10 @@ export const minkeIconSystem = { direction: [ - 'step-backward', - 'step-forward', - 'fast-backward', - 'fast-forward', - 'shrink', - 'arrows-alt', + 'arrow-up', + 'arrow-down', + 'arrow-left', + 'arrow-right', 'down', 'up', 'left', @@ -616,17 +677,12 @@ 'caret-down', 'caret-left', 'caret-right', - 'up-circle', - 'down-circle', - 'left-circle', - 'right-circle', + 'step-backward', + 'step-forward', + 'fast-backward', + 'fast-forward', 'double-right', 'double-left', - 'vertical-left', - 'vertical-right', - 'vertical-align-top', - 'vertical-align-middle', - 'vertical-align-bottom', 'forward', 'backward', 'rollback', @@ -635,34 +691,9 @@ 'swap', 'swap-left', 'swap-right', - 'arrow-up', - 'arrow-down', - 'arrow-left', - 'arrow-right', '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', 'fullscreen', 'fullscreen-exit' ], @@ -671,25 +702,18 @@ 'question-circle', 'plus', 'plus-circle', - 'pause', 'pause-circle', 'minus', 'minus-circle', - 'plus-square', - 'minus-square', - 'info', 'info-circle', - 'exclamation', 'exclamation-circle', 'close', 'close-circle', - 'close-square', 'check', 'check-circle', 'check-square', 'clock-circle', 'warning', - 'issues-close', 'stop' ], edit: [ @@ -699,33 +723,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', @@ -734,66 +739,26 @@ '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', @@ -801,42 +766,19 @@ 'audio', 'bank', 'bell', - 'book', 'bug', - 'bulb', - 'calculator', - 'build', 'calendar', 'camera', - 'car', - 'carry-out', 'cloud', - 'code', 'compass', - 'contacts', - 'container', - 'control', 'credit-card', - 'crown', 'customer-service', 'dashboard', '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', @@ -844,22 +786,13 @@ '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', @@ -868,12 +801,12 @@ 'smile', 'star', 'thunderbolt', - 'trophy', 'unlock', 'barcode', 'key', 'man', 'woman', + 'team', 'poweroff', 'search', 'shopping-cart', -- Gitblit v1.8.0