From 13425fbe65305941319379bf4d40e3900265d6f7 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Mon, 1 Nov 2021 08:16:58 +0800 Subject: [PATCH 1/4] feat: function config format ms --- src/views/function-config.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/function-config.vue b/src/views/function-config.vue index cbba5e9..1c8ab77 100644 --- a/src/views/function-config.vue +++ b/src/views/function-config.vue @@ -225,6 +225,7 @@ const onSubmit = () => { functionForm.value.validate(async () => { try { const param = cloneDeep({ ...data.value, deviceId: currentDeviceId.value }); + param.time = new Date(param.time).getTime(); if (param.report.type === 0) { // 按时间点上报 格式化时间格式 const points = [...param.report.timePoints]; From 31d0aa57f871b9d682e54981179ed52bdc2ccab0 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Mon, 1 Nov 2021 08:23:57 +0800 Subject: [PATCH 2/4] feat: function-config responsive --- src/views/function-config.vue | 42 +++++++++++++---------------------- 1 file changed, 16 insertions(+), 26 deletions(-) diff --git a/src/views/function-config.vue b/src/views/function-config.vue index 1c8ab77..bfcb755 100644 --- a/src/views/function-config.vue +++ b/src/views/function-config.vue @@ -4,78 +4,68 @@ - + - + - - - + - + - - - + - + - - - + - + - - - + - + - - - + - + @@ -83,28 +73,28 @@ - + - + - + - + From cfeedbc592338224440191973965ab2b511f4ccd Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Mon, 1 Nov 2021 08:28:01 +0800 Subject: [PATCH 3/4] feat: network-config responsive --- src/views/network-config.vue | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/src/views/network-config.vue b/src/views/network-config.vue index 651f41e..fe8b7fb 100644 --- a/src/views/network-config.vue +++ b/src/views/network-config.vue @@ -4,71 +4,62 @@ - + - + - - - + - + - - - + - + - - - + - + - - - + - + - - - + + From dc13a4f663c650ce16d8d31de500d173c6f91056 Mon Sep 17 00:00:00 2001 From: wally <18603454788@163.com> Date: Mon, 1 Nov 2021 08:31:15 +0800 Subject: [PATCH 4/4] feat: device-create responsive --- src/views/device-create.vue | 54 +++++++++++++------------------------ 1 file changed, 19 insertions(+), 35 deletions(-) diff --git a/src/views/device-create.vue b/src/views/device-create.vue index 79014bd..6d32abb 100644 --- a/src/views/device-create.vue +++ b/src/views/device-create.vue @@ -1,116 +1,100 @@