c9aa2d5f by zhangmeng

看板

1 parent 8e71181d
...@@ -318,10 +318,8 @@ async function handelGetYS007() { ...@@ -318,10 +318,8 @@ async function handelGetYS007() {
318 arr3.push(val.EXERATIO) 318 arr3.push(val.EXERATIO)
319 } 319 }
320 320
321
322 const firstAbove = list7Y.value.find(v => v.name >= BC.value); 321 const firstAbove = list7Y.value.find(v => v.name >= BC.value);
323 setA(list7Y.value, arr1, arr2, arr3, firstAbove?.value, BC.value) 322 setA(list7Y.value, arr1, arr2, arr3, firstAbove?.value || '', BC.value)
324
325 } 323 }
326 324
327 function handelSelect7() { 325 function handelSelect7() {
...@@ -352,7 +350,7 @@ function handelSelect7() { ...@@ -352,7 +350,7 @@ function handelSelect7() {
352 const firstAbove = list7Y.value.find(v => v.name >= BC.value); 350 const firstAbove = list7Y.value.find(v => v.name >= BC.value);
353 351
354 352
355 setA(list7Y.value, arr1, arr2, arr3, firstAbove?.value, BC.value) 353 setA(list7Y.value, arr1, arr2, arr3, firstAbove?.value || '', BC.value)
356 } 354 }
357 355
358 async function handelGetYS008() { 356 async function handelGetYS008() {
...@@ -441,6 +439,7 @@ const getA = () => { ...@@ -441,6 +439,7 @@ const getA = () => {
441 439
442 440
443 const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { 441 const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => {
442 console.log(arrY, arr1, arr2, markLineName, BC)
444 chartA = echarts.init(zhuRef.value) 443 chartA = echarts.init(zhuRef.value)
445 const option = { 444 const option = {
446 tooltip: { 445 tooltip: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!