king
2021-12-23 abd77ca3a8013ebadec10d45f3316a19724d4fc7
2021-12-23
14个文件已修改
46 ■■■■■ 已修改文件
src/menu/components/chart/antv-bar/chartcompile/index.jsx 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/chart/antv-bar/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/actionform/index.jsx 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/share/actioncomponent/formconfig.jsx 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/card/cardcellList/index.jsx 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/changeuserbutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/excelInbutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/exceloutbutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/index.jsx 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/newpagebutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/popupbutton/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/printbutton/index.jsx 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/actionList/tabbutton/index.jsx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/zshare/normalTable/index.jsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/menu/components/chart/antv-bar/chartcompile/index.jsx
@@ -206,6 +206,7 @@
        dataIndex: 'title',
        inputType: 'select',
        editable: true,
        required: false,
        width: '12%',
        options: [
          { value: 'true', text: '显示'},
@@ -213,7 +214,7 @@
        ],
        render: (text, record) => {
          let trans = {'true': '显示', 'false': '隐藏'}
          return trans[text] || '显示'
          return trans[text] || ''
        }
      },
      {
src/menu/components/chart/antv-bar/index.jsx
@@ -553,7 +553,7 @@
    })
    let padding = [10, 30, 30, 30]
    if (plot.mutilBar === 'overlap') {
    if (plot.mutilBar === 'overlap' || Bar_axis.length === 1) {
      Bar_axis = []
    }
src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -223,7 +223,9 @@
    if (_Ot !== 'notRequired' && _opentype !== 'excelOut') {
      _options.push('control')
      if (_control) {
      if (_control === 'parent') {
        _options.push('controlVal')
      } else if (_control) {
        _options.push('controlField', 'controlVal')
      }
    }
src/menu/components/share/actioncomponent/formconfig.jsx
@@ -756,6 +756,9 @@
      }, {
        value: 'hidden',
        text: '隐藏'
      // }, {
      //   value: 'parent',
      //   text: '上级'
      }]
    },
    {
@@ -772,7 +775,7 @@
      type: 'text',
      key: 'controlVal',
      label: '控制值',
      tooltip: '当选择控制字段,且字段值与控制值相等时,按钮会隐藏或禁用,多个值用逗号分隔。',
      tooltip: '当选择禁用或隐藏,且字段值与控制值相等时,按钮会隐藏或禁用,多个值用逗号分隔。当选择上级时,默认隐藏,只有主表行信息符合条件时显示,格式为@field@:values,field为主表字段名,values为值多个可用逗号拼接',
      initVal: card.controlVal || '',
      required: false
    },
src/tabviews/custom/components/card/cardcellList/index.jsx
@@ -683,6 +683,7 @@
          <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
            <ExcelInButton
              BID={data.$$BID}
              BData={data.$$BData || ''}
              btn={card}
              show={card.show}
              style={card.style}
@@ -696,6 +697,7 @@
          <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
            <ExcelOutButton
              BID={data.$$BID}
              BData={data.$$BData || ''}
              btn={card}
              show={card.show}
              style={card.style}
