Przeglądaj źródła

审核列表条件修改

maxiaoxiao 2 miesięcy temu
rodzic
commit
35a394ea62
1 zmienionych plików z 9 dodań i 6 usunięć
  1. 9 6
      pages/index/common/hcList.vue

+ 9 - 6
pages/index/common/hcList.vue

@@ -6,10 +6,10 @@
 			<uni-icons type="bars" size="30" @click="returnCount"></uni-icons>
 		</view>
 		<view>
-			<scroll-view class="top-menu-view" scroll-x="true" >
+			<scroll-view class="top-menu-view" scroll-x="true">
 				<view class="menu-topic-view" v-for="(item, key) in tabOptions" :id="'tabNum'+key" :key="key"
 					@click="tabclick(item.stepState)">
-					<view :class="queryParams.stepState==item.stepState ? 'menu-topic-act' : 'menu-topic'">
+					<view :class="queryParams.stepStateS==item.stepState ? 'menu-topic-act' : 'menu-topic'">
 						<text class="menu-topic-text">{{item.name}}({{hccount[item.prop]}})</text>
 						<view class="menu-topic-bottom">
 							<view class="menu-topic-bottom-color"></view>
@@ -23,15 +23,18 @@
 						:title="`${item.name}(${hccount[item.prop]})`"></van-tab>
 				</van-tabs>
 			</van-sticky> -->
-			<van-list class="hclist" v-model="loading" :finished="finished" :immediate-check="false" :error.sync="error"
+			<!-- <van-list class="hclist" v-model="loading" :finished="finished" :immediate-check="false" :error.sync="error"
 				error-text="请求失败,点击重新加载" finished-text="没有更多了~" @load="loadList" @refresh="onRefresh">
+			 -->
+			<view class="hclist">
 				<view class="list-item" v-for="(item, key) in pcsjList" :key="key" @click="goDetail(item)">
 					<div class="nameTitle">{{ item.name }}</div>
 					<div>{{ item.dkbh }}</div>
 					<div>监测面积:{{ item.dkmj }}</div>
 					<div>核查截止日期:{{ item.endTime }}</div>
 				</view>
-			</van-list>
+			</view>
+			<!-- </van-list> -->
 		</view>
 	</view>
 
@@ -79,7 +82,7 @@
 				this.$emit('returnCount')
 			},
 			tabclick(stepState) {
-				if (stepState != undefined) this.queryParams.stepState = stepState
+				if (stepState != undefined) this.queryParams.stepStateS = stepState
 				this.queryParams.pageNum = 1;
 				this.pcsjList = [];
 				this.getList();
@@ -98,7 +101,7 @@
 				this.queryParams = {
 					pageNum: 1,
 					pageSize: 10,
-					stepState: stepState || 0,
+					stepStateS: stepState || 0,
 					dkbh: ''
 				}
 			},