Browse Source

设备详情url

zhulizhen 5 years ago
parent
commit
e10f0ea6fa

+ 1 - 1
src/components/ledger/handsontables/assets.vue

@@ -926,7 +926,7 @@ export default {
       let val = this.hot.colToProp(row.col);
       if (val == "caozuo") {
         window.open(`
-http://47.94.89.44:8058/asset?id=${infos.id}&pid=${this.projectId}`,"_blank")
+http://47.94.89.44:8058/asset?id=${infos.id}&pid=${this.projectId}&secret=${this.secret}`,"_blank")
         // this.iframeSrc =
         //   process.env.BASE_URL +
         //   ":8889/#/details?perjectId=" +

+ 1 - 1
src/components/ledger/handsontables/device.vue

@@ -1033,7 +1033,7 @@ export default {
       this.systemId = infos.id
       if (val == "caozuo") {
          window.open(`
-http://47.94.89.44:8058/spread?id=${infos.id}&pid=${this.projectId}`,"_blank")
+http://47.94.89.44:8058/spread?id=${infos.id}&pid=${this.projectId}&secret=${this.secret}`,"_blank")
         // this.iframeSrc =
         //   process.env.BASE_URL +
         //   ":8889/#/details?perjectId=" +

+ 1 - 1
src/components/ledger/handsontables/system.vue

@@ -826,7 +826,7 @@ export default {
       }
       if (val == "caozuo") {
          window.open(`
-http://47.94.89.44:8058/system?id=${infos.id}&pid=${this.projectId}`,"_blank")
+http://47.94.89.44:8058/system?id=${infos.id}&pid=${this.projectId}&secret=${this.secret}`,"_blank")
         // this.iframeSrc =
         //   process.env.BASE_URL +
         //   ":8889/#/details?perjectId=" +