@@ -721,6 +723,7 @@
        return (
          <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
            <TabButton
              BData={data.$$BData || ''}
              btn={card}
              show={card.show}
              style={card.style}
@@ -733,6 +736,7 @@
        return (
          <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
            <NewPageButton
              BData={data.$$BData || ''}
              btn={card}
              show={card.show}
              style={card.style}
@@ -747,6 +751,7 @@
            <Col key={card.uuid} className="mk-cell-btn" span={card.width}>
              <ChangeUserButton
                BID={data.$$BID}
                BData={data.$$BData || ''}
                btn={card}
                show={card.show}
                style={card.style}
src/tabviews/zshare/actionList/changeuserbutton/index.jsx
@@ -15,8 +15,8 @@
class NewPageButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 按钮显示样式控制
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    MenuID: PropTypes.any,            // 菜单ID
    BData: PropTypes.any,             // 主表数据
    BID: PropTypes.string,            // 主表ID
    btn: PropTypes.object,            // 按钮
    selectedData: PropTypes.any,      // 子表中选择数据
src/tabviews/zshare/actionList/excelInbutton/index.jsx
@@ -18,8 +18,8 @@
class ExcelInButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 显示样式
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BID: PropTypes.string,            // 主表ID
    BData: PropTypes.any,             // 主表数据
    selectedData: PropTypes.any,      // 子表中选择数据
    Tab: PropTypes.any,               // 如果当前元素为标签时,tab为标签信息
    btn: PropTypes.object,            // 按钮
src/tabviews/zshare/actionList/exceloutbutton/index.jsx
@@ -18,7 +18,7 @@
class ExcelOutButton extends Component {
  static propTpyes = {
    BID: PropTypes.string,            // 主表ID
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BData: PropTypes.any,             // 主表数据
    show: PropTypes.any,              // 显示样式
    Tab: PropTypes.any,               // 如果当前元素为标签时,tab为标签信息
    btn: PropTypes.object,            // 按钮
src/tabviews/zshare/actionList/index.jsx
@@ -49,7 +49,6 @@
            BData={BData}
            setting={setting}
            columns={columns}
            position="toolbar"
            ContainerId={ContainerId}
            selectedData={selectedData}
          />
@@ -62,8 +61,8 @@
            BID={BID}
            Tab={Tab}
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -75,8 +74,8 @@
            BID={BID}
            Tab={Tab}
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
          />
        )
      } else if (item.OpenType === 'popview') {
@@ -89,7 +88,6 @@
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -99,9 +97,9 @@
            key={item.uuid}
            show={item.show || 'actionList'}
            btn={item}
            BData={BData}
            MenuID={MenuID}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -111,8 +109,8 @@
            key={item.uuid}
            show="actionList"
            btn={item}
            BData={BData}
            setting={setting}
            position="toolbar"
            selectedData={selectedData}
          />
        )
@@ -124,9 +122,9 @@
              show={item.show || 'actionList'}
              BID={BID}
              btn={item}
              BData={BData}
              MenuID={MenuID}
              setting={setting}
              position="toolbar"
              selectedData={selectedData}
            />
          )
@@ -140,7 +138,6 @@
              btn={item}
              BData={BData}
              setting={setting}
              position="toolbar"
              ContainerId={ContainerId}
              selectedData={selectedData}
            />
src/tabviews/zshare/actionList/newpagebutton/index.jsx
@@ -14,7 +14,7 @@
class NewPageButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 按钮显示样式控制
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BData: PropTypes.any,             // 主表数据
    btn: PropTypes.object,            // 按钮
    selectedData: PropTypes.any,      // 子表中选择数据
    setting: PropTypes.any,           // 页面通用设置
src/tabviews/zshare/actionList/popupbutton/index.jsx
@@ -16,7 +16,6 @@
class PopupButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 按钮显示样式控制
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BID: PropTypes.string,            // 主表ID
    BData: PropTypes.any,             // 主表数据
    selectedData: PropTypes.any,      // 子表中选择数据
src/tabviews/zshare/actionList/printbutton/index.jsx
@@ -23,7 +23,6 @@
class PrintButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 按钮显示样式控制
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BID: PropTypes.string,            // 主表ID
    BData: PropTypes.any,             // 主表数据
    selectedData: PropTypes.any,      // 子表中选择数据
src/tabviews/zshare/actionList/tabbutton/index.jsx
@@ -13,7 +13,7 @@
class TabButton extends Component {
  static propTpyes = {
    show: PropTypes.any,              // 按钮显示样式控制
    position: PropTypes.any,          // 按钮位置,工具栏为toolbar
    BData: PropTypes.any,             // 主表数据
    MenuID: PropTypes.string,         // 菜单ID
    btn: PropTypes.object,            // 按钮
    selectedData: PropTypes.any,      // 子表中选择数据
src/tabviews/zshare/normalTable/index.jsx
@@ -749,6 +749,7 @@
                  key={btn.uuid}
                  btn={btn}
                  selectedData={[record]}
                  BData={this.props.BData}
                  MenuID={this.props.MenuID}
                  setting={this.props.setting}
                />
@@ -759,6 +760,7 @@
                  key={btn.uuid}
                  btn={btn}
                  selectedData={[record]}
                  BData={this.props.BData}
                  setting={this.props.setting}
                />
              )