Commit ac6ecc2d authored by 王康's avatar 王康

Merge branch 'master' of 115.28.80.125:softwarefactory/vueelementtemplate

parents fd588ccc 14854eb0
......@@ -29,7 +29,7 @@
</div>
<div v-if="show" class="incident">
<p>{{currentDate}}</p>
<span>{{event}}</span>
<p v-for="event in allEvents">{{event}}</p>
<span class="close" @click="closeEvent">X</span>
</div>
</el-dialog>
......@@ -183,6 +183,7 @@
position:relative;
background-color:#202020;
width:180px;
height:;
padding:20px;
color:#CCC;
text-align:center;
......@@ -254,8 +255,9 @@
dateItems: '', // 当前月份所有日期的数据
dialogTableVisible: false,
show: false,
eventTitle: '',
currentDate: '',
event: '',
allEvents: '',
schedules: []
}
},
......@@ -449,9 +451,9 @@
console.log(result, '--------------------')
if (result.schedule) {
const currentTime = this.timestampToTime(result.schedule.date)
console.log(currentTime)
this.currentDate = currentTime
this.event = result.schedule.event
this.eventTitle = result.schedule.title
this.allEvents = result.schedule.allEvents
}
// this.$emit('dateChange', result)
} else { // 已激活行程提示的,不作反应
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment