Browse Source

fix: 去除页面缓存

deploy-dev
xuziqiang 4 months ago
parent
commit
db70343b18
  1. 6
      hx-ai-intelligent/src/router/alarmManagement.ts
  2. 6
      hx-ai-intelligent/src/router/carbonEmissionManage.ts
  3. 2
      hx-ai-intelligent/src/router/equipmentControl.ts
  4. 6
      hx-ai-intelligent/src/router/equipmentManage.ts
  5. 2
      hx-ai-intelligent/src/router/home.ts
  6. 8
      hx-ai-intelligent/src/router/monitor.ts
  7. 4
      hx-ai-intelligent/src/router/organizationManage.ts
  8. 2
      hx-op/src/router/home.ts
  9. 2
      hx-op/src/router/organizationManage.ts

6
hx-ai-intelligent/src/router/alarmManagement.ts

@ -18,7 +18,7 @@ const alarmManagement = {
component: () => import('/@/view/alarmManagement/alarmOverview/index.vue'), component: () => import('/@/view/alarmManagement/alarmOverview/index.vue'),
meta: { meta: {
title: '告警总览', title: '告警总览',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -37,7 +37,7 @@ const alarmManagement = {
component: () => import('/@/view/alarmManagement/equipmentAlarm/index.vue'), component: () => import('/@/view/alarmManagement/equipmentAlarm/index.vue'),
meta: { meta: {
title: '设备告警', title: '设备告警',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -56,7 +56,7 @@ const alarmManagement = {
component: () => import('/@/view/alarmManagement/alarmSettings/index.vue'), component: () => import('/@/view/alarmManagement/alarmSettings/index.vue'),
meta: { meta: {
title: '告警设置', title: '告警设置',
keepAlive: true, keepAlive: false,
operates: [ operates: [
{ title: '设备告警新增', code: 'equipmentAlarmAdd' }, { title: '设备告警新增', code: 'equipmentAlarmAdd' },
{ title: '设备告警导入', code: 'equipmentAlarmImport' }, { title: '设备告警导入', code: 'equipmentAlarmImport' },

6
hx-ai-intelligent/src/router/carbonEmissionManage.ts

@ -19,7 +19,7 @@ const equipment = {
component: () => import('/@/view/carbonEmissionManage/carbonEmissionStatistics/index.vue'), component: () => import('/@/view/carbonEmissionManage/carbonEmissionStatistics/index.vue'),
meta: { meta: {
title: '碳排统计', title: '碳排统计',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -39,7 +39,7 @@ const equipment = {
component: () => import('/@/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue'), component: () => import('/@/view/carbonEmissionManage/carbonEmissionFactorLibrary/index.vue'),
meta: { meta: {
title: '碳排因子库', title: '碳排因子库',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -59,7 +59,7 @@ const equipment = {
component: () => import('/@/view/carbonEmissionManage/carbonInventoryCheck/index.vue'), component: () => import('/@/view/carbonEmissionManage/carbonInventoryCheck/index.vue'),
meta: { meta: {
title: '碳盘查', title: '碳盘查',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },

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

@ -18,7 +18,7 @@ const equipmentControl = {
component: () => import('/@/view/equipmentControl/lightingManage/indexs.vue'), component: () => import('/@/view/equipmentControl/lightingManage/indexs.vue'),
meta: { meta: {
title: '智能照明', title: '智能照明',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },

6
hx-ai-intelligent/src/router/equipmentManage.ts

@ -19,7 +19,7 @@ const equipment = {
component: () => import('/@/view/equipmentManage/ledger/index.vue'), component: () => import('/@/view/equipmentManage/ledger/index.vue'),
meta: { meta: {
title: '设备台账', title: '设备台账',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -38,7 +38,7 @@ const equipment = {
component: () => import('/@/view/equipmentManage/group/index.vue'), component: () => import('/@/view/equipmentManage/group/index.vue'),
meta: { meta: {
title: '分组管理', title: '分组管理',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -57,7 +57,7 @@ const equipment = {
// component: () => import('/@/view/equipmentManage/energyMapping/index.vue'), // component: () => import('/@/view/equipmentManage/energyMapping/index.vue'),
// meta: { // meta: {
// title: '能耗映射', // title: '能耗映射',
// keepAlive: true, // keepAlive: false,
// // backApi: [], // // backApi: [],
// }, // },
// }, // },

2
hx-ai-intelligent/src/router/home.ts

@ -17,7 +17,7 @@ const home = {
// name: 'homeIndex', // name: 'homeIndex',
// meta: { // meta: {
// title: '首页', // title: '首页',
// keepAlive: true, // keepAlive: false,
// // backApi: [], // // backApi: [],
// }, // },
// }, // },

8
hx-ai-intelligent/src/router/monitor.ts

@ -18,7 +18,7 @@ const equipment = {
component: () => import('/@/view/monitor/environmentMonitor/index.vue'), component: () => import('/@/view/monitor/environmentMonitor/index.vue'),
meta: { meta: {
title: '环境监测', title: '环境监测',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -37,7 +37,7 @@ const equipment = {
component: () => import('/@/view/monitor/deviceMonitor/index.vue'), component: () => import('/@/view/monitor/deviceMonitor/index.vue'),
meta: { meta: {
title: '设备监测', title: '设备监测',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -56,7 +56,7 @@ const equipment = {
component: () => import('/@/view/monitor/energyMonitor/index.vue'), component: () => import('/@/view/monitor/energyMonitor/index.vue'),
meta: { meta: {
title: '能耗监测', title: '能耗监测',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },
@ -75,7 +75,7 @@ const equipment = {
// component: () => import('/@/view/monitor/group/index.vue'), // component: () => import('/@/view/monitor/group/index.vue'),
// meta: { // meta: {
// title: '分组管理', // title: '分组管理',
// keepAlive: true, // keepAlive: false,
// // backApi: [], // // backApi: [],
// }, // },
// }, // },

4
hx-ai-intelligent/src/router/organizationManage.ts

@ -18,7 +18,7 @@ const organizationManage = {
component: () => import('/@/view/organizationManage/usermanage/index.vue'), component: () => import('/@/view/organizationManage/usermanage/index.vue'),
meta: { meta: {
title: '用户管理', title: '用户管理',
keepAlive: true, keepAlive: false,
operates: [ operates: [
{ title: '新增', code: 'userAdd' }, { title: '新增', code: 'userAdd' },
{ title: '导入', code: 'userImport' }, { title: '导入', code: 'userImport' },
@ -48,7 +48,7 @@ const organizationManage = {
component: () => import('/@/view/organizationManage/departmentManage/index.vue'), component: () => import('/@/view/organizationManage/departmentManage/index.vue'),
meta: { meta: {
title: '部门/权限', title: '部门/权限',
keepAlive: true, keepAlive: false,
operates: [ operates: [
{ title: '新增部门', code: 'authorityDeptAdd' }, { title: '新增部门', code: 'authorityDeptAdd' },
{ title: '新增子部门', code: 'authorityDeptSonAdd' }, { title: '新增子部门', code: 'authorityDeptSonAdd' },

2
hx-op/src/router/home.ts

@ -11,7 +11,7 @@ const home = {
component: () => import('/@/view/developing.vue'), component: () => import('/@/view/developing.vue'),
meta: { meta: {
title: '首页', title: '首页',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },

2
hx-op/src/router/organizationManage.ts

@ -11,7 +11,7 @@ const organizationManage = {
component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'), component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'),
meta: { meta: {
title: '企业管理', title: '企业管理',
keepAlive: true, keepAlive: false,
// backApi: [], // backApi: [],
}, },
}, },

Loading…
Cancel
Save