|
@@ -21,6 +21,7 @@ function onLoad() {
|
|
limit: 20,
|
|
limit: 20,
|
|
gw_fb: 1,
|
|
gw_fb: 1,
|
|
gw_fb_depart: isBureau ? "" : "1",
|
|
gw_fb_depart: isBureau ? "" : "1",
|
|
|
|
+ display_all: isBureau ? '1' : "",
|
|
...param,
|
|
...param,
|
|
},
|
|
},
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
@@ -51,29 +52,14 @@ function cellClick(gw_id) {
|
|
|
|
|
|
<template>
|
|
<template>
|
|
<div>
|
|
<div>
|
|
- <van-search
|
|
|
|
- v-model="param.keyword"
|
|
|
|
- :clearable="false"
|
|
|
|
- show-action
|
|
|
|
- placeholder="请输入搜索关键词"
|
|
|
|
- @search="onClickSearch"
|
|
|
|
- >
|
|
|
|
|
|
+ <van-search v-model="param.keyword" :clearable="false" show-action placeholder="请输入搜索关键词" @search="onClickSearch">
|
|
<template #action>
|
|
<template #action>
|
|
<div @click="onClickSearch">搜索</div>
|
|
<div @click="onClickSearch">搜索</div>
|
|
</template>
|
|
</template>
|
|
</van-search>
|
|
</van-search>
|
|
- <van-list
|
|
|
|
- v-model:loading="loading"
|
|
|
|
- :finished="finished"
|
|
|
|
- finished-text="没有更多了"
|
|
|
|
- @load="onLoad"
|
|
|
|
- >
|
|
|
|
- <van-cell
|
|
|
|
- v-for="(item, index) in list"
|
|
|
|
- :key="item"
|
|
|
|
- :title="`${index + 1}. ${item.gw_title}`"
|
|
|
|
- @click="cellClick(item.gw_id)"
|
|
|
|
- />
|
|
|
|
|
|
+ <van-list v-model:loading="loading" :finished="finished" finished-text="没有更多了" @load="onLoad">
|
|
|
|
+ <van-cell v-for="(item, index) in list" :key="item" :title="`${index + 1}. ${item.gw_title}`"
|
|
|
|
+ @click="cellClick(item.gw_id)" />
|
|
</van-list>
|
|
</van-list>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|