修改app测试问题
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
<view class="content-item-header-right-des">项目名称:{{ item.projectName }}</view>
|
||||
<view class="content-item-header-right-des" v-if="type == '0' || type == '1'">监测点名称:{{
|
||||
item.lineName }}</view>
|
||||
<view class="content-item-header-right-des" v-if="type == '0'">暂态事件类型:{{ item.showName.slice(0,
|
||||
-4) }}</view>
|
||||
<view class="content-item-header-right-des" v-if="type == '0'">暂态类型:{{ item.showName}}</view>
|
||||
<!-- <view class="content-item-header-right-des">{{ item.subTitle }}</view> -->
|
||||
</view>
|
||||
<view class="ml10" v-if="type === '0' || item.status != '1'">🔍</view>
|
||||
@@ -110,13 +109,13 @@ export default {
|
||||
|
||||
this.store.data.forEach((item) => {
|
||||
if (this.type === '3') {
|
||||
item.showName = '告警,告警码:' + item.code
|
||||
item.showName = '告警,告警码:' + (item.code || '-')
|
||||
}
|
||||
if (this.type !== '0') {
|
||||
item.subTitle = `于${item.startTime}发生${item.showName}`
|
||||
} else {
|
||||
item.subTitle =
|
||||
`于${item.startTime}。` +
|
||||
`发生时间:${item.startTime},` +
|
||||
item.dataSet
|
||||
.map((item2) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user