素材库

This commit is contained in:
shidongli 2024-04-01 15:43:08 +08:00
parent fb2ebeecf2
commit b0b168e37d

View File

@ -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();
},
//