mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
--fix 字典管理
This commit is contained in:
@@ -27,7 +27,8 @@
|
|||||||
@openChange="onOpenChange"
|
@openChange="onOpenChange"
|
||||||
@select="selectItem"
|
@select="selectItem"
|
||||||
>
|
>
|
||||||
<a-sub-menu v-if="checkMenu('coursereviewedn,coursereviewed,projectreviewedn,projectreviewed')" key="sub10" @titleClick="titleClick">
|
<a-sub-menu v-if="checkMenu('coursereviewedn,coursereviewed,projectreviewedn,projectreviewed')" key="sub10"
|
||||||
|
@titleClick="titleClick">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
<img
|
<img
|
||||||
@@ -172,6 +173,34 @@
|
|||||||
</div>
|
</div>
|
||||||
<router-link to="/researchmanage">评估管理</router-link>
|
<router-link to="/researchmanage">评估管理</router-link>
|
||||||
</a-menu-item>
|
</a-menu-item>
|
||||||
|
|
||||||
|
<a-sub-menu key="sub6">
|
||||||
|
<template #icon>
|
||||||
|
<div class="imgBox">
|
||||||
|
<img
|
||||||
|
style="width: 22px; height: 22px"
|
||||||
|
src="../assets/images/navleft/review.png"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template #title>系统管理</template>
|
||||||
|
<a-menu-item key="sub6-1">
|
||||||
|
<span
|
||||||
|
:class="{
|
||||||
|
circleActive: selectedKeys[0] === 'sub6-1',
|
||||||
|
circle: selectedKeys[0]!=='sub6-1',
|
||||||
|
}"
|
||||||
|
></span>
|
||||||
|
<router-link to="/dictmanage">字典管理</router-link>
|
||||||
|
</a-menu-item>
|
||||||
|
</a-sub-menu>
|
||||||
|
|
||||||
|
<a-menu-item key="sub5" v-if="checkMenu('systemManage')">
|
||||||
|
<div class="imgBox">
|
||||||
|
<img style="width: 16px; height: 16px" src="../assets/images/navleft/system.png"/>
|
||||||
|
</div>
|
||||||
|
<router-link to="/researchmanage">评估管理</router-link>
|
||||||
|
</a-menu-item>
|
||||||
<!-- 2022-12-10注释 后面放开 -->
|
<!-- 2022-12-10注释 后面放开 -->
|
||||||
<!-- <a-menu-item key="sub6" @titleClick="titleClick">
|
<!-- <a-menu-item key="sub6" @titleClick="titleClick">
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
@@ -213,7 +242,8 @@
|
|||||||
<!-- <router-link to="/systemmanage">系统管理</router-link> -->
|
<!-- <router-link to="/systemmanage">系统管理</router-link> -->
|
||||||
<!-- </a-menu-item> -->
|
<!-- </a-menu-item> -->
|
||||||
|
|
||||||
<a-sub-menu key="sub11" @titleClick="titleClick" v-if="checkMenu('questionmanage,papermanage,examinationcenter')">
|
<a-sub-menu key="sub11" @titleClick="titleClick"
|
||||||
|
v-if="checkMenu('questionmanage,papermanage,examinationcenter')">
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<div class="imgBox">
|
<div class="imgBox">
|
||||||
<img
|
<img
|
||||||
@@ -365,6 +395,7 @@ import { reactive, toRefs, onMounted, onUnmounted, watch } from "vue";
|
|||||||
import {useRoute} from "vue-router";
|
import {useRoute} from "vue-router";
|
||||||
import {useStore} from "vuex";
|
import {useStore} from "vuex";
|
||||||
import {checkMenu} from "@/utils/utils";
|
import {checkMenu} from "@/utils/utils";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "NavLeft",
|
name: "NavLeft",
|
||||||
setup() {
|
setup() {
|
||||||
@@ -688,6 +719,7 @@ export default {
|
|||||||
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
|
||||||
// margin-top: -50px;
|
// margin-top: -50px;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
|
||||||
.packup {
|
.packup {
|
||||||
width: 19px;
|
width: 19px;
|
||||||
height: 15px;
|
height: 15px;
|
||||||
@@ -702,16 +734,19 @@ export default {
|
|||||||
border: none;
|
border: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
//图标和字放在一行
|
//图标和字放在一行
|
||||||
.ant-menu-title-content {
|
.ant-menu-title-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.packupMenu .ant-menu-title-content {
|
.packupMenu .ant-menu-title-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
//修改导航文字颜色
|
//修改导航文字颜色
|
||||||
.ant-menu-title-content {
|
.ant-menu-title-content {
|
||||||
padding: 0px !important;
|
padding: 0px !important;
|
||||||
@@ -723,6 +758,7 @@ export default {
|
|||||||
border-right: 3px solid rgba(255, 255, 255, 0);
|
border-right: 3px solid rgba(255, 255, 255, 0);
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu-item a,
|
.ant-menu-item a,
|
||||||
.ant-menu-item a:hover {
|
.ant-menu-item a:hover {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -730,6 +766,7 @@ export default {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
}
|
}
|
||||||
|
|
||||||
//修改二级导航背景色
|
//修改二级导航背景色
|
||||||
.ant-menu-sub.ant-menu-inline {
|
.ant-menu-sub.ant-menu-inline {
|
||||||
background-color: rgba(56, 139, 225, 0);
|
background-color: rgba(56, 139, 225, 0);
|
||||||
@@ -755,10 +792,12 @@ export default {
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-right: 15px;
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu-submenu-arrow {
|
.ant-menu-submenu-arrow {
|
||||||
color: rgba(255, 255, 255, 1) !important;
|
color: rgba(255, 255, 255, 1) !important;
|
||||||
right: 14px !important;
|
right: 14px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .ant-menu-submenu-active .ant-menu-submenu-arrow {
|
// .ant-menu-submenu-active .ant-menu-submenu-arrow {
|
||||||
// right: 11px !important;
|
// right: 11px !important;
|
||||||
// }
|
// }
|
||||||
@@ -767,11 +806,13 @@ export default {
|
|||||||
background: rgba(236, 245, 255, 0.43) !important;
|
background: rgba(236, 245, 255, 0.43) !important;
|
||||||
border-right: 3px solid rgba(255, 255, 255, 1);
|
border-right: 3px solid rgba(255, 255, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
//选中背景
|
//选中背景
|
||||||
.ant-menu-item-selected {
|
.ant-menu-item-selected {
|
||||||
background: rgba(236, 245, 255, 0.43) !important;
|
background: rgba(236, 245, 255, 0.43) !important;
|
||||||
border-right: 3px solid rgba(255, 255, 255, 1);
|
border-right: 3px solid rgba(255, 255, 255, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-menu-vertical .ant-menu-item::after,
|
.ant-menu-vertical .ant-menu-item::after,
|
||||||
.ant-menu-vertical-left .ant-menu-item::after,
|
.ant-menu-vertical-left .ant-menu-item::after,
|
||||||
.ant-menu-vertical-right .ant-menu-item::after,
|
.ant-menu-vertical-right .ant-menu-item::after,
|
||||||
@@ -788,6 +829,7 @@ export default {
|
|||||||
margin-right: 18px;
|
margin-right: 18px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.circleActive {
|
.circleActive {
|
||||||
width: 10px;
|
width: 10px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
|
|||||||
@@ -1,43 +1,19 @@
|
|||||||
<!--
|
|
||||||
* @Author: lixg lixg@dongwu-inc.com
|
|
||||||
* @Date: 2022-11-09 09:26:26
|
|
||||||
* @LastEditors: lixg lixg@dongwu-inc.com
|
|
||||||
* @LastEditTime: 2022-11-25 17:37:05
|
|
||||||
* @FilePath: /fe-manage/src/views/courselibrary/CourseManage.vue
|
|
||||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
||||||
-->
|
|
||||||
<!-- 课件管理页面 -->
|
|
||||||
<!-- sandbox="allow-forms allow-scripts allow-same-origin allow-popups" -->
|
|
||||||
<template>
|
<template>
|
||||||
<div class="courseManage">
|
<div class="courseManage">
|
||||||
<iframe
|
<iframe
|
||||||
id="iframe"
|
id="iframe"
|
||||||
style="width: 100%; height: 100%"
|
style="width: 100%; height: 100%"
|
||||||
src="http://43.143.139.204/platform/"
|
:src="`${BOE_URL}/platform/sys/dwdictionary`"
|
||||||
frameborder="0"
|
|
||||||
name="myframe"
|
name="myframe"
|
||||||
security="restricted"
|
security="restricted"
|
||||||
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
|
||||||
></iframe>
|
></iframe>
|
||||||
<OnlineClassModelStudent ref="stuRef"></OnlineClassModelStudent>
|
|
||||||
<div @click="test">
|
|
||||||
asdfasdf
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {onMounted, ref} from "vue";
|
|
||||||
import OnlineClassModelStudent from "@/components/student/OnlineClassModelStudent";
|
|
||||||
|
|
||||||
const stuRef = ref()
|
const BOE_URL = window.location.protocol + process.env.VUE_APP_BOE_API_URL
|
||||||
|
|
||||||
onMounted(()=>{
|
|
||||||
window.openStudentModel = stuRef.value.openDrawer
|
|
||||||
})
|
|
||||||
|
|
||||||
function test(){
|
|
||||||
window.openStudentModel()
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.courseManage {
|
.courseManage {
|
||||||
|
|||||||
Reference in New Issue
Block a user