|
@@ -1003,15 +1003,6 @@ export default defineComponent({
|
|
|
let str: string = '';
|
|
|
|
|
|
if(language.value === 'ch') {
|
|
|
- // str = `<strong>${ commodityEdbList.find(_ => _.EdbAliasName === ctx.x).EdbName }</strong>`;
|
|
|
- // ctx.points.forEach((item:{ series:{name: string},y: number }) => {
|
|
|
- // let obj_item = data.find((_:any) => _.Name === item.series.name);
|
|
|
- // if(!obj_item.NoDataEdbList.includes(commodityEdbList.find(_ => _.EdbAliasName === ctx.x).EdbInfoId)) {
|
|
|
- // str += `<br>${obj_item.Date}: ${item.y}`
|
|
|
- // }else {
|
|
|
- // str += `<br>${obj_item.Date}: 无`
|
|
|
- // }
|
|
|
- // })
|
|
|
|
|
|
ctx.points.forEach((item: { series:{name: string},y: number,color: string }) => {
|
|
|
let obj_item = data.find((_:any) => _.Name === item.series.name);
|
|
@@ -1026,15 +1017,6 @@ export default defineComponent({
|
|
|
}
|
|
|
})
|
|
|
}else {
|
|
|
- // str = `<strong>${ commodityEdbList.find(_ => _.EdbAliasNameEn === ctx.x).EdbNameEn }</strong>`
|
|
|
- // ctx.points.forEach((item:{ series:{name: string},y: number }) => {
|
|
|
- // let obj_item = data.find((_:any) => _.NameEn === item.series.name);
|
|
|
- // if(!obj_item.NoDataEdbList.includes(commodityEdbList.find(_ => _.EdbAliasNameEn === ctx.x).EdbInfoId)) {
|
|
|
- // str += `<br>${obj_item.Date}: ${item.y}`
|
|
|
- // }else {
|
|
|
- // str += `<br>${obj_item.Date}: 无`
|
|
|
- // }
|
|
|
- // })
|
|
|
|
|
|
ctx.points.forEach((item: { series:{name: string},y: number,color: string }) => {
|
|
|
let obj_item = data.find((_: any) => _.NameEn === item.series.name);
|