zhaohy 3 months ago
parent
commit
c27b19bf1e
  1. 38
      hx-ai-intelligent/src/router/equipmentControl.ts
  2. 1
      hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue

38
hx-ai-intelligent/src/router/equipmentControl.ts

@ -119,25 +119,25 @@ const equipmentControl = {
},
],
},
{
path: 'waterSystem',
name: 'waterSystem',
meta: { title: '给排水系统', hideChildren: true, icon: 'shebeiqunkong' },
component: Base,
redirect: { name: 'waternControlSystemIndex' },
children: [
{
path: 'index',
name: 'waternControlSystemIndex',
component: () => import('/@/view/equipmentControl/waterSystem/index.vue'),
meta: {
title: '给排水系统',
keepAlive: false,
// backApi: [],
},
},
],
},
// {
// path: 'waterSystem',
// name: 'waterSystem',
// meta: { title: '给排水系统', hideChildren: true, icon: 'shebeiqunkong' },
// component: Base,
// redirect: { name: 'waternControlSystemIndex' },
// children: [
// {
// path: 'index',
// name: 'waternControlSystemIndex',
// component: () => import('/@/view/equipmentControl/waterSystem/index.vue'),
// meta: {
// title: '给排水系统',
// keepAlive: false,
// // backApi: [],
// },
// },
// ],
// },
{
path: 'planToAdd',
name: 'planToAdd',

1
hx-ai-intelligent/src/view/monitor/deviceMonitor/tree/index.vue

@ -128,7 +128,6 @@
http.post(device.queryDeviceTree, { orgId: orgId.value }).then((res) => {
treeData1.value = formatTreeData(res.data);
debugger;
if (treeData1.value && treeData1.value.length > 0) {
firstKey.value = [treeData1.value[0].value];
}

Loading…
Cancel
Save