Commit 9a4249b7 authored by guoyou's avatar guoyou

分公司业绩报表快捷筛选统计

parent 9f7c08af
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
time: null, //时间 time: null, //时间
excelLoading: false, //导出loading excelLoading: false, //导出loading
allCompaniesArr: [], allCompaniesArr: [],
total: null, total: null,
listQuery: { listQuery: {
statisticalWay: 1, //统计方式 statisticalWay: 1, //统计方式
companyId: null, //公司 companyId: null, //公司
...@@ -171,8 +171,10 @@ export default { ...@@ -171,8 +171,10 @@ export default {
this.loadingTab = true this.loadingTab = true
company_performance(this.listQuery).then(data => { company_performance(this.listQuery).then(data => {
if (data.status == 200) { if (data.status == 200) {
this.tableData = data.data.data this.tableData = data.data.data
this.total = data.data.totalCount if (this.listQuery.page == 1) {
this.total = data.data.totalCount
}
window.scrollTo(0, 0) window.scrollTo(0, 0)
} else { } else {
this.$message.error(data.message) this.$message.error(data.message)
......
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