代码调整

This commit is contained in:
joylink_cuiweidong 2021-04-16 09:48:03 +08:00
parent b5b9b493e7
commit 91190c6dc3
7 changed files with 48 additions and 52 deletions

View File

@ -2,7 +2,7 @@
<div id="app">
<router-view />
<deomon-topic ref="deomonTopic" />
<img v-show="loading" :src="loadingImg" style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 2003">
<img v-show="loading" :src="loadingImg" class="AppAll">
</div>
</template>
@ -108,3 +108,6 @@ export default {
};
</script>
<style lang="scss" scoped>
.AppAll{position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 2003}
</style>

View File

@ -1,9 +1,9 @@
<template>
<el-dialog v-dialogDrag :title="title" :visible.sync="dialogVisible" width="35%" :before-close="done => {}" :show-close="false" center>
<div style="text-align:center; margin:auto;">
<div class="qrcodeView">
<qrcode-vue v-loading="loading" :value="url" :size="400" />
</div>
<div v-if="group" style="text-align: center;font-size: 18px;font-weight: bold; margin-top:40px;">
<div v-if="group" class="qrcodeGroup">
<span>{{ $t('global.roomId')+group }}</span>
</div>
<span slot="footer" class="dialog-footer">
@ -47,3 +47,7 @@ export default {
}
};
</script>
<style lang="scss" scoped>
.qrcodeView{text-align:center; margin:auto;}
.qrcodeGroup{text-align: center;font-size: 18px;font-weight: bold; margin-top:40px;}
</style>

View File

@ -167,7 +167,7 @@
</el-table-column>
</template>
</el-table>
<div v-if="!queryList.paginationHiden" class="page-container " style="text-align: center; margin: 10px 0; height: 40px;">
<div v-if="!queryList.paginationHiden" class="page-container pageContainerView">
<el-pagination
:current-page="pageIndex"
:page-sizes="[10, 20, 50, 100] "
@ -601,4 +601,5 @@ export default {
margin-top: 8px;
margin-left: 8px;
}
.pageContainerView{text-align: center; margin: 10px 0; height: 40px;}
</style>

View File

@ -1,5 +1,5 @@
<template>
<div v-loading="loading" class="joylink-card map-list-main">
<div v-loading="loading" class="map-list-main">
<div>
<div class="mapListName">
<span>{{ $t('map.publishedMapList') }}</span>

View File

