Commit 325cd2f8 authored by 刘殿昕's avatar 刘殿昕

修复莫名其妙时间undefined

parent 9c88e63e
...@@ -226,12 +226,19 @@ export default { ...@@ -226,12 +226,19 @@ export default {
this.diaDel = true; this.diaDel = true;
}, },
getQList() { getQList() {
console.log(this.search_date);
let query = { let query = {
search: this.search_ask, search: this.search_ask,
style: 3, style: 3,
create_user: this.search_user, create_user: this.search_user,
start: this.search_date.length != 0 ? this.search_date[0] : "", start:
end: this.search_date.length != 0 ? this.search_date[1] : "", this.search_date && this.search_date.length != 0
? this.search_date[0]
: "",
end:
this.search_date && this.search_date.length != 0
? this.search_date[1]
: "",
limit: this.currentlimit, limit: this.currentlimit,
page: this.currentPage, page: this.currentPage,
order: "created", order: "created",
...@@ -244,12 +251,19 @@ export default { ...@@ -244,12 +251,19 @@ export default {
}); });
}, },
getAList() { getAList() {
console.log(this.search_date);
let query = { let query = {
search: this.search_ask, search: this.search_ask,
style: 3, style: 3,
create_user: this.search_user, create_user: this.search_user,
start: this.search_date.length != 0 ? this.search_date[0] : "", start:
end: this.search_date.length != 0 ? this.search_date[1] : "", this.search_date && this.search_date.length != 0
? this.search_date[0]
: "",
end:
this.search_date && this.search_date.length != 0
? this.search_date[1]
: "",
limit: this.currentlimit, limit: this.currentlimit,
page: this.currentPage, page: this.currentPage,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment