diff --git a/pages/investigation/index.vue b/pages/investigation/index.vue index 3fc9733..6d919b4 100644 --- a/pages/investigation/index.vue +++ b/pages/investigation/index.vue @@ -32,17 +32,17 @@ - + 全部 - + 人工上报 - + - + 系统下发 - + @@ -149,6 +149,13 @@ }, // 方法 methods: { + queryTypeChange(e) { + this.queryType = e + this.page = 1; + this.list = []; + this.isMore = true + this.getList() + }, handleTabClick(tab) { this.tab = tab; this.page = 1; @@ -157,11 +164,13 @@ switch (tab) { case 1: this.status = '10'; + this.queryType = null break; // case 2: // this.status = '20'; // break; case 3: + this.queryType = '1' this.status = '20'; break; } @@ -195,7 +204,7 @@ } this.loadmorestatus = 'loading' this.$request.globalRequest( - `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&search=${this.search}`, + `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}&search=${this.search}&classificatio=${this.queryType}`, datas, 'POST') .then(res => { this.loadmorestatus = 'loadmore' @@ -394,7 +403,8 @@ width: calc(100% - 100rpx); padding: 0 50rpx; height: 108rpx; - .type-item{ + + .type-item { width: 28%; border-radius: 200rpx; height: 50rpx; @@ -404,9 +414,10 @@ border: #999999 solid 1rpx; margin-top: 15rpx; } - .type-active{ + + .type-active { border: #3c6dc3 solid 1rpx; - color:#3c6dc3; + color: #3c6dc3; } } }