Commit bf9d1b77ad46b96b1242698fe7776b76a84eb182

Authored by Min
1 parent 6c93d086

1.完善表单,表格悬浮增加英文-中文提示

src/components/Common/CommonTable/index.js
... ... @@ -4481,7 +4481,7 @@ class CommonTableRc extends React.Component {
4481 4481 ))
4482 4482 ) {
4483 4483 res = (
4484   - <div className="th-div" style={styleObj} title={`${column.chineseTitle}`}>
  4484 + <div className="th-div" style={styleObj} title={`${column.tipTitle}`}>
4485 4485 {checkBoxAll}
4486 4486 {expandedAllIcon}
4487 4487 {!column.dataIndex?.startsWith("b") ? (
... ...
src/components/Common/commonFunc.js
... ... @@ -91,10 +91,12 @@ export function getHeaderConfig(config) {
91 91 const tableConfig = config.gdsconfigformslave;
92 92 const column = [];
93 93 for (const child of tableConfig) {
  94 + const tipTitle = commonUtils.isNotEmptyObject(child.showName) ? child.showName !== child.sChinese ?
  95 + `${child.showName}-${child.sChinese}` : child.showName : child.sChinese;
94 96 if (child.sName !== '' && child.bVisible && child.showName !== '') {
95 97 column.push({
96 98 title: child.showName,
97   - chineseTitle: child.sChinese,
  99 + tipTitle,
98 100 dataIndex: child.sName.trim(),
99 101 width: child.iFitWidth,
100 102 bFind: child.bFind,
... ...