Commit 6de46a73bb536da9d2d7007d4ec0e87756436472
1 parent
bf990ba7
过滤项中英文
Showing
4 changed files
with
9 additions
and
7 deletions
src/components/Common/CommonListSelectAssignment.js
| ... | ... | @@ -274,7 +274,7 @@ const CommonListComponent = Form.create({ |
| 274 | 274 | }; |
| 275 | 275 | const sProcessParams = commonFunc.showMessage(app.commonConst, 'sProcessParams');/* 选择工艺参数标题s */ |
| 276 | 276 | const displayLeft = (sModelsType !== 'search/sisColor' && sModelsType !== 'search/commonPopup'); |
| 277 | - | |
| 277 | + const filteItem = commonFunc.showLocalMessage(props, "filteItem", "过滤项"); | |
| 278 | 278 | // let slaveFilterCondition = []; |
| 279 | 279 | // if (props.slaveFilterCondition) { |
| 280 | 280 | // slaveFilterCondition = props.slaveFilterCondition.slice(0); |
| ... | ... | @@ -297,7 +297,7 @@ const CommonListComponent = Form.create({ |
| 297 | 297 | {displayLeft ? |
| 298 | 298 | <Col span={4}> |
| 299 | 299 | <div className="xly-tree-box"> |
| 300 | - <div className="xly-tree-title">过滤项</div> | |
| 300 | + <div className="xly-tree-title">{filteItem}</div> | |
| 301 | 301 | <StaticEditTree {...treeProps} /> |
| 302 | 302 | </div> |
| 303 | 303 | </Col> : '' | ... | ... |
src/components/Common/CommonListSelectFlex/EditTableCommonListSelectFlex/index.jsx
| ... | ... | @@ -242,7 +242,7 @@ const CommonListComponent = Form.create({ |
| 242 | 242 | if (props.slaveFilterKeys) { |
| 243 | 243 | slaveDataShow = props.slaveData.filter(i => i && i.sSqlConditionId === props.slaveFilterKeys); |
| 244 | 244 | } |
| 245 | - | |
| 245 | +const filteItem = commonFunc.showLocalMessage(props, "filteItem", "过滤项"); | |
| 246 | 246 | return ( |
| 247 | 247 | <div className="modalChooseProcessContent"> |
| 248 | 248 | <Form> |
| ... | ... | @@ -259,7 +259,7 @@ const CommonListComponent = Form.create({ |
| 259 | 259 | <Row gutter={[8, 0]}> |
| 260 | 260 | <Col span={props.treeSpan}> |
| 261 | 261 | <div className="xly-tree-box"> |
| 262 | - <div className="xly-tree-title">过滤项</div> | |
| 262 | + <div className="xly-tree-title">{filteItem}</div> | |
| 263 | 263 | <StaticEditTree |
| 264 | 264 | {...treeProps} |
| 265 | 265 | expandedKeys={props.filterTreeDataKey} |
| ... | ... | @@ -271,7 +271,7 @@ const CommonListComponent = Form.create({ |
| 271 | 271 | </Col> |
| 272 | 272 | <Col span={props.filterSpan}> |
| 273 | 273 | <div className="xly-tree-box"> |
| 274 | - <div className="xly-tree-title">过滤项</div> | |
| 274 | + <div className="xly-tree-title">{filteItem}</div> | |
| 275 | 275 | <StaticEditTree |
| 276 | 276 | {...treeProps} |
| 277 | 277 | expandedKeys={props.filterTreeDetailDataKey} | ... | ... |
src/components/Common/CommonListSelectFlex/index.js
| ... | ... | @@ -503,6 +503,7 @@ const CommonListComponent = Form.create({ |
| 503 | 503 | |
| 504 | 504 | const BtnSure = commonFunc.showLocalMessage(props, 'BtnSure', '确定'); |
| 505 | 505 | const BtnCancel = commonFunc.showLocalMessage(props, 'BtnCancel', '取消'); |
| 506 | + const filteItem = commonFunc.showLocalMessage(props, "filteItem", "过滤项"); | |
| 506 | 507 | return ( |
| 507 | 508 | <div className="modalChooseProcessContent"> |
| 508 | 509 | <Form > |
| ... | ... | @@ -520,7 +521,7 @@ const CommonListComponent = Form.create({ |
| 520 | 521 | {displayLeft ? |
| 521 | 522 | <Col span={4}> |
| 522 | 523 | <div className="xly-tree-box"> |
| 523 | - <div className="xly-tree-title">过滤项</div> | |
| 524 | + <div className="xly-tree-title">{filteItem}</div> | |
| 524 | 525 | <StaticEditTree {...treeProps} /> |
| 525 | 526 | </div> |
| 526 | 527 | </Col> : '' | ... | ... |
src/components/Common/CommonListSelectTree/index.js
| ... | ... | @@ -693,6 +693,7 @@ const CommonListComponent = Form.create({ |
| 693 | 693 | } |
| 694 | 694 | } |
| 695 | 695 | }; |
| 696 | + const filteItem = commonFunc.showLocalMessage(props, "filteItem", "过滤项"); | |
| 696 | 697 | return ( |
| 697 | 698 | <div className="modalChooseProcessContent"> |
| 698 | 699 | <Form > |
| ... | ... | @@ -710,7 +711,7 @@ const CommonListComponent = Form.create({ |
| 710 | 711 | {displayLeft ? |
| 711 | 712 | <Col span={4} style={{ height: realizeHeight > 0 ? `${500 + realizeHeight}px` : 'auto' }}> |
| 712 | 713 | <div className="xly-tree-box"> |
| 713 | - <div className="xly-tree-title">过滤项</div> | |
| 714 | + <div className="xly-tree-title">{filteItem}</div> | |
| 714 | 715 | <StaticEditTree {...treeProps} noVlist /> |
| 715 | 716 | </div> |
| 716 | 717 | </Col> : '' | ... | ... |
-
mentioned in commit 8e066787