Commit 3a4cbc9a by gao_yingdong

研判工具

parent 8646c737
No preview for this file type
......@@ -763,7 +763,7 @@
id="jydygltj"
style="width: calc(100% - 80px); height: 400px; margin-left: 50px"
></div>
<div
<div
v-show="dialogType == '04'"
v-loading="loadingType02"
id="jyplgltj"
......@@ -1224,7 +1224,7 @@ export default {
formData.append("limit", 10);
dataResponse = await getTradingLocationStatistics(formData);
} else if (this.dialogType == "04") {
formData.append("page", 1);
formData.append("page", 1);
formData.append("limit", 10);
dataResponse = await getTradingFrequencyStatistics(formData);
} else if (this.dialogType == "05") {
......@@ -1361,7 +1361,7 @@ export default {
let data1 = this.picDataList.map((i) => ({
name: i.tradingBankName,
value: i.transCount,
dm: i.bfCardsNum,
dm: i.bfCardsNum != "" ? i.bfCardsNum : i.dfCardsNum,
}));
let x = this.picDataList.map((i) => ({
name: i.tradingBankName,
......@@ -1391,10 +1391,12 @@ export default {
this.getChartss(x, data1);
}
this.picDataLoading = false;
this.loadingType02 = false;
}
} else {
this.$message.error("数据异常,请稍后再试");
this.picDataLoading = false;
this.loadingType02 = false;
}
},
async getDialogTableData() {
......@@ -1650,7 +1652,7 @@ export default {
let myChart = this.$echarts.init(document.getElementById("jydygltj"));
myChart.setOption({
title: {
text: "交易地域规律统计",
text: "交易地域规律统计TOP10",
textStyle: {
color: "#000",
fontWeight: 600,
......@@ -1672,7 +1674,7 @@ export default {
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
},
formatter: function (params) {
debugger
debugger;
return `交易地点:${params[0].name}<br>交易次数:${params[0].value} 次<br>卡号:${params[0].data.dm}<br>`;
},
},
......@@ -1758,16 +1760,19 @@ export default {
],
});
//自适应
setTimeout(() => {
_this.loadingType02 = false;
}, 1000);
window.addEventListener("resize", () => {
myChart.resize();
});
},
getChartss(x, data1) {
getChartss(x, data1) {
let _this = this;
let myChart = this.$echarts.init(document.getElementById("jyplgltj"));
myChart.setOption({
title: {
text: "交易频度规律统计",
text: "交易频度规律统计TOP10",
textStyle: {
color: "#000",
fontWeight: 600,
......@@ -1789,7 +1794,7 @@ export default {
type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
},
formatter: function (params) {
debugger
debugger;
return `本方卡号:${params[0].data.bfCardsNum}<br>
对方卡号:${params[0].data.bfCardsNum}<br>
交易次数:${params[0].data.jycsTotal}<br>
......@@ -1880,6 +1885,9 @@ export default {
],
});
//自适应
setTimeout(() => {
_this.loadingType02 = false;
}, 1000);
window.addEventListener("resize", () => {
myChart.resize();
});
......
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