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 @@
+
+
+
+ {{getDownloadUrl(scope.row.filePath)}}
+
+
Version {{scope.row.version}}
-
-
+
{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
-
+
@@ -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 @@
-
-
-
-
-
-