diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/InputSearch/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/InputSearch/index.vue index 1f70c877..2521e363 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/InputSearch/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/InputSearch/index.vue @@ -105,7 +105,7 @@ export default { return { visible: false, types: this.type, - value: this.valueData, + value: "", width: null, popperOptions: { popHideCallBack: () => { diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue index f4070358..97dcbe14 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/Pagination.vue @@ -1,61 +1,67 @@ - + - - \ No newline at end of file diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js index c2b70d9f..6ea73b0c 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/assets/charts.js @@ -125,16 +125,18 @@ var options = { data: lengData, formatter: function (name) { let target = 0; + let percent = 0; if (!mainData) return ""; for (let i = 0; i < window.mainData.length; i++) { if (window.mainData[i].name === name) { target = window.mainData[i].value; + percent = window.mainData[i].percent; } } - console.log('starget',target) + console.log("starget", target); var arr = [ "{ast|" + name + "}", - "{bst|" + Math.round((target * 100).toFixed(0)) + "% }", + "{bst|" + Math.round((percent * 100).toFixed(0)) + "% }", "{cst|" + Math.round(target) + "起}", ]; return arr.join(" "); diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue index 92eb61d0..4ec2128f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventSource/index.vue @@ -1,49 +1,56 @@ - + - + - - - - - \ No newline at end of file