|
@@ -3,6 +3,7 @@
|
|
|
<div class="ventilateWarn">
|
|
|
<div class="ventilate-top">
|
|
|
<a-button
|
|
|
+ v-if="hasPermission('fan:remote')"
|
|
|
preIcon="ant-design:rollback-outlined"
|
|
|
type="text"
|
|
|
size="small"
|
|
@@ -37,7 +38,7 @@
|
|
|
<div class="value">
|
|
|
<div class="content-box" v-for="(items, ind) in item.list" :key="ind">
|
|
|
<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>
|
|
@@ -91,7 +92,9 @@
|
|
|
import { ventilateTopList } from '../common.data';
|
|
|
import CustomHeader from '/@/components/vent/customHeader.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'); // 参数为场景类型(设备类型管理中可以查询到)
|
|
|
let router = useRouter();
|
|
|
//左侧数据列表
|