Jelajahi Sumber

Merge remote-tracking branch 'origin/test'

zhouna 5 tahun lalu
induk
melakukan
4a961f184c

+ 7 - 4
src/components/diagBase/DiagBase.vue

@@ -123,10 +123,13 @@ export default {
         }
     },
     created() {
-        this.getDropList()
-        this.getDataList()
-        const userLoginDTO= JSON.parse(localStorage.getItem('userLoginDTO'))
-        this.modifier = userLoginDTO && userLoginDTO.linkman
+        this.$nextTick(()=>{
+          this.getDropList()
+          this.getDataList()
+          const userLoginDTO= JSON.parse(localStorage.getItem('userLoginDTO'))
+          this.modifier = userLoginDTO && userLoginDTO.linkman
+        }) 
+       
     },
   watch: {
     'filter': {

+ 1 - 1
src/components/diagBase/QuestionWords.vue

@@ -172,7 +172,7 @@ export default {
           const data = {
             disName: this.filter.disName,
             question: this.filter.questionName,
-            type: this.filter.questionType
+            type: this.filter.type
           };
           api.exportDiagnosticBasis(data).then((res) => {
               utils.downloadExportedData(res.data,'问题词.xls')