|
@@ -74,7 +74,7 @@ export default {
|
|
...authUser(['fetch', 'query', 'update']),
|
|
...authUser(['fetch', 'query', 'update']),
|
|
...role({ getRoleList: 'query' }),
|
|
...role({ getRoleList: 'query' }),
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
- const res = await this.query({ skip, limit, ...info });
|
|
|
|
|
|
+ const res = await this.query({ skip, limit, role: '4', ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|