From cba4cff69ac47f743fa59012c2b7e36efccc0e16 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Wed, 21 Jan 2026 08:33:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=BC=E5=87=BA=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/business/project/index.ts | 11 ++++++++ .../frontend/src/components/antvx6/index.vue | 28 +++++++++++++++++-- .../src/views/business/project/index.vue | 13 +++++++-- 3 files changed, 47 insertions(+), 5 deletions(-) diff --git a/business-css/frontend/src/api/business/project/index.ts b/business-css/frontend/src/api/business/project/index.ts index 0682a0d..439298e 100644 --- a/business-css/frontend/src/api/business/project/index.ts +++ b/business-css/frontend/src/api/business/project/index.ts @@ -83,3 +83,14 @@ export function simulationRun(projectId:string,scenarioId:string, data:any){ data: data }); } + + + +//新增项目 +export function exportAllExports(){ + return request({ + url:'/projects/exportAllExports' , + method: 'get' + }); +} + diff --git a/business-css/frontend/src/components/antvx6/index.vue b/business-css/frontend/src/components/antvx6/index.vue index 31f8bf2..311ebb2 100644 --- a/business-css/frontend/src/components/antvx6/index.vue +++ b/business-css/frontend/src/components/antvx6/index.vue @@ -792,6 +792,7 @@ function preWork() { #graph-container { width: calc(100% - 180px); height: 100%; + background-color: #f1f3fe; } .x6-widget-stencil { background-color: #fff; @@ -1191,7 +1192,8 @@ function saveDesign() { // 保存设计 图标 -
+
\ No newline at end of file diff --git a/business-css/frontend/src/views/business/project/index.vue b/business-css/frontend/src/views/business/project/index.vue index cecb3af..16443e8 100644 --- a/business-css/frontend/src/views/business/project/index.vue +++ b/business-css/frontend/src/views/business/project/index.vue @@ -11,6 +11,7 @@ import { searchProjectsLsit,addProjects,updateProjects,deleteProjects,deleteBatc import Page from '@/components/Pagination/page.vue' import ScenarioModel from '@/views/component/scenario/index.vue' import Antvx6 from '@/components/antvx6/index.vue' +const apiUrl = import.meta.env.VITE_APP_BASE_API; // 基础路径 const isShowAntvx6 = ref(false); // 是否展示分析设计弹窗 const isScenario = ref(false) //是否展示历史模拟场景 // 搜索框 @@ -209,10 +210,13 @@ function closeAntvx6() { 搜索
- + + 新增 - 删除 + + 导出 + 删除
+ + +