赞太列表

This commit is contained in:
仲么了
2023-09-22 10:22:56 +08:00
parent 464831f206
commit a17e785d3e
4 changed files with 61 additions and 67 deletions

View File

@@ -3,16 +3,13 @@
<view class="content" slot="body">
<uni-card
:title="item.title"
:extra="item.status === '1' ? '' : '未读'"
:extra="item.status == '1' ? '' : '未读'"
:sub-title="item.startTime"
@click="jump(item)"
v-for="(item, index) in store.data"
:key="index"
>
<view class="term-list-bottom">
<view class="term-list-bottom-item">
{{ item.engineeringName + '' + item.projectName }}
</view>
<view class="term-list-bottom-item" v-for="(item2, textIndex) in item.dataSet" :key="textIndex">
{{ item2.showName + ':' + item2.value + (item2.unit || '') }}
</view>
@@ -45,7 +42,7 @@ export default {
this.store.params.type = 0
this.store.firstCallBack = (res) => {
this.store.data.forEach((item) => {
item.title = item.equipmentName + dictData.find((item2) => item2.code === item.tag)?.name
item.title = dictData.find((item2) => item2.code === item.tag)?.name
})
console.log(this.store.data)
this.loading = false