From 4dd6e5bffa75a1e2d57e3a66ed368e1c31f86800 Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Tue, 28 Mar 2023 18:59:48 +0800 Subject: [PATCH 1/7] fix: bug#11155 --- src/views/home/components/StatusLabel.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/home/components/StatusLabel.vue b/src/views/home/components/StatusLabel.vue index 59a720f6..10358762 100644 --- a/src/views/home/components/StatusLabel.vue +++ b/src/views/home/components/StatusLabel.vue @@ -1,8 +1,9 @@ From ae1754fa94afe6d784b98580ce84a80e00a4a71b Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Tue, 28 Mar 2023 19:07:08 +0800 Subject: [PATCH 2/7] =?UTF-8?q?fix:=20=E6=96=87=E4=BB=B6=E5=90=8D=E7=A9=BA?= =?UTF-8?q?=E6=A0=BC=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/{Frame 4528(1).png => Frame4528(1).png} | Bin .../images/home/{Frame 4528.png => Frame4528.png} | Bin .../images/home/{Frame 4529.png => Frame4529.png} | Bin .../images/home/{Group 3793.png => Group3793.png} | Bin .../home/components/ComprehensiveHome/index.vue | 10 +++++----- src/views/home/components/DevOpsHome/index.vue | 10 +++++----- 6 files changed, 10 insertions(+), 10 deletions(-) rename public/images/home/{Frame 4528(1).png => Frame4528(1).png} (100%) rename public/images/home/{Frame 4528.png => Frame4528.png} (100%) rename public/images/home/{Frame 4529.png => Frame4529.png} (100%) rename public/images/home/{Group 3793.png => Group3793.png} (100%) diff --git a/public/images/home/Frame 4528(1).png b/public/images/home/Frame4528(1).png similarity index 100% rename from public/images/home/Frame 4528(1).png rename to public/images/home/Frame4528(1).png diff --git a/public/images/home/Frame 4528.png b/public/images/home/Frame4528.png similarity index 100% rename from public/images/home/Frame 4528.png rename to public/images/home/Frame4528.png diff --git a/public/images/home/Frame 4529.png b/public/images/home/Frame4529.png similarity index 100% rename from public/images/home/Frame 4529.png rename to public/images/home/Frame4529.png diff --git a/public/images/home/Group 3793.png b/public/images/home/Group3793.png similarity index 100% rename from public/images/home/Group 3793.png rename to public/images/home/Group3793.png diff --git a/src/views/home/components/ComprehensiveHome/index.vue b/src/views/home/components/ComprehensiveHome/index.vue index 59f36bb0..e135853b 100644 --- a/src/views/home/components/ComprehensiveHome/index.vue +++ b/src/views/home/components/ComprehensiveHome/index.vue @@ -193,31 +193,31 @@ const opsStepDetails: recommendList[] = [ title: '协议管理', details: '根据业务需求自定义开发对应的产品(设备模型)接入协议,并上传到平台。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Protocol', }, { title: '证书管理', details: '统一维护平台内的证书,用于数据通信加密。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Certificate', }, { title: '网络组件', details: '根据不同的传输类型配置平台底层网络组件相关参数。', - iconUrl: '/images/home/Frame 4529.png', + iconUrl: '/images/home/Frame4529.png', linkUrl: 'link/Type', }, { title: '设备接入网关', details: '根据不同的传输类型,关联消息协议,配置设备接入网关相关参数。', - iconUrl: '/images/home/Frame 4528(1).png', + iconUrl: '/images/home/Frame4528(1).png', linkUrl: 'link/AccessConfig', }, { title: '日志管理', details: '监控系统日志,及时处理系统异常。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'Log', params: { tab: 'system', diff --git a/src/views/home/components/DevOpsHome/index.vue b/src/views/home/components/DevOpsHome/index.vue index 484ef5f4..86393fbf 100644 --- a/src/views/home/components/DevOpsHome/index.vue +++ b/src/views/home/components/DevOpsHome/index.vue @@ -53,31 +53,31 @@ const opsStepDetails: recommendList[] = [ title: '协议管理', details: '根据业务需求自定义开发对应的产品(设备模型)接入协议,并上传到平台。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Protocol', }, { title: '证书管理', details: '统一维护平台内的证书,用于数据通信加密。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Certificate', }, { title: '网络组件', details: '根据不同的传输类型配置平台底层网络组件相关参数。', - iconUrl: '/images/home/Frame 4529.png', + iconUrl: '/images/home/Frame4529.png', linkUrl: 'link/Type', }, { title: '设备接入网关', details: '根据不同的传输类型,关联消息协议,配置设备接入网关相关参数。', - iconUrl: '/images/home/Frame 4528(1).png', + iconUrl: '/images/home/Frame4528(1).png', linkUrl: 'link/AccessConfig', }, { title: '日志管理', details: '监控系统日志,及时处理系统异常。', - iconUrl: '/images/home/Frame 4528.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'Log', params: { tab: 'system', From d8f19671c22be6237e27924d1424195b97cc7f22 Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Tue, 28 Mar 2023 19:45:37 +0800 Subject: [PATCH 3/7] fix: bug#10953 --- .../home/components/ComprehensiveHome/index.vue | 2 +- src/views/home/components/DevOpsHome/index.vue | 2 +- .../system/Apply/Save/components/EditForm.vue | 16 +++++++++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/home/components/ComprehensiveHome/index.vue b/src/views/home/components/ComprehensiveHome/index.vue index e135853b..9084ccc1 100644 --- a/src/views/home/components/ComprehensiveHome/index.vue +++ b/src/views/home/components/ComprehensiveHome/index.vue @@ -205,7 +205,7 @@ const opsStepDetails: recommendList[] = [ { title: '网络组件', details: '根据不同的传输类型配置平台底层网络组件相关参数。', - iconUrl: '/images/home/Frame4529.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Type', }, { diff --git a/src/views/home/components/DevOpsHome/index.vue b/src/views/home/components/DevOpsHome/index.vue index 86393fbf..90371e91 100644 --- a/src/views/home/components/DevOpsHome/index.vue +++ b/src/views/home/components/DevOpsHome/index.vue @@ -65,7 +65,7 @@ const opsStepDetails: recommendList[] = [ { title: '网络组件', details: '根据不同的传输类型配置平台底层网络组件相关参数。', - iconUrl: '/images/home/Frame4529.png', + iconUrl: '/images/home/Frame4528.png', linkUrl: 'link/Type', }, { diff --git a/src/views/system/Apply/Save/components/EditForm.vue b/src/views/system/Apply/Save/components/EditForm.vue index 0522c2c0..a39fe6ff 100644 --- a/src/views/system/Apply/Save/components/EditForm.vue +++ b/src/views/system/Apply/Save/components/EditForm.vue @@ -1675,9 +1675,23 @@ function init() { if (!form.data.id) { // 新增时, 切换应用类型, 清空公用字段的值 form.data.page.baseUrl = ''; - form.data.page.parameters = []; form.data.apiClient.baseUrl = ''; + form.data.page.parameters = []; form.data.apiClient.parameters = []; + form.data.apiClient.authConfig.oauth2.authorizationUrl = ''; + form.data.sso.configuration.oauth2.authorizationUrl = ''; + form.data.apiClient.authConfig.oauth2.clientId = ''; + form.data.sso.configuration.oauth2.clientId = ''; + form.data.apiClient.authConfig.oauth2.clientSecret = ''; + form.data.sso.configuration.oauth2.clientSecret = ''; + form.data.apiClient.headers = []; + form.data.apiServer.roleIdList = []; + form.data.apiServer.orgIdList = []; + form.data.description = ''; + form.data.apiServer.redirectUri = ''; + form.data.sso.configuration.appSecret = ''; + + // formRef.value?.resetFields(); } emit('changeApplyType', n); if (routeQuery.id) return; From 5fabc8272f5678ee54d34fdcf7bddf8279c6a855 Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Tue, 28 Mar 2023 20:30:36 +0800 Subject: [PATCH 4/7] fix: bug#11154 --- src/views/device/Product/Detail/index.vue | 7 ++++--- src/views/rule-engine/Alarm/Configuration/Save/index.vue | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/device/Product/Detail/index.vue b/src/views/device/Product/Detail/index.vue index f04a5e58..ea2cae76 100644 --- a/src/views/device/Product/Detail/index.vue +++ b/src/views/device/Product/Detail/index.vue @@ -77,6 +77,7 @@ type="primary" :popConfirm="{ title: `确定应用配置?`, + placement: 'bottomRight', onConfirm: handleDeploy, }" :disabled="productStore.current?.state === 0" @@ -111,16 +112,16 @@ import { getProtocolDetail, } from '@/api/device/product'; import { message } from 'jetlinks-ui-components'; -import { getImage, handleParamsToString } from '@/utils/comm' +import { getImage, handleParamsToString } from '@/utils/comm'; import encodeQuery from '@/utils/encodeQuery'; import { useMenuStore } from '@/store/menu'; -import {useRouterParams} from "@/utils/hooks/useParams"; +import { useRouterParams } from '@/utils/hooks/useParams'; const menuStory = useMenuStore(); const route = useRoute(); const checked = ref(true); const productStore = useProductStore(); -const routerParams = useRouterParams() +const routerParams = useRouterParams(); const searchParams = ref({ terms1: [ { diff --git a/src/views/rule-engine/Alarm/Configuration/Save/index.vue b/src/views/rule-engine/Alarm/Configuration/Save/index.vue index b253b915..ee44f203 100644 --- a/src/views/rule-engine/Alarm/Configuration/Save/index.vue +++ b/src/views/rule-engine/Alarm/Configuration/Save/index.vue @@ -3,7 +3,7 @@ - + From 6583d268b047eb92565740e2b5be2d593b0605e1 Mon Sep 17 00:00:00 2001 From: JiangQiming <291854119@qq.com> Date: Tue, 28 Mar 2023 20:53:43 +0800 Subject: [PATCH 5/7] fix: bug#11153 --- src/views/media/Device/Save/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/media/Device/Save/index.vue b/src/views/media/Device/Save/index.vue index 04962561..d55e1525 100644 --- a/src/views/media/Device/Save/index.vue +++ b/src/views/media/Device/Save/index.vue @@ -105,12 +105,13 @@ - - + From 29adc3c207461be69d609dbfe4c357509260d63d Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Tue, 28 Mar 2023 20:55:16 +0800 Subject: [PATCH 6/7] =?UTF-8?q?fix:=20=E8=AE=BE=E5=A4=87=E8=AF=8A=E6=96=AD?= =?UTF-8?q?=E8=B7=B3=E8=BD=ACbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/device/Product/Detail/DeviceAccess/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/device/Product/Detail/DeviceAccess/index.vue b/src/views/device/Product/Detail/DeviceAccess/index.vue index da67db62..65080348 100644 --- a/src/views/device/Product/Detail/DeviceAccess/index.vue +++ b/src/views/device/Product/Detail/DeviceAccess/index.vue @@ -1020,7 +1020,8 @@ nextTick(() => { getData(); }); watch(()=>productStore.current,()=>{ - getData() + getData(); + formData.data = productStore.current?.configuration || {} }) \ No newline at end of file diff --git a/src/views/device/Instance/Detail/index.vue b/src/views/device/Instance/Detail/index.vue index 84a0344a..c51a5d85 100644 --- a/src/views/device/Instance/Detail/index.vue +++ b/src/views/device/Instance/Detail/index.vue @@ -7,7 +7,9 @@ >