代码调整

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"> <div id="app">
<router-view /> <router-view />
<deomon-topic ref="deomonTopic" /> <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> </div>
</template> </template>
@ -108,3 +108,6 @@ export default {
}; };
</script> </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> <template>
<el-dialog v-dialogDrag :title="title" :visible.sync="dialogVisible" width="35%" :before-close="done => {}" :show-close="false" center> <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" /> <qrcode-vue v-loading="loading" :value="url" :size="400" />
</div> </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> <span>{{ $t('global.roomId')+group }}</span>
</div> </div>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
@ -47,3 +47,7 @@ export default {
} }
}; };
</script> </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> </el-table-column>
</template> </template>
</el-table> </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 <el-pagination
:current-page="pageIndex" :current-page="pageIndex"
:page-sizes="[10, 20, 50, 100] " :page-sizes="[10, 20, 50, 100] "
@ -601,4 +601,5 @@ export default {
margin-top: 8px; margin-top: 8px;
margin-left: 8px; margin-left: 8px;
} }
.pageContainerView{text-align: center; margin: 10px 0; height: 40px;}
</style> </style>

View File

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

View File

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

View File

@ -342,7 +342,7 @@ export default {
option.dataZoom[0].startValue = option.dataZoom[1].startValue = startValue - offsetTime; option.dataZoom[0].startValue = option.dataZoom[1].startValue = startValue - offsetTime;
option.dataZoom[0].endValue = option.dataZoom[1].endValue = startValue + offsetTime; option.dataZoom[0].endValue = option.dataZoom[1].endValue = startValue + offsetTime;
option.series = series; 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)); this.myChart = echarts.init(document.getElementById(this.runPlanId));
if (this.myChart) { if (this.myChart) {
this.myChart.setOption(option); this.myChart.setOption(option);

View File

@ -1,14 +1,12 @@
<template> <template>
<div v-loading="loading" class="joylink-card map-list-main"> <div v-loading="loading" class="map-list-main">
<div> <div class="mapListName">
<div class="mapListName"> <span>{{ $t('global.mapList') }}</span>
<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> </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"> <div id="trainingMapTree" class="left-map-list">
<el-tree <el-tree
ref="tree" ref="tree"