Commit 0e309562209b96742bf19e2c1d191cd93d4aa8e6
Merge remote-tracking branch 'origin/release/customer/2025/五彩' into release/customer/2025/五彩
Showing
3 changed files
with
20 additions
and
7 deletions
src/mes/indexMes/index.js
| ... | ... | @@ -992,6 +992,8 @@ const SystemFunComponent = () => { |
| 992 | 992 | const resetDailyReport = commonFunc.showLocalMessage(props, 'resetDailyReport', '关机'); |
| 993 | 993 | const switchToManual = commonFunc.showLocalMessage(props, 'switchToManual', '切换手动'); |
| 994 | 994 | const SwitchAuto = commonFunc.showLocalMessage(props, 'SwitchAuto', '切换自动'); |
| 995 | + const ClearCache = commonFunc.showLocalMessage(props, 'ClearCache', '清空缓存'); | |
| 996 | + const sSuccess = commonFunc.showLocalMessage(props, 'sSuccess', '成功'); | |
| 995 | 997 | |
| 996 | 998 | |
| 997 | 999 | const { bPlcSd } = userinfo; |
| ... | ... | @@ -1036,7 +1038,7 @@ const SystemFunComponent = () => { |
| 1036 | 1038 | overlayClassName={styles.systemFun} |
| 1037 | 1039 | content={ |
| 1038 | 1040 | <div className="systemFunContent"> |
| 1039 | - <div | |
| 1041 | + {/* <div | |
| 1040 | 1042 | className="restDailyReport" |
| 1041 | 1043 | onClick={() => { |
| 1042 | 1044 | handleSystemFunClick("restDailyReport"); |
| ... | ... | @@ -1053,6 +1055,17 @@ const SystemFunComponent = () => { |
| 1053 | 1055 | > |
| 1054 | 1056 | <SwapOutlined /> |
| 1055 | 1057 | <span>{bPlcSd ? SwitchAuto : switchToManual}</span> |
| 1058 | + </div> */} | |
| 1059 | + <div | |
| 1060 | + className="restDailyReport" | |
| 1061 | + onClick={() => { | |
| 1062 | + setTimeout(() => { | |
| 1063 | + message.success( ClearCache + sSuccess + '!'); | |
| 1064 | + }, 1000); | |
| 1065 | + }} | |
| 1066 | + > | |
| 1067 | + <UndoOutlined /> | |
| 1068 | + <span>{ClearCache}</span> | |
| 1056 | 1069 | </div> |
| 1057 | 1070 | </div> |
| 1058 | 1071 | } | ... | ... |
src/mes/login/index.js
| ... | ... | @@ -736,7 +736,7 @@ const FaceLoginAfterModal = props => { |
| 736 | 736 | }} |
| 737 | 737 | > |
| 738 | 738 | <div className={styles.faceLogin1}> |
| 739 | - <Form form={form} layout="vertical" size="large"> | |
| 739 | + <Form form={form} layout="horizontal" size="large" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}> | |
| 740 | 740 | {configs |
| 741 | 741 | .filter(item => item.sName !== "sPassWord") |
| 742 | 742 | .map(item => handleGetFormItem(props, item, true))} | ... | ... |
src/mes/scheduledTasks/machineTasks/index.js
| ... | ... | @@ -432,11 +432,11 @@ const useInfoEvent = props => { |
| 432 | 432 | tempTaskId: "" |
| 433 | 433 | }); |
| 434 | 434 | } |
| 435 | - // props.onChangeRouter({ | |
| 436 | - // type: "name", | |
| 437 | - // path: ["生产执行", "生产执行"] | |
| 438 | - // }); | |
| 439 | - handleRefresh(); | |
| 435 | + props.onChangeRouter({ | |
| 436 | + type: "name", | |
| 437 | + path: ["生产执行", "生产执行"] | |
| 438 | + }); | |
| 439 | + // handleRefresh(); | |
| 440 | 440 | } else if (code === -7) { |
| 441 | 441 | // 如果有开工中的任务,即接口返回-7,弹出确认窗体 |
| 442 | 442 | itemClickRef.current = { data: item }; | ... | ... |