瀏覽代碼

需求挖掘分析调试

newStyle
corala 2 年之前
父節點
當前提交
4725d7795d
共有 1 個文件被更改,包括 9 次插入7 次删除
  1. +9
    -7
      src/views/Template/requireminingAnalysis.vue

+ 9
- 7
src/views/Template/requireminingAnalysis.vue 查看文件

@@ -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;


Loading…
取消
儲存