From 293407919a9b4ff991677b07813931a2dffadf68 Mon Sep 17 00:00:00 2001 From: limengnan <420004014@qq.com> Date: Tue, 20 Jan 2026 09:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A1=E7=AE=97=E7=BB=93?= =?UTF-8?q?=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/antvx6/changesettings.vue | 7 - .../src/components/antvx6/echartsModel.vue | 2 +- .../src/components/antvx6/tableModel.vue | 2 +- .../src/views/component/scenario/index.vue | 226 +++++++++++++----- business-css/frontend/vite.config.ts | 2 +- 5 files changed, 168 insertions(+), 71 deletions(-) diff --git a/business-css/frontend/src/components/antvx6/changesettings.vue b/business-css/frontend/src/components/antvx6/changesettings.vue index 1ff3255..4da9b32 100644 --- a/business-css/frontend/src/components/antvx6/changesettings.vue +++ b/business-css/frontend/src/components/antvx6/changesettings.vue @@ -56,13 +56,6 @@ if(deviceTypetype.value == ''){ deviceList.value = res.data; } }) -// topologyDevicesLsit(params).then((result:any) => { -// deviceList.value = result.records; -// }).catch((err) => { - -// }); - - } diff --git a/business-css/frontend/src/components/antvx6/echartsModel.vue b/business-css/frontend/src/components/antvx6/echartsModel.vue index 09e625e..a5b6d9a 100644 --- a/business-css/frontend/src/components/antvx6/echartsModel.vue +++ b/business-css/frontend/src/components/antvx6/echartsModel.vue @@ -1,6 +1,6 @@ - + @@ -414,7 +403,7 @@ function submitConditionClick(){ + @click="resultClick(scope.row)" style="cursor: pointer; "> 取消 确定 + + + + + + + 设备列表 + + + {{ item.deviceName }} + + + + + + 列表 + 图形 + + + + + + + @@ -634,4 +651,91 @@ function submitConditionClick(){ align-items: center; } - \ No newline at end of file +.choiceMateria-left{ + width: 240px; + height: calc(100vh - 200px); + border-right: 1px solid rgba(240, 240, 240, 1); + box-sizing: border-box; +} +.choiceMateria-left-title{ + width: 240px; + height: 44px; + line-height: 44px; + font-family: 'Arial Negreta', 'Arial Normal', 'Arial'; + font-weight: 700; + font-style: normal; + font-size: 14px; + color: #1B1B1B; + padding-left: 16px; + border-bottom: 1px solid rgba(240, 240, 240, 1); +} +.choiceMateria-left-item{ + width: 100%; + height: 40px; + line-height: 40px; + padding-left: 16px; + font-family: 'Arial Normal', 'Arial'; + font-weight: 400; + font-style: normal; + font-size: 14px; + color: #333333; + cursor: pointer; +} +.choiceMateria-left-item:hover{ + background-color: #f5f8ff; +} +.choiceMateria-item-active{ + background-color: #f5f8ff; + color: #266fff; +} + + + + +.adddevice_navigation_left{ + width: 110px; + height: 32px; + line-height: 32px; + text-align: center; + cursor: pointer; + font-family: 'Arial Normal', 'Arial'; + font-weight: 400; + font-style: normal; + font-size: 14px; + color: #363636; + background-image: url('@/assets/x6/navleft.png'); +} +.adddevice_navigation_left:hover{ + color: #266fff ; +} +.adddevice_navigation_activeleft{ + background-image: url('@/assets/x6/navleft_active.png'); + color: #fff !important; +} +.adddevice_navigation_right{ + width: 110px; + height: 32px; + line-height: 32px; + text-align: center; + cursor: pointer; + font-family: 'Arial Normal', 'Arial'; + font-weight: 400; + font-style: normal; + font-size: 14px; + color: #363636; + background-image: url('@/assets/x6/navright.png'); +} +.adddevice_navigation_right:hover{ + color: #266fff ; +} +.adddevice_navigation_activeright{ + background-image: url('@/assets/x6/navright_active.png'); + color: #fff !important; +} + + + diff --git a/business-css/frontend/vite.config.ts b/business-css/frontend/vite.config.ts index fe7de1f..5df1cfe 100644 --- a/business-css/frontend/vite.config.ts +++ b/business-css/frontend/vite.config.ts @@ -25,7 +25,7 @@ export default ({ mode }: ConfigEnv): UserConfig => { proxy: { [env.VITE_APP_BASE_API]: { // 线上API地址 - //target: 'http://192.168.1.20:8090/', + // target: 'http://192.168.1.166:8090/', // 本地API地址 target: 'http://localhost:8090', changeOrigin: true,