linwe
2024-08-08 3c738f4fe2762bba8087e5a22fc0dc06560eab0e
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<template>
    <view class="container">
        <view class="tab">
            <u-tabs class="tab-item" :lineWidth="40" :list="tabList" itemStyle="width:18% ;height:80rpx"></u-tabs>
        </view>
 
        <view class="search">
            <u-search bgColor="#f7f8fa" shape="square" :showAction="false" placeholder="请输入场所名称"
                v-model="searchWord"></u-search>
        </view>
 
        <view class="list">
            <bsList :list="dataList"></bsList>
        </view>
 
    </view>
</template>
 
<script>
    import bsList from "@/subPackage/bs/components/list/bsList.vue"
    export default {
        components: {
            bsList
        },
        data() {
            return {
                searchWord: "",
 
                tabList: [{
                        name: '全部',
                    },
                    {
                        name: '已上报',
                    },
                    {
                        name: '审批通过'
                    },
                    {
                        name: '审批拒绝'
                    },
                ],
 
                dataList: [],
            }
        },
        created() {
            this.getList()
        },
        mounted() {
 
        },
        onLoad(option) {
 
        },
        onShow() {
 
        },
        methods: {
            getList() {
                this.dataList = [{
                        title: "测试",
                        location: "江西省上饶市信州区西市街道万达社区居民委员会滨江西路66号万达晶座11栋303室",
                        description: "测试",
                        statusText: "审批通过",
                        status: "1",
                        advice: "审批意见"
                    },
                    {
                        title: "测试",
                        location: "江西省上饶市信州区西市街道万达社区居民委员会滨江西路66号万达晶座11栋303室",
                        description: "测试",
                        statusText: "已上报",
                        status: "2",
                        advice: "审批意见"
                    },
                    {
                        title: "测试",
                        location: "江西省上饶市信州区西市街道万达社区居民委员会滨江西路66号万达晶座11栋303室",
                        description: "测试",
                        statusText: "审批拒绝",
                        status: "3",
                        advice: "审批意见"
                    }
                ]
            }
        }
    }
</script>
 
<style scoped lang="scss">
    .container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #F9F9FA;
 
        .tab {
            background-color: #ffffff;
            width: 100%;
        }
 
        .search {
            background-color: #ffffff;
            padding: 20rpx;
        }
    }
</style>