king
2022-02-09 d59f518f466274b2caeb2e01c10c92deafe7c93b
src/utils/option.js
@@ -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年'},
  ]
}
@@ -673,48 +699,37 @@
    'up',
    'left',
    'right',
    'caret-up',
    'caret-down',
    'caret-left',
    'caret-right',
    'download',
    'upload',
    'step-backward',
    'step-forward',
    'fast-backward',
    'fast-forward',
    'double-right',
    'double-left',
    'forward',
    'backward',
    'rollback',
    'enter',
    'retweet',
    'swap',
    'swap-left',
    'swap-right',
    'play-circle',
    'login',
    'logout',
    'search',
    'fullscreen',
    'fullscreen-exit',
    'download',
    'upload'
  ],
  hint: [
    'question',
    'question-circle',
    'plus',
    'plus-circle',
    'pause-circle',
    'minus',
    'minus-circle',
    'question',
    'question-circle',
    'info-circle',
    'exclamation-circle',
    'close',
    'close-circle',
    'check',
    'check-circle',
    'check-square',
    'clock-circle',
    'warning',
    'stop'
@@ -746,20 +761,6 @@
    'rise',
    'stock',
  ],
  trademark: [
    'android',
    'apple',
    'chrome',
    'aliwangwang',
    'dingding',
    'weibo',
    'twitter',
    'wechat',
    'alipay-circle',
    'taobao',
    'qq',
    'alipay',
  ],
  normal: [
    'user',
    'account-book',
@@ -769,6 +770,7 @@
    'audio',
    'bank',
    'bell',
    'scan',
    'bug',
    'calendar',
    'camera',
@@ -777,6 +779,8 @@
    'credit-card',
    'customer-service',
    'dashboard',
    'ellipsis',
    'more',
    'database',
    'dislike',
    'environment',
@@ -801,6 +805,8 @@
    'phone',
    'picture',
    'red-envelope',
    'setting',
    'tool',
    'smile',
    'star',
    'thunderbolt',
@@ -813,7 +819,108 @@
    'poweroff',
    'shopping-cart',
    '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'