@ -1,39 +1,36 @@
<template>
<div>
<div class="title_content">{{ $store.state.user.companyName + '教学管理' }}</div>
<el-button type="text" style="position: fixed;right: 20px;top: 70px;" @click="back">返回</el-button>
<div style="width: 96%;margin: 0 auto;overflow: hidden;">
<el-menu
style="width: 200px;float: left;"
default-active="2-1"
>
<el-button type="text" class="lessonManageBack" @click="back">返回</el-button>
<div class="lessonManageInfo">
<el-menuclass="lessonManageMenu" default-active="2-1">
<el-menu-item index="1" @click="clickMenu">
<img :src="classIcon" style="width: 18px;height: 18px;margin-right: 8px;">
<span style="font-size: 18px;" :style="{color: $route.path.includes('classManage')?'#5BDBFF': '#000'}">班级管理</span>
<img :src="classIcon" class="teachMenu">
<span class="teachMenuTitle" :style="{color: $route.path.includes('classManage')?'#5BDBFF': '#000'}">班级管理</span>
</el-menu-item>
<el-submenu index="2">
<template slot="title">
<img :src="lessonIcon" style="width: 18px;height: 18px;margin-right: 8px;">
<span style="font-size: 18px;">课程管理</span>
<img :src="lessonIcon" class="teachMenu">
<span class="teachMenuTitle">课程管理</span>
</template>
<el-menu-item-group>
<el-menu-item index="2-1" style="font-size: 16px;" :style="{color: $route.path.includes('lessonManage')?'#5BDBFF': '#000'}" @click="clickMenu">发布课程管理</el-menu-item>
<el-menu-item index="2-2" style="font-size: 16px;" :style="{color: $route.path.includes('draftLessonManage')?'#5BDBFF': '#000'}" @click="clickMenu">草稿课程管理</el-menu-item>
<el-menu-item index="2-1" class="lessonIcon" :style="{color: $route.path.includes('lessonManage')?'#5BDBFF': '#000'}" @click="clickMenu">发布课程管理</el-menu-item>
<el-menu-item index="2-2" class="lessonIcon" :style="{color: $route.path.includes('draftLessonManage')?'#5BDBFF': '#000'}" @click="clickMenu">草稿课程管理</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-menu-item index="3" @click="clickMenu">
<img :src="examIcon" style="width: 18px;height: 18px;margin-right: 8px;">
<span slot="title" style="font-size: 18px;" :style="{color: $route.path.includes('examManage')?'#5BDBFF': '#000'}">考试管理</span>
<img :src="examIcon" class="teachMenu">
<span slot="title" class="teachMenuTitle" :style="{color: $route.path.includes('examManage')?'#5BDBFF': '#000'}">考试管理</span>
</el-menu-item>
<el-menu-item index="4" @click="clickMenu">
<img :src="ruleIcon" style="width: 18px;height: 18px;margin-right: 8px;">
<span slot="title" :style="{color: $route.path.includes('ruleManage')?'#5BDBFF': '#000'}" style="font-size: 18px;">评价管理</span>
<img :src="ruleIcon" class="teachMenu">
<span slot="title" :style="{color: $route.path.includes('ruleManage')?'#5BDBFF': '#000'}" class="teachMenuTitle">评价管理</span>
</el-menu-item>
</el-menu>
<div style="width: calc(100% - 200px);margin-left: 200px;">
<router-view />
</div>
</div>
</el-menu>
<div class="lessonManageOther">
<router-view />
</div>
</el-menuclass="lessonmanagemenu"></div>
</div>
</template>
@ -87,20 +84,13 @@ export default {
</script>
<style scoped>
.back_box {
height: 20px;
z-index: 36;
width: 40px;
text-align: center;
position: absolute;
right: 20px;
top: -20px;
}
.title_content {
width: 100%;
margin: 20px 0 30px;
text-align: center;
font-size: 28px;
font-weight: bold;
}
.back_box {height: 20px;z-index: 36;width: 40px;text-align: center;position: absolute;right: 20px;top: -20px;}
.title_content {width: 100%;margin: 20px 0 30px;text-align: center;font-size: 28px;font-weight: bold;}
.teachMenu{width: 18px;height: 18px;margin-right: 8px;}
.lessonIcon{font-size: 16px;}
.teachMenuTitle{font-size: 18px;}
.lessonManageBack{position: fixed;right: 20px;top: 70px;}
.lessonManageOther{width: calc(100% - 200px);margin-left: 200px;}
.lessonManageInfo{width: 96%;margin: 0 auto;overflow: hidden;}
.lessonManageMenu{width: 200px;float: left;}
</style>

View File

@ -342,7 +342,7 @@ export default {
option.dataZoom[0].startValue = option.dataZoom[1].startValue = startValue - offsetTime;
option.dataZoom[0].endValue = option.dataZoom[1].endValue = startValue + offsetTime;
option.series = series;
option.title.text = (this.$store.state.runPlan.runPlanInfo||{}).name||'';
option.title.text = (this.$store.state.runPlan.runPlanInfo || {}).name || '';
this.myChart = echarts.init(document.getElementById(this.runPlanId));
if (this.myChart) {
this.myChart.setOption(option);

View File

@ -1,14 +1,12 @@
<template>
<div v-loading="loading" class="joylink-card map-list-main">
<div>
<div class="mapListName">
<span>{{ $t('global.mapList') }}</span>
</div>
<template v-if="!IsProject">
<filter-city ref="filerCity" filter-empty local-param-name="training_cityCode" @filterSelectChange="refresh" />
<el-input v-model="filterText" :placeholder="this.$t('global.filteringKeywords')" clearable />
</template>
<div v-loading="loading" class="map-list-main">
<div class="mapListName">
<span>{{ $t('global.mapList') }}</span>
</div>
<template v-if="!IsProject">
<filter-city ref="filerCity" filter-empty local-param-name="training_cityCode" @filterSelectChange="refresh" />
<el-input v-model="filterText" :placeholder="this.$t('global.filteringKeywords')" clearable />
</template>
<div id="trainingMapTree" class="left-map-list">
<el-tree
ref="tree"