diff --git a/sub-operation-service/src/router/index.js b/sub-operation-service/src/router/index.js index 5a20d78..ab498ce 100644 --- a/sub-operation-service/src/router/index.js +++ b/sub-operation-service/src/router/index.js @@ -135,31 +135,31 @@ export const constantRoutes = [ }, { path: '/sub-operation-service/smartFarm/growSeedlings', - component: () => import('@/views/smartFarm/growSeedlings/index.vue'), + component: () => import('@/views/smartFarm/manageControl/growSeedlings.vue'), name: 'growSeedlings', meta: { title: '一体育苗' }, }, { path: '/sub-operation-service/smartFarm/pestPrevention', - component: () => import('@/views/smartFarm/pestPrevention/index.vue'), + component: () => import('@/views/smartFarm/manageControl/pestPrevention.vue'), name: 'pestPrevention', meta: { title: '病虫害防治' }, }, { path: '/sub-operation-service/smartFarm/irrigationSystem', - component: () => import('@/views/smartFarm/irrigationSystem/index.vue'), + component: () => import('@/views/smartFarm/manageControl/irrigationSystem.vue'), name: 'irrigationSystem', meta: { title: '喷灌滴灌' }, }, { path: '/sub-operation-service/smartFarm/drainageControl', - component: () => import('@/views/smartFarm/drainageControl/index.vue'), + component: () => import('@/views/smartFarm/manageControl/drainageControl.vue'), name: 'drainageControl', meta: { title: '排集水控制' }, }, { path: '/sub-operation-service/smartFarm/openCurtain', - component: () => import('@/views/smartFarm/openCurtain/index.vue'), + component: () => import('@/views/smartFarm/manageControl/openCurtain.vue'), name: 'openCurtain', meta: { title: '开窗卷帘' }, }, diff --git a/sub-operation-service/src/views/smartFarm/components/common.vue b/sub-operation-service/src/views/smartFarm/components/common.vue index 81308e1..847afce 100644 --- a/sub-operation-service/src/views/smartFarm/components/common.vue +++ b/sub-operation-service/src/views/smartFarm/components/common.vue @@ -51,38 +51,38 @@ const menus = reactive([ name: 'control', title: '生产管理控制', icon: 'menu3.png', - path: '/sub-operation-service/ecommerce-purchaser', + path: '', isOpen: false, children: [ { name: 'control', title: '一体育苗', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/growSeedlings', + path: '/sub-operation-service/smartFarm/manageControl/growSeedlings', }, { name: 'control', title: '病虫害预防', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/pestPrevention', + path: '/sub-operation-service/smartFarm/manageControl/pestPrevention', }, { name: 'control', title: '喷灌滴灌', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/irrigationSystem', + path: '/sub-operation-service/smartFarm/manageControl/irrigationSystem', }, { name: 'control', title: '排集水控制', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/drainageControl', + path: '/sub-operation-service/smartFarm/manageControl/drainageControl', }, { name: 'control', title: '开窗卷帘', icon: 'menu3.png', - path: '/sub-operation-service/smartFarm/openCurtain', + path: '/sub-operation-service/smartFarm/manageControl/openCurtain', }, ], }, diff --git a/sub-operation-service/src/views/smartFarm/components/controlDevices.vue b/sub-operation-service/src/views/smartFarm/components/controlDevices.vue index 42e1b5e..ffb1771 100644 --- a/sub-operation-service/src/views/smartFarm/components/controlDevices.vue +++ b/sub-operation-service/src/views/smartFarm/components/controlDevices.vue @@ -39,13 +39,8 @@ const getDeviceSwitchStatus = (device) => { }); }; -const broadcast = ref([ - '2025年01月01日10:10:10,排水泵P567789456发生异常关机,请检查设备情况!', - '2025年02月02日11:14:55,排水泵P567789478发生异常故障,请检查设备情况!', -]); - onMounted(() => { - console.info('broadcastData', props.broadcastData); + // console.info('broadcastData', props.broadcastData); }); @@ -55,8 +50,8 @@ onMounted(() => {