yrik 4 年之前
父節點
當前提交
3e15826473
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      ruoyi-ui/src/views/index.vue

+ 6 - 5
ruoyi-ui/src/views/index.vue

@@ -442,7 +442,8 @@ export default {
        console.log(that.calendarData)
        for (var i = 0 ; i < that.calendarData.length; i++) {
          // that.ary.push(that.calendarData[i].startDate)
-         that.ary.push(that.calendarData[i].begin_time.slice(0,10))
+         // that.ary.push(that.calendarData[i].begin_time.slice(0,10))
+         that.ary = that.calendarData[i].all_date
          console.log(that.calendarData[i].begin_time)
        }
        console.log(that.ary)
@@ -457,11 +458,11 @@ export default {
           let content = ''
           // console.log(data,37645)
           for (var i = 0 ; i < this.calendarData.length; i++) {
-          this.calendarData[i].begin_time = this.calendarData[i].begin_time.slice(0,10)
+          // this.calendarData[i].begin_time = this.calendarData[i].begin_time.slice(0,10)
             console.log(this.calendarData[i].begin_time,123)
-            if (date === this.calendarData[i].begin_time) {
-              content = this.calendarData[i].schedule_title + ` ` + this.calendarData[i].schedule_type
-            }
+            // if (date === this.calendarData[i].begin_time) {
+              content = this.calendarData[i].remind_type
+            // }
           }
           console.log(content)
           return content