Remove log + fix click chart top 10
This commit is contained in:
@ -1409,7 +1409,6 @@ export default {
|
||||
// series: seriesData,
|
||||
// };
|
||||
await this.$nextTick(() => {});
|
||||
console.log('line:',chartOption);
|
||||
this.setChartOption({
|
||||
chartKey: "compareEqpmTotChart",
|
||||
value: chartOption,
|
||||
@ -1722,13 +1721,10 @@ export default {
|
||||
},
|
||||
topTenChartClickEvent(event) {
|
||||
let chartData = this.pageData.chart04Data;
|
||||
console.log('select data:',chartData)
|
||||
console.log(event["data"])
|
||||
// let chartData = this.$store.state.pageData[myPrgmId][this.chart_04]['series'][0]['data']
|
||||
let selectedChartData = chartData.filter((item) => {
|
||||
return item.eqpmId == event["data"]["groupId"];
|
||||
return item.eqpmId == event["data"]["name"];
|
||||
});
|
||||
console.log('select data:',selectedChartData)
|
||||
var data = {
|
||||
cmCycle: "CYC_DAY",
|
||||
fromDt: Utility.setFormatDate(new Date(), "YYYY-MM-DD HH:mm"),
|
||||
|
Reference in New Issue
Block a user