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