yrik 4 年之前
父节点
当前提交
a9b14811a3
共有 1 个文件被更改,包括 5 次插入62 次删除
  1. 5 62
      ruoyi-ui/src/views/index.vue

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

@@ -489,72 +489,15 @@ export default {
           let setre = []
           this.truew = []
           console.log(this.calendarData)
-          // console.log(data,37645)
-
           for (var i = 0 ; i < this.calendarData.length; i++) {
+            if(this.calendarData[i].schedule_content !== undefined){
+           this.calendarData[i].schedule_content = this.calendarData[i].schedule_content.replace(/<\/?[^>]*>/g, '')
+            }
             if(data == this.calendarData[i].remind_time){
-              
+              content  = content  + this.calendarData[i].schedule_content + '、'
+              console.log(i,this.calendarData.length)
             }
-            // if (date === this.calendarData[i].begin_time) {
-              // console.log(this.calendarData[i])
-              // if(this.calendarData[i].remind_time !== undefined){
-                // console.log(this.calendarData[i].all_date.includes(data))
-                // 多个时间
-                // if(this.calendarData[i].remind_time.includes(data) == true){
-                 // console.log(this.calendarData[i].all_date.includes(data))
-                 // 多个时间
-                 // this.truew.push(this.calendarData[i].remind_time.includes(data))
-                 // console.log(this.truew)
-                 // 多个时间
-                 // if(this.truew.length >1){
-                   // 多个时间
-                    // content  = content + ',' + this.calendarData[i].schedule_content
-                    // nujeug = content.split(',')
-                    // for(var i = 0 ; i < nujeug.length; i++){
-                    //   if (setre.indexOf(nujeug[i]) === -1) {
-                    //      setre.push(nujeug[i])
-                    //      }
-                    // }
-                    // content = setre.join(',')
-                    // setre = [...new set(nujeug)]
-                    // conert = setre.join(',')
-                 // }else{
-                   // if(datase == date){
-                   //   content  =  this.calendarData[i].schedule_content + content + ','
-                   //   console.log(1234567543)
-                   // }else{
-                   //    content  = this.calendarData[i].schedule_content
-                   //   console.log(1239545)
-                   // }
-                   // content  = this.calendarData[i].schedule_content
-                 // }
-
-                  // content  = this.calendarData[i].schedule_content
-                  // return content
-                // }
                 console.log(content)
-                //  if(this.calendarData[i].all_date.includes(data) == false){
-                //    console.log(this.calendarData[i].all_date.includes(data))
-                //   // this.rjtu.push(this.calendarData[i].schedule_content)
-                //   // content  = this.calendarData[i].schedule_content
-
-                // }
-                //
-                // }
-                // return content
-              // }
-                // that.ary.push(route)
-
-              // if(this.calendarData[i].schedule_content !== undefined){
-              //   nujue = nujue +1
-              //   if(this.calendarData[i].schedule_content !== this.calendarData[nujue].schedule_content){
-              //     // this.rjtu.push(this.calendarData[i].schedule_content)
-              //   }
-              //   // content = this.rjtu.join(',')
-
-              // }
-
-            // }
           }
           console.log(content)
           // console.log(this.rjtu,12345)