king
2021-01-20 0227c25e4ed573d3095ada3f9c9a4ba5f18b0de5
src/utils/option.js
@@ -4,7 +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 customImg from '@/assets/img/custom.jpg'
import rolemanage from '@/assets/img/rolemanage.jpg'
const _dict =  sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS
@@ -18,6 +18,7 @@
    numbermsg: '请输入数字!',
    lettermsg: '请输入字母!',
    letternummsg: '请输入数字或字母!',
    quotemsg: '不可使用英文状态的单引号!',
    funcname: '请输入数字、字母、汉字以及_'
  },
  field: { // 字段名
@@ -78,21 +79,31 @@
    baseconfig: '',
    isSystem: true
  },
  // {
  //   title: '自定义',
  //   type: 'CustomPage',
  //   url: customImg,
  //   baseconfig: '',
  //   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 = {
@@ -200,7 +211,7 @@
// 按钮图标集
export const btnIcons = [{
  value: '',
  text: 'unset'
  text: '无'
}, {
  value: 'plus',
  text: 'plus'
@@ -261,6 +272,18 @@
}, {
  value: 'unlock',
  text: 'unlock'
}, {
  value: 'right',
  text: 'right'
}, {
  value: 'left',
  text: 'left'
}, {
  value: 'double-right',
  text: 'double-right'
}, {
  value: 'double-left',
  text: 'double-left'
}]
// 按钮颜色集
@@ -315,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 = [
@@ -612,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',
@@ -626,6 +677,12 @@
    'caret-down',
    'caret-left',
    'caret-right',
    'step-backward',
    'step-forward',
    'fast-backward',
    'fast-forward',
    'shrink',
    'arrows-alt',
    'up-circle',
    'down-circle',
    'left-circle',
@@ -645,10 +702,6 @@
    'swap',
    'swap-left',
    'swap-right',
    'arrow-up',
    'arrow-down',
    'arrow-left',
    'arrow-right',
    'play-circle',
    'up-square',
    'down-square',