|
@@ -3,29 +3,51 @@
|
|
|
<!-- //根据平台不同传不同参0后台(管理员)1老师2学生 eduIdentity
|
|
<!-- //根据平台不同传不同参0后台(管理员)1老师2学生 eduIdentity
|
|
|
{{userInfo.eduIdentity}}
|
|
{{userInfo.eduIdentity}}
|
|
|
管理员 -->
|
|
管理员 -->
|
|
|
- <div style="display: flex; width: 100vw; justify-content: space-between; align-items: center">
|
|
|
|
|
- <div style="display: flex; padding-left: 10%">
|
|
|
|
|
- <a-menu v-model:selectedKeys="current" mode="horizontal" theme="light" style="line-height: 55px">
|
|
|
|
|
|
|
+ <div style="display: flex; width: 100vw; justify-content: space-between; align-items: center; position: relative">
|
|
|
|
|
+ <div style="display: flex; padding-left: 10%; ">
|
|
|
|
|
+ <a-menu v-model:selectedKeys="current" mode="horizontal" theme="light" >
|
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="">资源中心</a-menu-item>
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="">资源中心</a-menu-item>
|
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/personalResources">个人资源</a-menu-item>
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/personalResources">个人资源</a-menu-item>
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/courseManagement">课程管理</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="answerManagement">问答管理</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="classManagement">班级管理</a-menu-item>
|
|
|
|
|
|
|
+ <a-sub-menu key="">
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <!-- 使用 Ant Design Vue 的图标 -->
|
|
|
|
|
+ <span>课程相关</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/courseManagement">课程管理</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="announcementManagement">课程公告发布</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="courseOpen">课程开课</a-menu-item>
|
|
|
|
|
+ </a-sub-menu>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="examinationManagement">考试管理</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="questionnaireManagement">问卷管理</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="exampaper">试题管理</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="student/record/">考试记录</a-menu-item>
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="question">题目列表</a-menu-item>
|
|
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="classManagement">班级管理</a-menu-item>
|
|
|
|
|
+<!-- <a-menu-item style="margin-left: 1px; margin-right: 1px"></a-menu-item>-->
|
|
|
|
|
+ <a-sub-menu key="">
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <!-- 使用 Ant Design Vue 的图标 -->
|
|
|
|
|
+ <span>考试相关</span>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="examinationManagement">考试管理</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="questionnaireManagement">问卷管理</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="exampaper">试卷管理</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="student/record/">考试批改</a-menu-item>
|
|
|
|
|
+ <a-menu-item style="margin-left: 1px; margin-right: 1px" key="question">题目列表</a-menu-item>
|
|
|
|
|
+ </a-sub-menu>
|
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="statistics">统计分析</a-menu-item>
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="statistics">统计分析</a-menu-item>
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="usercenter">个人中心</a-menu-item>
|
|
|
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="forum">论坛</a-menu-item>
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="forum">论坛</a-menu-item>
|
|
|
-<!-- <a-menu-item style="margin-left: 10px; margin-right: 10px" key="portal/courseManagement">站内信</a-menu-item>-->
|
|
|
|
|
- <a-menu-item style="margin-left: 1px; margin-right: 1px" key="announcementManagement">课程公告发布</a-menu-item>
|
|
|
|
|
|
|
+
|
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="resourceConversionLog">资源转换</a-menu-item>
|
|
<a-menu-item style="margin-left: 1px; margin-right: 1px" key="resourceConversionLog">资源转换</a-menu-item>
|
|
|
- <a-menu-item style="margin-left: 10px; margin-right: 10px" key="courseOpen">课程开课</a-menu-item>
|
|
|
|
|
|
|
+<!-- <a-menu-item style="margin-left: 10px; margin-right: 10px" key="portal/courseManagement">站内信</a-menu-item>-->
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
</a-menu>
|
|
</a-menu>
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <div style="width: 50px; height: 46px; margin-right: 19%; " >
|
|
|
|
|
+ <UserHeader></UserHeader>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<!-- <div class="header-right">-->
|
|
<!-- <div class="header-right">-->
|
|
|
<!-- <div style="display: flex">-->
|
|
<!-- <div style="display: flex">-->
|
|
@@ -38,15 +60,17 @@
|
|
|
<!-- <span style="font-size: 12px; color: #00000083">注册</span>-->
|
|
<!-- <span style="font-size: 12px; color: #00000083">注册</span>-->
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
|
|
|
+ <div class="line" style=""></div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="line" style=""></div>
|
|
|
|
|
|
|
+
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import { createVNode } from 'vue'
|
|
import { createVNode } from 'vue'
|
|
|
- import { ExclamationCircleOutlined } from '@ant-design/icons-vue'
|
|
|
|
|
|
|
+ import {ExclamationCircleOutlined, FolderOutlined} from '@ant-design/icons-vue'
|
|
|
import { Modal } from 'ant-design-vue'
|
|
import { Modal } from 'ant-design-vue'
|
|
|
|
|
+ import UserHeader from '@/views/portal/components/UserHeader.vue'
|
|
|
import loginApi from '@/api/auth/loginApi'
|
|
import loginApi from '@/api/auth/loginApi'
|
|
|
import { message } from 'ant-design-vue'
|
|
import { message } from 'ant-design-vue'
|
|
|
import { ref } from 'vue'
|
|
import { ref } from 'vue'
|
|
@@ -67,6 +91,32 @@
|
|
|
}
|
|
}
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
|
|
+ const list = ref([
|
|
|
|
|
+ ]);
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="">资源中心</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/personalResources">个人资源</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="portal/courseManagement">课程管理</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="answerManagement">问答管理</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="classManagement">班级管理</a-menu-item>
|
|
|
|
|
+//
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="examinationManagement">考试管理</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="questionnaireManagement">问卷管理</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="exampaper">试卷管理</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="student/record/">考试批改</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="question">题目列表</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="statistics">统计分析</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="usercenter">个人中心</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="forum">论坛</a-menu-item>
|
|
|
|
|
+// <!-- <a-menu-item style="margin-left: 10px; margin-right: 10px" key="portal/courseManagement">站内信</a-menu-item>-->
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="announcementManagement">课程公告发布</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 1px; margin-right: 1px" key="resourceConversionLog">资源转换</a-menu-item>
|
|
|
|
|
+// <a-menu-item style="margin-left: 10px; margin-right: 10px" key="courseOpen">课程开课</a-menu-item>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
const onChangeCurrent = (current) => {
|
|
const onChangeCurrent = (current) => {
|
|
|
|
|
|
|
|
router.push({
|
|
router.push({
|
|
@@ -113,6 +163,58 @@
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ onMounted(() => {
|
|
|
|
|
+ list.value =[
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '1',
|
|
|
|
|
+ title: '项目信息管理1',
|
|
|
|
|
+ path: '/infomationManage',
|
|
|
|
|
+ icon:'iconfont icon-information'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '2',
|
|
|
|
|
+ title: '安全信息管理2',
|
|
|
|
|
+ path: '/safeInfoManage',
|
|
|
|
|
+ icon:'iconfont icon-anquan',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '2.1',
|
|
|
|
|
+ title: '安全风险管理2.1',
|
|
|
|
|
+ path: '/safeRisk',
|
|
|
|
|
+ icon:'',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '2.1.1',
|
|
|
|
|
+ title: '风险分类管理2.1.1',
|
|
|
|
|
+ path: '/riskClassifyManage',
|
|
|
|
|
+ icon:'',
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '2.1.2',
|
|
|
|
|
+ title: '分类辨识2.1.2',
|
|
|
|
|
+ path: '/classifyIdentity',
|
|
|
|
|
+ icon:'',
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ },
|
|
|
|
|
+ ],
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '3',
|
|
|
|
|
+ title: '质量信息管理3',
|
|
|
|
|
+ path: '/qualityInfoManage',
|
|
|
|
|
+ icon:'iconfont icon-zhiliang',
|
|
|
|
|
+ children:[
|
|
|
|
|
+ {
|
|
|
|
|
+ key: '3.1',
|
|
|
|
|
+ title: '质量控制点管理3.1',
|
|
|
|
|
+ path: '/controlPointManage',
|
|
|
|
|
+ icon:'',
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
@@ -146,7 +248,9 @@
|
|
|
|
|
|
|
|
.line {
|
|
.line {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
- height: 0.25px;
|
|
|
|
|
|
|
+ height: 2px;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ bottom: 0px;
|
|
|
background-color: #00000013;
|
|
background-color: #00000013;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|