|
@@ -3,6 +3,7 @@
|
|
<div class="ventilateWarn">
|
|
<div class="ventilateWarn">
|
|
<div class="ventilate-top">
|
|
<div class="ventilate-top">
|
|
<a-button
|
|
<a-button
|
|
|
|
+ v-if="hasPermission('fan:remote')"
|
|
preIcon="ant-design:rollback-outlined"
|
|
preIcon="ant-design:rollback-outlined"
|
|
type="text"
|
|
type="text"
|
|
size="small"
|
|
size="small"
|
|
@@ -37,7 +38,7 @@
|
|
<div class="value">
|
|
<div class="value">
|
|
<div class="content-box" v-for="(items, ind) in item.list" :key="ind">
|
|
<div class="content-box" v-for="(items, ind) in item.list" :key="ind">
|
|
<span style="color: #b3b8cc">{{ `${items.label} :` }}</span>
|
|
<span style="color: #b3b8cc">{{ `${items.label} :` }}</span>
|
|
- <span style="color: #3df6ff; margin-left: 10px">{{ `${items.value}%` }}</span>
|
|
|
|
|
|
+ <span style="color: #3df6ff; margin-left: 10px">{{ items.value }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -91,7 +92,9 @@
|
|
import { ventilateTopList } from '../common.data';
|
|
import { ventilateTopList } from '../common.data';
|
|
import CustomHeader from '/@/components/vent/customHeader.vue';
|
|
import CustomHeader from '/@/components/vent/customHeader.vue';
|
|
import echartLine from '../common/echartLine.vue';
|
|
import echartLine from '../common/echartLine.vue';
|
|
|
|
+ import { usePermission } from '/@/hooks/web/usePermission';
|
|
|
|
|
|
|
|
+ const { hasPermission } = usePermission();
|
|
const { options, optionValue, getSelectRow, getSysDataSource } = useSystemSelect('sys_surface_caimei'); // 参数为场景类型(设备类型管理中可以查询到)
|
|
const { options, optionValue, getSelectRow, getSysDataSource } = useSystemSelect('sys_surface_caimei'); // 参数为场景类型(设备类型管理中可以查询到)
|
|
let router = useRouter();
|
|
let router = useRouter();
|
|
//左侧数据列表
|
|
//左侧数据列表
|