|
@@ -93,35 +93,36 @@ export default {
|
|
|
if (this.$checkRes(resss)) {
|
|
|
this.$set(this, `dinggou2`, resss.data);
|
|
|
this.$set(this, `total2`, resss.total);
|
|
|
- }
|
|
|
- //
|
|
|
+ } //
|
|
|
skip = this.skip;
|
|
|
const quanbures = await this.transactionList({ skip, limit, market_userid, ...info });
|
|
|
if (this.$checkRes(quanbures)) {
|
|
|
this.$set(this, `dinggou3`, quanbures.data);
|
|
|
this.$set(this, `total3`, quanbures.total);
|
|
|
}
|
|
|
- } else if (this.role == '6') {
|
|
|
+ } else if (this.user.role == '6') {
|
|
|
+ console.log('sss');
|
|
|
+
|
|
|
skip = this.skip1;
|
|
|
- const res = await this.expertsauditList({ skip, limit, market_userid, status: 0, ...info });
|
|
|
+ const res = await this.transactionList({ skip, limit, market_userid: this.user.userid, status: 0, ...info });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `faqilist`, res.data);
|
|
|
this.$set(this, `totalfaqi`, res.total);
|
|
|
}
|
|
|
skip = this.skip2;
|
|
|
- const acc = await this.expertsauditList({ skip, limit, market_userid, status: 1, ...info });
|
|
|
+ const acc = await this.transactionList({ skip, limit, market_userid: this.user.userid, status: 1, ...info });
|
|
|
if (this.$checkRes(acc)) {
|
|
|
this.$set(this, `dinggou1`, acc.data);
|
|
|
this.$set(this, `total1`, acc.total);
|
|
|
}
|
|
|
skip = this.skip3;
|
|
|
- const add = await this.expertsauditList({ skip, limit, market_userid, status: 2, ...info });
|
|
|
+ const add = await this.transactionList({ skip, limit, market_userid: this.user.userid, status: 2, ...info });
|
|
|
if (this.$checkRes(add)) {
|
|
|
this.$set(this, `dinggou2`, add.data);
|
|
|
this.$set(this, `total2`, add.total);
|
|
|
}
|
|
|
skip = this.skip;
|
|
|
- const aff = await this.expertsauditList({ skip, limit, market_userid, ...info });
|
|
|
+ const aff = await this.transactionList({ skip, limit, market_userid: this.user.userid, ...info });
|
|
|
if (this.$checkRes(aff)) {
|
|
|
this.$set(this, `dinggou3`, aff.data);
|
|
|
this.$set(this, `total3`, aff.total);
|