diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue
index ae57250..dd23468 100644
--- a/src/components/Hamburger/index.vue
+++ b/src/components/Hamburger/index.vue
@@ -81,9 +81,9 @@ const menuList = ref([
label: '环境数据',icon:'pure-natural', children: [
{label: '基地地图',href:'/system/base/mapMarkers'},
{label: '地块管理',href:'/system/base/baseTable'},
- {label: '土壤数据'},
- {label: '气象数据'},
- {label: '监控数据'},
+ {label: '土壤数据',href: '/envData/soilData'},
+ {label: '气象数据',href: '/envData/climaticData'},
+ {label: '监控数据',href: '/envData/monitorData'},
]
},
{
diff --git a/src/router/index.js b/src/router/index.js
index bcf7043..39f1c94 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -98,6 +98,76 @@ export const constantRoutes = [
}
]
},
+ {
+ path: '/system/base',
+ component: Layout,
+ hidden: true,
+ redirect: 'noredirect',
+ children: [
+ {
+ path: 'mapMarkers',
+ component: () => import('@/views/system/base/mapMarkers.vue'),
+ name: 'mapMarkers',
+ meta: { title: '基地地图' }
+ }
+ ]
+ },
+ {
+ path: '/system/base',
+ component: Layout,
+ hidden: true,
+ redirect: 'noredirect',
+ children: [
+ {
+ path: 'baseTable',
+ component: () => import('@/views/system/base/baseTable.vue'),
+ name: 'baseTable',
+ meta: { title: '地块管理' }
+ }
+ ]
+ },
+ {
+ path: '/envData',
+ component: Layout,
+ hidden: true,
+ redirect: 'noredirect',
+ children: [
+ {
+ path: 'soilData',
+ component: () => import('@/views/envData/soilData/index.vue'),
+ name: 'soilData',
+ meta: { title: '土壤数据' }
+ }
+ ]
+ },
+ {
+ path: '/envData',
+ component: Layout,
+ hidden: true,
+ redirect: 'noredirect',
+ children: [
+ {
+ path: 'climaticData',
+ component: () => import('@/views/envData/climaticData/index.vue'),
+ name: 'climaticData',
+ meta: { title: '气象数据' }
+ }
+ ]
+ },
+ {
+ path: '/envData',
+ component: Layout,
+ hidden: true,
+ redirect: 'noredirect',
+ children: [
+ {
+ path: 'monitorData',
+ component: () => import('@/views/envData/monitorData/index.vue'),
+ name: 'monitorData',
+ meta: { title: '监控数据' }
+ }
+ ]
+ },
]
// 动态路由,基于用户权限动态去加载
diff --git a/src/views/envData/climaticData/index.vue b/src/views/envData/climaticData/index.vue
new file mode 100644
index 0000000..0c081bf
--- /dev/null
+++ b/src/views/envData/climaticData/index.vue
@@ -0,0 +1,213 @@
+
+
+
+
+
+
+
+
+
+
+
+ 当前基地:{{currentBase.baseName || '请选择基地'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出Excel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/envData/monitorData/index.vue b/src/views/envData/monitorData/index.vue
new file mode 100644
index 0000000..771065b
--- /dev/null
+++ b/src/views/envData/monitorData/index.vue
@@ -0,0 +1,276 @@
+
+
+
+
+
+
+
+
+
+
{{item.monitorDate}}
+
+
设备编码:{{item.deviceCode}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/envData/soilData/index.vue b/src/views/envData/soilData/index.vue
new file mode 100644
index 0000000..fd8d577
--- /dev/null
+++ b/src/views/envData/soilData/index.vue
@@ -0,0 +1,219 @@
+
+
+
+
+
+
+
+
+
+
+
+ 当前基地:{{currentBase.baseName || '请选择基地'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 导出Excel
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/base/baseTable.vue b/src/views/system/base/baseTable.vue
index be81579..6da4289 100644
--- a/src/views/system/base/baseTable.vue
+++ b/src/views/system/base/baseTable.vue
@@ -132,6 +132,14 @@
+
+
+
+
+
+
+