Commit 9a4249b7 authored by guoyou's avatar guoyou

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

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