|
@@ -55,15 +55,17 @@ export default {
|
|
|
status = this.forms.status;
|
|
|
skip = this.skip;
|
|
|
let code = this.user.code;
|
|
|
- const arr = await this.comquery({ status, code, ...info });
|
|
|
- this.$set(this, `recruitInfo`, arr.res);
|
|
|
- this.$set(this, `total`, arr.res.length);
|
|
|
+ let pid = this.user.uid;
|
|
|
+ const arr = await this.comquery({ status, code, pid, ...info });
|
|
|
+ this.$set(this, `recruitInfo`, arr.data);
|
|
|
+ this.$set(this, `total`, arr.data.length);
|
|
|
} else {
|
|
|
skip = this.skip;
|
|
|
let code = this.user.code;
|
|
|
- const arr = await this.comquery({ status: 3, code, ...info });
|
|
|
- this.$set(this, `recruitInfo`, arr.res);
|
|
|
- this.$set(this, `total`, arr.res.length);
|
|
|
+ let pid = this.user.uid;
|
|
|
+ const arr = await this.comquery({ status: 3, code, uid, ...info });
|
|
|
+ this.$set(this, `recruitInfo`, arr.data);
|
|
|
+ this.$set(this, `total`, arr.data.length);
|
|
|
}
|
|
|
},
|
|
|
// 删除
|