yuwandanmian 1 year ago
parent
commit
5080259a8d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/medicalRecord/components/index/ControlDrawer.vue

+ 1 - 2
src/views/medicalRecord/components/index/ControlDrawer.vue

@@ -204,13 +204,12 @@
     },
     methods: {
       onClose() {
-        console.log(this.$route.query.zyh)
         this.$emit('close')
       },
       // 获取详情
       getData() {
         const params = {
-          ZYH: this.data.zyh
+          ZYH: this.$route.query.zyh
         }
         this.$axios.post('/bmy/qualityResult', params).then(res => {
           this.controls = res.data