diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 6daf376..96cd376 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -61,7 +61,8 @@ "vue-router": "3.4.9", "vuedraggable": "2.24.3", "vuex": "3.6.0", - "xlsx": "^0.18.5" + "xlsx": "^0.18.5", + "vue-seamless-scroll": "^1.1.23" }, "devDependencies": { "@vue/cli-plugin-babel": "4.4.6", diff --git a/ruoyi-ui/src/assets/board/bg.jpg b/ruoyi-ui/src/assets/board/bg.jpg new file mode 100644 index 0000000..6cecffd Binary files /dev/null and b/ruoyi-ui/src/assets/board/bg.jpg differ diff --git a/ruoyi-ui/src/assets/board/bg1.jpg b/ruoyi-ui/src/assets/board/bg1.jpg new file mode 100644 index 0000000..3e4e233 Binary files /dev/null and b/ruoyi-ui/src/assets/board/bg1.jpg differ diff --git a/ruoyi-ui/src/assets/board/icon.png b/ruoyi-ui/src/assets/board/icon.png new file mode 100644 index 0000000..2df4746 Binary files /dev/null and b/ruoyi-ui/src/assets/board/icon.png differ diff --git a/ruoyi-ui/src/assets/board/item.png b/ruoyi-ui/src/assets/board/item.png new file mode 100644 index 0000000..227bac8 Binary files /dev/null and b/ruoyi-ui/src/assets/board/item.png differ diff --git a/ruoyi-ui/src/layout/index2.vue b/ruoyi-ui/src/layout/index2.vue new file mode 100644 index 0000000..08e1dcc --- /dev/null +++ b/ruoyi-ui/src/layout/index2.vue @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 16f8565..a381c7c 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -6,6 +6,7 @@ Vue.use(Router) /* Layout */ import Layout from '@/layout' +import BoardLayout from '@/layout/index2' /*import VideoPlayer from "@/views/record/recordInspectionCabinet/OldVideoPlayer.vue";*/ import VideoPlayer from "@/views/record/recordInspectionCabinet/VideoPlayer.vue"; /** @@ -68,6 +69,24 @@ export const constantRoutes = [ component: () => import('@/views/error/401'), hidden: true }, + { + path: '/board', + component: BoardLayout, + children: [ + { + path: 'index', + component: () => import('@/views/board/index'), + name: 'Board', + meta: { title: '看板1', icon: 'dashboard', affix: true } + }, + { + path: 'index1', + component: () => import('@/views/board/index1'), + name: 'Board1', + meta: { title: '看板2', icon: 'dashboard', affix: true } + }, + ] + }, { path: '', component: Layout, diff --git a/ruoyi-ui/src/views/board/index.vue b/ruoyi-ui/src/views/board/index.vue new file mode 100644 index 0000000..103ea8d --- /dev/null +++ b/ruoyi-ui/src/views/board/index.vue @@ -0,0 +1,685 @@ + + + + 赛轮智慧热电无人巡检系统 + {{ i.name }} + + 设备状态: + 运行速度: + 升降状态: + 实时位置: + 停止 + 0m/s + 停止 + 位置1# + + + 平均温度 + 最高温度 + 最低温度 + 温差 + 19 ℃ + 39 ℃ + 19 ℃ + 0 ℃ + + 当前状态:巡检中 + + + + 告警分析 + + + + 报警开始时间 + + + 报警类型 + + + 报警来源 + + + 告警等级 + + + 报警对象 + + + 报警内容 + + + 采集资源 + + + 操作 + + + + + + + {{ item.value1 }} + + + {{ item.value2 }} + + + {{ item.value3 }} + + + {{ item.value4 }} + + + {{ item.value5 }} + + + {{ item.value6 }} + + + {{ item.value7 }} + + + 操作 + + + + + + + + + + + + + 已安全运行 382 天 + {{parseTime(new Date(),'{y}.{m}.{d} {h}:{i}:{s} 周{a}')}} + + + + + + diff --git a/ruoyi-ui/src/views/board/index1.vue b/ruoyi-ui/src/views/board/index1.vue new file mode 100644 index 0000000..2126fe8 --- /dev/null +++ b/ruoyi-ui/src/views/board/index1.vue @@ -0,0 +1,163 @@ + + + + 赛轮智慧热电无人巡检系统 + 已安全运行 382 天 + {{ parseTime(new Date(), '{y}.{m}.{d} {h}:{i}:{s} 周{a}') }} + + + {{ k + 1 }}#抽屉柜 + + + {{k+1}}#-{{kk+1}} + 温度:22℃ + + + + + + + + +