king
2022-02-10 55cbccfdfd8cecce96a7e9e748ca45421e3b86b2
2022-02-10
11个文件已修改
53 ■■■■ 已修改文件
src/components/mk-icon/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/index.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/carousel/data-card/index.scss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/carousel/prop-card/index.scss 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/normalheader/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/tabs/antv-tabs/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/tabs/antv-tabs/options.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/tabs/antv-tabs/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/mob/components/tabs/antv-tabs/options.jsx 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/index.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/mutilform/index.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/mk-icon/index.jsx
@@ -12,8 +12,6 @@
  DownloadOutlined,
  StepBackwardOutlined,
  StepForwardOutlined,
  FastBackwardOutlined,
  FastForwardOutlined,
  DoubleRightOutlined,
  DoubleLeftOutlined,
  ForwardOutlined,
@@ -242,8 +240,6 @@
  'download': (props) => <DownloadOutlined {...props} />,
  'step-backward': (props) => <StepBackwardOutlined {...props} />,
  'step-forward': (props) => <StepForwardOutlined {...props} />,
  'fast-backward': (props) => <FastBackwardOutlined {...props} />,
  'fast-forward': (props) => <FastForwardOutlined {...props} />,
  'double-right': (props) => <DoubleRightOutlined {...props} />,
  'double-left': (props) => <DoubleLeftOutlined {...props} />,
  'forward': (props) => <ForwardOutlined {...props} />,
src/index.js
@@ -77,6 +77,7 @@
    GLOB.lineColor = config.lineColor || ''
    GLOB.licenseKey = config.licenseKey || ''
    GLOB.probation = false
    GLOB.watermark = config.watermark !== false
    if (config.externalDatabase !== false && config.externalDatabase !== 'false' && config.externalDatabase !== undefined) {
      GLOB.externalDatabase = config.externalDatabase ? `[${config.externalDatabase}]..` : ''
@@ -126,7 +127,7 @@
          systemApi = systemApi.replace(/\/?$/, '/webapi/dostars')
        }
        if (systemApi.indexOf('sso.mk9h.cn') > -1 && process.env.NODE_ENV === 'production') {
        if (systemApi.indexOf('sso.mk9h.cn') > -1 && GLOB.watermark) {
          GLOB.dataFormat = true
        }
      
src/menu/components/carousel/data-card/index.scss
@@ -76,12 +76,12 @@
    }
  }
}
.menu-carousel-edit-box::after {
.menu-data-carousel-edit-box::after {
  display: block;
  content: ' ';
  clear: both;
}
.menu-carousel-edit-box:hover {
.menu-data-carousel-edit-box:hover {
  z-index: 1;
  box-shadow: 0px 0px 4px #1890ff;
}
src/menu/components/carousel/prop-card/index.scss
@@ -81,12 +81,12 @@
    }
  }
}
.menu-prop-card-edit-box::after {
.menu-prop-carousel-edit-box::after {
  display: block;
  content: ' ';
  clear: both;
}
.menu-prop-card-edit-box:hover {
.menu-prop-carousel-edit-box:hover {
  z-index: 1;
  box-shadow: 0px 0px 4px #1890ff;
}
src/menu/components/share/normalheader/index.jsx
@@ -53,7 +53,7 @@
  changeStyle = () => {
    const { config } = this.props
    let options = ['font', 'border']
    let options = ['font', 'border', 'background']
    if (config.type === 'menubar') {
      options.push('padding')
    }
src/menu/components/tabs/antv-tabs/index.jsx
@@ -315,6 +315,7 @@
    editab.label = res.label
    editab.icon = res.icon
    // editab.hasSearch = res.hasSearch || ''
    editab.hide = res.hide || 'false'
    editab.backgroundColor = res.backgroundColor
    editab.controlVal = res.controlVal || ''
    editab.blacklist = res.blacklist
@@ -373,7 +374,7 @@
                  <CloseOutlined className="close" onClick={() => this.delTab(tab)} />
                </div>
              } trigger="hover">
                <span>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>
                <span style={{textDecoration: tab.hide === 'true' ? 'line-through' : 'none'}}>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>
              </Popover>
            } key={tab.uuid} style={{backgroundColor: tab.backgroundColor || 'transparent'}}>
              {/* {appType === 'mob' && tabs.setting.position === 'top' && tabs.setting.display === 'inline-block' && tab.hasSearch === 'icon' ?
src/menu/components/tabs/antv-tabs/options.jsx
@@ -68,6 +68,18 @@
      span: 22
    },
    {
      type: 'radio',
      field: 'hide',
      label: '隐藏',
      initval: tab.hide || 'false',
      required: false,
      options: [
        {value: 'false', label: '否'},
        {value: 'true', label: '是'},
      ],
      span: 22
    },
    {
      type: 'multiselect',
      field: 'blacklist',
      label: '黑名单',
src/mob/components/tabs/antv-tabs/index.jsx
@@ -338,6 +338,7 @@
    editab.label = res.label
    editab.icon = res.icon
    // editab.hasSearch = res.hasSearch || ''
    editab.hide = res.hide || 'false'
    editab.backgroundColor = res.backgroundColor
    editab.blacklist = res.blacklist
@@ -404,7 +405,7 @@
                  <CloseOutlined className="close" onClick={() => this.delTab(tab)} />
                </div>
              } trigger="hover">
                <span style={_tabStyle}>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>
                <span style={{..._tabStyle, textDecoration: tab.hide === 'true' ? 'line-through' : 'none'}}>{tab.icon ? <MkIcon type={tab.icon} /> : null}{tab.label}</span>
              </Popover>
            } key={tab.uuid} style={{backgroundColor: tab.backgroundColor || 'transparent'}}>
              {/* {appType === 'mob' && tabs.setting.display === 'inline-block' && tab.hasSearch === 'icon' ?
src/mob/components/tabs/antv-tabs/options.jsx
@@ -56,6 +56,18 @@
      span: 22
    },
    {
      type: 'radio',
      field: 'hide',
      label: '隐藏',
      initval: tab.hide || 'false',
      required: false,
      options: [
        {value: 'false', label: '否'},
        {value: 'true', label: '是'},
      ],
      span: 22
    },
    {
      type: 'multiselect',
      field: 'blacklist',
      label: '黑名单',
src/tabviews/custom/index.jsx
@@ -475,6 +475,8 @@
            tab.blacklist.filter(v => roleId.indexOf(v) > -1).length > 0
          ) {
            return false
          } else if (tab.hide === 'true') {
            return false
          }
          return true
        })
src/tabviews/zshare/mutilform/index.jsx
@@ -153,8 +153,12 @@
          newval = newval === 'Invalid date' ? '$empty' : newval
        }
        if (newval === '$empty' && item.initval) {
          if (item.initval === '0') {
            newval = moment().format('YYYY-MM-DD HH:mm:ss')
          } else {
          newval = moment().subtract(item.initval, 'days').format('YYYY-MM-DD') + ' 00:00:00'
        }
        }
      } else if (item.type === 'switch') { // 开关只接收固定值
        if (newval !== '$empty' && (newval === item.closeVal || newval === item.openVal)) {