Commit 63b88a10 authored by honghy's avatar honghy Committed by wux

bug284 (生产bug)【客户列表-查询】“客户类别”查询条件没有正确过滤数据

parent ff8a586a
......@@ -1230,22 +1230,24 @@ export default {
},
/** 查询列表 */
getList() {
this.loading = true
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams }
this.$nextTick(() => {
this.loading = true
// 处理查询参数
let params = Object.assign({}, this.queryParams, this.combinedQueryParams)
// 执行查询
switch (this.$route.path) {
case "/customer/customer":
getCustomerPage(params).then(this.setData)
break
case "/customer/department-customers":
getCustomerDeptPage(params).then(this.setData)
break
case "/customer/potential":
getPotential(params).then(this.setData)
break
}
})
// 执行查询
switch (this.$route.path) {
case "/customer/customer":
getCustomerPage(params).then(this.setData)
break
case "/customer/department-customers":
getCustomerDeptPage(params).then(this.setData)
break
case "/customer/potential":
getPotential(params).then(this.setData)
break
}
},
remoteMethod(val) {
this.getCustomerSelect(val)
......
......@@ -839,15 +839,18 @@ export default {
},
/** 查询列表 */
getList() {
this.loading = true
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams }
// this.addBeginAndEndTime(params, this.dateRangeCreateTime, 'createTime', false);
// 执行查询
getWaitForConfirmList(params).then((response) => {
this.list = response.data.list
this.total = response.data.total
this.loading = false
const that = this
this.$nextTick(() => {
this.loading = true
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams }
// this.addBeginAndEndTime(params, this.dateRangeCreateTime, 'createTime', false);
// 执行查询
getWaitForConfirmList(params).then((response) => {
that.list = response.data.list
that.total = response.data.total
that.loading = false
})
})
},
remoteMethod(val) {
......
......@@ -694,16 +694,19 @@ export default {
},
/** 查询列表 */
getList() {
this.loading = true
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams }
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime", false)
// 执行查询
getMyCustomerService(params).then((response) => {
this.list = response.data.list
this.total = response.data.total
this.loading = false
this.getHeight()
const that = this
this.$nextTick(() => {
this.loading = true
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams }
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime", false)
// 执行查询
getMyCustomerService(params).then((response) => {
that.list = response.data.list
that.total = response.data.total
that.loading = false
that.getHeight()
})
})
},
remoteMethod(val) {
......
......@@ -783,17 +783,20 @@ export default {
},
/** 查询列表 */
getList() {
this.loading = true;
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams };
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime");
// 执行查询
getPublicList(params).then((response) => {
this.list = response.data.list;
this.total = response.data.total;
this.loading = false;
this.getHeight();
});
const that = this
this.$nextTick(() => {
this.loading = true;
// 处理查询参数
let params = { ...this.queryParams, ...this.combinedQueryParams };
this.addBeginAndEndTime(params, this.dateRangeCreateTime, "createTime");
// 执行查询
getPublicList(params).then((response) => {
that.list = response.data.list;
that.total = response.data.total;
that.loading = false;
that.getHeight();
});
})
},
remoteMethod(val) {
this.getCustomerSelect(val);
......
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