From b77cc2d2012ecb4b876538ac7aee3edac7db8a2f Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Sun, 12 Nov 2023 19:05:07 +0800
Subject: [PATCH] 通知公告
---
subPackage/workbench/views/audit.vue | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/subPackage/workbench/views/audit.vue b/subPackage/workbench/views/audit.vue
index 04d0a39..71c52f0 100644
--- a/subPackage/workbench/views/audit.vue
+++ b/subPackage/workbench/views/audit.vue
@@ -50,16 +50,29 @@
currentStatus: 1,
list: [],
loadingStatus: 'nomore',
- currentPage: 1
+ currentPage: 1,
+ frequency: '',
}
},
- onLoad() {
+ onLoad(option) {
+ if (option.type == 1) {
+ uni.setNavigationBarTitle({
+ title: "一次性"
+ })
+ this.frequency = 1
+ }
+ if (option.type == 2) {
+ uni.setNavigationBarTitle({
+ title: "周期性"
+ })
+ this.frequency = 2
+ }
this.getList()
},
onReachBottom() {
this.currentPage++
- this.getPageList()
+ this.getList()
},
methods: {
@@ -74,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({
@@ -149,4 +163,4 @@
}
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3