import React from "react"; import { Tooltip } from "antd"; import * as commonFunc from "@/components/Common/commonFunc"; import styles from "../index.less"; const OperationGuide = props => { const handleOpenFile = url => { props.onOpenCommonModal({ type: "commonFilePreviewModal", url }); }; const operationGuide = commonFunc.showLocalMessage(props, 'operationGuide', '操作指引'); const digitalFactoryMES = commonFunc.showLocalMessage(props, 'digitalFactoryMES', '数字工厂MES系统操作指引.pdf'); const keyOperationMES = commonFunc.showLocalMessage(props, 'keyOperationMES', 'MES关键操作说明.xlsx'); const MESPrinterSolutions = commonFunc.showLocalMessage(props, 'MESPrinterSolutions', 'MES打印机更换纸张后亮红灯解决方法.pdf'); const workshopMESPrinters = commonFunc.showLocalMessage(props, 'workshopMESPrinters', '车间MES打印机更换纸张.pdf'); return (
{operationGuide}
{digitalFactoryMES}
} placement="left" >
{ handleOpenFile("./Digital Factory MES System Operation Guide.pdf"); }} /> {keyOperationMES}
} placement="left" >
{ handleOpenFile("./MES Key Operation Description.xlsx"); }} />
{digitalFactoryMES}
} >
{digitalFactoryMES}
{keyOperationMES}
} >
{keyOperationMES}
{MESPrinterSolutions}
} placement="left" >
{ handleOpenFile("./MES Printer Red Light Resolution After Paper Replacement.pdf"); }} /> {workshopMESPrinters}
} placement="left" >
{ handleOpenFile("./Workshop MES Printer Paper Replacement.pdf"); }} />
{MESPrinterSolutions }
} >
{MESPrinterSolutions}
{workshopMESPrinters}} >
{workshopMESPrinters}
); }; export default OperationGuide;