king
2021-11-18 36fac93d3f73ff3f0b2289f25cea5ec6b737d42b
2021-11-18
4个文件已修改
28 ■■■■■ 已修改文件
src/menu/components/share/actioncomponent/actionform/index.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/edit-table/columns/editColumn/index.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/table/normal-table/columns/editColumn/index.jsx 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -272,6 +272,8 @@
        if (item.key === 'intertype') {
          _fieldval.intertype = 'system'
        } else if (item.key === 'popClose' && value === 'popview') {
          _fieldval.popClose = 'grid'
        } else if (item.key === 'Ot') {
          if (type === 'card') {
            item.options = this.state.requireOptions.filter(op => ['notRequired', 'requiredSgl'].includes(op.value))
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -137,7 +137,7 @@
    opentypes = opentypes.filter(item => item.value !== 'popview' && item.value !== 'funcbutton')
    refresh.push({
      value: 'popclose',
      text: '标签刷新'
      text: '刷新源组件'
    })
  }
@@ -379,7 +379,7 @@
      key: 'execSuccess',
      label: Formdict['model.form.afterSuccess'],
      initVal: card.execSuccess || 'never',
      tooltip: refresh.length ? '执行标签刷新时,会同步刷新当前组件和上级组件-行。' : '刷新上级组件-行时,会同步刷新当前组件,注:上级组件在数据源中添加。',
      tooltip: refresh.length ? '执行刷新源组件时,请在源按钮中设置关闭后刷新那一项,注:此时会同步刷新当前组件和上级组件-行。' : '刷新上级组件-行时,会同步刷新当前组件,注:上级组件在数据源中添加。',
      required: true,
      options: [{
        value: 'never',
@@ -395,7 +395,7 @@
        text: '刷新上级组件 - 行'
      }, {
        value: !appType ? 'closetab' : 'goback',
        text: !appType ? '关闭标签' : '返回(上一个页面)'
        text: !appType ? '关闭弹窗' : '返回(上一个页面)'
      },
      ...refresh]
    },
@@ -404,7 +404,7 @@
      key: 'execError',
      label: Formdict['model.form.afterError'],
      initVal: card.execError || 'never',
      tooltip: refresh.length ? '执行标签关闭刷新时,会同步刷新当前组件和上级组件-行。' : '刷新上级组件-行时,会同步刷新当前组件,注:上级组件在数据源中添加。',
      tooltip: refresh.length ? '执行刷新源组件时,请在源按钮中设置关闭后刷新那一项,注:此时会同步刷新当前组件和上级组件-行。' : '刷新上级组件-行时,会同步刷新当前组件,注:上级组件在数据源中添加。',
      required: true,
      options: [{
        value: 'never',
src/menu/components/table/edit-table/columns/editColumn/index.jsx
@@ -62,16 +62,17 @@
        return item
      })
    }, () => {
      if (column.focus) {
    })
    if (column.focus) {
      setTimeout(() => {
        try {
          let _form = document.getElementById('label')
          _form && _form.select()
        } catch (e) {
          console.warn('表单focus失败!')
        }
      }
    })
      }, 200)
    }
  }
  typeChange = (key, value, option) => {
src/menu/components/table/normal-table/columns/editColumn/index.jsx
@@ -62,16 +62,17 @@
        return item
      })
    }, () => {
      if (column.focus) {
    })
    if (column.focus) {
      setTimeout(() => {
        try {
          let _form = document.getElementById('label')
          _form && _form.select()
        } catch (e) {
          console.warn('表单focus失败!')
        }
      }
    })
      }, 200)
    }
  }
  typeChange = (key, value, option) => {