|
@@ -86,7 +86,7 @@ const menuList = computed(() => {
|
|
|
{ name: '分组分析',number: '10', path: 'groupAnalysis' },
|
|
{ name: '分组分析',number: '10', path: 'groupAnalysis' },
|
|
|
{ name: '选项分析',number: '11', path: 'optionAnalysis' },
|
|
{ name: '选项分析',number: '11', path: 'optionAnalysis' },
|
|
|
{ name: '命题分析',number: '12', path: 'propositionAnalysis' },
|
|
{ name: '命题分析',number: '12', path: 'propositionAnalysis' },
|
|
|
- { name: '报表下载',number: '13', path: 'reportDownload' }
|
|
|
|
|
|
|
+ // { name: '报表下载',number: '13', path: 'reportDownload' }
|
|
|
];
|
|
];
|
|
|
}else{
|
|
}else{
|
|
|
analysisMenu = [
|
|
analysisMenu = [
|
|
@@ -98,7 +98,7 @@ const menuList = computed(() => {
|
|
|
{ name: '小题分析',number: '9', path: 'questionAnalysis' },
|
|
{ name: '小题分析',number: '9', path: 'questionAnalysis' },
|
|
|
{ name: '选项分析',number: '11', path: 'optionAnalysis' },
|
|
{ name: '选项分析',number: '11', path: 'optionAnalysis' },
|
|
|
{ name: '命题分析',number: '12', path: 'propositionAnalysis' },
|
|
{ name: '命题分析',number: '12', path: 'propositionAnalysis' },
|
|
|
- { name: '报表下载',number: '13', path: 'reportDownload' }
|
|
|
|
|
|
|
+ // { name: '报表下载',number: '13', path: 'reportDownload' }
|
|
|
];
|
|
];
|
|
|
}
|
|
}
|
|
|
list = [
|
|
list = [
|
|
@@ -201,8 +201,7 @@ const MenuChange = (index: number, item: any) => {
|
|
|
}
|
|
}
|
|
|
stepOnIndex.value = index
|
|
stepOnIndex.value = index
|
|
|
childMenuPath.value = ''
|
|
childMenuPath.value = ''
|
|
|
- // 触发父组件事件
|
|
|
|
|
- // 在 <script setup> 中,需要使用 defineEmits
|
|
|
|
|
|
|
+ emit('menuChange')
|
|
|
router.push('/exam/'+item.path)
|
|
router.push('/exam/'+item.path)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -216,6 +215,7 @@ const MenuSelect = (menu: any) => {
|
|
|
stepOnIndex.value = 2;
|
|
stepOnIndex.value = 2;
|
|
|
childMenuPath.value = menu.path;
|
|
childMenuPath.value = menu.path;
|
|
|
analysisStore.setChildMenuPath(menu.path);
|
|
analysisStore.setChildMenuPath(menu.path);
|
|
|
|
|
+ emit('menuChange')
|
|
|
// 执行路由跳转
|
|
// 执行路由跳转
|
|
|
router.push(`/exam/analysis/${menu.path}`)
|
|
router.push(`/exam/analysis/${menu.path}`)
|
|
|
}
|
|
}
|