|
@@ -179,24 +179,29 @@ export default {
|
|
|
let totaltype = '1';
|
|
|
res = await this.list({ skip, limit, totaltype, status: 1, ...info });
|
|
|
this.$set(this, `zhuantiList`, res.data);
|
|
|
+ this.$set(this, `pageTotal`, res.total);
|
|
|
} else if (name == '技术供求') {
|
|
|
- this.skip = 0;
|
|
|
+ // this.skip = 0;
|
|
|
this.limit = 10;
|
|
|
+ this.pageSize = 10;
|
|
|
let totaltype = '0';
|
|
|
- res = await this.list({ skip, limit, totaltype, status: 1, ...info });
|
|
|
+ res = await this.list({ skip, limit: 10, totaltype, status: 1, ...info });
|
|
|
this.$set(this, `jishuList`, res.data);
|
|
|
+ this.$set(this, `pageTotal`, res.total);
|
|
|
} else if (name == '服务供求') {
|
|
|
let totaltype = '2';
|
|
|
this.skip = 0;
|
|
|
this.limit = 10;
|
|
|
res = await this.list({ skip, limit, totaltype, status: 1, ...info });
|
|
|
this.$set(this, `hangyeList`, res.data);
|
|
|
+ this.$set(this, `pageTotal`, res.total);
|
|
|
} else if (name == '专家供求') {
|
|
|
let totaltype = this.totaltype;
|
|
|
res = await this.lists({ skip, limit, ...info });
|
|
|
this.$set(this, `jiaoyuList`, res.data);
|
|
|
+ this.$set(this, `pageTotal`, res.total);
|
|
|
}
|
|
|
- this.$set(this, `pageTotal`, res.total);
|
|
|
+ // this.$set(this, `pageTotal`, res.total);
|
|
|
},
|
|
|
handleCurrentChange(val) {
|
|
|
const name = this.menuName;
|