From 798e4d966bc3d0a10b8f01532f2bd1cedc1d3fb4 Mon Sep 17 00:00:00 2001
From: nieli <329261568@qq.com>
Date: Mon, 28 Nov 2022 16:16:56 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20=E5=90=8C=E6=9C=9F=E5=BE=80=E6=9C=9F?=
=?UTF-8?q?=E5=8F=96=E5=80=BC=E9=94=99=E8=AF=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/apiSecret/index.vue | 4 ++--
src/views/iot/statistics/chain/template.vue | 10 +++++-----
src/views/iot/statistics/compared/profile/template.vue | 8 ++++----
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/views/apiSecret/index.vue b/src/views/apiSecret/index.vue
index 529eeac0..568c3644 100644
--- a/src/views/apiSecret/index.vue
+++ b/src/views/apiSecret/index.vue
@@ -182,7 +182,7 @@
- {{ dict.dictLabel }}
+ {{ dict.dictLabel }}
@@ -288,7 +288,7 @@ export default {
appSecret: null,
tenantId: null,
remark: null,
- status: '0',
+ status: '1',
};
this.resetForm("form");
},
diff --git a/src/views/iot/statistics/chain/template.vue b/src/views/iot/statistics/chain/template.vue
index ab48738a..4a9ccb39 100644
--- a/src/views/iot/statistics/chain/template.vue
+++ b/src/views/iot/statistics/chain/template.vue
@@ -18,7 +18,7 @@
align="center"
:index="
(val) => {
- return val;
+ return val + 1;
}
"
width="80px"
@@ -28,22 +28,22 @@
{{
- Number(scope.row.homochronousValue).toFixed(2) || "--"
+ Number(scope.row.currentPeriodValue).toFixed(2) || "--"
}}
{{
- Number(scope.row.currentPeriodValue).toFixed(2) || "--"
+ Number(scope.row.homochronousValue).toFixed(2) || "--"
}}
diff --git a/src/views/iot/statistics/compared/profile/template.vue b/src/views/iot/statistics/compared/profile/template.vue
index 55e9fd13..cf2cd923 100644
--- a/src/views/iot/statistics/compared/profile/template.vue
+++ b/src/views/iot/statistics/compared/profile/template.vue
@@ -28,22 +28,22 @@
{{
- Number(scope.row.homochronousValue).toFixed(2) || "--"
+ Number(scope.row.currentPeriodValue).toFixed(2) || "--"
}}
{{
- Number(scope.row.currentPeriodValue).toFixed(2) || "--"
+ Number(scope.row.homochronousValue).toFixed(2) || "--"
}}