echars 柱状图点击事件
drawlineCRK() {
let _this = this;
///绘制echarts 柱状图
let mycharts = this.$echarts.init(document.getElementById("picDetailSWCRK"));
mycharts.setOption(this.optioncrk, true);
mycharts.on("click", function(param) {
_this.crkDetailTitle = param.dataIndex + 1 + "月份实物出入库明细";
//param.dataIndex 0开始 第几组柱状图 param.seriesIndex 0开始 每组里的第几个柱子 param.seriesName 每个柱子的名字
_this.crklyear = _this.dataYear;
_this.crklmonth = param.dataIndex + 1;
_this.openDialog();
});
},