receiptRegistrationSchedule.vue
937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
<view class="page">
<view class="top-box" v-for="(item, index) in list" :key="index">
<view>{{item.nodeName}}<span v-if="item.nodeAuditStatus =='true'" style="margin-left: 20rpx;color: #00D970;">已完成</span><span v-if="item.nodeAuditStatus =='flase'" style="margin-left: 20rpx;color: red;">正在进行</span></view>
</view>
</view>
</template>
<script>
import BASE_URL from "@/common/config.js"
export default {
data() {
return {
list: []
};
},
onLoad(params) {
this.list = JSON.parse(params.item);
console.log('list', this.list)
},
computed: {
},
methods: {
}
}
</script>
<style scoped lang="scss">
.page {
padding: 15rpx;
}
.top-box {
display: flex;
justify-content: space-between;
margin: 30rpx;
font-size: 28rpx;
font-weight: bold;
background-color: #fff;
border-radius: 21rpx;
padding: 30rpx;
}
</style>