ソースを参照

Signed-off-by: zhaobao <528046418@qq.com>

zhaobao 1 年間 前
コミット
769fcdda43

+ 7 - 6
pages/risk/risk.vue

@@ -88,7 +88,7 @@
 			this.accountId=accountId
 			this.groupId=groupId
 			this.init()
-			this.getDangerByPage()
+			this.getData()
 		},
 		methods: {
 			formateGoafName({
@@ -107,7 +107,6 @@
 					tab_type=this.groupId
 				}
 				getDangerByList().then((res)=>{
-					console.log(res.data.filter(item=>item.status==4&&item['submit'+type]===tab_type).length)
 					this.statistics.review=res.data.filter(item=>item.status==1&&item['review'+type]===tab_type).length
 					this.statistics.rectify=res.data.filter(item=>item.status==2&&item['rectify'+type]===tab_type).length
 					this.statistics.accept=res.data.filter(item=>item.status==3&&item['accept'+type]===tab_type).length
@@ -136,13 +135,16 @@
 			},
 			changeTab(type){
 				this.type=type
+				this.page=1;				
+				this.items=[]
 				this.init()
 				this.getData()
+				
 			},
 			changeStuas(status,name){
 				this.conditions.status=status
 				this.title=name
-				this.getData()
+				this.getData()			
 			},
 			linkTo(item){
 				if(item.status===4||this.type==='group'){
@@ -194,14 +196,13 @@
 			}
 		},
 		onPullDownRefresh() {
-			this.page=1;
-			this.getDangerByPage()
+			this.getData()
 			setTimeout(()=>{
 				uni.stopPullDownRefresh()
 			})
 		},
 		onReachBottom(){
-			this.getDangerByPage()
+			this.getData()
 		}
 	}
 </script>

ファイルの差分が大きいため隠しています
+ 0 - 0
unpackage/cache/wgt/__UNI__ED9AEA5/app-service.js


ファイルの差分が大きいため隠しています
+ 0 - 0
unpackage/cache/wgt/__UNI__ED9AEA5/app-view.js


ファイルの差分が大きいため隠しています
+ 0 - 0
unpackage/dist/build/app-plus/app-service.js


ファイルの差分が大きいため隠しています
+ 0 - 0
unpackage/dist/build/app-plus/app-view.js


BIN
unpackage/release/apk/__UNI__ED9AEA5__20240627144426.apk


この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません