mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 16:42:53 +08:00
问题件详情页面分享按钮测试
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<div class="header">
|
||||
<van-search show-action @cancel="searchCancel" v-model="searchValue" placeholder="请输入投保人/被保人/险种名称/问题件类型关键字">
|
||||
<template #action>
|
||||
<div>搜索</div>
|
||||
<div @click="searchProblems">搜索</div>
|
||||
</template>
|
||||
</van-search>
|
||||
<van-tabs v-model="active" @change="changeProblemList">
|
||||
@@ -127,7 +127,8 @@ export default {
|
||||
processedList: [],
|
||||
searchValue: '',
|
||||
currentPage: 1,
|
||||
pageSize: 10
|
||||
pageSize: 10,
|
||||
searchCurrentPage: 1
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -150,7 +151,8 @@ export default {
|
||||
type: this.active,
|
||||
pageInfo: {
|
||||
pageNum: this.currentPage,
|
||||
pageSize: this.pageSize
|
||||
pageSize: this.pageSize,
|
||||
keyword: this.searchValue ? this.searchValue : ''
|
||||
}
|
||||
})
|
||||
if (rs && rs.result === '0') {
|
||||
@@ -186,6 +188,15 @@ export default {
|
||||
this.processedListLoading = true
|
||||
}
|
||||
this.loadMore()
|
||||
},
|
||||
async searchProblems() {
|
||||
this.currentPage = 1
|
||||
if (this.active === 0) {
|
||||
this.pendingList.splice(0)
|
||||
} else {
|
||||
this.processedList.splice(0)
|
||||
}
|
||||
this.loadMore()
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user