yuwandanmian hai 1 ano
pai
achega
5080259a8d

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

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