diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index 41f200f..3e1beb4 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -66,7 +66,7 @@ export const constantRoutes = [ name: 'userOrders', meta: { title: '我的订单' }, }, - { + { path: '/sub-operation-service/userLands', component: () => import('@/views/userCenter/userLands.vue'), name: 'userLands', @@ -133,6 +133,12 @@ export const constantRoutes = [ name: 'envInspection', meta: { title: '环境监测' }, }, + { + path: '/sub-operation-service/smartFarm/intelligentFertilizer', + component: () => import('@/views/smartFarm/inspection/intelligentFertilizer.vue'), + name: 'intelligentFertilizer', + meta: { title: '智能配肥' }, + }, { path: '/sub-operation-service/smartFarm/growSeedlings', component: () => import('@/views/smartFarm/growSeedlings/index.vue'), diff --git a/sub-operation-service/src/views/smartFarm/components/devices.vue b/sub-operation-service/src/views/smartFarm/components/devices.vue index 3780d79..8fb46b6 100644 --- a/sub-operation-service/src/views/smartFarm/components/devices.vue +++ b/sub-operation-service/src/views/smartFarm/components/devices.vue @@ -27,7 +27,7 @@ const icons = [ { 温度传感器: 'tempSensor' }, { 智能阀控: 'intelligentValveControl' }, { 供水阀: 'waterSupplyValve' }, - { 混合阀: 'mixingPump' }, + { 混合泵: 'mixingPump' }, { 混合罐: 'mixingTank' }, { 施肥: 'fertilization' }, { 肥料罐: 'fertilizerTank' }, diff --git a/sub-operation-service/src/views/smartFarm/components/leftMenu.vue b/sub-operation-service/src/views/smartFarm/components/leftMenu.vue index 6d12bb0..19ad8d8 100644 --- a/sub-operation-service/src/views/smartFarm/components/leftMenu.vue +++ b/sub-operation-service/src/views/smartFarm/components/leftMenu.vue @@ -79,6 +79,12 @@ const leftMenu = reactive([ icon: 'menu1.png', path: '/sub-operation-service/smartFarm/envInspection', }, + { + name: 'intelligentFertilizer', + title: '智能配肥', + icon: 'menu1.png', + path: '/sub-operation-service/smartFarm/intelligentFertilizer', + }, ], }, { diff --git a/sub-operation-service/src/views/smartFarm/inspection/intelligentFertilizer.vue b/sub-operation-service/src/views/smartFarm/inspection/intelligentFertilizer.vue new file mode 100644 index 0000000..d940b37 --- /dev/null +++ b/sub-operation-service/src/views/smartFarm/inspection/intelligentFertilizer.vue @@ -0,0 +1,161 @@ + + + + +