Преглед изворни кода

[Pref 0000] 删除无用的文件

houzekong пре 8 месеци
родитељ
комит
8d0fc7c5ce

+ 0 - 38
src/views/vent/home/configurable/deprecated/Ventilate copy.vue

@@ -1,38 +0,0 @@
-<!-- eslint-disable vue/multi-word-component-names -->
-<template>
-  <ModuleBasic :title="config.moduleName" :version="config.showStyle?.version" :size="config.showStyle?.size" :position="config.showStyle?.position">
-    <CostumeHeader v-model:value="selectedDeviceID" :options="options">
-      <div class="w-200px flex flex-items-center">
-        <RightCircleOutlined class="w-30px" />
-        <div class="flex-grow-1">
-          {{ selectedDevice.strinstallpos }}
-        </div>
-      </div>
-    </CostumeHeader>
-    <div class="flex justify-around mt-10px">
-      <MiniBoard v-for="(label, prop) in config.moduleData?.main" :key="`vhccv-${prop}`" :label="label" :value="get(selectedDevice, prop)" type="C" />
-    </div>
-  </ModuleBasic>
-</template>
-<script lang="ts" setup>
-  import { onMounted } from 'vue';
-  import ModuleBasic from './moduleBasic.vue';
-  import CostumeHeader from './CostumeHeader.vue';
-  import { RightCircleOutlined } from '@ant-design/icons-vue';
-  import MiniBoard from './MiniBoard.vue';
-  import { useInitConfig, useInitDevices } from '../hooks/useInit';
-  import { get } from '../../billboard/utils';
-  // import mapComponent from './components/3Dmap/index.vue';
-
-  // 设备类别,是个枚举 TODO: 将手动换为自动获取类别
-  const devicekind = 'fanmain';
-
-  const { config, fetchConfig } = useInitConfig(devicekind);
-  const { options, selectedDevice, selectedDeviceID, fetchDevices } = useInitDevices(devicekind);
-
-  onMounted(() => {
-    fetchConfig();
-    fetchDevices();
-  });
-</script>
-<style scoped></style>

+ 0 - 99
src/views/vent/home/configurable/index copy.vue

@@ -1,99 +0,0 @@
-<!-- eslint-disable vue/multi-word-component-names -->
-<template>
-  <div class="company-home">
-    <div class="top-bg">
-      <div class="main-title">{{ mainTitle }}</div>
-    </div>
-    <a-dropdown class="module-dropdown" :trigger="['click']" placement="bottomRight">
-      <a class="ant-dropdown-link" @click.prevent>
-        全矿井通风检测
-        <CaretDownOutlined />
-      </a>
-      <template #overlay>
-        <MonitorCenter />
-      </template>
-    </a-dropdown>
-    <!-- 采用定位方式以避免出现各个模块隐藏时其他模块下移的问题 -->
-    <SubVentilate />
-    <Ventilate />
-    <VentilateControl />
-    <AirVolumeMonitor />
-    <VentilateAnalysis />
-    <WorkSurface />
-    <DeviceWarning />
-  </div>
-</template>
-<script lang="ts" setup>
-  import { ref } from 'vue';
-  import SubVentilate from './components/SubVentilate.vue';
-  import Ventilate from './components/Ventilate.vue';
-  import { CaretDownOutlined } from '@ant-design/icons-vue';
-  import VentilateControl from './components/VentilateControl.vue';
-  import AirVolumeMonitor from './components/AirVolumeMonitor.vue';
-  import VentilateAnalysis from './components/VentilateAnalysis.vue';
-  import WorkSurface from './components/WorkSurface.vue';
-  import DeviceWarning from './components/DeviceWarning.vue';
-  import MonitorCenter from './components/MonitorCenter.vue';
-  // import mapComponent from './components/3Dmap/index.vue';
-
-  const mainTitle = ref('智能通风管控系统');
-
-  const moduleCodes = ['fanlocal', 'fanmain', 'vc', 'ar', 'va', 'ws', 'dw'];
-</script>
-<style lang="less" scoped>
-  @font-face {
-    font-family: 'douyuFont';
-    src: url('../../../../assets/font/douyuFont.otf');
-  }
-
-  .company-home {
-    width: 100%;
-    height: 100%;
-    color: @white;
-    position: relative;
-
-    .top-bg {
-      width: 100%;
-      height: 56px;
-      background: url('@/assets/images/home-container/configurable/main_title_bg.png') no-repeat center;
-      position: absolute;
-      z-index: 1;
-      .main-title {
-        height: 56px;
-        font-family: 'douyuFont';
-        font-size: 20px;
-        letter-spacing: 2px;
-        display: flex;
-        justify-content: center;
-        align-items: center;
-      }
-    }
-
-    .module-left {
-      position: absolute;
-      width: 450px;
-      height: 280px;
-      left: 0;
-    }
-    .module-right {
-      position: absolute;
-      width: 450px;
-      height: 280px;
-      right: 0;
-    }
-    .module-bottom {
-      position: absolute;
-      width: 1000px;
-      height: 280px;
-    }
-    .module-dropdown {
-      padding: 10px;
-      background-image: linear-gradient(to bottom, #036886, #072a40);
-      border-bottom: 2px solid #3df6ff;
-      color: #fff;
-      position: absolute;
-      top: 70px;
-      right: 460px;
-    }
-  }
-</style>