diff --git a/src/views/examination.vue b/src/views/examination.vue
index 7412171..f51f37e 100644
--- a/src/views/examination.vue
+++ b/src/views/examination.vue
@@ -18,7 +18,7 @@
-
+
',this.selectArr)
},
onConfirm(date) {
let year = date.getFullYear();
let month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
- let text = year + '/' + month + '/' + day
+ let text = year + '/' + month + '/' + day;
+ console.log('current ===>',month);
+ // if(this.currentMonth == month){
+ this.currentIndex = '0'
+ // }
this.selectDate = text;
this.getList()
},
@@ -386,7 +398,9 @@ export default {
let month = date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1
let day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
let text = year + '/' + month + '/' + day
+ console.log('next===>',month)
this.selectDate = text;
+ this.currentIndex = '1'
this.getList()
},