Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

XMLWAN 2 years ago
parent
commit
2fff002ce2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/xt_pages/outpatientTool/yidiClear.vue

+ 2 - 0
src/xt_pages/outpatientTool/yidiClear.vue View 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],