联调app关键指标功能

This commit is contained in:
guanj
2026-06-01 20:36:04 +08:00
parent 236ab4aa75
commit edc5dc55aa
25 changed files with 713 additions and 213 deletions

View File

@@ -30,13 +30,26 @@
<YouKe :devCount="devCount" v-if="userInfo.authorities === 'tourist'"></YouKe>
<!-- 工程列表 -->
<template v-show="engineeringList.length" v-if="userInfo.authorities === 'engineering_user'">
<view class="canneng-index-title mt20">工程列表</view>
<!-- <view class="canneng-index-title mt20 canneng-index-title-with-icon">
<uni-icons type="list" size="18" color="#376cf3" />
<text>工程列表</text>
</view> -->
<view class="canneng-index-title mt20">
<view class="canneng-index-title-with-icon">
<uni-icons type="list" size="18" color="#376cf3" />
<text>工程列表</text>
</view>
<view class="nav-menu nav-menu-btn boxClick" @click="jump">关键指标概览 </view>
</view>
<Engineering ref="engineering" :store="store" @refresh="store.search()" />
</template>
<!-- 设备列表 -->
<template v-else v-show="engineeringList.length">
<view class="canneng-index-title mt20">
<view>设备列表</view>
<view class="canneng-index-title-with-icon">
<uni-icons custom-prefix="iconfont" type="icon-shebei4" size="18" color="#376cf3" />
<text>设备列表</text>
</view>
<view class="nav-menu nav-menu-btn boxClick" @click="jump">关键指标概览 </view>
</view>
<Device ref="device" :store="store" />
@@ -319,6 +332,14 @@ export default {
padding: 0 20rpx;
/* font-weight: 500; */
display: flex;
align-items: center;
}
.canneng-index-title-with-icon {
display: inline-flex;
align-items: center;
gap: 8rpx;
font-size: 30rpx;
}
/deep/ .uni-card {