diff --git a/templates/front-project/src/App.vue b/templates/front-project/src/App.vue index 5075192db08e33630355fc37b051ae77af35cea2..cc8f815cf703e718de10cdc489d95c2f31ad5ac6 100644 --- a/templates/front-project/src/App.vue +++ b/templates/front-project/src/App.vue @@ -6,9 +6,7 @@ * Date: Thu Mar 7 14:23:35 2024 +0800 --> - - - + diff --git a/templates/front-project/src/components/AllMenu.vue b/templates/front-project/src/components/AllMenu.vue index 7870b41eb50fbcbe056d881dfde21337122d36ec..e3150d7aaadf7d7ca94d3e43d5163c4f6f79e7fd 100644 --- a/templates/front-project/src/components/AllMenu.vue +++ b/templates/front-project/src/components/AllMenu.vue @@ -44,7 +44,6 @@ const handleClick = (path) => {router.push(path)} - diff --git a/templates/front-project/src/components/TableHeader.vue b/templates/front-project/src/components/TableHeader.vue index a71b30c6a657a0a4b2b6c1cf81d77e79be5c5555..709146fbe15abf3c9f5d8234199e0ebf8f31a16e 100644 --- a/templates/front-project/src/components/TableHeader.vue +++ b/templates/front-project/src/components/TableHeader.vue @@ -8,48 +8,256 @@ + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 取 消 + 确 定 + + + + \ No newline at end of file + + \ No newline at end of file diff --git a/templates/front-project/src/router/index.js b/templates/front-project/src/router/index.js index e7da05b5122590c3bc825b876882ae29f9b25c85..7e9190a006c3b780f3d634c410aae4442c6edd75 100644 --- a/templates/front-project/src/router/index.js +++ b/templates/front-project/src/router/index.js @@ -10,21 +10,23 @@ import {createRouter, createWebHistory} from 'vue-router' const routes = [ { - name: 'Login', path: '/', + name: 'Login', hidden: true, component: () => import('@/components/kytuningLogin'), }, { - name: '设备管理', path: '/test1', - component: () => import('@/views/testViews/TestList'), - children: [] + name: '设备管理', + iconClass: 'fa fa-users', + redirect: '/home/student', + component: () => import('@/components/KytuningHome'), }, { + path: '/test/list', name: '测试管理', - path: '/test', - redirect: '/test/list', + iconClass: 'fa fa-users', + component: () => import('@/components/KytuningHome'), children: [ { path: '/test/list', @@ -46,12 +48,14 @@ const routes = [ ] }, { - name: '数据管理', path: '/storeData', - // component: () => import('@/views/dataViews/ProjectTable'), + name: '数据管理', + iconClass: 'fa fa-users', + redirect: '/home/student', + component: () => import('@/components/KytuningHome'), children: [ { - path: '/data/tempData', + path: '/tempData', name: '临时数据', component: () => import('@/views/dataViews/TempTable') }, @@ -63,9 +67,10 @@ const routes = [ ] }, { + path: '/error/list', name: '错误管理', - path: '/error', - redirect: '/error/list', + iconClass: 'fa fa-users', + component: () => import('@/components/KytuningHome'), children: [ { path: '/error/list', @@ -127,7 +132,7 @@ const routes = [ path: '/cpu2017/:baseId/:comparsionIds?', hidden: true, component: () => import('@/views/dataViews/Cpu2017Table'), - }, + } ] export default createRouter({ history: createWebHistory(), diff --git a/templates/front-project/src/views/dataViews/StoreTable.vue b/templates/front-project/src/views/dataViews/StoreTable.vue index 3c56cb21adff48d100619bce5a21647450afbf44..fd295a6d614e853dfcf2b0f2ede5827d3e980aea 100644 --- a/templates/front-project/src/views/dataViews/StoreTable.vue +++ b/templates/front-project/src/views/dataViews/StoreTable.vue @@ -7,136 +7,128 @@ --> - - - - - - - - 数据对比 - 合并数据 - 查看对比数据 - - - + + + 数据对比 + 合并数据 + 修改对比数据 + + + - - - - {{ scope.row.project_name }} - - - - - {{ scope.row.user_name }} - - - - - {{ scope.row.os_version }} - - - - - {{ scope.row.cpu_module_name }} - - - - - {{ scope.row.times }} - - - - - {{ scope.row.ip }} - - - - - {{ scope.row.store_data }} - - - - - {{ scope.row.stream }} - - - - - {{ scope.row.lmbench }} - - - - - {{ scope.row.unixbench }} - - - - - {{ scope.row.fio }} - - - - - {{ scope.row.iozone }} - - - - - {{ scope.row.jvm2008 }} - - - - - {{ scope.row.cpu2006 }} - - - - - {{ scope.row.cpu2017 }} - - - - - {{ scope.row.test_time }} - - - - - {{ scope.row.message }} - - - - - 对比 - 修改 - 删除 - - - - + + + + {{ scope.row.project_name }} + + + + + {{ scope.row.user_name }} + + + + + {{ scope.row.os_version }} + + + + + {{ scope.row.cpu_module_name }} + + + + + {{ scope.row.times }} + + + + + {{ scope.row.ip }} + + + + + {{ scope.row.store_data }} + + + + + {{ scope.row.stream }} + + + + + {{ scope.row.lmbench }} + + + + + {{ scope.row.unixbench }} + + + + + {{ scope.row.fio }} + + + + + {{ scope.row.iozone }} + + + + + {{ scope.row.jvm2008 }} + + + + + {{ scope.row.cpu2006 }} + + + + + {{ scope.row.cpu2017 }} + + + + + {{ scope.row.test_time }} + + + + + {{ scope.row.message }} + + + + + 对比 + 修改 + 删除 + + + + - - - - - - - + + + + @@ -183,16 +175,10 @@ import {ElMessage} from 'element-plus'; import {project, getFilterName, mergeData} from "@/api/api.js"; import utils from '@/utils/utils'; -import AllHeader from "@/components/common/AllHeader"; -import Menu from "@/components/common/AllMenu"; export default { name: 'projectTable', - components: { - AllHeader, - Menu, - }, mixins: [utils], data() { return { diff --git a/templates/front-project/src/views/errorViews/ErrorList.vue b/templates/front-project/src/views/errorViews/ErrorList.vue index 1d864dba12aa349012c7504062c8569ad2a5c4f2..61dca0f54ad42dccb075bbf160a7211d09206e8b 100644 --- a/templates/front-project/src/views/errorViews/ErrorList.vue +++ b/templates/front-project/src/views/errorViews/ErrorList.vue @@ -7,73 +7,65 @@ --> - - - - - - - - - - - - - - - - - - - - - - - - - - 搜索 - 新增 - 重置 - - - - - - - - - - - - 日志 - - - - - 修改 - 删除 - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + 搜索 + 新增 + 重置 + + + + + + + + + + + + 日志 + + + + + 修改 + 删除 + + + + + + + + + @@ -157,18 +149,18 @@