| | |
| | | }, |
| | | { |
| | | label: "发布时间", |
| | | prop: "datetime", |
| | | prop: "dateTime", |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss", |
| | | searchRange:true, |
| | | hide: true, |
| | | addDisplay: false, |
| | |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | | type: "date", |
| | | format: "yyyy-MM-dd hh:mm:ss", |
| | | valueFormat: "yyyy-MM-dd hh:mm:ss" |
| | | format: "yyyy-MM-dd HH:mm:ss", |
| | | valueFormat: "yyyy-MM-dd HH:mm:ss" |
| | | }, |
| | | { |
| | | label: "资讯内容", |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | const {datetime} = this.query; |
| | | const {dateTime} = this.query; |
| | | let values = { |
| | | ...params, |
| | | }; |
| | | if (datetime) { |
| | | if (dateTime) { |
| | | values = { |
| | | ...params, |
| | | startTime: datetime[0], |
| | | endTime: datetime[1], |
| | | startTime: dateTime[0], |
| | | endTime: dateTime[1], |
| | | ...this.query |
| | | }; |
| | | values.datetime = null; |