|
@@ -143,10 +143,13 @@ export default {
|
|
myChart.clear();
|
|
myChart.clear();
|
|
myChart.setOption(discoloration);
|
|
myChart.setOption(discoloration);
|
|
window.onresize = () => {
|
|
window.onresize = () => {
|
|
- this.queryData.riskRating = a.seriesName;
|
|
|
|
|
|
+ this.queryData.agentLevel = a.seriesName;
|
|
myChart.resize();
|
|
myChart.resize();
|
|
};
|
|
};
|
|
myChart.on("click", (a, b) => {
|
|
myChart.on("click", (a, b) => {
|
|
|
|
+ this.queryData.startTime = a.name +"-01";
|
|
|
|
+ this.queryData.endTime = a.name +"-31";
|
|
|
|
+ this.queryData.agentLevel = a.seriesName;
|
|
this.echar();
|
|
this.echar();
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -166,7 +169,9 @@ export default {
|
|
myChart.resize();
|
|
myChart.resize();
|
|
};
|
|
};
|
|
myChart.on("click", (a, b) => {
|
|
myChart.on("click", (a, b) => {
|
|
- this.queryData.riskRating = a.seriesName;
|
|
|
|
|
|
+ this.queryData.startTime = a.name;
|
|
|
|
+ this.queryData.endTime = a.name;
|
|
|
|
+ this.queryData.agentLevel = a.seriesName;
|
|
// this.queryData.openResult = a.value;
|
|
// this.queryData.openResult = a.value;
|
|
this.echar();
|
|
this.echar();
|
|
});
|
|
});
|