diff --git a/src/layout/components/userInfo.vue b/src/layout/components/userInfo.vue index 010b3cce6..3c36cdfa8 100644 --- a/src/layout/components/userInfo.vue +++ b/src/layout/components/userInfo.vue @@ -408,6 +408,12 @@ export default { this.visible = false; this.binding = false; this.bindSuccess = false; + this.nameShow = true; + this.nickNameShow = true; + this.mobileShow = true; + this.emailShow = true; + this.passwordShow = true; + this.companyShow = true; }, switcherName() { this.editInfo.name = this.userInfo.name; diff --git a/src/views/messageBoard/index.vue b/src/views/messageBoard/index.vue index 0d3c400da..659b57231 100644 --- a/src/views/messageBoard/index.vue +++ b/src/views/messageBoard/index.vue @@ -382,6 +382,7 @@ export default { width: 100%; background-image:url('../../assets/bg_board.jpg'); background-size: 100% 100%; + min-height: 100%; } /deep/.ql-container{ height: 80%; diff --git a/src/views/newMap/displayNew/demonMenu.vue b/src/views/newMap/displayNew/demonMenu.vue index 497ccbd9b..d61ef768b 100644 --- a/src/views/newMap/displayNew/demonMenu.vue +++ b/src/views/newMap/displayNew/demonMenu.vue @@ -31,7 +31,7 @@ 理论考试 权限分发 - 留言板 + 留言板 联系方式 @@ -318,7 +318,6 @@ export default { } }, messageBoardShow() { - // this.$refs.messageBoard.doShow(); const routeData = this.$router.resolve({ path:'/messageBoard', query:{ diff --git a/src/views/newMap/displayNew/lesson/index.vue b/src/views/newMap/displayNew/lesson/index.vue index 60c02b94a..5f456dee0 100644 --- a/src/views/newMap/displayNew/lesson/index.vue +++ b/src/views/newMap/displayNew/lesson/index.vue @@ -9,6 +9,7 @@ {{ formatUsedTime }} {{ $t('display.lesson.score') }}{{ formatScore }} + 留言板
@@ -35,6 +36,7 @@ import { TrainingMode, UrlConfig } from '@/scripts/ConstDic'; import { timeFormat } from '@/utils/date'; import { getTrainingStepsDetailNew, loadTrainingInSimulation } from '@/api/jmap/training'; import { EventBus } from '@/scripts/event-bus'; +import { getSessionStorage } from '@/utils/auth'; export default { name: 'MenuLesson', @@ -99,6 +101,9 @@ export default { }, prdType() { return this.$route.query.prdType; + }, + project() { + return getSessionStorage('project'); } }, watch: { @@ -284,6 +289,16 @@ export default { this.$nextTick(() => { EventBus.$emit('viewLoading', false); }); + }, + messageBoardShow() { + const routeData = this.$router.resolve({ + path:'/messageBoard', + query:{ + project: this.project, + noPreLogout: true + } + }); + window.open(routeData.href, '_blank', 'noopener noreferrer'); } } }; diff --git a/src/views/newMap/jointTrainingNew/menuDemon.vue b/src/views/newMap/jointTrainingNew/menuDemon.vue index 2be8c0333..b918a9e85 100644 --- a/src/views/newMap/jointTrainingNew/menuDemon.vue +++ b/src/views/newMap/jointTrainingNew/menuDemon.vue @@ -23,6 +23,7 @@ 设备管理 教学系统 考试系统 + 留言板
@@ -430,6 +431,16 @@ export default { this.btnWidth = 0; } }, + messageBoardShow() { + const routeData = this.$router.resolve({ + path:'/messageBoard', + query:{ + project: this.project, + noPreLogout: true + } + }); + window.open(routeData.href, '_blank', 'noopener noreferrer'); + }, handleTeach() { getPublishLessonListByMapId({mapId: this.mapId}).then(resp => { const lesson = resp.data.find(item => {