Ver Fonte

Merge remote-tracking branch 'origin/demo_' into demo_

hfxc226 há 2 anos atrás
pai
commit
026f3893e9
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      src/views/report/repairdetail/RepairDetail.vue

+ 5 - 0
src/views/report/repairdetail/RepairDetail.vue

@@ -9,10 +9,12 @@
                 <a-date-picker
                   mode="year"
                   style="width:150px"
+                  :open="open"
                   :format="monthFormat"
                   v-model="queryParam.searchYear"
                   placeholder="请输入年份"
                   @panelChange="getData"
+                  @openChange="status=>open=status"
                 />
               </a-col>
               <!-- <a-col :md="2" :sm="24">
@@ -81,6 +83,7 @@ export default {
       sbLevelMap: {},
       treeData: [],
       monthFormat: 'YYYY',
+      open: false,
       queryParam: {
         searchYear: null
       },
@@ -204,6 +207,7 @@ export default {
           this.chartsData.jiXiName = res.data[1].jiXiName
           this.chartsData.yiBiaoName = res.data[1].yiBiaoName
           console.log(this.chartsData)
+          this.open = false
         })
     },
     // handlePrint (record) {
@@ -223,6 +227,7 @@ export default {
       }
       this.getData()
     }
+
   }
 }
 </script>