king
2023-06-15 a29d9d644a2a30e9ef4afcc6d728c20c218dc359
src/utils/option.js
@@ -45,15 +45,15 @@
// 系统模板
export const sysTemps = [
  // {
  //   title: '基础表格',
  //   type: 'CommonTable',
  //   url: nortable,
  //   baseconfig: '',
  //   isSystem: true
  // },
  {
    title: '基础表格',
    type: 'CommonTable',
    url: nortable,
    baseconfig: '',
    isSystem: true
  },
  {
    title: '基础表格(新)',
    type: 'BaseTable',
    url: nortable,
    baseconfig: '',
@@ -157,6 +157,8 @@
    {value: '[7, -7]', text: '前后七天'},
    {value: '[30, -30]', text: '前后30天'},
    {value: '[90, -90]', text: '前后90天'},
    {value: '[180, -180]', label: '前后180天'},
    {value: '[365, -365]', label: '前后365天'},
    {value: '[-1, -1]', text: '明天'},
    {value: '[-2, -2]', text: '后天'},
    {value: 'week', text: '本周'},
@@ -188,7 +190,7 @@
// 匹配规则
export const matchReg = {
  text: [{
  class1: [{
    value: 'like',
    text: 'like'
  }, {
@@ -210,20 +212,7 @@
    value: '<=',
    text: '<='
  }],
  multiselect: [{
    value: 'like',
    text: 'like'
  }, {
    value: 'not like',
    text: 'not like'
  }],
  select: [{
    value: 'like',
    text: 'like'
  }, {
    value: 'not like',
    text: 'not like'
  }, {
  class2: [{
    value: '=',
    text: '='
  }, {
@@ -239,7 +228,14 @@
    value: '<=',
    text: '<='
  }],
  date: [{
  class3: [{
    value: 'like',
    text: 'like'
  }, {
    value: 'not like',
    text: 'not like'
  }],
  class4: [{
    value: '>=',
    text: '>='
  }, {
@@ -249,11 +245,7 @@
    value: '=',
    text: '='
  }],
  datemonth: [{
    value: 'between',
    text: 'between'
  }],
  daterange: [{
  class5: [{
    value: 'between',
    text: 'between'
  }]
@@ -389,36 +381,6 @@
}, {
  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 = [