test_user 2 anni fa
parent
commit
ef37962f4c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/xt_pages/outpatientTool/yidiClear.vue

+ 2 - 0
src/xt_pages/outpatientTool/yidiClear.vue Vedi File

11
         <el-date-picker
11
         <el-date-picker
12
             v-model="month"
12
             v-model="month"
13
             type="month"
13
             type="month"
14
+            value-format="yyyy-MM"
14
             placeholder="选择年月">
15
             placeholder="选择年月">
15
         </el-date-picker>
16
         </el-date-picker>
16
       </div>
17
       </div>
93
   methods: {
94
   methods: {
94
     getYidiClear(){
95
     getYidiClear(){
95
       var that = this;
96
       var that = this;
97
+      console.log(this.month)
96
       let params = {
98
       let params = {
97
         'year':this.month.split("-")[0],
99
         'year':this.month.split("-")[0],
98
         'month':this.month.split("-")[1],
100
         'month':this.month.split("-")[1],