看版
Showing
4 changed files
with
12 additions
and
12 deletions
| ... | @@ -28,8 +28,8 @@ const url = ref() | ... | @@ -28,8 +28,8 @@ const url = ref() |
| 28 | const obj = ref({}) | 28 | const obj = ref({}) |
| 29 | const result = ref() | 29 | const result = ref() |
| 30 | const router = useRouter() | 30 | const router = useRouter() |
| 31 | // url.value = 'http://192.168.1.152:8899/login/sid=a21df7ef-6d14-4cf3-ad58-c68185f63797#/' | 31 | url.value = 'http://192.168.1.152:8899/login/sid=9bf35752-0818-483c-bba7-90a747cdc00e#/' |
| 32 | url.value = window.location.href | 32 | // url.value = window.location.href |
| 33 | result.value = url.value?.split('=')[1]?.split('#')[0]; | 33 | result.value = url.value?.split('=')[1]?.split('#')[0]; |
| 34 | 34 | ||
| 35 | onMounted(() => { | 35 | onMounted(() => { | ... | ... |
| ... | @@ -891,7 +891,7 @@ const handelZhu1 = (row1, row2) => { | ... | @@ -891,7 +891,7 @@ const handelZhu1 = (row1, row2) => { |
| 891 | ] | 891 | ] |
| 892 | } | 892 | } |
| 893 | chart11.setOption(option) | 893 | chart11.setOption(option) |
| 894 | autoHover(chart11, option, 0, 2000) | 894 | // autoHover(chart11, option, 0, 2000) |
| 895 | } | 895 | } |
| 896 | const handelZhu2 = (row1, row2) => { | 896 | const handelZhu2 = (row1, row2) => { |
| 897 | chart22 = echarts.init(zhuRef2.value) | 897 | chart22 = echarts.init(zhuRef2.value) |
| ... | @@ -1010,7 +1010,7 @@ const handelZhu2 = (row1, row2) => { | ... | @@ -1010,7 +1010,7 @@ const handelZhu2 = (row1, row2) => { |
| 1010 | ] | 1010 | ] |
| 1011 | } | 1011 | } |
| 1012 | chart22.setOption(option) | 1012 | chart22.setOption(option) |
| 1013 | autoHover(chart22, option, 0, 2000) | 1013 | // autoHover(chart22, option, 0, 2000) |
| 1014 | } | 1014 | } |
| 1015 | const handelZhu3 = (row1, row2) => { | 1015 | const handelZhu3 = (row1, row2) => { |
| 1016 | console.log(11111, row1, row2) | 1016 | console.log(11111, row1, row2) |
| ... | @@ -1159,7 +1159,7 @@ const handelZhu3 = (row1, row2) => { | ... | @@ -1159,7 +1159,7 @@ const handelZhu3 = (row1, row2) => { |
| 1159 | ] | 1159 | ] |
| 1160 | } | 1160 | } |
| 1161 | chart33.setOption(option) | 1161 | chart33.setOption(option) |
| 1162 | autoHover(chart33, option, 0, 2000) | 1162 | // autoHover(chart33, option, 0, 2000) |
| 1163 | } | 1163 | } |
| 1164 | const handelZhu4 = (listX, dataList) => { | 1164 | const handelZhu4 = (listX, dataList) => { |
| 1165 | chart44 = echarts.init(zhuRef4.value) | 1165 | chart44 = echarts.init(zhuRef4.value) |
| ... | @@ -1294,7 +1294,7 @@ const handelZhu4 = (listX, dataList) => { | ... | @@ -1294,7 +1294,7 @@ const handelZhu4 = (listX, dataList) => { |
| 1294 | ] | 1294 | ] |
| 1295 | } | 1295 | } |
| 1296 | chart44.setOption(option) | 1296 | chart44.setOption(option) |
| 1297 | autoHover(chart44, option, 0, 2000) | 1297 | // autoHover(chart44, option, 0, 2000) |
| 1298 | } | 1298 | } |
| 1299 | 1299 | ||
| 1300 | function autoHover(myChart, option, index, time) { | 1300 | function autoHover(myChart, option, index, time) { | ... | ... |
| ... | @@ -520,7 +520,7 @@ const setA = (arr, arr2, arr3) => { | ... | @@ -520,7 +520,7 @@ const setA = (arr, arr2, arr3) => { |
| 520 | ] | 520 | ] |
| 521 | }; | 521 | }; |
| 522 | chartA.setOption(option) | 522 | chartA.setOption(option) |
| 523 | autoHover(chartA, option, 2, 2000) | 523 | // autoHover(chartA, option, 2, 2000) |
| 524 | } | 524 | } |
| 525 | const setB = (arr1, arr2, arr3, arr4) => { | 525 | const setB = (arr1, arr2, arr3, arr4) => { |
| 526 | chartB = echarts.init(lineRef.value) | 526 | chartB = echarts.init(lineRef.value) |
| ... | @@ -685,7 +685,7 @@ const setB = (arr1, arr2, arr3, arr4) => { | ... | @@ -685,7 +685,7 @@ const setB = (arr1, arr2, arr3, arr4) => { |
| 685 | ] | 685 | ] |
| 686 | } | 686 | } |
| 687 | chartB.setOption(option) | 687 | chartB.setOption(option) |
| 688 | autoHover(chartB, option, 0, 2000) | 688 | // autoHover(chartB, option, 0, 2000) |
| 689 | } | 689 | } |
| 690 | const setC = (h1, h2, h3, h4, h5, h6, l1, l2) => { | 690 | const setC = (h1, h2, h3, h4, h5, h6, l1, l2) => { |
| 691 | chartC = echarts.init(payeeRef.value) | 691 | chartC = echarts.init(payeeRef.value) |
| ... | @@ -928,7 +928,7 @@ const setC = (h1, h2, h3, h4, h5, h6, l1, l2) => { | ... | @@ -928,7 +928,7 @@ const setC = (h1, h2, h3, h4, h5, h6, l1, l2) => { |
| 928 | ] | 928 | ] |
| 929 | } | 929 | } |
| 930 | chartC.setOption(option) | 930 | chartC.setOption(option) |
| 931 | autoHover(chartC, option, 0, 2000) | 931 | // autoHover(chartC, option, 0, 2000) |
| 932 | } | 932 | } |
| 933 | 933 | ||
| 934 | 934 | ... | ... |
| ... | @@ -625,7 +625,7 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { | ... | @@ -625,7 +625,7 @@ const setA = (arrY, arr1, arr2, arr3, markLineName, BC) => { |
| 625 | } | 625 | } |
| 626 | 626 | ||
| 627 | chartA.setOption(option) | 627 | chartA.setOption(option) |
| 628 | autoHover(chartA, option, 0, 2000) | 628 | // autoHover(chartA, option, 0, 2000) |
| 629 | } | 629 | } |
| 630 | const setB = (arrY, arr1, arr2) => { | 630 | const setB = (arrY, arr1, arr2) => { |
| 631 | chartB = echarts.init(lineRef.value) | 631 | chartB = echarts.init(lineRef.value) |
| ... | @@ -830,7 +830,7 @@ const setB = (arrY, arr1, arr2) => { | ... | @@ -830,7 +830,7 @@ const setB = (arrY, arr1, arr2) => { |
| 830 | ] | 830 | ] |
| 831 | } | 831 | } |
| 832 | chartB.setOption(option) | 832 | chartB.setOption(option) |
| 833 | autoHover(chartB, option, 0, 2000) | 833 | // autoHover(chartB, option, 0, 2000) |
| 834 | } | 834 | } |
| 835 | const setC = (arry, arr1, arr2, arr3) => { | 835 | const setC = (arry, arr1, arr2, arr3) => { |
| 836 | chartC = echarts.init(overdueRef.value) | 836 | chartC = echarts.init(overdueRef.value) |
| ... | @@ -987,7 +987,7 @@ const setC = (arry, arr1, arr2, arr3) => { | ... | @@ -987,7 +987,7 @@ const setC = (arry, arr1, arr2, arr3) => { |
| 987 | ] | 987 | ] |
| 988 | } | 988 | } |
| 989 | chartC.setOption(option) | 989 | chartC.setOption(option) |
| 990 | autoHover(chartC, option, 0, 2000) | 990 | // autoHover(chartC, option, 0, 2000) |
| 991 | } | 991 | } |
| 992 | const clear = () => { | 992 | const clear = () => { |
| 993 | if (autoToolTip) { | 993 | if (autoToolTip) { | ... | ... |
-
Please register or sign in to post a comment