king
2024-06-06 9be28daa8b377b054127fd78254dfa63d29e3a7b
2024-06-06
10个文件已修改
64 ■■■■ 已修改文件
src/assets/css/main.scss 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/data-card/options.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/card/double-data-card/options.jsx 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/base-table/options.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/edit-table/options.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/normal-table/options.jsx 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/data-card/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/double-data-card/index.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/share/normalTable/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/main.scss
@@ -743,6 +743,7 @@
    background: #fafafa;
  }
  .ant-table-body {
    min-height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    .ant-table-fixed {
      border-bottom: 0;
src/menu/components/card/data-card/options.jsx
@@ -218,8 +218,8 @@
      field: 'zHeight',
      label: '最大高度',
      initval: wrap.zHeight || '',
      tooltip: '卡片内容区的最大高度(不包含标题、翻页等元素),添加高度后组件中第一个属性卡将固定于头部。注:小于等于100时为高度的百分比。',
      min: 10,
      tooltip: '卡片内容区的最大高度(不包含标题、翻页等元素),添加高度后组件中第一个属性卡将固定于头部。注:小于等于100大于0时为高度的百分比,小于0时为窗口高度减去此值。',
      min: -1000,
      max: 3000,
      precision: 0,
      required: false,
src/menu/components/card/double-data-card/options.jsx
@@ -65,8 +65,8 @@
      field: 'zHeight',
      label: '最大高度',
      initval: wrap.zHeight || '',
      tooltip: '卡片内容区的最大高度(不包含标题、翻页等元素),添加高度后组件中第一个属性卡将固定于头部。注:小于等于100时为高度的百分比。',
      min: 10,
      tooltip: '卡片内容区的最大高度(不包含标题、翻页等元素),添加高度后组件中第一个属性卡将固定于头部。注:小于等于100大于0时为高度的百分比,小于0时为窗口高度减去此值。',
      min: -1000,
      max: 3000,
      precision: 0,
      required: false,
src/menu/components/table/base-table/options.jsx
@@ -163,10 +163,10 @@
    {
      type: 'number',
      field: 'height',
      label: '表格高度',
      label: '最大高度',
      initval: wrap.height || '',
      tooltip: '表格内容区的高度(不包含表头),空值时高度自适应。注:小于等于100时为高度的百分比。',
      min: 10,
      tooltip: '表格内容区的最大高度(不包含表头),空值时高度自适应。注:小于等于100大于0时为高度的百分比,小于0时为窗口高度减去此值。',
      min: -1000,
      max: 3000,
      precision: 0,
      required: false,
src/menu/components/table/edit-table/options.jsx
@@ -45,10 +45,10 @@
    {
      type: 'number',
      field: 'height',
      label: '表格高度',
      label: '最大高度',
      initval: wrap.height || '',
      tooltip: '表格内容区的高度(不包含表头),空值时高度自适应。注:小于等于100时为高度的百分比。',
      min: 10,
      tooltip: '表格内容区的最大高度(不包含表头),空值时高度自适应。注:小于等于100大于0时为高度的百分比,小于0时为窗口高度减去此值。',
      min: -1000,
      max: 3000,
      precision: 0,
      required: false
src/menu/components/table/normal-table/options.jsx
@@ -52,10 +52,10 @@
    {
      type: 'number',
      field: 'height',
      label: '表格高度',
      label: '最大高度',
      initval: wrap.height || '',
      tooltip: '表格内容区的高度(不包含表头),空值时高度自适应。注:小于等于100时为高度的百分比。',
      min: 10,
      tooltip: '表格内容区的最大高度(不包含表头),空值时高度自适应。注:小于等于100大于0时为高度的百分比,小于0时为窗口高度减去此值。',
      min: -1000,
      max: 3000,
      precision: 0,
      required: false,
src/tabviews/custom/components/card/data-card/index.jsx
@@ -189,7 +189,14 @@
    }
    if (_config.wrap.zHeight) {
      _config.wrap.zHeight = _config.wrap.zHeight <= 100 ? _config.wrap.zHeight + 'vh' : _config.wrap.zHeight
      if (_config.wrap.zHeight <= 100) {
        if (_config.wrap.zHeight < 0) {
          _config.wrap.zHeight = `calc(100vh - ${-_config.wrap.zHeight}px)`
        } else {
          _config.wrap.zHeight = _config.wrap.zHeight + 'vh'
        }
      }
      if (_config.style) {
        delete _config.style.height
      }
src/tabviews/custom/components/card/double-data-card/index.jsx
@@ -131,7 +131,13 @@
    if (_config.wrap.zHeight || _config.wrap.minWidth) {
      if (_config.wrap.zHeight) {
        _config.wrap.zHeight = _config.wrap.zHeight <= 100 ? _config.wrap.zHeight + 'vh' : _config.wrap.zHeight
        if (_config.wrap.zHeight <= 100) {
          if (_config.wrap.zHeight < 0) {
            _config.wrap.zHeight = `calc(100vh - ${-_config.wrap.zHeight}px)`
          } else {
            _config.wrap.zHeight = _config.wrap.zHeight + 'vh'
          }
        }
        _config.wrap.wrapClass += ' fix-height'
      }
      _config.wrap.minWidth = _config.wrap.minWidth ? _config.wrap.minWidth + 'px' : '100%'
src/tabviews/custom/components/share/normalTable/index.jsx
@@ -1169,8 +1169,14 @@
    }
    let height = setting.height || false
    if (height && height <= 100) {
      height = height + 'vh'
    if (height) {
      if (height <= 100) {
        if (height < 0) {
          height = `calc(100vh - ${-height}px)`
        } else {
          height = height + 'vh'
        }
      }
    }
    let loading = this.props.loading
    if (setting.mask === 'hidden') {
src/tabviews/custom/components/table/edit-table/normalTable/index.jsx
@@ -2653,8 +2653,14 @@
    }
    let height = setting.height || false
    if (height && height <= 100) {
      height = height + 'vh'
    if (height) {
      if (height <= 100) {
        if (height < 0) {
          height = `calc(100vh - ${-height}px)`
        } else {
          height = height + 'vh'
        }
      }
    }
    let style = {