|
|
@ -4,6 +4,34 @@ export default {
|
|
|
|
props:{
|
|
|
|
props:{
|
|
|
|
isCollapse: Boolean,
|
|
|
|
isCollapse: Boolean,
|
|
|
|
logoTextShow: Boolean
|
|
|
|
logoTextShow: Boolean
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
data(){
|
|
|
|
|
|
|
|
return{
|
|
|
|
|
|
|
|
personnelChoose:true
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
methods:{
|
|
|
|
|
|
|
|
showSample1(){
|
|
|
|
|
|
|
|
const sentences = [
|
|
|
|
|
|
|
|
"这是第1句话。",
|
|
|
|
|
|
|
|
"这是第2句话。",
|
|
|
|
|
|
|
|
"这是第3句话。",
|
|
|
|
|
|
|
|
"这是第4句话。",
|
|
|
|
|
|
|
|
"这是第5句话。",
|
|
|
|
|
|
|
|
"这是第6句话。",
|
|
|
|
|
|
|
|
"这是第7句话。",
|
|
|
|
|
|
|
|
"这是第8句话。",
|
|
|
|
|
|
|
|
"这是第9句话。",
|
|
|
|
|
|
|
|
"这是第10句话。"
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
alert(sentences.join('\n'));
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
isSelectedPersonnelRecognition() {
|
|
|
|
|
|
|
|
return this.personnelChoose;
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
handlePersonnelSelect(){
|
|
|
|
|
|
|
|
this.personnelChoose = !this.personnelChoose;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
@ -18,7 +46,7 @@ export default {
|
|
|
|
router
|
|
|
|
router
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<div style="height: 60px; line-height: 60px; text-align: center">
|
|
|
|
<div style="height: 60px; line-height: 60px; text-align: center">
|
|
|
|
<img src="../assets/logo.png" alt="" style="width: 20px; position: relative; top: 5px; right: 5px">
|
|
|
|
<!-- <img src="../assets/logo.png" alt="" style="width: 20px; position: relative; top: 5px; right: 5px">-->
|
|
|
|
<b style="color: white" v-show="logoTextShow">脑电数据管理系统</b>
|
|
|
|
<b style="color: white" v-show="logoTextShow">脑电数据管理系统</b>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -40,7 +68,7 @@ export default {
|
|
|
|
<i class="el-icon-menu"></i>
|
|
|
|
<i class="el-icon-menu"></i>
|
|
|
|
<span slot="title">脑电采集</span>
|
|
|
|
<span slot="title">脑电采集</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<el-menu-item index="/sample1">
|
|
|
|
<el-menu-item index="/sample1" @mouseover="showSample1">
|
|
|
|
<template slot="title">
|
|
|
|
<template slot="title">
|
|
|
|
<i class="el-icon-s-grid"></i>
|
|
|
|
<i class="el-icon-s-grid"></i>
|
|
|
|
<span slot="title">第1组</span>
|
|
|
|
<span slot="title">第1组</span>
|
|
|
@ -72,8 +100,8 @@ export default {
|
|
|
|
</el-menu-item>
|
|
|
|
</el-menu-item>
|
|
|
|
</el-submenu>
|
|
|
|
</el-submenu>
|
|
|
|
|
|
|
|
|
|
|
|
<el-submenu index="3">
|
|
|
|
<el-submenu index="3" :class="{'hide-scrollbar':isSelectedPersonnelRecognition}" style="max-height: 200px; overflow-y: auto; overflow-x: hidden">
|
|
|
|
<template slot="title">
|
|
|
|
<template slot="title" @click="handlePersonnelSelect">
|
|
|
|
<i class="el-icon-user-solid"></i>
|
|
|
|
<i class="el-icon-user-solid"></i>
|
|
|
|
<span slot="title">人员识别</span>
|
|
|
|
<span slot="title">人员识别</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -466,8 +494,12 @@ export default {
|
|
|
|
</el-submenu>
|
|
|
|
</el-submenu>
|
|
|
|
|
|
|
|
|
|
|
|
</el-menu>
|
|
|
|
</el-menu>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
.hide-scrollbar{
|
|
|
|
|
|
|
|
overflow-y:hidden;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
|
|
|
|
|
|
|
|