linwe
2023-11-12 f23993a65263c0d6db5c12c578d6ad181f6a610f
通知公告
1 files modified
20 ■■■■■ changed files
subPackage/workbench/views/audit.vue 20 ●●●●● patch | view | raw | blame | history
subPackage/workbench/views/audit.vue
@@ -50,26 +50,29 @@
                currentStatus: 1,
                list: [],
                loadingStatus: 'nomore',
                currentPage: 1
                currentPage: 1,
                frequency: '',
            }
        },
        onLoad(option) {
            if(option.type == 1){
            if (option.type == 1) {
                uni.setNavigationBarTitle({
                    title:"一次性"
                    title: "一次性"
                })
                this.frequency = 1
            }
            if(option.type == 2){
            if (option.type == 2) {
                uni.setNavigationBarTitle({
                    title:"周期性"
                    title: "周期性"
                })
                this.frequency = 2
            }
            this.getList()
        },
        onReachBottom() {
            this.currentPage++
            this.getPageList()
            this.getList()
        },
        methods: {
@@ -84,7 +87,8 @@
                getAuditReportingList({
                    page: this.currentPage,
                    size: 20,
                    status: this.currentStatus
                    status: this.currentStatus,
                    frequency: this.frequency,
                }).then(res => {
                    if (res.code != 200) {
                        uni.showToast({
@@ -159,4 +163,4 @@
            }
        }
    }
</style>
</style>