Commit 539abda5 authored by zhengyi's avatar zhengyi

跟进列表创建时间查询参数bug修复

parent 49c9f4b0
...@@ -158,6 +158,7 @@ export default { ...@@ -158,6 +158,7 @@ export default {
pageSize: 10 pageSize: 10
}, },
followFormTmp: { followFormTmp: {
createTime: ["", ""],
nextTime: ["", ""] nextTime: ["", ""]
} }
} }
...@@ -236,10 +237,11 @@ export default { ...@@ -236,10 +237,11 @@ export default {
let obj = {} let obj = {}
obj.customerId = this.customerId || null obj.customerId = this.customerId || null
obj.offerId = this.offerId || null obj.offerId = this.offerId || null
obj.beginNextTime = this.followFormTmp.nextTime[0] console.log("时间", this.followFormTmp)
obj.endNextTime = this.followFormTmp.nextTime[1]
obj.beginCreateTime = this.followFormTmp.createTime[0] obj.beginCreateTime = this.followFormTmp.createTime[0]
obj.endCreateTime = this.followFormTmp.createTime[1] obj.endCreateTime = this.followFormTmp.createTime[1]
obj.beginNextTime = this.followFormTmp.nextTime[0]
obj.endNextTime = this.followFormTmp.nextTime[1]
return obj return obj
}, },
handleQuery() { handleQuery() {
...@@ -276,6 +278,7 @@ export default { ...@@ -276,6 +278,7 @@ export default {
}) })
}, },
reset() { reset() {
this.followFormTmp.createTime = ["", ""]
this.followFormTmp.nextTime = ["", ""] this.followFormTmp.nextTime = ["", ""]
this.followForm = { this.followForm = {
pageNo: 1, pageNo: 1,
......
...@@ -156,6 +156,7 @@ export default { ...@@ -156,6 +156,7 @@ export default {
pageSize: 10 pageSize: 10
}, },
followFormTmp: { followFormTmp: {
createTime: ["", ""],
nextTime: ["", ""] nextTime: ["", ""]
} }
} }
...@@ -234,10 +235,10 @@ export default { ...@@ -234,10 +235,10 @@ export default {
let obj = {} let obj = {}
obj.customerId = this.customerId || null obj.customerId = this.customerId || null
obj.offerId = this.offerId || null obj.offerId = this.offerId || null
obj.beginNextTime = this.followFormTmp.nextTime[0]
obj.endNextTime = this.followFormTmp.nextTime[1]
obj.beginCreateTime = this.followFormTmp.createTime[0] obj.beginCreateTime = this.followFormTmp.createTime[0]
obj.endCreateTime = this.followFormTmp.createTime[1] obj.endCreateTime = this.followFormTmp.createTime[1]
obj.beginNextTime = this.followFormTmp.nextTime[0]
obj.endNextTime = this.followFormTmp.nextTime[1]
return obj return obj
}, },
handleQuery() { handleQuery() {
...@@ -274,6 +275,7 @@ export default { ...@@ -274,6 +275,7 @@ export default {
}) })
}, },
reset() { reset() {
this.followFormTmp.createTime = ["", ""]
this.followFormTmp.nextTime = ["", ""] this.followFormTmp.nextTime = ["", ""]
this.followForm = { this.followForm = {
pageNo: 1, pageNo: 1,
......
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