|
@@ -78,7 +78,6 @@ export default {
|
|
|
|
|
|
async searchinfo() {
|
|
async searchinfo() {
|
|
let res = await this.roomuserquery({ skip: 0, limit: 100000 });
|
|
let res = await this.roomuserquery({ skip: 0, limit: 100000 });
|
|
- console.log(res.data);
|
|
|
|
this.$set(this, `clientList`, res.data);
|
|
this.$set(this, `clientList`, res.data);
|
|
},
|
|
},
|
|
|
|
|
|
@@ -86,14 +85,12 @@ export default {
|
|
let { model, value } = data;
|
|
let { model, value } = data;
|
|
let res = '';
|
|
let res = '';
|
|
if (model === 'anchorid') {
|
|
if (model === 'anchorid') {
|
|
- console.log(value);
|
|
|
|
let findRes = this.clientList.find(f => f.id === value);
|
|
let findRes = this.clientList.find(f => f.id === value);
|
|
if (findRes) res = findRes.name;
|
|
if (findRes) res = findRes.name;
|
|
}
|
|
}
|
|
return res;
|
|
return res;
|
|
},
|
|
},
|
|
toEdit({ data }) {
|
|
toEdit({ data }) {
|
|
- console.log('1');
|
|
|
|
this.$router.push({ path: './detail', query: { id: data.id } });
|
|
this.$router.push({ path: './detail', query: { id: data.id } });
|
|
},
|
|
},
|
|
|
|
|