Browse Source

[Mod 0000] CAD相关链接修改

houzekong 8 months ago
parent
commit
abf6ebe630
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/vent/performance/comment/CADModal.vue

+ 1 - 1
src/views/vent/performance/comment/CADModal.vue

@@ -58,7 +58,7 @@
       filename.value = record.fileName;
       filename.value = record.fileName;
     } else {
     } else {
       // 当以 iframe 模式运行时,origin 在生产模式下需要指向本项目公司端所部署的地址
       // 当以 iframe 模式运行时,origin 在生产模式下需要指向本项目公司端所部署的地址
-      const origin = import.meta.env.PROD ? 'http://10.224.104.150:8092' : window.location.origin;
+      const origin = import.meta.env.PROD ? 'http://10.248.235.101:8092' : window.location.origin;
       // const origin = import.meta.env.DEV ? 'http://182.92.126.35:8092' : window.location.origin;
       // const origin = import.meta.env.DEV ? 'http://182.92.126.35:8092' : window.location.origin;
       iframesrc.value = `${origin}/fileManager/cad-viewer?${AUTO_LOGIN_URL_QUERY.key}=${AUTO_LOGIN_URL_QUERY.val}&id=${record.id}&filename=${record.fileName}`;
       iframesrc.value = `${origin}/fileManager/cad-viewer?${AUTO_LOGIN_URL_QUERY.key}=${AUTO_LOGIN_URL_QUERY.val}&id=${record.id}&filename=${record.fileName}`;
     }
     }