|
@@ -34,7 +34,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
...personal(['query', 'export']),
|
|
...personal(['query', 'export']),
|
|
async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
|
|
async search({ skip = 0, limit = this.limit, searchName, ...info } = {}) {
|
|
- if (searchName) info.name = searchName;
|
|
|
|
|
|
+ if (searchName) info.phone = searchName;
|
|
let res = await this.query({ skip, limit, code: this.user.code, ...info });
|
|
let res = await this.query({ skip, limit, code: this.user.code, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `list`, res.data);
|