|
|
|
@ -240,6 +240,7 @@ export default { |
|
|
|
|
this.$post(`${this.api.getIdQueryTable}?categoryId=${this.defaultType}&showName=${this.keyword}&pageNum=${this.page}&pageSize=${this.pageSize}&updateTime=`).then(res => { |
|
|
|
|
const list = res.pageList.records |
|
|
|
|
list.map(e => { |
|
|
|
|
// 开始结束时间只显示日期 |
|
|
|
|
const startTime = e.startTime ? e.startTime.slice(0, 10) : '' |
|
|
|
|
const endTime = e.endTime ? e.endTime.slice(0, 10) : '' |
|
|
|
|
if (startTime && endTime) { |
|
|
|
@ -252,6 +253,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
this.listData = list |
|
|
|
|
this.total = res.pageList.total |
|
|
|
|
// 从首页跳转过来的预览 |
|
|
|
|
if (this.$route.query.preview) { |
|
|
|
|
this.preview({ |
|
|
|
|
id: this.$route.query.id, |
|
|
|
|