剧本录制调整

This commit is contained in:
joylink_cuiweidong 2019-11-08 13:01:41 +08:00
parent 84562c94dc
commit 32f0006726
4 changed files with 149 additions and 145 deletions

View File

@ -27,8 +27,8 @@ import UserExam from '@/views/system/userExam/index';
import UserSimulation from '@/views/system/userSimulation/index';
import ExistingSimulation from '@/views/system/existingSimulation/index';
import CacheControl from '@/views/system/cacheControl/index';
import Trainingrecord from '@/views/system/trainingrecord/index';
import TrainingrecordManage from '@/views/system/trainingrecord/trainingrecordmanage/index';
// import Trainingrecord from '@/views/system/trainingrecord/index';
// import TrainingrecordManage from '@/views/system/trainingrecord/trainingrecordmanage/index';
import SystemGenerate from '@/views/system/systemGenerate/index';
import IbpDraw from '@/views/system/ibpDraw/index';
@ -362,11 +362,11 @@ export const asyncRouter = [
}
]
},
{
path: 'lesson/training/:trainingId/:trainingName',
component: TrainingrecordManage,
hidden: true
},
// {
// path: 'lesson/training/:trainingId/:trainingName',
// component: TrainingrecordManage,
// hidden: true
// },
{ // 地图预览
path: 'mapPreview/:mapId',
component: MapPreview,
@ -817,23 +817,23 @@ export const asyncRouter = [
i18n: 'router.productEdit'
}
},
{
// 实训录制
path: 'record',
redirect: 'record/training/0/null',
component: Trainingrecord,
meta: {
i18n: 'router.trainingRecord'
},
hidden: !isDev,
children: [
{
path: 'training/:trainingId/:trainingName',
component: TrainingrecordManage,
hidden: true
}
]
},
// {
// // 实训录制
// path: 'record',
// redirect: 'record/training/0/null',
// component: Trainingrecord,
// meta: {
// i18n: 'router.trainingRecord'
// },
// hidden: !isDev,
// children: [
// {
// path: 'training/:trainingId/:trainingName',
// component: TrainingrecordManage,
// hidden: true
// }
// ]
// },
{
path: 'news',
component: News,

View File

@ -36,6 +36,9 @@ const menuOperation = {
},
checkDialogIsOpen: (state) => (menu) => {
return state.menu == menu;
},
selectedCount:(state)=>{
return state.selectedCount;
}
},

View File

@ -62,9 +62,10 @@ export default {
};
},
watch: {
'$store.state.menuOperation.selected':function(em) {
if (em.code) {
this.deviceSelect(em);
'$store.state.menuOperation.selectedCount':function(em) {
const device = this.$store.state.menuOperation.selected;
if (device.code) {
this.deviceSelect(device);
}
}
},