Commit b0599b36fcabfc3e191ed00e822dac4580c6e7c1

Authored by yiming
1 parent 88b39766

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

bsthLineProfiles/src/main/resources/application-druid.yml
... ... @@ -5,15 +5,15 @@ spring:
5 5 driverClassName: com.mysql.cj.jdbc.Driver
6 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 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 18 slave:
19 19 # 从数据源开关/默认关闭
... ...
bsthLineProfiles/src/main/resources/templates/system/line/detail.html
... ... @@ -451,7 +451,7 @@
451 451  
452 452 });
453 453  
454   - $.get("/system/line/getUserLineInfo",
  454 + $.get(ctx+"system/line/getUserLineInfo",
455 455 function (data) {
456 456 if (data.msg != null) {
457 457 var objs = JSON.parse(data.msg);
... ...
bsthLineProfiles/src/main/resources/templates/system/line/line.html
... ... @@ -743,7 +743,7 @@
743 743 $("#cols").append(tag);
744 744 }
745 745  
746   - $.get("/system/line/getUserLineInfo",function(data){
  746 + $.get(ctx+"system/line/getUserLineInfo",function(data){
747 747 if(data.msg != null){
748 748 var data = JSON.parse(data.msg);
749 749 createTable(data);
... ...
bsthLineProfiles/src/main/resources/templates/system/line/map2.html
... ... @@ -85,7 +85,7 @@ body, html, #container {
85 85 <div class="info" id="info">
86 86 <ul class="nav nav-tabs" role="tablist" >
87 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 89 <li role="presentation"><a onclick="show('line','road','station','area')" role="tab" data-toggle="tab" >途经线路</a></li>
90 90 <li role="presentation"><a onclick="show('area','road','station','line')" role="tab" data-toggle="tab" s>区域查询</a></li>
91 91 </ul>
... ...
bsthLineProfiles/src/main/resources/templates/system/lineExamine/detail.html
... ... @@ -578,7 +578,7 @@
578 578 $(".file-input").before(obj);
579 579 });
580 580  
581   - $.post("/system/line/findByName",
  581 + $.post(ctx+"system/line/findByName",
582 582 {
583 583 name: $("#lineName").val()
584 584 },
... ...
bsthLineProfiles/src/main/resources/templates/system/lineHistory/edit.html
... ... @@ -605,7 +605,7 @@
605 605 });
606 606  
607 607  
608   - $.post("/system/line/findByName",
  608 + $.post(ctx+"system/line/findByName",
609 609 {
610 610 name: $("#lineName").val()
611 611 },
... ...
bsthLineProfiles/src/main/resources/templates/system/lineHistory/historyCompare.html
... ... @@ -601,7 +601,7 @@
601 601 var dicts = [[${@dict.getType("")}]];
602 602  
603 603 $("#text").bsSuggest({
604   - url: "/system/lineHistory/getListForMap",
  604 + url: ctx+"system/lineHistory/getListForMap",
605 605 effectiveFields: ["lineName"],
606 606 searchFields: ["lineName"],
607 607 effectiveFieldsAlias: {
... ... @@ -626,7 +626,7 @@
626 626 console.log('onDataRequestSuccess: ', result);
627 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 631 getData(data);
632 632 vueObj.change(0);
... ...