浏览代码

Merge branch 'master' of http://git.cc-lotus.info/service-platform/web-test

guhongwei 4 年之前
父节点
当前提交
7e742f1c84
共有 1 个文件被更改,包括 0 次插入10 次删除
  1. 0 10
      src/views/technical/index.vue

+ 0 - 10
src/views/technical/index.vue

@@ -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);
-      }
     },
   },
   // 过滤时间