king
2025-03-24 1563e2ef18b013bb7bb5781a22e7d92f40454f69
2025-03-24
9个文件已修改
65 ■■■■ 已修改文件
src/assets/css/main.scss 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardcomponent/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/cardsimplecomponent/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/doublecardcomponent/index.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/normalbutton/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/codemirror/index.jsx 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/templates/zshare/modalform/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/main.scss
@@ -680,7 +680,9 @@
  }
  .ant-calendar-selected-day .ant-calendar-date {
    background: var(--mk-sys-color2);
    background: var(--mk-sys-color1);
    color: var(--mk-sys-color);
    border-color: var(--mk-sys-color);
  }
  .ant-calendar-today-btn {
    color: var(--mk-sys-color);
src/menu/components/card/cardcomponent/index.jsx
@@ -294,12 +294,22 @@
          field: item.field || '',
          width: item.span || 12,
          value: '',
          style: {marginBottom: '15px'}
          style: {marginBottom: '15px', color: 'rgba(0, 0, 0, 0.85)'}
        }
        if (item.type === 'number') {
          cell.eleType = 'number'
          cell.decimal = typeof(item.decimal) === 'number' ? item.decimal : ''
        } else if (item.type === 'split') {
          cell.width = 24
          cell.prefix = ''
          cell.value = item.label || ''
          cell.style = {
            color: '#1890ff',
            marginBottom: '15px',
            borderBottomWidth: '1px',
            borderBottomColor: '#e9e9e9'
          }
        }
        items.push(cell)
src/menu/components/card/cardsimplecomponent/index.jsx
@@ -210,12 +210,22 @@
          field: item.field || '',
          width: item.span || 12,
          value: '',
          style: {marginBottom: '15px'}
          style: {marginBottom: '15px', color: 'rgba(0, 0, 0, 0.85)'}
        }
        if (item.type === 'number') {
          cell.eleType = 'number'
          cell.decimal = typeof(item.decimal) === 'number' ? item.decimal : ''
        } else if (item.type === 'split') {
          cell.width = 24
          cell.prefix = ''
          cell.value = item.label || ''
          cell.style = {
            color: '#1890ff',
            marginBottom: '15px',
            borderBottomWidth: '1px',
            borderBottomColor: '#e9e9e9'
          }
        }
        items.push(cell)
src/menu/components/card/doublecardcomponent/index.jsx
@@ -231,12 +231,22 @@
          field: item.field || '',
          width: item.span || 12,
          value: '',
          style: {marginBottom: '15px'}
          style: {marginBottom: '15px', color: 'rgba(0, 0, 0, 0.85)'}
        }
        if (item.type === 'number') {
          cell.eleType = 'number'
          cell.decimal = typeof(item.decimal) === 'number' ? item.decimal : ''
        } else if (item.type === 'split') {
          cell.width = 24
          cell.prefix = ''
          cell.value = item.label || ''
          cell.style = {
            color: '#1890ff',
            marginBottom: '15px',
            borderBottomWidth: '1px',
            borderBottomColor: '#e9e9e9'
          }
        }
        items.push(cell)
src/tabviews/zshare/actionList/normalbutton/index.jsx
@@ -4131,8 +4131,13 @@
            _item.value = _item.value.replace(/(^\s*|\s*$)/g, '')
          }
        }
        if (_item.type === 'text' && /@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 特殊字段替换
          _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey).replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')).replace(/^(\s*)@bid@(\s*)$/ig, (BID || ''))
        if (_item.type === 'text') {
          if (/@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 特殊字段替换
            _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey).replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')).replace(/^(\s*)@bid@(\s*)$/ig, (BID || ''))
          }
          if (/@currentYear@/ig.test(_item.value)) { // 系统变量替换
            _item.value = _item.value.replace(/@currentYear@/ig, moment().format('YYYY'))
          }
        }
        if (_item.type === 'text' && item.lenControl && item.lenControl !== 'limit') {
          if (item.lenControl === 'left') {
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -2354,8 +2354,13 @@
            _item.value = _item.value.replace(/(^\s*|\s*$)/g, '')
          }
        }
        if (_item.type === 'text' && /@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 特殊字段替换
          _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey).replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')).replace(/^(\s*)@bid@(\s*)$/ig, (this.props.BID || ''))
        if (_item.type === 'text') {
          if (/@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 特殊字段替换
            _item.value = _item.value.replace(/^(\s*)@appkey@(\s*)$/ig, window.GLOB.appkey).replace(/^(\s*)@SessionUid@(\s*)$/ig, (localStorage.getItem('SessionUid') || '')).replace(/^(\s*)@bid@(\s*)$/ig, (this.props.BID || ''))
          }
          if (/@currentYear@/ig.test(_item.value)) { // 系统变量替换
            _item.value = _item.value.replace(/@currentYear@/ig, moment().format('YYYY'))
          }
        }
        if (_item.type === 'text' && item.lenControl && item.lenControl !== 'limit') {
          if (item.lenControl === 'left') {
src/tabviews/zshare/mutilform/index.jsx
@@ -346,6 +346,9 @@
      item.rules = []
      if (item.type === 'text') {
        item.initval = item.initval + ''
        if (/@currentYear@/ig.test(item.initval)) { // 系统变量替换
          item.initval = item.initval.replace(/@currentYear@/ig, moment().format('YYYY'))
        }
        if (item.required === 'true') {
          item.rules.push({
src/templates/zshare/codemirror/index.jsx
@@ -145,6 +145,9 @@
    })
    _sql = _sql.replace(/,\n\s*/g, ',')
    _sql = _sql.replace(/@db@\s+[a-zA-Z]/g, (w) => {
      return w.replace(/\s+/g, '')
    })
    this.setState({display: false, defaultVal: _sql}, () => {
      this.setState({display: true})
src/templates/zshare/modalform/index.jsx
@@ -152,6 +152,7 @@
      if (this.record.interception === 'func') {
        shows.push('func')
      }
      reTooltip.initval = '系统变量:@currentYear@(当前年份)'
    } else if (type === 'number') {
      reTypes.initval = 'number'
      reRequired.initval = true