|
|
@@ -51,7 +51,7 @@
|
|
|
// ])
|
|
|
// },
|
|
|
async asyncData({store}) {
|
|
|
- let {data} = await axios.get('/produce/kindConcern/kindList', { params: {keyword: '', count: 20, page: 1, type: 'yes', enUU: store.state.option.user.data.enterprise.uu} })
|
|
|
+ let {data} = await axios.get('/produce/kindConcern/kindList', { params: {keyword: '', count: 20, page: 1, enUU: store.state.option.user.data.enterprise.uu} })
|
|
|
return {
|
|
|
attentionList: data
|
|
|
}
|
|
|
@@ -84,7 +84,7 @@
|
|
|
// },
|
|
|
computed: {
|
|
|
allPage() {
|
|
|
- return Math.ceil(this.attentionList.totalElements / 10)
|
|
|
+ return Math.ceil(this.attentionList.totalElements / 20)
|
|
|
},
|
|
|
getkindConcernList() {
|
|
|
return this.$store.state.product.component.collectCode
|
|
|
@@ -140,8 +140,9 @@
|
|
|
},
|
|
|
async getAttentionListArray(page) {
|
|
|
this.isSearchSearchingMore = true
|
|
|
- let {data} = await axios.get('/produce/kindConcern/kindList', { params: {keyword: '', count: 20, page: page, type: 'yes', enUU: this.$store.state.option.user.data.enterprise.uu} })
|
|
|
+ let {data} = await axios.get('/produce/kindConcern/kindList', { params: {keyword: '', count: 20, page: page, enUU: this.$store.state.option.user.data.enterprise.uu} })
|
|
|
this.attentionList.content = [...this.attentionList.content, ...data.content]
|
|
|
+ this.isSearchSearchingMore = false
|
|
|
// if (this.activeType === 'attention') {
|
|
|
// this.$store.dispatch('product/getUserCollectCode', {keyword: this.keyword, count: 20, page: page, enUU: this.$store.state.option.user.data.enterprise.uu})
|
|
|
// } else {
|