From 0a93cd292600ce9822fba63c716fa3f3222e027d Mon Sep 17 00:00:00 2001
From: 100011797 <2642441182@qq.com>
Date: Tue, 28 Mar 2023 11:01:06 +0800
Subject: [PATCH 1/6] =?UTF-8?q?fix=EF=BC=9A=E5=9C=BA=E6=99=AF=E8=81=94?=
=?UTF-8?q?=E5=8A=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Instance/Detail/Running/Event/index.vue | 53 ++++++++++++-------
src/views/device/Instance/Save/index.vue | 2 +-
src/views/edge/Device/Save/index.vue | 2 +-
.../Scene/Save/action/Delay/index.vue | 2 +-
.../action/Device/actions/FunctionItem.vue | 4 +-
.../action/Device/actions/WriteProperty.vue | 9 ++--
.../Scene/Save/action/Notify/NotifyConfig.vue | 2 +-
.../Save/action/Notify/NotifyTemplate.vue | 2 +-
.../action/Notify/VariableDefinitions.vue | 1 +
.../action/Notify/variableItem/BuildIn.vue | 10 +++-
.../system/DataSource/Management/index.vue | 10 ++--
11 files changed, 64 insertions(+), 33 deletions(-)
diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue
index e263430e..be6d4cb0 100644
--- a/src/views/device/Instance/Detail/Running/Event/index.vue
+++ b/src/views/device/Instance/Detail/Running/Event/index.vue
@@ -1,5 +1,11 @@
-
+
+
+
+
+ 关闭
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Save/index.vue b/src/views/device/Instance/Save/index.vue
index f1ef6769..21b63b15 100644
--- a/src/views/device/Instance/Save/index.vue
+++ b/src/views/device/Instance/Save/index.vue
@@ -13,7 +13,7 @@
-
+
diff --git a/src/views/edge/Device/Save/index.vue b/src/views/edge/Device/Save/index.vue
index b1ad1b4b..58108a27 100644
--- a/src/views/edge/Device/Save/index.vue
+++ b/src/views/edge/Device/Save/index.vue
@@ -13,7 +13,7 @@
-
+
diff --git a/src/views/rule-engine/Scene/Save/action/Delay/index.vue b/src/views/rule-engine/Scene/Save/action/Delay/index.vue
index 5845c728..6a79672e 100644
--- a/src/views/rule-engine/Scene/Save/action/Delay/index.vue
+++ b/src/views/rule-engine/Scene/Save/action/Delay/index.vue
@@ -13,7 +13,7 @@
v-model:value="_value"
:precision="3"
:min="0"
- :max="6535"
+ :max="65535"
>
@@ -15,6 +16,7 @@
\ No newline at end of file
From 42828b295f87b3ab702cd9c0c48002d887f9a196 Mon Sep 17 00:00:00 2001
From: JiangQiming <291854119@qq.com>
Date: Tue, 28 Mar 2023 14:11:13 +0800
Subject: [PATCH 6/6] fix: bug#10762
---
.../Department/components/AddDeviceOrProductDialog.vue | 8 +++++++-
src/views/system/Department/product/index.vue | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/views/system/Department/components/AddDeviceOrProductDialog.vue b/src/views/system/Department/components/AddDeviceOrProductDialog.vue
index 2c03374b..8ec44192 100644
--- a/src/views/system/Department/components/AddDeviceOrProductDialog.vue
+++ b/src/views/system/Department/components/AddDeviceOrProductDialog.vue
@@ -232,7 +232,7 @@ const table: any = {
// allPermissions,
// );
// item.selectPermissions = newPermission;
-
+
// fix: bug#10756
item.selectPermissions = n[1];
// 禁用单独勾选
@@ -264,6 +264,12 @@ const table: any = {
removedItem.selectPermissions = ['read'];
});
}
+ if (!nValue.length) {
+ // 列表取消全部选择
+ table.tableData.forEach((item: any) => {
+ item.selectPermissions = ['read'];
+ });
+ }
},
{ deep: true },
);
diff --git a/src/views/system/Department/product/index.vue b/src/views/system/Department/product/index.vue
index 3f492d3f..1873d052 100644
--- a/src/views/system/Department/product/index.vue
+++ b/src/views/system/Department/product/index.vue
@@ -548,6 +548,7 @@ watch(
() => props.parentId,
() => {
tableData._selectedRowKeys = [];
+ tableData.selectedRows = [];
},
);