调整消息推送

This commit is contained in:
guanj
2026-04-03 14:48:45 +08:00
parent 9f593bd428
commit db097bc64a
20 changed files with 324 additions and 267 deletions

View File

@@ -24,7 +24,9 @@
<!-- <view class="content-item-header-right-des">暂态类型{{ item.showName }}</view> -->
<!-- <view class="content-item-header-right-des">{{ item.subTitle }}</view> -->
</view>
<view class="ml10" v-if="type === '0' || item.status != '1'"> <uni-icons type="search" size="25"></uni-icons></view>
<view class="ml10" v-if="type === '0' || item.status != '1'">
<uni-icons type="search" size="25" color="#376cf3"></uni-icons
></view>
</view>
<view class="content-item-footer">{{ item.subTitle }}</view>
</view>
@@ -112,8 +114,8 @@ export default {
this.store = this.DataSource('/cs-harmonic-boot/eventUser/queryEventpage')
this.store.params.type = this.type
this.store.params.deviceId = this.deviceId
this.store.params.startTime = this.$util.getBeforeDays()
this.store.params.endTime = this.$util.getToday()
this.store.params.startTime = this.$util.getBeforeDays()
this.store.params.endTime = this.$util.getToday()
this.store.loadedCallback = () => {
this.store.data.forEach((item) => {
if (this.type === '3') {

View File

@@ -91,7 +91,8 @@
@change="switchChange(item)"
/>
<view class="star-icon" v-else>
<uni-icons type="search" size="25"></uni-icons>
<!-- <uni-icons type="search" size="25" color="#376cf3"></uni-icons> -->
🔍
</view>
</template>
</Cn-device-card>

View File

@@ -10,7 +10,7 @@
><picker
@change="lineChange"
@cancel="selectProject = false"
:value="lineId"
:value="lineKey"
:range="lineList"
range-key="name"
>
@@ -175,7 +175,7 @@ export default {
{ name: '电压总谐波畸变率(%)', A: '/', B: '/', C: '/' },
],
disabled: false,
countdown: 60,
countdown: 30,
lineId: '00B78D00A87A1',
lineKey: 0,
lineList: [],
@@ -607,7 +607,7 @@ export default {
if (this.countdown <= 0) {
clearInterval(this.numTimer) // 清除定时器
this.disabled = false // 启用按钮
this.countdown = 60 // 重置倒计时
this.countdown = 30 // 重置倒计时
this.numTimer = null // 清空定时器标识
}
}, 1000)
@@ -643,7 +643,7 @@ export default {
}
})
.catch(() => {
this.countdown = 60 // 重置倒计时
this.countdown = 30 // 重置倒计时
this.disabled = false
this.connection = false
this.clear()
@@ -870,7 +870,7 @@ export default {
async lineChange(e) {
await this.clear()
this.disabled = false
this.countdown = 60
this.countdown = 30
this.lineKey = e.detail.value
this.lineId = this.lineList[e.detail.value].lineId