mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 17:55:37 +08:00
Merge branch 'stat' of https://codeup.aliyun.com/6265f483e4166464dc2f9c14/boeu/portal into stat
This commit is contained in:
@@ -26,8 +26,11 @@
|
||||
<p class="personal-info">{{cutOrgNamePath(userInfo.departFullName)}}</p>
|
||||
<a href="uc/study/task">
|
||||
<div class="personal-box">
|
||||
<span>待办</span>
|
||||
<span>{{studyTaskCount? studyTaskCount:0 }} 个待处理 <img :src="`${webBaseUrl}/images/homeWu/Pending.png`" alt=""> </span>
|
||||
<span>待 办</span>
|
||||
<span style="display:flex;">{{studyTaskCount? studyTaskCount:0 }} 个待处理
|
||||
<div class="tobe-icon">
|
||||
<img :src="`${webBaseUrl}/images/homeWu/Pending.png`" alt=""> </div>
|
||||
</span>
|
||||
<img class="personal-box-img" :src="`${webBaseUrl}/images/homeWu/agency.png`" alt="" srcset="">
|
||||
</div>
|
||||
</a>
|
||||
@@ -388,7 +391,7 @@
|
||||
<portal-footer></portal-footer>
|
||||
<portalFloatTools></portalFloatTools>
|
||||
<interest-Collection></interest-Collection> <!-- 兴趣偏好 -->
|
||||
<guide-box></guide-box> <!-- 引导页 -->
|
||||
<guide-box ref="guide"></guide-box> <!-- 引导页 -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -402,6 +405,7 @@
|
||||
import apiCase from '@/api/modules/cases.js';
|
||||
import apiArticle from '@/api/modules/article.js';
|
||||
import apiQa from '@/api/modules/qa.js';
|
||||
import apiGuide from "@/api/phase2/guide.js";
|
||||
import apiUser from '@/api/system/user.js';
|
||||
import apiCoursePortal from '@/api/modules/coursePortal.js';
|
||||
import interactBar from '@/components/Portal/interactBar.vue';
|
||||
@@ -514,8 +518,6 @@
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
//this.userInfo = this.$store.getters.userInfo;
|
||||
//console.log(this.userInfo,'userInfo');
|
||||
this.getCourseData(1);
|
||||
this.getCaseData();
|
||||
this.getArticleData();
|
||||
@@ -527,6 +529,11 @@
|
||||
this.getLevel();
|
||||
this.getQaAnswers();
|
||||
|
||||
// 控制引导页弹框显示
|
||||
apiGuide.hasUser().then(res=>{
|
||||
this.$refs.guide.guideCollection = res.result ? false : true;
|
||||
});
|
||||
|
||||
},
|
||||
computed: {
|
||||
...mapGetters(['userInfo','studyTaskCount']),
|
||||
@@ -908,6 +915,12 @@
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.tobe-icon{
|
||||
width: 8px;
|
||||
height: 14px;
|
||||
margin-top: 1.5px;
|
||||
margin-left: 8px;
|
||||
}
|
||||
.grade{
|
||||
width: 70px;
|
||||
height: 30px;
|
||||
@@ -979,7 +992,7 @@
|
||||
right: 8%;
|
||||
top: 105px;
|
||||
// background: url('/images/homeWu/personal-bgimg.png');
|
||||
background: rgba($color: #fff, $alpha: 0.46);
|
||||
background: rgba($color: #fff, $alpha: 0.2);
|
||||
border-radius: 8px;
|
||||
z-index: 999;
|
||||
backdrop-filter: blur(10px);
|
||||
|
||||
@@ -310,7 +310,7 @@
|
||||
}
|
||||
},
|
||||
updated() {
|
||||
this.chart.resize();
|
||||
this.chart && this.chart.resize();
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
@@ -393,7 +393,7 @@ export default {
|
||||
this.upNoteFile.content = [];
|
||||
if(e == '3') {
|
||||
this.upNoteFile.limit = 9;
|
||||
this.upNoteFile.fileType = ["png","jpg"];
|
||||
this.upNoteFile.fileType = ["png","jpg","jpeg","bmp"];
|
||||
} else if(e == '1'){
|
||||
this.upNoteFile.fileType = ["txt"];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user