|
@@ -221,7 +221,7 @@ export default {
|
|
|
},
|
|
|
// 搜索关键
|
|
|
async searchCrux() {
|
|
|
- const res = await getUserByName({ NAME: this.searchKey })
|
|
|
+ const res = await getUserByName({ NAME: this.searchKey }, { loading: true })
|
|
|
if (res.userByName != '' && res.userByName != undefined && res.userByName != null) {
|
|
|
if (res.msg == 'success') {
|
|
|
this.searchNameList = res.userByName
|
|
@@ -235,7 +235,7 @@ export default {
|
|
|
if (!/^\d{4}$/.test(this.searchKeyPhone)) {
|
|
|
return Toast('请输入手机号后四位')
|
|
|
}
|
|
|
- const res = await getUserByName({ PHONE: this.searchKeyPhone })
|
|
|
+ const res = await getUserByName({ PHONE: this.searchKeyPhone }, { loading: true })
|
|
|
if (res.userByName != '' && res.userByName != undefined && res.userByName != null) {
|
|
|
if (res.msg == 'success') {
|
|
|
this.searchNameListPhone = res.userByName
|