From 33290532076d4fdc40b0439bc1e77e842af122d3 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Tue, 29 Dec 2020 16:15:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BF=E7=9C=9F=20=E7=BB=BC=E5=90=88?= =?UTF-8?q?=E6=BC=94=E7=BB=83=20=E6=B7=BB=E5=8A=A0=20=E8=81=94=E7=B3=BB?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/newMap/displayNew/demonMenu.vue | 6 +++++- src/views/newMap/jointTrainingNew/menuDemon.vue | 12 +++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/views/newMap/displayNew/demonMenu.vue b/src/views/newMap/displayNew/demonMenu.vue index b0640f918..5e0d0d994 100644 --- a/src/views/newMap/displayNew/demonMenu.vue +++ b/src/views/newMap/displayNew/demonMenu.vue @@ -24,7 +24,8 @@ 实操练习 理论考试 留言板 - 联系方式 + + 联系方式 教学系统 考试系统 留言板 + 联系方式
@@ -41,6 +42,7 @@ +
@@ -57,6 +59,7 @@ import { NoSimulationQrCodeList } from '@/scripts/ProjectConfig'; import { getPublishLessonListByMapId } from '@/api/jmap/lesson'; import { getPostByProjectCode } from '@/api/learn'; import { ProjectCode } from '@/scripts/ProjectConfig'; +import ContectUs from '@/views/newMap/displayNew/dispatherContest/contectUs'; export default { name: 'MenuDemonJoint', @@ -64,7 +67,8 @@ export default { ChatBox, QrCode, SetTime, - Equipment + Equipment, + ContectUs }, props: { group: { @@ -138,6 +142,9 @@ export default { isProject() { return getSessionStorage('project') != 'login' && getSessionStorage('project') != 'design'; }, + isLocal() { // 是否为本地项目 + return process.env.VUE_APP_PRO === 'local'; + }, hasOneButton() { let num = 0; if ((this.isShow3dmodel && this.isShowScheduling) || @@ -473,6 +480,9 @@ export default { this.$message.error('获取课程ID失败!'); }); }, + contectUs() { + this.$refs.contectUs.doShow(); + }, handleExam() { if (this.$route.query.type === 'IM') { const routeData = this.$router.resolve({