linwei
2023-12-29 fbf8cee319c7f987219602687b991211b4160e40
bug修复
3 files modified
25 ■■■■■ changed files
api/reporting/reporting.js 6 ●●●●● patch | view | raw | blame | history
pages/home/index.vue 2 ●●● patch | view | raw | blame | history
subPackage/article/list.vue 17 ●●●● patch | view | raw | blame | history
api/reporting/reporting.js
@@ -4,7 +4,7 @@
export const getReportingCount = (data) => {
    return http.request({
        url: '/blade-task/task/countNumber',
        method: 'POST',
        method: 'get',
        data: data
    })
}
@@ -14,7 +14,9 @@
    return http.request({
        url: '/blade-taskHotelReporting/taskHotelReporting/save',
        method: 'POST',
        data: data
        params: {
            ...data
        }
    })
}
pages/home/index.vue
@@ -242,7 +242,7 @@
                    {
                        title: "公共收益",
                        icon: "/static/icon/nav-15.png",
                        path: "/subPackage/article/list?type=1"
                        path: "/subPackage/article/list?type=2"
                    }
                ]
subPackage/article/list.vue
@@ -1,7 +1,8 @@
<template>
    <view class="">
        <z-paging ref="paging" v-model="list" :auto="false" @query="queryList"  @onRefresh="refreshList" loading-more-no-more-text="没有更多了">
            <view class="tab"  slot="top"  v-show="tabList.length">
        <z-paging ref="paging" v-model="list" :auto="false" @query="queryList" @onRefresh="refreshList"
            loading-more-no-more-text="没有更多了">
            <view class="tab" slot="top" v-show="tabList.length">
                <u-tabs :list="tabList" :current="tabIndex" keyName="dictValue" @change="changeTab"
                    :inactiveStyle="{color:'#999999'}" :activeStyle="{color:'#017BFC'}"></u-tabs>
            </view>
@@ -32,7 +33,7 @@
                currentPage: 1,
                loadingStatus: 'nomore',
                eventType: "",
                type:""
                type: ""
            }
        },
        onLoad(option) {
@@ -52,11 +53,11 @@
                // }
                // this.getNoticeList()
                uni.setNavigationBarTitle({
                    title:"公共收益"
                    title: "公共收益"
                })
                this.type = option.type;
                this.$refs.paging.reload();
            } else {
                this.getCateList()
            }
@@ -67,7 +68,7 @@
        // },
        methods: {
            refreshList(){
            refreshList() {
                this.$refs.paging.reload();
            },
@@ -90,7 +91,7 @@
                        dictKey: "",
                        dictValue: "全部"
                    })
                    this.tabList = data;
                    // this.tabId = data[0].dictKey;
                    // this.getNoticeList()
@@ -105,7 +106,7 @@
                    size: pageSize,
                    articleType: this.tabId,
                    eventType: this.eventType,
                    type:this.type
                    type: this.type
                }).then(res => {
                    this.$refs.paging.complete(res.data.records);
                })