|
@@ -162,19 +162,15 @@ export default {
|
|
|
const jiabin = await this.danceQuery({ ...info });
|
|
|
if (this.$checkRes(jiabin)) {
|
|
|
this.$set(this, `jiabinList`, jiabin.data);
|
|
|
- this.searchList();
|
|
|
}
|
|
|
const luyan = await this.adshowQuery({ ...info });
|
|
|
if (this.$checkRes(luyan)) {
|
|
|
this.$set(this, `luyanlist`, luyan.data);
|
|
|
- this.searchList();
|
|
|
}
|
|
|
},
|
|
|
//查询列表
|
|
|
async searchList() {
|
|
|
let column = this.columnLists;
|
|
|
- let list1 = this.jiabinList;
|
|
|
- let list2 = this.luyanlist;
|
|
|
for (const i of column) {
|
|
|
if (i.name == '专家问诊') {
|
|
|
const res = await this.newsList({ skip: 0, limit: 5, column_id: i._id });
|
|
@@ -188,12 +184,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- if (this.$checkRes(list1)) {
|
|
|
- this.$set(this, `jiabinList`, list1);
|
|
|
- }
|
|
|
- if (this.$checkRes(list2)) {
|
|
|
- this.$set(this, `luyanlist`, list2);
|
|
|
- }
|
|
|
},
|
|
|
},
|
|
|
// 过滤时间
|