Commit b0599b36fcabfc3e191ed00e822dac4580c6e7c1
1 parent
88b39766
配置子路径xlda 部分请求路径需要修改
Showing
7 changed files
with
15 additions
and
15 deletions
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
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
bsthLineProfiles/src/main/resources/templates/system/lineHistory/edit.html
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); | ... | ... |