Commit b5ba89d0 authored by 郜超's avatar 郜超

a

parent 806c8ece
<template>
<div class="calendarlist">
<i class="el-icon-date" @click="dialogTableVisible = true"></i>
<i class="el-icon-date" @click="dialogTableVisible = true" :style="demoEvent.iconStyle"></i>
<el-dialog :visible.sync="dialogTableVisible">
<div class="datebook-root" :style='componentW?"width:"+componentW+";":""'>
<div class='top-panel'>
......@@ -484,7 +484,7 @@
var saveTime = ''
var filterparams = self.demoEvent.filterparams
request(self.schema.modelUnderscorePlural, {
params: { 'sortItem': self.demoEvent.timeOrder, 'pageSize': 10000, filters: { filterparams }}
params: { 'sortItem': self.demoEvent.timeOrder, 'pageSize': 10000, filters: filterparams }
}).then(resp => {
console.log(resp.data, '=========')
_.each(resp.data, function(item) {
......
......@@ -29,7 +29,8 @@
date: 'createTime',
events: 'email',
timeOrder: 'create_time',
filterparams: ''
filterparams: '',
iconStyle: 'color: #00BF8B'
}
// title为需要传入的事件名所对应的的字段名,date为时间所对应的字段,events为事件所对应的字段,都不是必传
// timeOrder为所有所有事件按照数据库的哪个字段排序,为下划线格式
......
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