Commit b0599b36fcabfc3e191ed00e822dac4580c6e7c1

Authored by yiming
1 parent 88b39766

配置子路径xlda 部分请求路径需要修改

bsthLineProfiles/src/main/resources/application-druid.yml
@@ -5,15 +5,15 @@ spring: @@ -5,15 +5,15 @@ spring:
5 driverClassName: com.mysql.cj.jdbc.Driver 5 driverClassName: com.mysql.cj.jdbc.Driver
6 druid: 6 druid:
7 # 主库数据源 7 # 主库数据源
8 -# master:  
9 -# url: jdbc:mysql://192.168.101.111:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8  
10 -# username: xldasys  
11 -# password: bsth@pj2021  
12 - # 主库数据源  
13 master: 8 master:
14 - url: jdbc:mysql://localhost:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8  
15 - username: root  
16 - password: 1995627a 9 + url: jdbc:mysql://192.168.101.111:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  10 + username: xldasys
  11 + password: bsth@pj2021
  12 + # 主库数据源
  13 +# master:
  14 +# url: jdbc:mysql://localhost:3306/bsth_line_profiles?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
  15 +# username: root
  16 +# password: 1995627a
17 # 从库数据源 17 # 从库数据源
18 slave: 18 slave:
19 # 从数据源开关/默认关闭 19 # 从数据源开关/默认关闭
bsthLineProfiles/src/main/resources/templates/system/line/detail.html
@@ -451,7 +451,7 @@ @@ -451,7 +451,7 @@
451 451
452 }); 452 });
453 453
454 - $.get("/system/line/getUserLineInfo", 454 + $.get(ctx+"system/line/getUserLineInfo",
455 function (data) { 455 function (data) {
456 if (data.msg != null) { 456 if (data.msg != null) {
457 var objs = JSON.parse(data.msg); 457 var objs = JSON.parse(data.msg);
bsthLineProfiles/src/main/resources/templates/system/line/line.html
@@ -743,7 +743,7 @@ @@ -743,7 +743,7 @@
743 $("#cols").append(tag); 743 $("#cols").append(tag);
744 } 744 }
745 745
746 - $.get("/system/line/getUserLineInfo",function(data){ 746 + $.get(ctx+"system/line/getUserLineInfo",function(data){
747 if(data.msg != null){ 747 if(data.msg != null){
748 var data = JSON.parse(data.msg); 748 var data = JSON.parse(data.msg);
749 createTable(data); 749 createTable(data);
bsthLineProfiles/src/main/resources/templates/system/line/map2.html
@@ -85,7 +85,7 @@ body, html, #container { @@ -85,7 +85,7 @@ body, html, #container {
85 <div class="info" id="info"> 85 <div class="info" id="info">
86 <ul class="nav nav-tabs" role="tablist" > 86 <ul class="nav nav-tabs" role="tablist" >
87 <li role="presentation" class="active"><a onclick="show('station','road','line','area')" style="margin-left:1rem;" role="tab" data-toggle="tab" >地点查询</a></li> 87 <li role="presentation" class="active"><a onclick="show('station','road','line','area')" style="margin-left:1rem;" role="tab" data-toggle="tab" >地点查询</a></li>
88 - <li role="presentation"><a onclick="show('road','station','line','area')" role="tab" data-toggle="tab" >道路/线路查询</a></li> 88 + <li role="presentation"><a onclick="show('road','station','line','area')" role="tab" data-toggle="tab" >道路查询</a></li>
89 <li role="presentation"><a onclick="show('line','road','station','area')" role="tab" data-toggle="tab" >途经线路</a></li> 89 <li role="presentation"><a onclick="show('line','road','station','area')" role="tab" data-toggle="tab" >途经线路</a></li>
90 <li role="presentation"><a onclick="show('area','road','station','line')" role="tab" data-toggle="tab" s>区域查询</a></li> 90 <li role="presentation"><a onclick="show('area','road','station','line')" role="tab" data-toggle="tab" s>区域查询</a></li>
91 </ul> 91 </ul>
bsthLineProfiles/src/main/resources/templates/system/lineExamine/detail.html
@@ -578,7 +578,7 @@ @@ -578,7 +578,7 @@
578 $(".file-input").before(obj); 578 $(".file-input").before(obj);
579 }); 579 });
580 580
581 - $.post("/system/line/findByName", 581 + $.post(ctx+"system/line/findByName",
582 { 582 {
583 name: $("#lineName").val() 583 name: $("#lineName").val()
584 }, 584 },
bsthLineProfiles/src/main/resources/templates/system/lineHistory/edit.html
@@ -605,7 +605,7 @@ @@ -605,7 +605,7 @@
605 }); 605 });
606 606
607 607
608 - $.post("/system/line/findByName", 608 + $.post(ctx+"system/line/findByName",
609 { 609 {
610 name: $("#lineName").val() 610 name: $("#lineName").val()
611 }, 611 },
bsthLineProfiles/src/main/resources/templates/system/lineHistory/historyCompare.html
@@ -601,7 +601,7 @@ @@ -601,7 +601,7 @@
601 var dicts = [[${@dict.getType("")}]]; 601 var dicts = [[${@dict.getType("")}]];
602 602
603 $("#text").bsSuggest({ 603 $("#text").bsSuggest({
604 - url: "/system/lineHistory/getListForMap", 604 + url: ctx+"system/lineHistory/getListForMap",
605 effectiveFields: ["lineName"], 605 effectiveFields: ["lineName"],
606 searchFields: ["lineName"], 606 searchFields: ["lineName"],
607 effectiveFieldsAlias: { 607 effectiveFieldsAlias: {
@@ -626,7 +626,7 @@ @@ -626,7 +626,7 @@
626 console.log('onDataRequestSuccess: ', result); 626 console.log('onDataRequestSuccess: ', result);
627 }).on('onSetSelectValue', function (e, selectedData, selectedRawData) { 627 }).on('onSetSelectValue', function (e, selectedData, selectedRawData) {
628 628
629 - $.get("/system/lineHistory/getListByName", {name: selectedData.key}, function (data) { 629 + $.get(ctx+"system/lineHistory/getListByName", {name: selectedData.key}, function (data) {
630 630
631 getData(data); 631 getData(data);
632 vueObj.change(0); 632 vueObj.change(0);