Explorar el Código

去掉字典信息

Luolei hace 6 años
padre
commit
b634b16038
Se han modificado 1 ficheros con 1 adiciones y 17 borrados
  1. 1 17
      src/components/icss/ChronicDiseaseManage.vue

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

@@ -88,25 +88,9 @@
       }
     },
     created() {
-      this.getDropList().then(() => {
-        this.getDataList()
-      })
+      this.getDataList()
     },
     methods: {
-      getDropList() {
-        let templateOwn = localStorage.getItem('icssEnumsData') ? JSON.parse(localStorage.getItem('icssEnumsData')).moduleTypeEnum : []
-        let templateType = localStorage.getItem('icssEnumsData') ? JSON.parse(localStorage.getItem('icssEnumsData')).moduleInfoTypeEnum : []
-        this.Adscriptions = templateOwn;
-        this.AdscriptionsType = templateType
-        return api.getDropList().then((res) =>{
-          if(res.data.code === '0') {
-            this.tagTypes =  res.data.data[6];
-            for (var i = 0; i < this.tagTypes.length; i++) {
-              this.tagTypesList.push(this.tagTypes[i].val)
-            }
-          }
-        })
-      },
       getDataList() {
         const param = this.getFilterItems();
         api.queryEvaluationModulePages(param).then((res) => {