| | |
| | | <template> |
| | | <div> |
| | | <CompGenericWrapper type="drawer"> |
| | | <template #content> |
| | | <!-- 选项 --> |
| | | <!-- 设备类型 --> |
| | | <el-row> |
| | |
| | | > |
| | | <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> |
| | |
| | | </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: { |