提交app代码

This commit is contained in:
guanj
2026-04-01 10:00:04 +08:00
parent 66cee2922d
commit 966d6d342c
12 changed files with 234 additions and 149 deletions

View File

@@ -117,10 +117,15 @@ export default {
},
onShow() {
if (uni.getStorageSync(this.$cacheKey.userInfo).authorities === 'operation_manager') {
this.items = ['暂态事件', '稳态事件', '运行告警', '运行事件']
}
const params = uni.getStorageSync('messageParams')
console.log('🚀 ~ params:', params)
this.getDevCount()
this.$nextTick(() => {
if (params.type != '') {
this.current = params.type - 0
}
if (params.name != '') {
this.$refs.cnFilterCriteria && this.$refs.cnFilterCriteria.external(params.name, params.id)
}
@@ -133,6 +138,7 @@ export default {
uni.setStorageSync('messageParams', {
name: '',
id: '',
type: '',
})
},
methods: {
@@ -244,9 +250,13 @@ export default {
position: relative;
background-color: #fff;
.segmented-control {
height: 49px;
// height: 40px;
background-color: #fff;
border-bottom: 1px solid #cccccc70;
.segmented-control__item {
align-items: baseline;
margin-top: 5px;
}
}
.segmented-control__text {
@@ -255,6 +265,7 @@ export default {
}
.segmented-control__item--text {
font-weight: bold;
padding: 0 0 5rpx;
}
.choose {
// padding: 20rpx;