Commit 88b3b0f2e348ef7da20c59f7acccd6bea49f3748

Authored by Min
1 parent dc9ce73f

1.处理MES按钮栏宽度

src/components/Common/CommonTable/index.js
... ... @@ -4692,7 +4692,7 @@ class CommonTableRc extends React.Component {
4692 4692 // return result;
4693 4693 // }, 12);
4694 4694  
4695   - tableBtnsWidth = props.tableBtnsConfig.length * 90 + 8;
  4695 + tableBtnsWidth = props.tableBtnsConfig.length * 100 + 8;
4696 4696 }
4697 4697 if (props.mesCopy) {
4698 4698 tableBtnsWidth += 26;
... ... @@ -4721,7 +4721,7 @@ class CommonTableRc extends React.Component {
4721 4721 tableBtnsWidth += "px";
4722 4722 }
4723 4723 if(commonUtils.isNotEmptyObject(btnSendApiConfig)) {
4724   - tableBtnsWidth = '280px';
  4724 + tableBtnsWidth = '300px';
4725 4725 }
4726 4726 const setOperation = commonFunc.showMessage(props.app.commonConst, 'operation') || '操作';
4727 4727 const setCopy = commonFunc.showMessage(props.app.commonConst, 'setCopy') || '复制';
... ... @@ -4782,8 +4782,9 @@ class CommonTableRc extends React.Component {
4782 4782 disabled={disabled}
4783 4783 size="large"
4784 4784 style={{
4785   - width: 90,
  4785 + width: 100,
4786 4786 height: 36,
  4787 + fontSize:'16px',
4787 4788 borderRadius: 5,
4788 4789 backgroundColor: disabled ? "#AAA" : btnBgColor,
4789 4790 color: "#FFF"
... ... @@ -4836,8 +4837,9 @@ class CommonTableRc extends React.Component {
4836 4837 disabled={shouldDisableButton(btnSendApiConfig, record)}
4837 4838 size="large"
4838 4839 style={{
4839   - width: 90,
  4840 + width: 100,
4840 4841 height: 36,
  4842 + fontSize:'16px',
4841 4843 borderRadius: 5,
4842 4844 backgroundColor: shouldDisableButton(btnSendApiConfig, record) ? "#AAA" : btnSendApiConfig.btnBgColor || '#1890FF',
4843 4845 color: "#FFF"
... ...