Commit 08357ad95c8b95a8dd4da0f544b5445d7b31ffa1

Authored by chenxt
1 parent 6154a8a3

deng

src/components/Common/CommonComponent/index.js
... ... @@ -1206,8 +1206,8 @@ export default class CommonComponent extends Component {
1206 1206 options.push(option);
1207 1207 } else {
1208 1208 const option = this.props.showConfig.bCanInput ?
1209   - (<Option key={keyValue.toString()} label={res} value={keyValue.toString()} title={res}>{optionValue}</Option>) :
1210   - (<Option key={keyValue} value={keyValue} label={res} title={res}>{optionValue}</Option>);
  1209 + (<Option key={keyValue.toString()} label={res} value={keyValue.toString()} title={res} >{optionValue}</Option>) :
  1210 + (<Option key={keyValue} value={keyValue} label={res} title={res} className={this.props.dropdownClassName || ''}>{optionValue}</Option>);
1211 1211 /* 返回值赋值 */
1212 1212 options.push(option);
1213 1213 }
... ... @@ -1235,6 +1235,7 @@ export default class CommonComponent extends Component {
1235 1235 }
1236 1236 }
1237 1237 /* 返回值 */
  1238 +
1238 1239 return options;
1239 1240 };
1240 1241  
... ...
src/index.less
... ... @@ -4679,4 +4679,9 @@ ton:focus {
4679 4679 input.ant-input.sStatusReject {
4680 4680 color: #ff4D4f !important;
4681 4681 }
4682   -}
4683 4682 \ No newline at end of file
  4683 + .huge-font-option .ant-select-item-option-content {
  4684 + font-size: 24px !important;
  4685 + line-height: 32px !important;
  4686 + height: 32px !important;
  4687 + }
  4688 +}
... ...
src/mes/login/index.js
... ... @@ -386,7 +386,7 @@ const useLoginEvent = props =&gt; {
386 386 };
387 387  
388 388 // 遍历登录文本组件
389   -const handleGetFormItem = (props, item) => {
  389 +const handleGetFormItem = (props, item, isHuge) => {
390 390  
391 391 const { sModelsId } = initValue;
392 392 const { masterData = {}, companys, faceLoginValue } = props;
... ... @@ -456,7 +456,8 @@ const handleGetFormItem = (props, item) =&gt; {
456 456 onFilterDropDownData: props.onFilterDropDownData,
457 457 onSaveState: props.onSaveState,
458 458 bPassWord: item.sName === "sPassWord",
459   - style: { backgroundColor: "#eaeaea" }
  459 + style: { backgroundColor: "#eaeaea" },
  460 + dropdownClassName: isHuge ? 'huge-font-option' : ''
460 461 };
461 462  
462 463 const showName = sLanguage === 'sChinese' ? item.sChinese : sLanguage === 'sEnglish' ? item.sEnglish
... ... @@ -738,7 +739,7 @@ const FaceLoginAfterModal = props =&gt; {
738 739 <Form form={form} layout="vertical" size="large">
739 740 {configs
740 741 .filter(item => item.sName !== "sPassWord")
741   - .map(item => handleGetFormItem(props, item))}
  742 + .map(item => handleGetFormItem(props, item, true))}
742 743 </Form>
743 744 </div>
744 745 </Modal>
... ...
src/mes/scheduledTasks/machineTasks/index.js
... ... @@ -432,10 +432,11 @@ const useInfoEvent = props =&gt; {
432 432 tempTaskId: ""
433 433 });
434 434 }
435   - props.onChangeRouter({
436   - type: "name",
437   - path: ["生产执行", "生产执行"]
438   - });
  435 + // props.onChangeRouter({
  436 + // type: "name",
  437 + // path: ["生产执行", "生产执行"]
  438 + // });
  439 + handleRefresh();
439 440 } else if (code === -7) {
440 441 // 如果有开工中的任务,即接口返回-7,弹出确认窗体
441 442 itemClickRef.current = { data: item };
... ...