Commit 195476d4d64bc404626807be868d9758b49f6a8d
1 parent
d1adef5b
1.MES去掉模块
Showing
4 changed files
with
29 additions
and
27 deletions
src/mes/common/buttonComponent/index.js
| @@ -193,13 +193,13 @@ const ButtonComponent = props => { | @@ -193,13 +193,13 @@ const ButtonComponent = props => { | ||
| 193 | ["首签样通知", 11], | 193 | ["首签样通知", 11], |
| 194 | ["异常/协助提报", 12], | 194 | ["异常/协助提报", 12], |
| 195 | ["完工清场/确认单据", 13], | 195 | ["完工清场/确认单据", 13], |
| 196 | - ["拆合版", 14], | 196 | + // ["拆合版", 14], |
| 197 | null, | 197 | null, |
| 198 | null, | 198 | null, |
| 199 | ["质量巡检", 15], | 199 | ["质量巡检", 15], |
| 200 | ["班组报工", 16], | 200 | ["班组报工", 16], |
| 201 | ["签样/完成", 17], | 201 | ["签样/完成", 17], |
| 202 | - ["班组交接", 18], | 202 | + // ["班组交接", 18], |
| 203 | ["工单变更信息", 19], | 203 | ["工单变更信息", 19], |
| 204 | ["其它机台日报", 16], | 204 | ["其它机台日报", 16], |
| 205 | null, | 205 | null, |
| @@ -212,13 +212,13 @@ const ButtonComponent = props => { | @@ -212,13 +212,13 @@ const ButtonComponent = props => { | ||
| 212 | ["First Approval Sample Notice", 11], | 212 | ["First Approval Sample Notice", 11], |
| 213 | ["Exception/Assistance Reporting", 12], | 213 | ["Exception/Assistance Reporting", 12], |
| 214 | ["Post-Completion Clearance/Confirmation", 13], | 214 | ["Post-Completion Clearance/Confirmation", 13], |
| 215 | - ["Plate Splitting/Combining", 14], | 215 | + // ["Plate Splitting/Combining", 14], |
| 216 | null, | 216 | null, |
| 217 | null, | 217 | null, |
| 218 | ["Quality Patrol Inspection List", 15], | 218 | ["Quality Patrol Inspection List", 15], |
| 219 | ["Team Production Reporting", 16], | 219 | ["Team Production Reporting", 16], |
| 220 | ["Sign-off/Completion", 17], | 220 | ["Sign-off/Completion", 17], |
| 221 | - ["Team Handover", 18], | 221 | + // ["Team Handover", 18], |
| 222 | ["Work Order Change Information", 19], | 222 | ["Work Order Change Information", 19], |
| 223 | ["Other Machine Daily Report", 16], | 223 | ["Other Machine Daily Report", 16], |
| 224 | null, | 224 | null, |
| @@ -277,6 +277,8 @@ const ButtonComponent = props => { | @@ -277,6 +277,8 @@ const ButtonComponent = props => { | ||
| 277 | } | 277 | } |
| 278 | }); | 278 | }); |
| 279 | 279 | ||
| 280 | + console.log(',enulist', menuList); | ||
| 281 | + | ||
| 280 | 282 | ||
| 281 | 283 | ||
| 282 | // 点击 | 284 | // 点击 |
src/mes/login/index.js
| @@ -425,7 +425,7 @@ const login = baseProps => { | @@ -425,7 +425,7 @@ const login = baseProps => { | ||
| 425 | const props = useLoginEvent(useCommonBase(baseProps)); | 425 | const props = useLoginEvent(useCommonBase(baseProps)); |
| 426 | const { configs , app, companys } = props; | 426 | const { configs , app, companys } = props; |
| 427 | const sysObj = commonUtils.isNotEmptyArr(companys) ? companys[0] : []; | 427 | const sysObj = commonUtils.isNotEmptyArr(companys) ? companys[0] : []; |
| 428 | - console.log('222', sysObj); | 428 | + |
| 429 | const sLanguage = sysObj?.sLanguage || 'sEnglish'; | 429 | const sLanguage = sysObj?.sLanguage || 'sEnglish'; |
| 430 | 430 | ||
| 431 | const oeeTitle = | 431 | const oeeTitle = |
src/mes/scheduledTasks/machineTasks/index.js
| @@ -1042,15 +1042,15 @@ | @@ -1042,15 +1042,15 @@ | ||
| 1042 | backgroundColor: "#FF6600" | 1042 | backgroundColor: "#FF6600" |
| 1043 | } | 1043 | } |
| 1044 | }, | 1044 | }, |
| 1045 | - { | ||
| 1046 | - key: "2-4", | ||
| 1047 | - label: <span className={styles.statusDropdown}>{FSMaintenance}</span>, | ||
| 1048 | - value: { | ||
| 1049 | - conent2: FSMaintenance, | ||
| 1050 | - backgroundColor: "#FF6600", | ||
| 1051 | - fontSize: 130 | ||
| 1052 | - } | ||
| 1053 | - }, | 1045 | + // { |
| 1046 | + // key: "2-4", | ||
| 1047 | + // label: <span className={styles.statusDropdown}>{FSMaintenance}</span>, | ||
| 1048 | + // value: { | ||
| 1049 | + // conent2: FSMaintenance, | ||
| 1050 | + // backgroundColor: "#FF6600", | ||
| 1051 | + // fontSize: 130 | ||
| 1052 | + // } | ||
| 1053 | + // }, | ||
| 1054 | { | 1054 | { |
| 1055 | key: "2-5", | 1055 | key: "2-5", |
| 1056 | label: <span className={styles.statusDropdown}>{annualMaintenance}</span>, | 1056 | label: <span className={styles.statusDropdown}>{annualMaintenance}</span>, |
src/mes/teamInfo/index.js
| @@ -698,7 +698,7 @@ const TeamJoinInfo = props => { | @@ -698,7 +698,7 @@ const TeamJoinInfo = props => { | ||
| 698 | const joinInfoTableData = commonUtils | 698 | const joinInfoTableData = commonUtils |
| 699 | .filteredArr( | 699 | .filteredArr( |
| 700 | props.formData?.map((e, i) => { | 700 | props.formData?.map((e, i) => { |
| 701 | - if (i >= 3 && i <= 5) { | 701 | + if (i >= 3 && i <= 4) { |
| 702 | return { showName: e.showName, tableName: e.sGrd }; | 702 | return { showName: e.showName, tableName: e.sGrd }; |
| 703 | } | 703 | } |
| 704 | }) | 704 | }) |
| @@ -712,7 +712,7 @@ const TeamJoinInfo = props => { | @@ -712,7 +712,7 @@ const TeamJoinInfo = props => { | ||
| 712 | onChange: () => {} | 712 | onChange: () => {} |
| 713 | }, | 713 | }, |
| 714 | onTableBtnClick: props.onTableBtnClick, | 714 | onTableBtnClick: props.onTableBtnClick, |
| 715 | - fixedHeight: tableName === "slave4" ? "230px" : "160px" | 715 | + fixedHeight: tableName === "slave4" ? "400px" : "160px" |
| 716 | }; | 716 | }; |
| 717 | 717 | ||
| 718 | result.tableBtnsConfig = result.config?.gdsconfigformslave | 718 | result.tableBtnsConfig = result.config?.gdsconfigformslave |
| @@ -743,17 +743,17 @@ const TeamJoinInfo = props => { | @@ -743,17 +743,17 @@ const TeamJoinInfo = props => { | ||
| 743 | </h2> | 743 | </h2> |
| 744 | </Row> | 744 | </Row> |
| 745 | <Row className="teamInfoBox"> | 745 | <Row className="teamInfoBox"> |
| 746 | - <Col span={6} className="teamInfoLeft"> | ||
| 747 | - {joinInfoData?.map((item, i) => ( | ||
| 748 | - <div key={i} className="infoBox"> | ||
| 749 | - <h2>{item.showName}</h2> | ||
| 750 | - <div className="infoBorBox"> | ||
| 751 | - {slave1Data.length > 0 ? slave1Data[0][item.sName] : ""} | ||
| 752 | - </div> | ||
| 753 | - </div> | ||
| 754 | - ))} | ||
| 755 | - </Col> | ||
| 756 | - <Col span={18} className="teamInfoRight"> | 746 | + {/*<Col span={6} className="teamInfoLeft">*/} |
| 747 | + {/* {joinInfoData?.map((item, i) => (*/} | ||
| 748 | + {/* <div key={i} className="infoBox">*/} | ||
| 749 | + {/* <h2>{item.showName}</h2>*/} | ||
| 750 | + {/* <div className="infoBorBox">*/} | ||
| 751 | + {/* {slave1Data.length > 0 ? slave1Data[0][item.sName] : ""}*/} | ||
| 752 | + {/* </div>*/} | ||
| 753 | + {/* </div>*/} | ||
| 754 | + {/* ))}*/} | ||
| 755 | + {/*</Col>*/} | ||
| 756 | + <Col span={24} className="teamInfoRight"> | ||
| 757 | {joinInfoTableData?.map((item, i) => ( | 757 | {joinInfoTableData?.map((item, i) => ( |
| 758 | <div key={i} className="infoBox"> | 758 | <div key={i} className="infoBox"> |
| 759 | <h2>{item.showName}</h2> | 759 | <h2>{item.showName}</h2> |