zs há 2 anos atrás
pai
commit
f607f62674
1 ficheiros alterados com 3 adições e 6 exclusões
  1. 3 6
      pagesHome/group/group.vue

+ 3 - 6
pagesHome/group/group.vue

@@ -3,7 +3,7 @@
 		<view class="main">
 			<view class="one">
 				<view class="one_1">
-					<input type="text" v-model="searchInfo.goods" @input="toInput" placeholder="搜索商品">
+					<input type="text" v-model="searchInfo.goods_name" @input="toInput" placeholder="搜索商品">
 				</view>
 				<view class="one_2">
 					<button size="mini" @tap="toDislog">筛选</button>
@@ -69,9 +69,6 @@
 						<uni-forms-item label="团长名称" name="leader_name">
 							<uni-easyinput type="text" v-model="searchInfo.leader_name" placeholder="请输入团长名称" />
 						</uni-forms-item>
-						<uni-forms-item label="人数限制" name="person_limit">
-							<uni-easyinput type="number" v-model="searchInfo.person_limit" placeholder="请输入人数限制" />
-						</uni-forms-item>
 						<uni-forms-item label="开始时间" name="start_time">
 							<uni-datetime-picker type="datetime" v-model="searchInfo.start_time" @change="startChange" />
 						</uni-forms-item>
@@ -178,7 +175,7 @@
 					limit: that.limit,
 					status: '0'
 				}
-				let res = await that.$api(`/group`, 'GET', {
+				let res = await that.$api(`/group/aq`, 'GET', {
 					...info,
 					...that.searchInfo
 				}, 'group');
@@ -288,7 +285,7 @@
 			// 输入框
 			toInput(e) {
 				const that = this;
-				if (that.searchInfo.goods) that.$set(that.searchInfo, `goods`, e.detail.value)
+				if (that.searchInfo.goods_name) that.$set(that.searchInfo, `goods_name`, e.detail.value)
 				else that.$set(that, `searchInfo`, {})
 				that.clearPage();
 				that.search();