mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
'产说会查询详情分页'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="table">
|
||||
<div>
|
||||
<van-list
|
||||
v-model="loading"
|
||||
:immediate-check="false"
|
||||
@@ -8,11 +8,11 @@
|
||||
error-text="请求失败,点击重新加载"
|
||||
:error.sync="error"
|
||||
@load="loadMore"
|
||||
class="pb45"
|
||||
>
|
||||
<statisticalTable @goLink="goLink" :theads="theads" :tableData="tableData" :isLink="true"></statisticalTable>
|
||||
</van-list>
|
||||
<!-- <table cellspacing="0" summary cellpadding="1">
|
||||
<div class="table">
|
||||
<statisticalTable @goLink="goLink" :theads="theads" :tableData="tableData" :isLink="true"></statisticalTable>
|
||||
|
||||
<!-- <table cellspacing="0" summary cellpadding="1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="th-fixed">机构</th>
|
||||
@@ -36,6 +36,8 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table> -->
|
||||
</div>
|
||||
</van-list>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -45,7 +47,7 @@ import statisticalTable from '@/components/ebiz/productionSay/statisticsTable'
|
||||
export default {
|
||||
name: 'statistics',
|
||||
components: {
|
||||
statisticalTable,
|
||||
statisticalTable
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -55,9 +57,9 @@ export default {
|
||||
currentPage: 1, //当前页数
|
||||
error: false,
|
||||
finishedText: '没有更多了',
|
||||
pageSize: 10, //每页数据条数
|
||||
pageSize: 20, //每页数据条数
|
||||
tableData: [],
|
||||
theads: ['机构', '计划场次', '预估人数', '预估保费', '实际场次', '实际人数', '预签保费'],
|
||||
theads: ['机构', '计划场次', '预估人数', '预估保费', '实际场次', '实际人数', '预签保费']
|
||||
}
|
||||
},
|
||||
created() {
|
||||
@@ -69,7 +71,7 @@ export default {
|
||||
console.log('加载表单')
|
||||
let pageInfo = {
|
||||
pageNum: this.currentPage, //当前页数
|
||||
pageSize: this.pageSize, //当前页对应条数
|
||||
pageSize: this.pageSize //当前页对应条数
|
||||
}
|
||||
this.selectAllStatistical(pageInfo)
|
||||
},
|
||||
@@ -80,7 +82,7 @@ export default {
|
||||
// 禁用背景点击
|
||||
forbidClick: true,
|
||||
loadingType: 'spinner',
|
||||
message: '加载中……',
|
||||
message: '加载中……'
|
||||
})
|
||||
selectAllStatistical(data).then((res) => {
|
||||
if (res.result == 0) {
|
||||
@@ -106,20 +108,20 @@ export default {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/productionSay/statisticsItem?convokeOrganization=' + item.convokeOrganization,
|
||||
url: location.origin + '/#/productionSay/statisticsItem?convokeOrganization=' + item.convokeOrganization
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/productionSay/statisticsItem?convokeOrganization=' + item.convokeOrganization,
|
||||
},
|
||||
path: '/productionSay/statisticsItem?convokeOrganization=' + item.convokeOrganization
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.table {
|
||||
// overflow-x: auto;
|
||||
overflow-x: auto;
|
||||
margin: 5px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="table">
|
||||
<div>
|
||||
<van-list
|
||||
v-model="loading"
|
||||
:immediate-check="false"
|
||||
@@ -10,7 +10,9 @@
|
||||
@load="loadMore"
|
||||
class="pb45"
|
||||
>
|
||||
<statisticalTable :theads="theads" :tableData="tableData" :isLink="false"></statisticalTable>
|
||||
<div class="table">
|
||||
<statisticalTable :theads="theads" :tableData="tableData" :isLink="false"></statisticalTable>
|
||||
</div>
|
||||
</van-list>
|
||||
</div>
|
||||
</template>
|
||||
@@ -31,14 +33,14 @@ export default {
|
||||
currentPage: 1, //当前页数
|
||||
error: false,
|
||||
finishedText: '没有更多了',
|
||||
pageSize: 10, //每页数据条数
|
||||
pageSize: 20, //每页数据条数
|
||||
tableData: [],
|
||||
theads: ['机构', '计划场次', '预估人数', '预估保费', '实际场次', '实际人数', '预签保费']
|
||||
}
|
||||
},
|
||||
created() {
|
||||
if (this.$route.query.convokeOrganization) {
|
||||
this.loadMore();
|
||||
this.loadMore()
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -88,7 +90,7 @@ export default {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.table {
|
||||
// overflow-x: auto;
|
||||
overflow-x: auto;
|
||||
margin: 5px;
|
||||
box-sizing: border-box;
|
||||
background: #fff;
|
||||
|
||||
Reference in New Issue
Block a user