riku
2024-11-21 f37d45b8998ea08a42002579ecc103244bdac17b
src/views/fysp/check/components/CompDeviceShowTest.vue
@@ -1,5 +1,6 @@
<template>
  <div>
  <CompGenericWrapper type="drawer">
    <template #content>
    <!-- 选项 -->
    <!-- 设备类型  -->
    <el-row>
@@ -41,9 +42,14 @@
          >
            <div style="">
              <el-descriptions style="" :column="3" size="small" border>
                <el-descriptions-item width="64px" :label="currSelect.topDeviceTypeId == 0 ? '站点名称' : '设备名称'" :span="3">{{
                  item.name || '无'
                }}</el-descriptions-item>
                  <el-descriptions-item
                    width="64px"
                    :label="
                      currSelect.topDeviceTypeId == 0 ? '站点名称' : '设备名称'
                    "
                    :span="3"
                    >{{ item.name || '无' }}</el-descriptions-item
                  >
                <el-descriptions-item label="供应商">{{
                  item.supplier || '无'
                }}</el-descriptions-item>
@@ -156,16 +162,18 @@
      </el-collapse-item>
    </el-collapse>
    <!-- 空状态 -->
    <el-empty v-if="isEmpty" />
  </div>
      <el-empty v-if="isEmpty"
    /></template>
  </CompGenericWrapper>
</template>
<script>
import CompGenericWrapper from './CompGenericWrapper.vue';
import deviceApi from '@/api/fysp/deviceApi';
import { $fysp } from '@/api/index';
import { toLabel } from '@/enum/device/device';
export default {
  components: {},
  components: { CompGenericWrapper },
  watch: {
    // 选择改变监听
    currSelect: {