瀏覽代碼

//魔百合优化

15114606900@163.com 2 年之前
父節點
當前提交
20fd039431
共有 4 個文件被更改,包括 28 次插入6 次删除
  1. 2 2
      public/index.html
  2. 5 2
      public/static/views/kccExcel.html
  3. 9 0
      src/router/index.js
  4. 12 2
      vue.config.js

+ 2 - 2
public/index.html

@@ -25,9 +25,9 @@
   <div id="app"></div>
   <!-- built files will be auto injected -->
   <script type="text/javascript">
-    window.staticHost = 'http://10.230.26.15:8000/mkt'; // 正式
+    // window.staticHost = 'http://10.230.26.15:8000/mkt'; // 正式
     // window.staticHost = 'http://10.149.85.90:8000/spfm'; // 测试
-    // window.staticHost = 'http://192.168.0.103:9600/';
+    window.staticHost = 'http://192.168.0.190:9600/';
     // window.staticHost = 'http://192.168.2.142:9600/';
     
     // document.title = "hello";

+ 5 - 2
public/static/views/kccExcel.html

@@ -33,8 +33,11 @@
     <script src="/static/js/exceljs.js"></script>
     <script src="/static/js/fileSave.js"></script>
     <script src="/static/js/luckysheet/luckSheetExcel.js"></script>
-    <script src="/marketfront/static/js/luckysheet_old/plugins/js/plugin.js?v=1.0.0"></script>
-    <script src="/marketfront/static/js/luckysheet_old/luckysheet.umd.js?v=1.0.0"></script>
+<!--    <script src="/marketfront/static/js/luckysheet_old/plugins/js/plugin.js?v=1.0.0"></script>-->
+<!--    <script src="/marketfront/static/js/luckysheet_old/luckysheet.umd.js?v=1.0.0"></script>-->
+
+    <script src="../js/luckysheet_old/plugins/js/plugin.js?v=1.0.0"></script>
+    <script src="../js/luckysheet_old/luckysheet.umd.js?v=1.0.0"></script>
     <script src="/static/js/api.config.js"></script>
     <script src="/static/js/util.js?v=1.0.0"></script>
     <script src="/static/js/url.js?v=1.0.0"></script>

+ 9 - 0
src/router/index.js

@@ -1865,6 +1865,15 @@ const routes = [{
             component: (resolve) => require( /* webpackChunkName: "system" */ ['../pages/main/keyChannelCoop/onlineExcelInfo'], resolve)
         },
         {
+            meta: {
+                name: '魔百和列表',
+                keepAlive: false
+            },
+            path: '/CMkMagicBoxTop1',
+            name: 'CMkMagicBoxTop1',
+            component: (resolve) => require( /* webpackChunkName: "system" */ ['../pages/main/mbh/CMkMagicBoxTop'], resolve)
+        },
+        {
             meta: { name:  '反诈骗处罚报表', keepAlive: false },
             path: '/antiSpoofing',
             name: 'antiSpoofing',

+ 12 - 2
vue.config.js

@@ -92,8 +92,17 @@ module.exports = {
     devServer: {
         proxy: {
             // 开发环境变化可注释 ⬇️⬇️
+            "/market/mkMagic": {
+                // target: "http://192.168.0.185:9600",
+                 target: "http://192.168.0.180:9600",
+                ws: false,
+                changeOrigin: true,
+                // pathRewrite: {
+                //     "^/market": "/market",
+                // },
+            },
             "/market/CMK": {
-                target: "http://124.223.66.248:9600",
+                target: "http://192.168.0.192:9600",
                 ws: false,
                 changeOrigin: true,
                 pathRewrite: {
@@ -135,7 +144,8 @@ module.exports = {
                 // target: 'http://192.168.0.156:9600/',
                 // target: 'http://192.168.2.170:9600/',
                 // target: 'http://192.168.2.169:9600/',
-                target: "http://124.223.66.248:9600",
+                // target: "http://124.223.66.248:9600",
+                target: "http://192.168.0.190:9600",
                 changeOrigin: true,
             },
         },