素材库
This commit is contained in:
parent
fb2ebeecf2
commit
b0b168e37d
@ -458,6 +458,7 @@ export default {
|
||||
this.getList();
|
||||
},
|
||||
methods: {
|
||||
|
||||
// 图片/视频
|
||||
handleClick(e) {
|
||||
this.queryParams.materialsType = e.name
|
||||
@ -611,15 +612,20 @@ export default {
|
||||
/** 搜索按钮操作 */
|
||||
handleQuery() {
|
||||
this.queryParams.pageNum = 1;
|
||||
if (this.daterangeCreateTime.length > 0) {
|
||||
if (this.daterangeCreateTime) {
|
||||
this.queryParams.createTimeStart = this.daterangeCreateTime[0]
|
||||
this.queryParams.createTimeEnd = this.daterangeCreateTime[1]
|
||||
}else{
|
||||
this.queryParams.createTimeStart = null
|
||||
this.queryParams.createTimeEnd = null
|
||||
|
||||
}
|
||||
|
||||
this.getList();
|
||||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
console.log()
|
||||
this.daterangeCreateTime = [];
|
||||
this.queryParams = {
|
||||
pageNum: 1,
|
||||
@ -627,12 +633,12 @@ export default {
|
||||
materialsType: 'IMAGE_TEXT',
|
||||
materialsName: null,
|
||||
materialsStatus: null,
|
||||
|
||||
createTimeStart: null,
|
||||
createTimeEnd: null,
|
||||
|
||||
}
|
||||
this.resetForm("queryForm");
|
||||
// this.getList();
|
||||
this.handleQuery();
|
||||
},
|
||||
// 多选框选中数据
|
||||
|
||||
Loading…
Reference in New Issue
Block a user