|
@@ -1,10 +1,17 @@
|
|
|
<!-- eslint-disable vue/multi-word-component-names -->
|
|
|
<template>
|
|
|
<div class="company-home">
|
|
|
- <div v-if="!route.query.embed" class="top-bg">
|
|
|
- <div class="main-title">{{ mainTitle }}</div>
|
|
|
- </div>
|
|
|
- <!-- <a-dropdown class="module-dropdown" :class="{ 'module-dropdown-original': isOriginal }" :trigger="['click']" placement="bottomRight">
|
|
|
+ <!-- 如果是有 deviceType、type 等 query,认为是详情页,不需要展示普通模块,只需要模型 -->
|
|
|
+ <template v-if="route.query.deviceType">
|
|
|
+ <div style="width: 100%; height: 100%; position: absolute; left: 0; top: 0">
|
|
|
+ <VentModal />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div v-if="!route.query.embed" class="top-bg">
|
|
|
+ <div class="main-title">{{ mainTitle }}</div>
|
|
|
+ </div>
|
|
|
+ <!-- <a-dropdown class="module-dropdown" :class="{ 'module-dropdown-original': isOriginal }" :trigger="['click']" placement="bottomRight">
|
|
|
<a class="ant-dropdown-link" @click.prevent>
|
|
|
全矿井通风检测
|
|
|
<CaretDownOutlined />
|
|
@@ -13,13 +20,7 @@
|
|
|
<MonitorCenter />
|
|
|
</template>
|
|
|
</a-dropdown> -->
|
|
|
- <!-- 如果是有 deviceType、type 等 query,认为是详情页,不需要展示普通模块,只需要模型 -->
|
|
|
- <template v-if="route.query.deviceType">
|
|
|
- <div style="width: 100%; height: 100%; position: absolute; left: 0; top: 0">
|
|
|
- <VentModal />
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
+
|
|
|
<!-- 采用定位方式以避免出现各个模块隐藏时其他模块下移的问题 -->
|
|
|
<template v-if="isOriginal">
|
|
|
<ModuleOriginal
|