From 267d60fb1afc2fa9bfa1c8087ca5d1ac47e657a7 Mon Sep 17 00:00:00 2001 From: kerwincui <164770707@qq.com> Date: Tue, 7 Jun 2022 17:56:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E6=8E=88=E6=9D=83=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/views/iot/device/device-edit.vue | 1 - vue/src/views/iot/firmware/index.vue | 27 +++++--- vue/src/views/iot/product/product-alert.vue | 37 +++++------ vue/src/views/iot/product/product-app.vue | 5 +- .../views/iot/product/product-authorize.vue | 62 +++++++++++-------- vue/src/views/iot/product/product-edit.vue | 20 +++--- 6 files changed, 81 insertions(+), 71 deletions(-) diff --git a/vue/src/views/iot/device/device-edit.vue b/vue/src/views/iot/device/device-edit.vue index f5173e16..44884f4d 100644 --- a/vue/src/views/iot/device/device-edit.vue +++ b/vue/src/views/iot/device/device-edit.vue @@ -377,7 +377,6 @@ export default { getProductData(product) { this.form.productId = product.productId; this.form.productName = product.productName; - console.log(product); }, // 获取选中的用户 getUserData(user) { diff --git a/vue/src/views/iot/firmware/index.vue b/vue/src/views/iot/firmware/index.vue index b79c22e5..dd319d9f 100644 --- a/vue/src/views/iot/firmware/index.vue +++ b/vue/src/views/iot/firmware/index.vue @@ -12,9 +12,9 @@ 搜索 重置 - + @@ -22,25 +22,29 @@ + + + + - - + - + @@ -67,7 +71,7 @@ @@ -182,6 +186,9 @@ export default { this.getProductShortList(); }, methods: { + getDownloadUrl(path) { + return window.location.origin + process.env.VUE_APP_BASE_API + path; + }, /** 查询产品固件列表 */ getList() { this.loading = true; @@ -328,7 +335,7 @@ export default { }, // 文件下载处理 handleDownload(row) { - window.open(process.env.VUE_APP_BASE_API+row.filePath); + window.open(process.env.VUE_APP_BASE_API + row.filePath); } }, diff --git a/vue/src/views/iot/product/product-alert.vue b/vue/src/views/iot/product/product-alert.vue index 29305641..47c41f86 100644 --- a/vue/src/views/iot/product/product-alert.vue +++ b/vue/src/views/iot/product/product-alert.vue @@ -12,11 +12,8 @@ 搜索 重置 + 该功能暂不可用,后面版本发布 - - 该功能,未完成 - - @@ -50,8 +47,6 @@ - - @@ -73,27 +68,28 @@ - - + + - - - + - - - - {{dict.label}} - + + + + + + + + @@ -180,12 +176,13 @@ - + + @@ -211,12 +208,6 @@ - - - - - -