diff --git a/config/routes.js b/config/routes.js index b7fb9a4..3bffe82 100644 --- a/config/routes.js +++ b/config/routes.js @@ -26,15 +26,20 @@ export default [ routes: [ //巡检任务 { - path: '/topnavbar00/business/inspectiontasks', - name: 'inspectiontasks', - component: './inspectiontasks/InspectionTasks', - }, - { - path: '/topnavbar00/business/inspectionmanagement', - name: 'inspectionmanagement', - component: './inspectionmanagement/InspectionManagement', - }, + path: '/topnavbar00/business/inspectiontasks', + name: 'inspectiontasks', + component: './inspectiontasks/InspectionTasks', + }, + { + path: '/topnavbar00/business/inspectionmanagement', + name: 'inspectionmanagement', + component: './inspectionmanagement/InspectionManagement', + }, + { + path: '/topnavbar00/business/smartinspection', + name: 'smartinspection', + component: './smartinspection/SmartInspection', + }, ], }, ], diff --git a/src/assets/img/Rectangle 34624130.svg b/src/assets/img/Rectangle 34624130.svg new file mode 100644 index 0000000..5c78992 --- /dev/null +++ b/src/assets/img/Rectangle 34624130.svg @@ -0,0 +1,49 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/src/assets/img/smartinspection.svg b/src/assets/img/smartinspection.svg new file mode 100644 index 0000000..fd8e2fd --- /dev/null +++ b/src/assets/img/smartinspection.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/assets/img/smartinspection1.svg b/src/assets/img/smartinspection1.svg new file mode 100644 index 0000000..22f2cc5 --- /dev/null +++ b/src/assets/img/smartinspection1.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/locales/zh-CN/menu.js b/src/locales/zh-CN/menu.js index 770da9b..e15b642 100644 --- a/src/locales/zh-CN/menu.js +++ b/src/locales/zh-CN/menu.js @@ -87,4 +87,6 @@ export default { 'menu.topnavbar00.pocmodel.performancereview.performancerelease': '绩效发布日志管理', 'menu.topnavbar00.pocmodel.performancereview.performanceIncentives': '绩效奖励统计分析', + // 智能巡检菜单 + 'menu.topnavbar00.business.smartinspection': '智能巡检' } diff --git a/src/pages/inspectiontasks/components/Inspectiontaskplan/InspectionTaskPlan.js b/src/pages/inspectiontasks/components/Inspectiontaskplan/InspectionTaskPlan.js index 9f4ab9a..6042b39 100644 --- a/src/pages/inspectiontasks/components/Inspectiontaskplan/InspectionTaskPlan.js +++ b/src/pages/inspectiontasks/components/Inspectiontaskplan/InspectionTaskPlan.js @@ -1,7 +1,7 @@ -import {Button, Col, Drawer, Form, Input, Menu, Pagination, Row, Select, Space, Switch, Table, Tag, Tree} from "antd"; -import {useEffect, useRef, useState} from "react"; +import { Button, Col, Drawer, Form, Input, Menu, Pagination, Row, Select, Space, Switch, Table, Tag, Tree } from "antd"; +import { useEffect, useRef, useState } from "react"; import styles from './InspectionTaskPlan.less' -import {Title} from "@/pages/inspectiontasks/InspectionTasks"; +import { Title } from "@/pages/inspectiontasks/InspectionTasks"; import btnImg1 from '@/assets/img/planBtn1.png' import btnImg2 from '@/assets/img/planBtn2.png' import btnImg3 from '@/assets/img/planBtn3.png' @@ -15,33 +15,33 @@ import { PlusOutlined, RedoOutlined } from "@ant-design/icons"; -const {Search}=Input -export const MenuBg=(props)=>{ +const { Search } = Input +export const MenuBg = (props) => { return (
{props.text} - {props.icon} + {props.icon}
) } //抽屉 -const Drawers=(props)=>{ +const Drawers = (props) => { - return ( + return ( -
+
- + - + 所属班次 {props.row?.shifts} @@ -51,7 +51,7 @@ const Drawers=(props)=>{ - + 所属专业 {props.row?.affiliation} @@ -71,19 +71,19 @@ const Drawers=(props)=>{ 1#冷干机
- + 发电机 - +
  • 外观检查:有无破损、油污
  • 温度检测:轴承温度≤70℃,定子温度≤105℃
- + 1#增压风机变频器 - +