From 2269796070a6c0c3e986b9567f7b1627b4d6b106 Mon Sep 17 00:00:00 2001
From: limengnan <420004014@qq.com>
Date: Thu, 15 Jan 2026 08:47:44 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=9E=90=E8=AE=BE=E8=AE=A1=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E6=96=B0=E5=A2=9E=E6=A8=A1=E6=8B=9F=E5=88=86=E6=9E=90?=
=?UTF-8?q?=E5=8E=86=E5=8F=B2=E6=A8=A1=E6=8B=9F=E5=88=86=E6=9E=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/components/Hamburger/index.vue | 2 +-
.../frontend/src/components/antvx6/index.vue | 50 +++--
business-css/frontend/src/styles/sidebar.scss | 2 +-
.../src/views/business/project/index.vue | 2 +-
.../component/scenario/createscenario.vue | 187 ++++++++++++++++++
.../src/views/component/scenario/index.vue | 16 +-
.../src/components/Hamburger/index.vue | 2 +-
framework/frontend/src/styles/sidebar.scss | 2 +-
8 files changed, 237 insertions(+), 26 deletions(-)
create mode 100644 business-css/frontend/src/views/component/scenario/createscenario.vue
diff --git a/business-css/frontend/src/components/Hamburger/index.vue b/business-css/frontend/src/components/Hamburger/index.vue
index 490d427..e840501 100644
--- a/business-css/frontend/src/components/Hamburger/index.vue
+++ b/business-css/frontend/src/components/Hamburger/index.vue
@@ -2,7 +2,7 @@

diff --git a/business-css/frontend/src/components/antvx6/index.vue b/business-css/frontend/src/components/antvx6/index.vue
index a5adf17..217d70e 100644
--- a/business-css/frontend/src/components/antvx6/index.vue
+++ b/business-css/frontend/src/components/antvx6/index.vue
@@ -16,7 +16,8 @@ import {
// @ts-ignore
import insertCss from 'insert-css'
import { updateProjects} from "@/api/business/project";
-
+import Createscenario from '@/views/component/scenario/createscenario.vue'
+import ScenarioModel from '@/views/component/scenario/index.vue'
import img1 from '@/assets/x6/1.png'
import img2 from '@/assets/x6/2.png'
import img3 from '@/assets/x6/3.png'
@@ -39,7 +40,8 @@ const props = defineProps({
default: {}
},
})
-const projectInfo:any = ref(props.projectInfo)
+const projectInfo:any = ref(props.projectInfo) // 项目信息
+const isScenario = ref(false) //是否展示历史模拟场景
const isDisplay = ref(true) // 是否显示
// 为了协助代码演示
let graph: Graph
@@ -810,6 +812,20 @@ function bigClick(){
function smallClick(){
graph.zoom(-0.1)
}
+function analysisAdd(){
+ dialogVisible.value = true;
+}
+const dialogVisible = ref(false)
+function closeCreatescenario(){ // 关闭新增模拟分析弹窗
+ dialogVisible.value = false;
+}
+function simulationClick() { // 打开模拟分析
+ isScenario.value = true;
+}
+//取消按钮
+function handleClose() {
+ isScenario.value = false;
+}
@@ -834,10 +850,10 @@ function smallClick(){

diff --git a/framework/frontend/src/styles/sidebar.scss b/framework/frontend/src/styles/sidebar.scss
index a0e5c74..f42a815 100644
--- a/framework/frontend/src/styles/sidebar.scss
+++ b/framework/frontend/src/styles/sidebar.scss
@@ -21,7 +21,7 @@ svg {
top: 60px;
bottom: 0;
left: 0;
- z-index: 98;
+ z-index: 10;
overflow: hidden;
// reset element-ui css