Pārlūkot izejas kodu

文件收集与审批访问路径修改

hujunwei@agilestar.cn 2 gadi atpakaļ
vecāks
revīzija
d8c9cfcd75

+ 1 - 1
public/static/js/api.config.js

@@ -1,6 +1,6 @@
 // api config
 var apiConfig = {
-  // ctx: window.top.staticHost ? window.top.staticHost : "http://114.215.71.182:29600/spfm", //不知道干啥的
+  ctx: window.top.staticHost ? window.top.staticHost : "http://114.215.71.182:29600/spfm", //不知道干啥的
   // http://114.215.71.182:29600/spfm/
   // ctx: "http://localhost:9601",//接口地址http://192.168.1.76:8090/ api-gateway
   // ctx: "http://192.168.2.192:9600/",//接口地址http://192.168.1.76:8090/ api-gateway

+ 7 - 7
public/static/views/performance.html

@@ -33,10 +33,10 @@
     <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="/static/js/luckysheet_old/plugins/js/plugin.js?v=1.0.0"></script>
-    <script src="/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="/static/js/luckysheet_old/plugins/js/plugin.js?v=1.0.0"></script>
+    <script src="/static/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>
@@ -158,13 +158,13 @@
                 toolBar = '';
                 toolBar1 = '';
                 if (type == 6) {
-                    var url = 'market/IssuedCollect/getExcelInfo';
+                    var url = '/market/IssuedCollect/getExcelInfo';
                 }
                 if (type == 4 || type == 5) {
-                    var url = 'market/Issued/getExcelInfo';
+                    var url = '/market/Issued/getExcelInfo';
                 }
                 if (type == 1 || type == 2 || type == 3) {
-                    var url = 'market/FileTemplate/query';
+                    var url = '/market/FileTemplate/query';
                 }
                 util.ajaxJson("数据加载中", ctx + url,
                     {