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({