仿真 综合演练 添加 联系方式
This commit is contained in:
parent
afef8f9e9f
commit
3329053207
@ -24,7 +24,8 @@
|
||||
<el-button v-if="isContest" size="small" :disabled="practiceDisabled" @click="fieldPractice">实操练习</el-button>
|
||||
<el-button v-if="isContest" size="small" @click="goTheoryQuiz">理论考试</el-button>
|
||||
<el-button v-if="messageBoard" size="small" @click="messageBoardShow">留言板</el-button>
|
||||
<el-button v-if="isContest" size="small" @click="contectUs">联系方式</el-button>
|
||||
<!-- v-if="isContest" -->
|
||||
<el-button v-if="!isLocal" size="small" @click="contectUs">联系方式</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<Jl3d-Device
|
||||
@ -139,6 +140,9 @@ export default {
|
||||
},
|
||||
running() {
|
||||
return this.$store.state.training.started;
|
||||
},
|
||||
isLocal() { // 是否为本地项目
|
||||
return process.env.VUE_APP_PRO === 'local';
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
@ -24,6 +24,7 @@
|
||||
<el-button v-if="teachSystemShow" size="small" @click="handleTeach">教学系统</el-button>
|
||||
<el-button v-if="examSystemShow" size="small" @click="handleExam">考试系统</el-button>
|
||||
<el-button v-if="messageBoard" size="small" @click="messageBoardShow">留言板</el-button>
|
||||
<el-button v-if="!isLocal" size="small" @click="contectUs">联系方式</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
<div class="display-draft" :class="{'haerbin_btn_box': lineCode == '07'||lineCode=='14'}" :style="{bottom: offsetBottom + 'px'}">
|
||||
@ -41,6 +42,7 @@
|
||||
<qr-code ref="qrCode" />
|
||||
<set-time ref="setTime" @ConfirmSelectBeginTime="start" />
|
||||
<equipment ref="equipment" />
|
||||
<contect-us ref="contectUs" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user