|
@@ -24,6 +24,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import {
|
|
|
+ mapState
|
|
|
+ } from 'vuex';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -36,6 +39,9 @@
|
|
|
onShow(){
|
|
|
this.getList()
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ ...mapState(['hasLogin', 'userInfo','clientId']),
|
|
|
+ },
|
|
|
onReachBottom() { //上拉触底函数
|
|
|
// if (this.statusFlag == 3) {
|
|
|
if (!this.isLoadMore) { //此处判断,上锁,防止重复请求
|
|
@@ -67,7 +73,8 @@
|
|
|
currentPage: this.currentPage,
|
|
|
pageSize:this.pageSize,
|
|
|
searchType: '',
|
|
|
- businessType: ''
|
|
|
+ businessType: '',
|
|
|
+ createUserId:this.userInfo.id
|
|
|
}).then(res => {
|
|
|
if(res.data.code==200){
|
|
|
uni.hideLoading()
|