Browse Source

admin 展示日历修改

bding 4 months ago
parent
commit
eaa787caf4
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/components/calendar.vue

+ 4 - 1
src/components/calendar.vue

@@ -510,6 +510,7 @@ export default {
           titleArr
         };
       });
+      console.log(this.eventList,arr,'[[[]]]');
       this.calendarOptions.events = arr
     },
 
@@ -578,13 +579,14 @@ export default {
     },
 
     // 拼接标题 type 内部会议 公开会议 路演 报告电话会 事项
-    setDynamicTitle({ActivityType,RsMattersId,MatterContent,RoadshowType,RoadshowPlatform,Province,City,ActivityCategory,Source,Title}) {
+    setDynamicTitle({ActivityType,RsMattersId,MatterContent,RoadshowType,RoadshowPlatform,Province,City,ActivityCategory,Source,Title,Theme}) {
 
       //第三方添加的日历活动
       if(Source === 1) return Title;
 
       switch(ActivityType || RsMattersId) {
         case '内部会议': return ActivityType;
+        case '沙龙': return Theme;
         case '公开会议': return `${RoadshowType}${ActivityType}(${RoadshowType==='线上' ? RoadshowPlatform : Province+City})`;
         case '路演': return `${RoadshowType}${ActivityType}(${RoadshowType==='线上' ? RoadshowPlatform : Province+City})`;
         case '报告电话会': return `${ActivityCategory}电话会`;
@@ -599,6 +601,7 @@ export default {
 
   },
   mounted() {
+    console.log(112233,'bushizhegyemian');
     this.getCalendarApi();
     // this.today()
     this.toogelDate('today');