From ea5eafc5c8b25aa038e15a4f0ec5f57daa169244 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期一, 13 六月 2022 13:58:55 +0800
Subject: [PATCH] 安装升级接口

---
 vue.config.js                                                     |    4 ++--
 src/views/hashrate/AlgManage/index.vue                            |    1 +
 src/views/hashrate/AlgManage/components/AlgCard.vue               |    1 +
 src/views/equipmentManagement/algorithmDetail/components/Card.vue |    1 +
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/views/equipmentManagement/algorithmDetail/components/Card.vue b/src/views/equipmentManagement/algorithmDetail/components/Card.vue
index 4b3fd6e..0271d4a 100644
--- a/src/views/equipmentManagement/algorithmDetail/components/Card.vue
+++ b/src/views/equipmentManagement/algorithmDetail/components/Card.vue
@@ -82,6 +82,7 @@
         nodeId: this.id,
         path: this.data.id,
         userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
+        inputText: data.sdk_name || data.name,
       });
       if (res && res.success) {
         this.$notify({
diff --git a/src/views/hashrate/AlgManage/components/AlgCard.vue b/src/views/hashrate/AlgManage/components/AlgCard.vue
index 41370cf..8bb77a5 100644
--- a/src/views/hashrate/AlgManage/components/AlgCard.vue
+++ b/src/views/hashrate/AlgManage/components/AlgCard.vue
@@ -40,6 +40,7 @@
         nodeId: this.devId,
         path: this.alg.id,
         userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
+        inputText: this.alg.sdk_name,
       });
       if (res && res.success) {
         this.$notify({
diff --git a/src/views/hashrate/AlgManage/index.vue b/src/views/hashrate/AlgManage/index.vue
index 97f3089..ccfe505 100644
--- a/src/views/hashrate/AlgManage/index.vue
+++ b/src/views/hashrate/AlgManage/index.vue
@@ -214,6 +214,7 @@
         nodeId: devId,
         path: this.dragAlg.productBaseId,
         userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
+        inputText: this.dragAlg.productName,
       });
       if (res && res.success) {
         this.$notify({
diff --git a/vue.config.js b/vue.config.js
index 75d9f3a..8385a1b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -14,8 +14,8 @@
     proxy: {
       "/api": {
         // target: "http://192.168.20.10:7004",
-        // target: "http://192.168.20.174:7070",
-        target: "http://192.168.20.235:7070",
+        target: "http://192.168.20.174:7070",
+        // target: "http://192.168.20.235:7070",
         //  target: "http://192.168.20.117:7080",
         // secure: false,
         changeOrigin: true,

--
Gitblit v1.8.0