调整综合监控文件位置及加载方式
This commit is contained in:
parent
b2cd2dd4ca
commit
a033690502
@ -33,16 +33,17 @@ const ExistingSimulation = () => import('@/views/system/existingSimulation/index
|
|||||||
const CacheControl = () => import('@/views/system/cacheControl/index');
|
const CacheControl = () => import('@/views/system/cacheControl/index');
|
||||||
const SystemGenerate = () => import('@/views/system/systemGenerate/index');
|
const SystemGenerate = () => import('@/views/system/systemGenerate/index');
|
||||||
const IbpDraw = () => import('@/views/system/ibpDraw/index');
|
const IbpDraw = () => import('@/views/system/ibpDraw/index');
|
||||||
const IscsDraw = () => import('@/views/system/iscsDraw/index');
|
|
||||||
const IscsDesign = () => import('@/views/system/iscsDesign/index');
|
|
||||||
const News = () => import('@/views/system/news/index');
|
const News = () => import('@/views/system/news/index');
|
||||||
const CommandDictionary = () => import('@/views/system/commandDictionary/index');
|
const CommandDictionary = () => import('@/views/system/commandDictionary/index');
|
||||||
const CommandDictionaryDetail = () => import('@/views/system/commandDictionary/edit');
|
const CommandDictionaryDetail = () => import('@/views/system/commandDictionary/edit');
|
||||||
const configLine = () => import('@/views/system/configLine/index');
|
const configLine = () => import('@/views/system/configLine/index');
|
||||||
const IscsSystem = () => import('@/views/system/iscsSystem/index');
|
|
||||||
|
|
||||||
const Mapedit = () => import('@/views/mapdraft/index');
|
const Mapedit = () => import('@/views/mapdraft/index');
|
||||||
|
|
||||||
|
const IscsSystem = () => import('@/views/iscs/iscsSystem/index');
|
||||||
|
const IscsDraw = () => import('@/views/iscs/iscsDraw/index');
|
||||||
|
const IscsDesign = () => import('@/views/iscs/iscsDesign/index');
|
||||||
|
const IscsConfig = () => import('@/views/iscs/iscsSystem/config/index');
|
||||||
|
|
||||||
const NewMapDraft = () => import('@/views/newMap/newMapdraft/index');
|
const NewMapDraft = () => import('@/views/newMap/newMapdraft/index');
|
||||||
const NewDesignPlatformUser = () => import('@/views/newMap/newDesignUser/index');
|
const NewDesignPlatformUser = () => import('@/views/newMap/newDesignUser/index');
|
||||||
|
|
||||||
@ -518,21 +519,6 @@ export const asyncRouter = [
|
|||||||
component: JointTraining,
|
component: JointTraining,
|
||||||
hidden: true
|
hidden: true
|
||||||
},
|
},
|
||||||
// { // iscs系统
|
|
||||||
// path: '/iscs/system',
|
|
||||||
// component: IscsSystem,
|
|
||||||
// meta: {
|
|
||||||
// roles: [admin],
|
|
||||||
// i18n: 'router.iscsSystem'
|
|
||||||
// },
|
|
||||||
// children: [{
|
|
||||||
// path: '',
|
|
||||||
// component: IscsSystem,
|
|
||||||
// meta: {
|
|
||||||
// i18n: 'router.iscsSystem'
|
|
||||||
// }
|
|
||||||
// }]
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
path: '/jlmap3d',
|
path: '/jlmap3d',
|
||||||
component: Jlmap3d,
|
component: Jlmap3d,
|
||||||
@ -785,27 +771,6 @@ export const asyncRouter = [
|
|||||||
i18n: 'router.ibpDraw'
|
i18n: 'router.ibpDraw'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// path:'iscs/design',
|
|
||||||
// component: IscsDesign,
|
|
||||||
// meta: {
|
|
||||||
// i18n: 'router.iscsDraw'
|
|
||||||
// },
|
|
||||||
// children: [
|
|
||||||
// {
|
|
||||||
// path: 'edit/:id/:mode',
|
|
||||||
// component: IscsDraw,
|
|
||||||
// hidden: true
|
|
||||||
// }
|
|
||||||
// ]
|
|
||||||
// },
|
|
||||||
// {
|
|
||||||
// path: 'iscs/system',
|
|
||||||
// component: IscsSystem,
|
|
||||||
// meta: {
|
|
||||||
// i18n: 'router.iscsSystem'
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
path: 'dictionary',
|
path: 'dictionary',
|
||||||
component: Dictionary,
|
component: Dictionary,
|
||||||
@ -998,7 +963,14 @@ export const asyncRouter = [
|
|||||||
component: IscsSystem,
|
component: IscsSystem,
|
||||||
meta: {
|
meta: {
|
||||||
i18n: 'router.iscsSystem'
|
i18n: 'router.iscsSystem'
|
||||||
}
|
},
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'config/:mode',
|
||||||
|
component: IscsConfig,
|
||||||
|
hidden: true
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -35,16 +35,15 @@ export default {
|
|||||||
StationNetwork,
|
StationNetwork,
|
||||||
EmergencyRelease
|
EmergencyRelease
|
||||||
},
|
},
|
||||||
props: {
|
|
||||||
mode: {
|
|
||||||
type: String,
|
|
||||||
required: true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
mes: '1111'
|
mode: 'standFAS'
|
||||||
};
|
};
|
||||||
|
},
|
||||||
|
watch: {
|
||||||
|
'$route': function(val) {
|
||||||
|
this.mode = this.$route.params.mode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
@ -2,8 +2,7 @@
|
|||||||
<div class="iscs-system-box">
|
<div class="iscs-system-box">
|
||||||
<top-nav @selectMode="selectMode" />
|
<top-nav @selectMode="selectMode" />
|
||||||
<div class="content-box">
|
<div class="content-box">
|
||||||
<!-- <config-content :mode="mode" /> -->
|
<router-view />
|
||||||
<route-view />
|
|
||||||
</div>
|
</div>
|
||||||
<!-- <bottom /> -->
|
<!-- <bottom /> -->
|
||||||
</div>
|
</div>
|
||||||
@ -26,9 +25,6 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
selectMode(type) {
|
|
||||||
this.mode = type;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
@ -205,13 +205,13 @@ export default {
|
|||||||
this.selectIndex = index;
|
this.selectIndex = index;
|
||||||
this.selectChildIndex = 0;
|
this.selectChildIndex = 0;
|
||||||
if (item.children.length) {
|
if (item.children.length) {
|
||||||
this.$emit('selectMode', item.children[0].type);
|
this.$router.push({ path: `/iscs/system/config/${item.children[0].type}` });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
selectChildren(item, index) { // 选择子菜单
|
selectChildren(item, index) { // 选择子菜单
|
||||||
this.selectChildIndex = index;
|
this.selectChildIndex = index;
|
||||||
this.$emit('selectMode', item.type);
|
this.$router.push({ path: `/iscs/system/config/${item.type}` });
|
||||||
},
|
},
|
||||||
selectStation(item, index) { // 选择子菜单
|
selectStation(item, index) { // 选择子菜单
|
||||||
console.log(item);
|
console.log(item);
|
Loading…
Reference in New Issue
Block a user