From 71e5fa676127cf0800a787b1f836572822abef2f Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Fri, 13 Mar 2026 10:52:37 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=9B=BE=E6=A0=87=E5=8F=8A=E9=9A=90=E8=97=8F=E9=83=A8=E5=88=86?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/Equipment/Equipment/WuRenJi/config.ts | 1 - .../components/Equipment/Equipment/WuRenJi/index.vue | 5 ++--- .../Zhigan/Zhigan/ZhiGan_DroneList/config.ts | 12 ------------ .../Zhigan/Zhigan/ZhiGan_DroneList/index.vue | 7 +++---- src/router/routes/modules/bigscreen.ts | 2 +- src/router/routes/modules/dashboard.ts | 3 ++- 6 files changed, 8 insertions(+), 22 deletions(-) diff --git a/src/packages/components/Equipment/Equipment/WuRenJi/config.ts b/src/packages/components/Equipment/Equipment/WuRenJi/config.ts index 450c3f2..4f76da6 100644 --- a/src/packages/components/Equipment/Equipment/WuRenJi/config.ts +++ b/src/packages/components/Equipment/Equipment/WuRenJi/config.ts @@ -19,6 +19,5 @@ export default class Config extends PublicConfigClass implements CreateComponent public attr = { ...chartInitConfig, w: 117, h: 168, zIndex: 1 } public chartConfig = cloneDeep(WuRenJiConfig) public option = cloneDeep(option) - public request = { ...requestSqlConfig, requestSQLContent: { sql: 'select * from ' }, } public filter = "return res.result;" } diff --git a/src/packages/components/Equipment/Equipment/WuRenJi/index.vue b/src/packages/components/Equipment/Equipment/WuRenJi/index.vue index d26ef2d..e482684 100644 --- a/src/packages/components/Equipment/Equipment/WuRenJi/index.vue +++ b/src/packages/components/Equipment/Equipment/WuRenJi/index.vue @@ -38,9 +38,8 @@ onMounted(() => { }) }) // 数据callback处理(预览时触发) - useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => { -// props.chartConfig.option.dataset = resData; -}); + // useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => { + // }); const chartEditStore = useChartEditStore(); diff --git a/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/config.ts b/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/config.ts index 28006b8..603ecf8 100644 --- a/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/config.ts +++ b/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/config.ts @@ -24,18 +24,6 @@ export const option = { export default class Config extends PublicConfigClass implements CreateComponentType { public key = ZhiGan_DroneListConfig.key public attr = { ...chartInitConfig, w: 506, h: 378, zIndex: -1 } - public request = { - ...requestSqlConfig, - requestHttpType: "get", - requestContentType: 0, - requestUrl: VITE_GLOB_API_URL_SITUATION+"/api/Manage/GetUavPageList", - requestParams: { - Params: { - page: "1", - limit: "999" - } - } - } public filter = "return res.result.items;" public chartConfig = cloneDeep(ZhiGan_DroneListConfig) public option = cloneDeep(option) diff --git a/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/index.vue b/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/index.vue index 8af452c..65d5c94 100644 --- a/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/index.vue +++ b/src/packages/components/Zhigan/Zhigan/ZhiGan_DroneList/index.vue @@ -67,7 +67,6 @@ if (!getClient() || !getClient().connected) { // createConnection(); } - // 获取eventBus传过来的值 GetUavPageList().then(resData => { option.dataset = resData.items; resData.items.forEach(item => { @@ -99,9 +98,9 @@ }, 1000); }); - // 数据callback处理(预览时触发) - useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => { - }); + // // 数据callback处理(预览时触发) + // useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => { + // }); const flyControl = (item) => { activeDrone.value = item.id airPortStoreVal.setAirPort('sn', item.psn); diff --git a/src/router/routes/modules/bigscreen.ts b/src/router/routes/modules/bigscreen.ts index ff946bd..0bd584a 100644 --- a/src/router/routes/modules/bigscreen.ts +++ b/src/router/routes/modules/bigscreen.ts @@ -26,4 +26,4 @@ const bigscreen: AppRouteModule = { ], }; -export default bigscreen; +// export default bigscreen; diff --git a/src/router/routes/modules/dashboard.ts b/src/router/routes/modules/dashboard.ts index e28e9b3..de9e6e2 100644 --- a/src/router/routes/modules/dashboard.ts +++ b/src/router/routes/modules/dashboard.ts @@ -11,13 +11,14 @@ const dashboard: AppRouteModule = { meta: { orderNo: 10, icon: 'ion:grid-outline', - title: t('routes.dashboard.dashboard'), + title: '首页', }, children: [ { path: '/dashboard/analysis', name: 'Analysis', meta: { + icon: 'material-symbols:house-outline-rounded', title: t('routes.dashboard.analysis'), }, component: () => import('@/views/home/index.vue'), From 6991c104f228dffb26d6322b47ac222985c884c6 Mon Sep 17 00:00:00 2001 From: zhufu <17863654727@163.com> Date: Fri, 13 Mar 2026 10:52:57 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=A4=A9=E6=B0=94=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A3=8E=E9=80=9F=E9=A3=8E=E5=90=91=E5=9B=BE?= =?UTF-8?q?=E6=A0=87=EF=BC=8C=E7=A7=BB=E9=99=A4=E6=8F=8F=E8=BF=B0=E6=80=A7?= =?UTF-8?q?=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/components/Decorates/Titles/Weather/index.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/packages/components/Decorates/Titles/Weather/index.vue b/src/packages/components/Decorates/Titles/Weather/index.vue index c8e6e98..8393252 100644 --- a/src/packages/components/Decorates/Titles/Weather/index.vue +++ b/src/packages/components/Decorates/Titles/Weather/index.vue @@ -14,7 +14,10 @@