king
2020-11-16 3ca91a731665962918a026f521c556f4745ebf35
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
@@ -78,19 +78,26 @@
    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
  }
]
@@ -200,7 +207,7 @@
// 按钮图标集
export const btnIcons = [{
  value: '',
  text: 'unset'
  text: '无'
}, {
  value: 'plus',
  text: 'plus'
@@ -261,6 +268,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'
}]
// 按钮颜色集
@@ -317,6 +336,36 @@
  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 = [
  {name: 'red', value: '#d0021b'},
  {name: 'orange', value: '#f5a623'},