Commit d30552083b267c7d15eb1a8614186412910281e7

Authored by Min
1 parent 57c16976

1.处理白夜班翻译

Showing 1 changed file with 4 additions and 3 deletions
src/mes/teamInfo/index.js
@@ -557,7 +557,8 @@ const TeamInfo = baseProps => { @@ -557,7 +557,8 @@ const TeamInfo = baseProps => {
557 const foreman = commonFunc.showLocalMessage(props, 'foreman', '领班'); 557 const foreman = commonFunc.showLocalMessage(props, 'foreman', '领班');
558 558
559 const ClearOut = commonFunc.showLocalMessage(props, 'ClearOut', '清空'); 559 const ClearOut = commonFunc.showLocalMessage(props, 'ClearOut', '清空');
560 - 560 + const dayShift = commonFunc.showLocalMessage(props, 'dayShift', '白班');
  561 + const nightShift = commonFunc.showLocalMessage(props, 'nightShift', '夜班');
561 return ( 562 return (
562 <div className={styles.teamInfo}> 563 <div className={styles.teamInfo}>
563 <div className="teamPost"> 564 <div className="teamPost">
@@ -598,9 +599,9 @@ const TeamInfo = baseProps =&gt; { @@ -598,9 +599,9 @@ const TeamInfo = baseProps =&gt; {
598 <label>{shift}</label> 599 <label>{shift}</label>
599 <span> 600 <span>
600 {props.app.userinfo?.sShift == "1" 601 {props.app.userinfo?.sShift == "1"
601 - ? "白班" 602 + ? dayShift
602 : props.app.userinfo?.sShift == "2" 603 : props.app.userinfo?.sShift == "2"
603 - ? "夜班" 604 + ? nightShift
604 : ""} 605 : ""}
605 </span> 606 </span>
606 </li> 607 </li>