| @@ -439,7 +439,7 @@ | |||||
| </div> | </div> | ||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import * as echarts from "echarts"; | |||||
| import echarts from "echarts"; | |||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| return { | return { | ||||
| @@ -744,8 +744,8 @@ export default { | |||||
| // console.log(data); | // console.log(data); | ||||
| if (data.code == 0) { | if (data.code == 0) { | ||||
| this.activeCustomer = data.data.first.activeCustomer; | this.activeCustomer = data.data.first.activeCustomer; | ||||
| this.tableData = data.data.first.results; | |||||
| this.total = data.data.first.totalRecord; | |||||
| this.tableData = data.data.first.records; | |||||
| this.total = data.data.first.total; | |||||
| } else { | } else { | ||||
| this.tableData = []; | this.tableData = []; | ||||
| } | } | ||||
| @@ -892,11 +892,10 @@ export default { | |||||
| }, | }, | ||||
| }).then((data) => { | }).then((data) => { | ||||
| // console.log("执行明细"); | // console.log("执行明细"); | ||||
| // console.log(data); | |||||
| if (data.code == 0) { | if (data.code == 0) { | ||||
| this.activeCustomer = data.data.cus.activeCustomer; | this.activeCustomer = data.data.cus.activeCustomer; | ||||
| this.detail.tableData = data.data.list.results; | |||||
| this.detail.total = data.data.list.totalRecord; | |||||
| this.detail.tableData = data.data.list.records||[]; | |||||
| this.detail.total = data.data.list.total; | |||||
| } | } | ||||
| }); | }); | ||||
| }, | }, | ||||
| @@ -998,9 +997,12 @@ export default { | |||||
| "?houseId=" + this.houseId + | "?houseId=" + this.houseId + | ||||
| "&deptId=" + this.fromobj.team + | "&deptId=" + this.fromobj.team + | ||||
| "&createUser=" + this.fromobj.consultant + | "&createUser=" + this.fromobj.consultant + | ||||
| "&dateType=" + TimetoAhoose + | |||||
| "&firstStartDate=" + firstStartDate + | "&firstStartDate=" + firstStartDate + | ||||
| "&firstEndDate=" + firstEndDate; | "&firstEndDate=" + firstEndDate; | ||||
| if(this.TimetoAhoose!=7){ | |||||
| daochuparams = daochuparams+ "&dateType=" + this.TimetoAhoose | |||||
| } | |||||
| if (type == "rank") { | if (type == "rank") { | ||||
| //排行 | //排行 | ||||
| window.location.href ="/autoSR/customer/wordMiningRankExport" + daochuparams; | window.location.href ="/autoSR/customer/wordMiningRankExport" + daochuparams; | ||||