From 5f165f82ae65cde7bdd087480dec524dd2f5c24e Mon Sep 17 00:00:00 2001 From: likun <906102152@qq.com> Date: Mon, 16 Jun 2025 18:14:25 +0800 Subject: [PATCH] add bi --- ui/src/assets/styles/editorToolbarBtn.scss | 5 + ui/src/assets/styles/global.scss | 1 - .../propertiesConditionFilter.vue | 277 ++++++++++++++++++ .../propertyConditionFilter.vue | 106 +++++++ .../propertyConditionType.vue | 64 ++++ .../analyse/analyseMetricEditorEvent.vue | 4 +- .../globalFilterSelect.vue} | 181 +++++------- .../components/analyse/editor/event/index.vue | 224 ++++++++++++++ .../analyse/editor/event/metricSelect.vue | 224 ++++++++++++++ .../layout}/analyseMetricEditorLayout.vue | 4 +- 10 files changed, 977 insertions(+), 113 deletions(-) create mode 100644 ui/src/assets/styles/editorToolbarBtn.scss create mode 100644 ui/src/components/bi/propertyCondition/propertiesConditionFilter.vue create mode 100644 ui/src/components/bi/propertyCondition/propertyConditionFilter.vue create mode 100644 ui/src/components/bi/propertyCondition/propertyConditionType.vue rename ui/src/views/bi/analyse/components/analyse/editor/{event.vue => event/globalFilterSelect.vue} (56%) create mode 100644 ui/src/views/bi/analyse/components/analyse/editor/event/index.vue create mode 100644 ui/src/views/bi/analyse/components/analyse/editor/event/metricSelect.vue rename ui/src/views/bi/analyse/components/analyse/{ => editor/layout}/analyseMetricEditorLayout.vue (91%) diff --git a/ui/src/assets/styles/editorToolbarBtn.scss b/ui/src/assets/styles/editorToolbarBtn.scss new file mode 100644 index 0000000..95aafee --- /dev/null +++ b/ui/src/assets/styles/editorToolbarBtn.scss @@ -0,0 +1,5 @@ +.editorTopRightToolBarBtn { + margin: 0; + padding: 0 8px 0 8px; + border: 0 +} \ No newline at end of file diff --git a/ui/src/assets/styles/global.scss b/ui/src/assets/styles/global.scss index 23af94d..a5a788f 100644 --- a/ui/src/assets/styles/global.scss +++ b/ui/src/assets/styles/global.scss @@ -24,7 +24,6 @@ body { -moz-osx-font-smoothing: grayscale; } */ - body { height: 100%; margin: 0; diff --git a/ui/src/components/bi/propertyCondition/propertiesConditionFilter.vue b/ui/src/components/bi/propertyCondition/propertiesConditionFilter.vue new file mode 100644 index 0000000..171fbe6 --- /dev/null +++ b/ui/src/components/bi/propertyCondition/propertiesConditionFilter.vue @@ -0,0 +1,277 @@ + + + + + \ No newline at end of file diff --git a/ui/src/components/bi/propertyCondition/propertyConditionFilter.vue b/ui/src/components/bi/propertyCondition/propertyConditionFilter.vue new file mode 100644 index 0000000..821597b --- /dev/null +++ b/ui/src/components/bi/propertyCondition/propertyConditionFilter.vue @@ -0,0 +1,106 @@ + + + + + \ No newline at end of file diff --git a/ui/src/components/bi/propertyCondition/propertyConditionType.vue b/ui/src/components/bi/propertyCondition/propertyConditionType.vue new file mode 100644 index 0000000..a85d042 --- /dev/null +++ b/ui/src/components/bi/propertyCondition/propertyConditionType.vue @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file diff --git a/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorEvent.vue b/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorEvent.vue index e446538..c411934 100644 --- a/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorEvent.vue +++ b/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorEvent.vue @@ -2,8 +2,8 @@ import {ref} from 'vue'; import {defineAsyncComponent} from 'vue'; -const editLayout = defineAsyncComponent(() => import("./analyseMetricEditorLayout.vue")) -const editor = defineAsyncComponent(() => import("./editor/event.vue")) +const editLayout = defineAsyncComponent(() => import("./editor/layout/analyseMetricEditorLayout.vue")) +const editor = defineAsyncComponent(() => import("./editor/event/index.vue")) const editorAreaInfo = { editorPane: editor, diff --git a/ui/src/views/bi/analyse/components/analyse/editor/event.vue b/ui/src/views/bi/analyse/components/analyse/editor/event/globalFilterSelect.vue similarity index 56% rename from ui/src/views/bi/analyse/components/analyse/editor/event.vue rename to ui/src/views/bi/analyse/components/analyse/editor/event/globalFilterSelect.vue index 40dfe5d..ed0bd79 100644 --- a/ui/src/views/bi/analyse/components/analyse/editor/event.vue +++ b/ui/src/views/bi/analyse/components/analyse/editor/event/globalFilterSelect.vue @@ -1,7 +1,11 @@ - \ No newline at end of file diff --git a/ui/src/views/bi/analyse/components/analyse/editor/event/index.vue b/ui/src/views/bi/analyse/components/analyse/editor/event/index.vue new file mode 100644 index 0000000..b48fe54 --- /dev/null +++ b/ui/src/views/bi/analyse/components/analyse/editor/event/index.vue @@ -0,0 +1,224 @@ + + + + + \ No newline at end of file diff --git a/ui/src/views/bi/analyse/components/analyse/editor/event/metricSelect.vue b/ui/src/views/bi/analyse/components/analyse/editor/event/metricSelect.vue new file mode 100644 index 0000000..f6053bb --- /dev/null +++ b/ui/src/views/bi/analyse/components/analyse/editor/event/metricSelect.vue @@ -0,0 +1,224 @@ + + + + + \ No newline at end of file diff --git a/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorLayout.vue b/ui/src/views/bi/analyse/components/analyse/editor/layout/analyseMetricEditorLayout.vue similarity index 91% rename from ui/src/views/bi/analyse/components/analyse/analyseMetricEditorLayout.vue rename to ui/src/views/bi/analyse/components/analyse/editor/layout/analyseMetricEditorLayout.vue index 898611e..0f1da3a 100644 --- a/ui/src/views/bi/analyse/components/analyse/analyseMetricEditorLayout.vue +++ b/ui/src/views/bi/analyse/components/analyse/editor/layout/analyseMetricEditorLayout.vue @@ -11,7 +11,9 @@ defineProps({