瀏覽代碼

诊断不用获取字典信息

Luolei 6 年之前
父節點
當前提交
f7b1950e07
共有 1 個文件被更改,包括 1 次插入17 次删除
  1. 1 17
      src/components/icss/DiagnosisList.vue

+ 1 - 17
src/components/icss/DiagnosisList.vue

@@ -117,28 +117,12 @@ export default {
         }
     },
     created() {
-        this.getDropList().then(() => {
-            this.getDataList()
-        })
-        
+      this.getDataList()
     },
     methods: {
         getValue(val) {
             console.log('changeVal', val, this.filter.tagAdscription)
         },
-        getDropList() {
-            return api.getDropList().then((res) =>{
-                // console.log('dropList', res)
-                if(res.data.code === '0') {
-                    this.Adscriptions = res.data.data[7];
-                    this.tagTypes =  res.data.data[3];
-                    for (var i = 0; i < this.tagTypes.length; i++) {
-                        this.tagTypesList.push(this.tagTypes[i].val)
-                    }
-                }
-                 
-            })
-        },
         getDataList() {
             const param = this.getFilterItems();
             api.getTagList(param).then((res) => {