yangbifan 2 年之前
父節點
當前提交
888ac11a12
共有 4 個文件被更改,包括 9 次插入9 次删除
  1. 2 2
      config/dev.env.js
  2. 2 2
      public/index.html
  3. 4 4
      public/static/views/onlineShareExcel.html
  4. 1 1
      src/pages/main/onlineExcel/index.vue

+ 2 - 2
config/dev.env.js

@@ -6,8 +6,8 @@ module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG: '"dev"',
   ctx:'"http://127.0.0.1:8080"',
-  // ctxForm: '"http://10.149.85.91:8000"',//dev
-  ctxForm: '"http://43.138.50.94:8880"',//test
+  ctxForm: '"http://10.149.85.91:8000"',//dev
+  // ctxForm: '"http://43.138.50.94:8880"',//test
   // ctxForm: '"http://192.168.2.124:8880"',//test
   // ctxForm: '"http://10.230.15.228:8880"',//生产
   excludeMeWhenSelectNextHandler:false,

+ 2 - 2
public/index.html

@@ -26,10 +26,10 @@
   <!-- built files will be auto injected -->
   <script type="text/javascript">
     // window.staticHost = 'http://10.230.26.15:8000/mkt'; // 正式
-  //  window.staticHost = 'http://10.149.85.91:8000/spfm'; // 测试
+   window.staticHost = 'http://10.149.85.91:8000/spfm'; // 测试
   //  window.staticHost = 'http://43.138.50.94:9600/'; 
     // window.staticHost = 'http://192.168.0.103:9600/';
-    window.staticHost = 'http://192.168.2.124:9600/';
+    // window.staticHost = 'http://192.168.2.124:9600/';
 
     // document.title = "hello";
   </script>

+ 4 - 4
public/static/views/onlineShareExcel.html

@@ -217,17 +217,17 @@
                         showsheetbar: false, // 底部sheet显示/隐藏
                         loadUrl:
                             window.location.protocol +
-                            "//192.168.2.124:7777" +
+                            "//10.149.85.91:7777" +
                             "/sheet/worksheet/" +
                             ids + '/' + JSON.parse(window.sessionStorage.userInfo).loginNo,
                         loadSheetUrl:
                             window.location.protocol +
-                            "//192.168.2.124:7777" +
+                            "//10.149.85.91:7777" +
                             "/sheet/loadsheet/" +
                             ids,
                         updateUrl:
                             "ws://" +
-                            "//192.168.2.124:7777" +
+                            "//10.149.85.91:7777" +
                             "/ws/" +
                             JSON.parse(window.sessionStorage.userInfo).loginName +
                             "/" +
@@ -680,7 +680,7 @@
                         }
                         let res = JSON.stringify(exportJson)
                         console.log(res);
-                        util.ajaxJson("正在导入中", "http://192.168.2.124:7777/sheet/excel/importFile", { exceldata: res, id: excelId }, function (res) {
+                        util.ajaxJson("正在导入中", "http://10.149.85.91:7777/sheet/excel/importFile", { exceldata: res, id: excelId }, function (res) {
                             console.log(res);
                             if (res.code === '1') {
                                 // 销毁原来的excel

+ 1 - 1
src/pages/main/onlineExcel/index.vue

@@ -95,7 +95,7 @@
                     <div class="container" id="container" v-else>
                         <fullscreen :fullscreen.sync="excelFullScreen" class="container">
                             <iframe id="excelIframe" height="100%" width="100%"
-                                src="/static/views/onlineShareExcel.html" frameborder="0"></iframe>
+                                src="/marketfront/static/views/onlineShareExcel.html" frameborder="0"></iframe>
                         </fullscreen>
                     </div>
                 </div>