From 44dd2c7c73d5fead948902cad2695ae30d4620e2 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 24 十月 2024 09:50:29 +0800
Subject: [PATCH] 大屏
---
pda/pages/index/center.vue | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/pda/pages/index/center.vue b/pda/pages/index/center.vue
index 6f88020..a852ade 100644
--- a/pda/pages/index/center.vue
+++ b/pda/pages/index/center.vue
@@ -32,9 +32,9 @@
<view class="status" v-if="item.status == 4">鍙彿涓� {{ item.callDateTemp }}</view>
<view class="status scs" v-if="item.status == 5">宸蹭綔涓� {{ item.startDateTemp }}</view>
</view>
- <view class="line" v-if="item.code">
+ <view class="line" v-if="item.billCode">
<text class="label">杩愯緭鍗曞彿</text>
- <text class="value">{{ item.code }}</text>
+ <text class="value">{{ item.billCode }}</text>
<text class="primaryColor" @click="handleDetail(item)">杩愬崟璇︽儏</text>
</view>
<view class="line" v-else>
@@ -270,7 +270,7 @@
this.getPlatformTask()
this.timer = setInterval(() => {
this.getPlatformTask()
- },60 * 1000)
+ }, 60 * 1000)
}
}
})
@@ -302,7 +302,7 @@
if (item.newStartDate) {
let timeNum = time.getTime() - new Date(item.newStartDate).getTime()
if (timeNum > 3600000) {
- item.startDateTemp = dayjs.duration(timeNum).format('H灏忔椂m鍒唖s绉�')
+ item.startDateTemp = dayjs.duration(timeNum).format('H灏忔椂m鍒唖绉�')
} else {
item.startDateTemp = dayjs.duration(timeNum).format('m鍒唖绉�')
}
@@ -312,13 +312,12 @@
}
},
platConfirm(e) {
- const index = e.indexs[0]
- console.log(index);
- console.log(this.activePlatformGroup);
+ const index = e.indexs[0]
this.activePlatformGroup = this.platformGroupList[index]
if (this.activePlatformGroup.platformList && this.activePlatformGroup.platformList.length > 0) {
this.activePlatform = this.activePlatformGroup.platformList[0]
this.getPlatformTask()
+ clearInterval(this.timer)
this.timer = setInterval(() => {
this.getPlatformTask()
}, 60 * 1000)
--
Gitblit v1.9.3