|
@@ -830,11 +830,8 @@ export default defineComponent({
|
|
const initBarData = (data: { XEdbIdValue: number[]; YDataList: any; EdbInfoList: any; ChartInfo: any; }) => {
|
|
const initBarData = (data: { XEdbIdValue: number[]; YDataList: any; EdbInfoList: any; ChartInfo: any; }) => {
|
|
const { XEdbIdValue,YDataList,EdbInfoList,ChartInfo } = data;
|
|
const { XEdbIdValue,YDataList,EdbInfoList,ChartInfo } = data;
|
|
|
|
|
|
- let xData = XEdbIdValue.map((_:number) => EdbInfoList.find((edb: { EdbInfoId: number; }) => edb.EdbInfoId===_).EdbAliasName)
|
|
|
|
- console.log(xData)
|
|
|
|
-
|
|
|
|
state.barDateList = YDataList;
|
|
state.barDateList = YDataList;
|
|
- state.barXData = xData;
|
|
|
|
|
|
+ state.barXIdData = XEdbIdValue;
|
|
state.barEdbData = EdbInfoList;
|
|
state.barEdbData = EdbInfoList;
|
|
state.barLimit = {
|
|
state.barLimit = {
|
|
min: Number(ChartInfo.LeftMin),
|
|
min: Number(ChartInfo.LeftMin),
|