Commit f8f58738 authored by gaochao's avatar gaochao

a

parent 14ea3982
<template>
<div class="calender">
<i class="el-icon-date" @click="dialogTableVisible = true"></i>
<el-dialog title="日历" :visible.sync="dialogTableVisible">
<full-calendar :events="fcEvents" locale="en"></full-calendar>
</el-dialog>
</div>
</template>
......@@ -29,7 +33,8 @@
},
data() {
return {
fcEvents: []
fcEvents: [],
dialogTableVisible: false
}
},
computed: {
......@@ -44,7 +49,7 @@
const self = this
console.log(self.schema)
request(self.schema.modelUnderscorePlural).then(resp => {
// console.log(resp.data)
console.log(resp.data)
_.each(resp.data, function(item, index) {
const test = _.cloneDeep(self.demoEvents)
test.title = item[self.demoEvents.title]
......
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