This commit is contained in:
yanran200730
2022-07-02 09:59:59 +08:00
parent ebf4cced38
commit a7c6883756
2 changed files with 39 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="AppMerchantManage">
<AiTopFixed>
<u-search placeholder="请输入姓名、手机号、店面" :show-action="false" v-model="keyword" @search="current=1,getList()"/>
<u-search placeholder="请输入姓名、手机号、店面" :show-action="false" v-model="keyword" confirm-type="search" @search="current = 1, getList()"/>
</AiTopFixed>
<div class="list">
<div class="item" v-for="item in list" :key="item.id" @click="linkTo('./detail?id=' + item.id)">
@@ -61,13 +61,13 @@
methods: {
getList() {
if (this.current > this.pages) return
if (this.current > this.pages && this.current !== 1) return
this.$http.post('/app/appcompany/list', null, {
params: {
size: 10,
current: this.current,
con: this.keyword,
businessName: this.keyword
},
}).then((res) => {
if (res.code == 0) {