Commit ad6f760d7f429e83e33970305d1650d2c65b364a

Authored by 王通
1 parent fd8b2921

1.英文翻译缺漏及bug修复

Showing 29 changed files with 115 additions and 77 deletions
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
63 <dependency> 63 <dependency>
64 <groupId>mysql</groupId> 64 <groupId>mysql</groupId>
65 <artifactId>mysql-connector-java</artifactId> 65 <artifactId>mysql-connector-java</artifactId>
66 - <version>5.1.38</version> 66 + <version>8.0.33</version>
67 </dependency> 67 </dependency>
68 68
69 <dependency> 69 <dependency>
src/main/java/com/bsth/controller/SectionController.java
@@ -62,8 +62,18 @@ public class SectionController extends BaseController&lt;Section, Integer&gt; { @@ -62,8 +62,18 @@ public class SectionController extends BaseController&lt;Section, Integer&gt; {
62 * @return int <sectionCode路段编码> 62 * @return int <sectionCode路段编码>
63 */ 63 */
64 @RequestMapping(value="doubleName", method = RequestMethod.POST) 64 @RequestMapping(value="doubleName", method = RequestMethod.POST)
65 - public Map<String, Object> doubleName(@RequestParam Map<String, Object> map) {  
66 - return sectionService.doubleName(map); 65 + public Map<String, Object> doubleName(Section section) {
  66 + Map<String, Object> result = new HashMap<>();
  67 + try {
  68 + section.setId(sectionRepository.findLatestSectionId() + 1);
  69 + sectionService.add(section);
  70 + result.put("status", ResponseCode.SUCCESS);
  71 + } catch (Exception e) {
  72 + result.put("status", ResponseCode.ERROR);
  73 + log.error("", e);
  74 + }
  75 +
  76 + return result;
67 } 77 }
68 78
69 @RequestMapping(value="add", method = RequestMethod.POST) 79 @RequestMapping(value="add", method = RequestMethod.POST)
src/main/java/com/bsth/controller/realcontrol/ServiceDataInterface.java
@@ -363,4 +363,19 @@ public class ServiceDataInterface { @@ -363,4 +363,19 @@ public class ServiceDataInterface {
363 363
364 return result; 364 return result;
365 } 365 }
  366 +
  367 + @RequestMapping("/shiftsForDevice")
  368 + public List<ScheduleRealInfo> shiftsForDevice(
  369 + @RequestParam String device,
  370 + @RequestParam String secretKey) {
  371 +
  372 + if (StringUtils.isEmpty(secretKey) || !secretKey.equals(SECRE_KEY))
  373 + return null;
  374 + String nbbm = BasicData.deviceId2NbbmMap.get(device);
  375 + if (nbbm == null) {
  376 + return null;
  377 + }
  378 +
  379 + return dayOfSchedule.findByNbbm(nbbm);
  380 + }
366 } 381 }
src/main/resources/application-test.properties
@@ -14,7 +14,7 @@ spring.jpa.properties.hibernate.dialect= org.hibernate.spatial.dialect.mysql.MyS @@ -14,7 +14,7 @@ spring.jpa.properties.hibernate.dialect= org.hibernate.spatial.dialect.mysql.MyS
14 14
15 #DATABASE 15 #DATABASE
16 spring.datasource.driver-class-name= com.mysql.jdbc.Driver 16 spring.datasource.driver-class-name= com.mysql.jdbc.Driver
17 -spring.datasource.url= jdbc:mysql://192.168.168.242/control_pd?useUnicode=true&characterEncoding=utf-8&useSSL=false 17 +spring.datasource.url= jdbc:mysql://192.168.168.152/control_dy?useUnicode=true&characterEncoding=utf-8&useSSL=false
18 spring.datasource.username= root 18 spring.datasource.username= root
19 spring.datasource.password= root2jsp 19 spring.datasource.password= root2jsp
20 spring.datasource.type= com.zaxxer.hikari.HikariDataSource 20 spring.datasource.type= com.zaxxer.hikari.HikariDataSource
@@ -41,7 +41,7 @@ spring.kafka.consumer.value-deserializer= org.apache.kafka.common.serialization. @@ -41,7 +41,7 @@ spring.kafka.consumer.value-deserializer= org.apache.kafka.common.serialization.
41 ## gps client data 41 ## gps client data
42 http.gps.real.cache.url= http://10.10.150.24:12580/realGps/all 42 http.gps.real.cache.url= http://10.10.150.24:12580/realGps/all
43 ## gateway real data 43 ## gateway real data
44 -http.gps.real.url= http://192.170.100.252:8080/transport_server/rtgps/ 44 +http.gps.real.url= http://10.10.2.20:8080/transport_server/rtgps/
45 ## gateway send directive 45 ## gateway send directive
46 ##http.send.directive = http://192.170.100.252:8080/transport_server/message/ 46 ##http.send.directive = http://192.170.100.252:8080/transport_server/message/
47 ## rfid data 47 ## rfid data
src/main/resources/datatools/config-test.properties
@@ -5,17 +5,17 @@ datatools.kettle_properties=/datatools/kettle.properties @@ -5,17 +5,17 @@ datatools.kettle_properties=/datatools/kettle.properties
5 5
6 # 2、上传数据配置信息 6 # 2、上传数据配置信息
7 # 上传文件目录配置(根据不同的环境需要修正) 7 # 上传文件目录配置(根据不同的环境需要修正)
8 -datatools.fileupload_dir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files 8 +datatools.fileupload_dir=/home/bsth_control_u_d_files
9 # ktr转换文件,中配置的错误输出目录(根据不同的环境需要修正) 9 # ktr转换文件,中配置的错误输出目录(根据不同的环境需要修正)
10 -datatools.trans_errordir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/erroroutput 10 +datatools.trans_errordir=/home/bsth_control_u_d_files/erroroutput
11 # 临时输出文件目录 11 # 临时输出文件目录
12 -datatools.trans_tempdir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/temp 12 +datatools.trans_tempdir=/home/bsth_control_u_d_files/temp
13 # 模版文件目录 13 # 模版文件目录
14 -datatools.trans_templatedir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files/template 14 +datatools.trans_templatedir=/home/bsth_control_u_d_files/template
15 15
16 # 3、数据导出配置信息 16 # 3、数据导出配置信息
17 # 导出数据文件目录配置(根据不同的环境需要修正) 17 # 导出数据文件目录配置(根据不同的环境需要修正)
18 -datatools.fileoutput_dir=/Users/xu/resource/project_code/runtime_temp/bsth_control_u_d_files 18 +datatools.fileoutput_dir=/home/bsth_control_u_d_files
19 19
20 ##---------------------------- 时刻表数据相关ktr(以下)----------------------------## 20 ##---------------------------- 时刻表数据相关ktr(以下)----------------------------##
21 datatools.en_ttinfo_detail_meta_data_for_export=/datatools/ktrs/en/ttinfo-detail-metadata_for_export.ktr 21 datatools.en_ttinfo_detail_meta_data_for_export=/datatools/ktrs/en/ttinfo-detail-metadata_for_export.ktr
src/main/resources/message_en_US.properties
@@ -9,7 +9,7 @@ txt-8=Currently it is a split shift, change the departure time, change the first @@ -9,7 +9,7 @@ txt-8=Currently it is a split shift, change the departure time, change the first
9 txt-9=Change the departure time, change the first departure time of the specified road sign (the first departure time) 9 txt-9=Change the departure time, change the first departure time of the specified road sign (the first departure time)
10 txt-10=The addition was successful, and the original version of the line has been automatically generated for you. You can view it under the line version information! 10 txt-10=The addition was successful, and the original version of the line has been automatically generated for you. You can view it under the line version information!
11 txt-11=Parking lots entered in the system basic information must draw a closed polygon geographic location before they can be included in the options 11 txt-11=Parking lots entered in the system basic information must draw a closed polygon geographic location before they can be included in the options
12 -txt-12=With 'Polygon Buffer' selected, draw a polygon area after confirming the center point, and then double-click the polygon area to continue the operation. 12 +txt-12=With &apos;Polygon Buffer&apos; selected, draw a polygon area after confirming the center point, and then double-click the polygon area to continue the operation.
13 txt-13=The system generated the line ######{0} when obtaining the station and road section abnormalities! Please contact the administrator or check whether the network connection is abnormal! 13 txt-13=The system generated the line ######{0} when obtaining the station and road section abnormalities! Please contact the administrator or check whether the network connection is abnormal!
14 txt-14=Manual drawing: draw the parking lot range on the map manually , then double-click the right mouse button to save 14 txt-14=Manual drawing: draw the parking lot range on the map manually , then double-click the right mouse button to save
15 txt-15=If the deletion fails, the scheduling command may be up to a moment. Wait a few seconds before deleting it.After the shift is deleted, the scheduling instructions will be retained 15 txt-15=If the deletion fails, the scheduling command may be up to a moment. Wait a few seconds before deleting it.After the shift is deleted, the scheduling instructions will be retained
@@ -45,7 +45,7 @@ txt-44=3.The system will automatically fill in the actual departure and arrival @@ -45,7 +45,7 @@ txt-44=3.The system will automatically fill in the actual departure and arrival
45 txt-45=2.After enabling this option, the system will no longer rely on relevant positioning signals to execute shifts 45 txt-45=2.After enabling this option, the system will no longer rely on relevant positioning signals to execute shifts
46 txt-46=The total number of shift road signs is less than the number of overtime road signs, then ignore the number of other shift road signs 46 txt-46=The total number of shift road signs is less than the number of overtime road signs, then ignore the number of other shift road signs
47 txt-47=2.Only update the current equipment number of the vehicle, and do not synchronize the historical equipment change records 47 txt-47=2.Only update the current equipment number of the vehicle, and do not synchronize the historical equipment change records
48 -txt-48=Tried to open a new window, if you can't see it, it may be blocked by the browser 48 +txt-48=Tried to open a new window, if you can&apos;t see it, it may be blocked by the browser
49 txt-49=If the "U-turn site" does not exist in the other direction, you need to manually select the second operation starting point 49 txt-49=If the "U-turn site" does not exist in the other direction, you need to manually select the second operation starting point
50 txt-50=The line ID is missing,Please click back,Re-add line standard information 50 txt-50=The line ID is missing,Please click back,Re-add line standard information
51 txt-51=ID is missing,Please click back,Re-check the line standard information operation 51 txt-51=ID is missing,Please click back,Re-check the line standard information operation
@@ -73,8 +73,8 @@ txt-72=The added shift has a time conflict with the preceding and following shif @@ -73,8 +73,8 @@ txt-72=The added shift has a time conflict with the preceding and following shif
73 txt-73=Remove equipment [<strong style="color: red;">######{0}</strong>] from list? If the device continues to send data to the platform, it will still be included 73 txt-73=Remove equipment [<strong style="color: red;">######{0}</strong>] from list? If the device continues to send data to the platform, it will still be included
74 txt-74=Timetable name [######{0}].<br/>Abolished schedules will not be included in the shift calculation regardless of whether they are enabled or not! 74 txt-74=Timetable name [######{0}].<br/>Abolished schedules will not be included in the shift calculation regardless of whether they are enabled or not!
75 txt-75=The server did not return data, please check your input parameters! 75 txt-75=The server did not return data, please check your input parameters!
76 -txt-76=2)When the 'Circular Buffer' is selected, double-click the center point after confirming it to continue the operation  
77 -txt-77=The system cannot generate the stations and sections for this line [######{0}]! Please click back to select other ways to plan' 76 +txt-76=2)When the &apos;Circular Buffer&apos; is selected, double-click the center point after confirming it to continue the operation
  77 +txt-77=The system cannot generate the stations and sections for this line [######{0}]! Please click back to select other ways to plan&apos;
78 txt-78=The shift switch was successful. After the switch, the delivery time of the shift is 0 minutes, which is meaningless, so delete the changed shift! 78 txt-78=The shift switch was successful. After the switch, the delivery time of the shift is 0 minutes, which is meaningless, so delete the changed shift!
79 txt-79=The system will no longer receive and display GPS points that are marked as invalid by the device itself. If the device continuously sends invalid points, it is equivalent to being offline. 79 txt-79=The system will no longer receive and display GPS points that are marked as invalid by the device itself. If the device continuously sends invalid points, it is equivalent to being offline.
80 txt-80=2.The starting station different from the first selected shift will also be ignored 80 txt-80=2.The starting station different from the first selected shift will also be ignored
@@ -101,7 +101,7 @@ txt-100=The current first bad shift is the starting point, and adjust the interv @@ -101,7 +101,7 @@ txt-100=The current first bad shift is the starting point, and adjust the interv
101 txt-101=2)Draw new road segments by drawing lines, and add new road segments and road segment routes 101 txt-101=2)Draw new road segments by drawing lines, and add new road segments and road segment routes
102 txt-102=Enter the cutting section state, please select the end point of this section! 102 txt-102=Enter the cutting section state, please select the end point of this section!
103 txt-103=The section was successfully cut, please select the end point of the next section 103 txt-103=The section was successfully cut, please select the end point of the next section
104 -txt-104=<strong>The system has not initialized the downstream stations on the line.</strong>Please click from the above to select any one of the following methods to plan the route's downstream station approach and exit paths. 104 +txt-104=<strong>The system has not initialized the downstream stations on the line.</strong>Please click from the above to select any one of the following methods to plan the route&apos;s downstream station approach and exit paths.
105 txt-105= 105 txt-105=
106 txt-106=The route was generated successfully. The generated route may have errors.Please click on the road segment first, drag to edit,then double-click to save! 106 txt-106=The route was generated successfully. The generated route may have errors.Please click on the road segment first, drag to edit,then double-click to save!
107 txt-107=B)Edit original Location: Edit the original location with site information 107 txt-107=B)Edit original Location: Edit the original location with site information
@@ -183,7 +183,7 @@ txt-182=Parking lot location missing,whether to automatically continue to add pa @@ -183,7 +183,7 @@ txt-182=Parking lot location missing,whether to automatically continue to add pa
183 txt-183= 183 txt-183=
184 txt-184= 184 txt-184=
185 txt-185= 185 txt-185=
186 -txt-186=Access is denied, you don't have this permission! 186 +txt-186=Access is denied, you don&apos;t have this permission!
187 txt-187= 187 txt-187=
188 txt-188= 188 txt-188=
189 txt-189=No downshift, data cannot be exported! 189 txt-189=No downshift, data cannot be exported!
@@ -204,7 +204,7 @@ txt-203=Added scrapped vehicle equipment data error file @@ -204,7 +204,7 @@ txt-203=Added scrapped vehicle equipment data error file
204 txt-204= 204 txt-204=
205 txt-205= 205 txt-205=
206 txt-206=Statistics of vehicle dispatch rate during morning peak hours on operating routes 206 txt-206=Statistics of vehicle dispatch rate during morning peak hours on operating routes
207 -txt-207=No previous station, can't enter data! 207 +txt-207=No previous station, can&apos;t enter data!
208 txt-208=Export the daily large interval details of the selected route 208 txt-208=Export the daily large interval details of the selected route
209 txt-209=Please save the section information being edited first 209 txt-209=Please save the section information being edited first
210 txt-210= 210 txt-210=
@@ -337,7 +337,7 @@ txt-336=Automatically adjust the interval of subsequent shifts to @@ -337,7 +337,7 @@ txt-336=Automatically adjust the interval of subsequent shifts to
337 txt-337=I can swallow glass without hurting my body 337 txt-337=I can swallow glass without hurting my body
338 txt-338=Generate routes (stations and sections) 338 txt-338=Generate routes (stations and sections)
339 txt-339=Generate route (stations and sections) 339 txt-339=Generate route (stations and sections)
340 -txt-340=Select shift for the previous day's shift 340 +txt-340=Select shift for the previous day&apos;s shift
341 txt-341=The coordinate points cannot be less than three 341 txt-341=The coordinate points cannot be less than three
342 txt-342=Please cancel all the points for cutting sections first 342 txt-342=Please cancel all the points for cutting sections first
343 txt-343=The first vehicle currently selected is the focus 343 txt-343=The first vehicle currently selected is the focus
@@ -428,7 +428,7 @@ txt-427=The user with login name [######{0}] has been unlocked successfully! @@ -428,7 +428,7 @@ txt-427=The user with login name [######{0}] has been unlocked successfully!
428 txt-428=The system does not have the up and down starting and ending stations of this line 428 txt-428=The system does not have the up and down starting and ending stations of this line
429 txt-429=Route operation statistics daily report 429 txt-429=Route operation statistics daily report
430 txt-430=Full-day operating mileage (km)(Note:The actual operation mileage, actual empty mileage and actual total mileage are include temporary mileage) 430 txt-430=Full-day operating mileage (km)(Note:The actual operation mileage, actual empty mileage and actual total mileage are include temporary mileage)
431 -txt-431=Controller's corresponding mapping address, such as:/module 431 +txt-431=Controller&apos;s corresponding mapping address, such as:/module
432 txt-432=Total working hours: 15 minutes of reporting time + total time from exit to return, plus 10 minutes of re-driving time if there is another exit during this period 432 txt-432=Total working hours: 15 minutes of reporting time + total time from exit to return, plus 10 minutes of re-driving time if there is another exit during this period
433 txt-433=Operating vehicle time(Planned operating time/km) 433 txt-433=Operating vehicle time(Planned operating time/km)
434 txt-434= 434 txt-434=
@@ -472,9 +472,9 @@ txt-471=Jingao Company (Fourth Branch) @@ -472,9 +472,9 @@ txt-471=Jingao Company (Fourth Branch)
472 txt-472=Calculate expected arrival time and actual arrival time comparison 472 txt-472=Calculate expected arrival time and actual arrival time comparison
473 txt-473=Off-line overspeed valve: 473 txt-473=Off-line overspeed valve:
474 txt-474=Save left menu permissions successfully! 474 txt-474=Save left menu permissions successfully!
475 -txt-475=User's subordinate roles have problems 475 +txt-475=User&apos;s subordinate roles have problems
476 txt-476=Simulated trajectory (after) 476 txt-476=Simulated trajectory (after)
477 -txt-477=This route is not available in Baidu Maps can't be systematically planned! 477 +txt-477=This route is not available in Baidu Maps can&apos;t be systematically planned!
478 txt-478=The same car 478 txt-478=The same car
479 txt-479=Upload failed, route number is 0 479 txt-479=Upload failed, route number is 0
480 txt-480=Enter work rest and non-operating working hours 480 txt-480=Enter work rest and non-operating working hours
@@ -592,7 +592,7 @@ txt-591=Shift vehicle personnel daily statistics @@ -592,7 +592,7 @@ txt-591=Shift vehicle personnel daily statistics
592 txt-592=Dispatcher work summary daily 592 txt-592=Dispatcher work summary daily
593 txt-593=Maximum interval time (seconds) 593 txt-593=Maximum interval time (seconds)
594 txt-594=Maximum interval time (min) 594 txt-594=Maximum interval time (min)
595 -txt-595=Controller's corresponding mapping symbols, such as: /module 595 +txt-595=Controller&apos;s corresponding mapping symbols, such as: /module
596 txt-596=Get parking lot location method 596 txt-596=Get parking lot location method
597 txt-597=Daily statistics of personnel and vehicle changes 597 txt-597=Daily statistics of personnel and vehicle changes
598 txt-598= 598 txt-598=
@@ -872,7 +872,7 @@ txt-871=Valley maximum departure interval @@ -872,7 +872,7 @@ txt-871=Valley maximum departure interval
872 txt-872=Equipment message reporting record 872 txt-872=Equipment message reporting record
873 txt-873=Vehicle equipment data migration 873 txt-873=Vehicle equipment data migration
874 txt-874=Missing parking lot options? 874 txt-874=Missing parking lot options?
875 -txt-875=I'm sure it's this shift. 875 +txt-875=I&apos;m sure it&apos;s this shift.
876 txt-876=Timetable used, total {{$saScpdateCtrl.$$ds.length}} 876 txt-876=Timetable used, total {{$saScpdateCtrl.$$ds.length}}
877 txt-877=Confirm remove the today&apos;s actual schedule of line [######{0}]? 877 txt-877=Confirm remove the today&apos;s actual schedule of line [######{0}]?
878 txt-878=Rule configuration details 878 txt-878=Rule configuration details
@@ -1025,7 +1025,7 @@ txt-1024=Please enter the line name @@ -1025,7 +1025,7 @@ txt-1024=Please enter the line name
1025 txt-1025=Failed to generate route! 1025 txt-1025=Failed to generate route!
1026 txt-1026=Connection to server timed out 1026 txt-1026=Connection to server timed out
1027 txt-1027=Route schedule schedule 1027 txt-1027=Route schedule schedule
1028 -txt-1028=Select shift for the previous day's shift,please select an auto-complete shift. 1028 +txt-1028=Select shift for the previous day&apos;s shift,please select an auto-complete shift.
1029 txt-1029=Route on-time rate details 1029 txt-1029=Route on-time rate details
1030 txt-1030=Searching for driver 1030 txt-1030=Searching for driver
1031 txt-1031=Route planning completed 1031 txt-1031=Route planning completed
@@ -1187,7 +1187,7 @@ txt-1186=Shift change and auto-completion @@ -1187,7 +1187,7 @@ txt-1186=Shift change and auto-completion
1187 txt-1187=Arrival buffer settings 1187 txt-1187=Arrival buffer settings
1188 txt-1188=Clear unselected shifts 1188 txt-1188=Clear unselected shifts
1189 txt-1189=Delay mechanism time: 1189 txt-1189=Delay mechanism time:
1190 -txt-1190=Update to the current day's shift schedule 1190 +txt-1190=Update to the current day&apos;s shift schedule
1191 txt-1191=Description of the shift format,[1] represents turn over sign,[0] represents rest skip 1191 txt-1191=Description of the shift format,[1] represents turn over sign,[0] represents rest skip
1192 txt-1192=Initial shift personnel, 1192 txt-1192=Initial shift personnel,
1193 txt-1193=Anting Old Street, Hejing Road 1193 txt-1193=Anting Old Street, Hejing Road
@@ -1586,7 +1586,7 @@ txt-1585=Issuing the instruction @@ -1586,7 +1586,7 @@ txt-1585=Issuing the instruction
1586 txt-1586=Intercepted instruction 1586 txt-1586=Intercepted instruction
1587 txt-1587=Start generating data 1587 txt-1587=Start generating data
1588 txt-1588=Please select a branch 1588 txt-1588=Please select a branch
1589 -txt-1589=Which days' GPS data to use 1589 +txt-1589=Which days&apos; GPS data to use
1590 txt-1590=Peak stop gap 1590 txt-1590=Peak stop gap
1591 txt-1591=Enter new password: 1591 txt-1591=Enter new password:
1592 txt-1592=Confirm new password: 1592 txt-1592=Confirm new password:
@@ -2178,7 +2178,7 @@ txt-2177=Data before reorganization @@ -2178,7 +2178,7 @@ txt-2177=Data before reorganization
2178 txt-2178=Data after reorganization 2178 txt-2178=Data after reorganization
2179 txt-2179=Confirm to publish! 2179 txt-2179=Confirm to publish!
2180 txt-2180=Change car to [######{0}] continue operation 2180 txt-2180=Change car to [######{0}] continue operation
2181 -txt-2181=I'm considering 2181 +txt-2181=I&apos;m considering
2182 txt-2182=Cancel publishing! 2182 txt-2182=Cancel publishing!
2183 txt-2183=Are you sure you want to delete 2183 txt-2183=Are you sure you want to delete
2184 txt-2184=New equipment number 2184 txt-2184=New equipment number
@@ -2187,7 +2187,7 @@ txt-2186=Associated timetable @@ -2187,7 +2187,7 @@ txt-2186=Associated timetable
2187 txt-2187=Cross lines timetable 2187 txt-2187=Cross lines timetable
2188 txt-2188=Branch 2188 txt-2188=Branch
2189 txt-2189=Conductor employee number 2189 txt-2189=Conductor employee number
2190 -txt-2190=road section serial number 2190 +txt-2190=Road section serial:
2191 txt-2191=Attention!!! Relevant "equipment debugging personnel" and "testing personnel" should not enter line scheduling in master mode. 2191 txt-2191=Attention!!! Relevant "equipment debugging personnel" and "testing personnel" should not enter line scheduling in master mode.
2192 txt-2192=Revoke the actual arrival time {{jsonArray.old_sdsj}} 2192 txt-2192=Revoke the actual arrival time {{jsonArray.old_sdsj}}
2193 txt-2193=Monthly oil storage report 2193 txt-2193=Monthly oil storage report
@@ -2372,7 +2372,7 @@ txt-2371= @@ -2372,7 +2372,7 @@ txt-2371=
2372 txt-2372=Enter username 2372 txt-2372=Enter username
2373 txt-2373=Unknown direction 2373 txt-2373=Unknown direction
2374 txt-2374=Not yet open 2374 txt-2374=Not yet open
2375 -txt-2375=Use the new echart to draw pictures, and don't use d3 for now. I will put d3 into a new file later. 2375 +txt-2375=Use the new echart to draw pictures, and don&apos;t use d3 for now. I will put d3 into a new file later.
2376 txt-2376=Equipment management 2376 txt-2376=Equipment management
2377 txt-2377=Loading 2377 txt-2377=Loading
2378 txt-2378=Phase setting 2378 txt-2378=Phase setting
@@ -2991,10 +2991,10 @@ txt-2990=Temporary addition approach @@ -2991,10 +2991,10 @@ txt-2990=Temporary addition approach
2991 txt-2991=Extra appearance 2991 txt-2991=Extra appearance
2992 txt-2992=Click to Dial 2992 txt-2992=Click to Dial
2993 txt-2993=Fuel consumption per kilometer 2993 txt-2993=Fuel consumption per kilometer
2994 -txt-2994=Today's hydrogen consumption {{hn}}  
2995 -txt-2995=Today's electricity consumption {{yh}} 2994 +txt-2994=Today&apos;s hydrogen consumption {{hn}}
  2995 +txt-2995=Today&apos;s electricity consumption {{yh}}
2996 txt-2996=Oil filling(L) 2996 txt-2996=Oil filling(L)
2997 -txt-2997=Today's fuel {{yh}}(L) 2997 +txt-2997=Today&apos;s fuel {{yh}}(L)
2998 txt-2998=Fuel filling 2998 txt-2998=Fuel filling
2999 txt-2999=Departure delay 2999 txt-2999=Departure delay
3000 txt-3000=Arrival delay 3000 txt-3000=Arrival delay
@@ -3648,7 +3648,7 @@ txt-3647=(Execute shift that departure time is ######{0}) @@ -3648,7 +3648,7 @@ txt-3647=(Execute shift that departure time is ######{0})
3648 txt-3648=Hydrogen consumption 3648 txt-3648=Hydrogen consumption
3649 txt-3649=Hydrogen filling amount 3649 txt-3649=Hydrogen filling amount
3650 txt-3650=Yes 3650 txt-3650=Yes
3651 -txt-3651=Don't understand! 3651 +txt-3651=Don&apos;t understand!
3652 txt-3652=Team Six 3652 txt-3652=Team Six
3653 txt-3653=Team Five 3653 txt-3653=Team Five
3654 txt-3654=Medium capacity 3654 txt-3654=Medium capacity
@@ -3663,7 +3663,7 @@ txt-3662= @@ -3663,7 +3663,7 @@ txt-3662=
3663 txt-3663=Executed 3663 txt-3663=Executed
3664 txt-3664=Vehicles are adjusted from {{jsonArray.old_nbbm}} to 3664 txt-3664=Vehicles are adjusted from {{jsonArray.old_nbbm}} to
3665 txt-3665=Extension number 3665 txt-3665=Extension number
3666 -txt-3666=I'm sure 3666 +txt-3666=I&apos;m sure
3667 txt-3667=Empty from {{qdzName}} to {{zdzName}} 3667 txt-3667=Empty from {{qdzName}} to {{zdzName}}
3668 txt-3668=Exit {{qdzName}} to {{zdzName}} 3668 txt-3668=Exit {{qdzName}} to {{zdzName}}
3669 txt-3669=Shift: 3669 txt-3669=Shift:
@@ -3872,7 +3872,7 @@ txt-3871=User @@ -3872,7 +3872,7 @@ txt-3871=User
3872 txt-3872= 3872 txt-3872=
3873 txt-3873=Content 3873 txt-3873=Content
3874 txt-3874=Status 3874 txt-3874=Status
3875 -txt-3875=When the 'Circular Buffer' is selected, double-click the center point after confirming it to continue the operation 3875 +txt-3875=When the &apos;Circular Buffer&apos; is selected, double-click the center point after confirming it to continue the operation
3876 txt-3876=Reduction 3876 txt-3876=Reduction
3877 txt-3877=Urea 3877 txt-3877=Urea
3878 txt-3878=Name 3878 txt-3878=Name
@@ -4348,7 +4348,7 @@ txt-4347=######{0}(######{1}) Timetable details-&gt;Delete road sign @@ -4348,7 +4348,7 @@ txt-4347=######{0}(######{1}) Timetable details-&gt;Delete road sign
4348 txt-4348=######{0}(######{1}) Timetable details->Swap road sign 4348 txt-4348=######{0}(######{1}) Timetable details->Swap road sign
4349 txt-4349=######{0}(######{1}) Timetable details 4349 txt-4349=######{0}(######{1}) Timetable details
4350 txt-4350=######{0}(######{1}) Timetable details->Data import from excel 4350 txt-4350=######{0}(######{1}) Timetable details->Data import from excel
4351 -txt-4351=('Departure is exit parking lot' only affects shifts issued by the parking lot configured in the <a href="/pages/base/lineinformation/list.html?no={{conf.line.id}}" target="_blank" style="color: grey;margin: 0 2px;">[Line standard]</a>) 4351 +txt-4351=(&apos;Departure is exit parking lot&apos; only affects shifts issued by the parking lot configured in the <a href="/pages/base/lineinformation/list.html?no={{conf.line.id}}" target="_blank" style="color: grey;margin: 0 2px;">[Line standard]</a>)
4352 txt-4352=Timetable analysis(summary) 4352 txt-4352=Timetable analysis(summary)
4353 txt-4353=Arrival and departure details [######{0}] [######{1}] [######{2}] [######{3}] 4353 txt-4353=Arrival and departure details [######{0}] [######{1}] [######{2}] [######{3}]
4354 txt-4354=The actual total mileage includes temporary mileage 4354 txt-4354=The actual total mileage includes temporary mileage
src/main/resources/ms-jdbc.properties
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 #ms.mysql.username= root 3 #ms.mysql.username= root
4 #ms.mysql.password= 123456 4 #ms.mysql.password= 123456
5 5
6 -ms.mysql.driver= com.mysql.jdbc.Driver  
7 -ms.mysql.url= jdbc:mysql://192.170.100.63/ms?useUnicode=true&characterEncoding=utf-8  
8 -ms.mysql.username= root  
9 -ms.mysql.password= root2jsp  
10 \ No newline at end of file 6 \ No newline at end of file
  7 +ms.mysql.driver= com.mysql.cj.jdbc.Driver
  8 +ms.mysql.url= jdbc:mysql://10.10.2.20/ms?useUnicode=true&characterEncoding=utf-8&useSSL=false
  9 +ms.mysql.username= schedule
  10 +ms.mysql.password= fsodlgjiuigAQF2$9fs9
11 \ No newline at end of file 11 \ No newline at end of file
src/main/resources/static/favicon.ico
No preview for this file type
src/main/resources/static/gpsTest/test.html
@@ -84,7 +84,7 @@ form .item select { @@ -84,7 +84,7 @@ form .item select {
84 <script src="/metronic_v4.5.4/plugins/jquery.min.js"></script> 84 <script src="/metronic_v4.5.4/plugins/jquery.min.js"></script>
85 <script src="/assets/plugins/jquery.serializejson.js"></script> 85 <script src="/assets/plugins/jquery.serializejson.js"></script>
86 <script 86 <script
87 - src="//api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> 87 + src="//api.map.baidu.com/api?v=2.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"></script>
88 <script type="text/javascript" 88 <script type="text/javascript"
89 src="//api.map.baidu.com/library/DistanceTool/1.2/src/DistanceTool_min.js"></script> 89 src="//api.map.baidu.com/library/DistanceTool/1.2/src/DistanceTool_min.js"></script>
90 <!-- moment.js 日期处理类库 --> 90 <!-- moment.js 日期处理类库 -->
src/main/resources/static/index.html
@@ -673,7 +673,7 @@ @@ -673,7 +673,7 @@
673 <!-- 地图相关 --> 673 <!-- 地图相关 -->
674 <!-- 百度 --> 674 <!-- 百度 -->
675 <script 675 <script
676 - src="//api.map.baidu.com/api?v=3.0&ak=IGGrr4UjwIYzatoCRFKEL8sT" 676 + src="//api.map.baidu.com/api?v=3.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"
677 data-exclude=1></script> 677 data-exclude=1></script>
678 <script 678 <script
679 src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js" 679 src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"
src/main/resources/static/other/video/video.html
@@ -230,7 +230,7 @@ @@ -230,7 +230,7 @@
230 <!-- 地图相关 --> 230 <!-- 地图相关 -->
231 <!-- 百度 --> 231 <!-- 百度 -->
232 <script 232 <script
233 - src="//api.map.baidu.com/api?v=3.0&ak=IGGrr4UjwIYzatoCRFKEL8sT" 233 + src="//api.map.baidu.com/api?v=3.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"
234 data-exclude=1></script> 234 data-exclude=1></script>
235 <script 235 <script
236 src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js" 236 src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"
src/main/resources/static/pages/base/carpark/js/add-vmap-world.js
@@ -5,7 +5,7 @@ var addCarParkVmapWorlds = function() { @@ -5,7 +5,7 @@ var addCarParkVmapWorlds = function() {
5 // 设置中心点, 5 // 设置中心点,
6 var CENTER_POINT = {lng : 121.528733,lat : 31.237425}; 6 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};
7 // 百度API Key 7 // 百度API Key
8 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 8 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
9 // 初始化百度地图 9 // 初始化百度地图
10 mapB = new BMap.Map("addCarParkbmap_basic"); 10 mapB = new BMap.Map("addCarParkbmap_basic");
11 //中心点和缩放级别 11 //中心点和缩放级别
src/main/resources/static/pages/base/carpark/js/carpark-positions-map.js
@@ -12,7 +12,7 @@ var CarParkPWorldsBMap = function () { @@ -12,7 +12,7 @@ var CarParkPWorldsBMap = function () {
12 // 设置中心点, 12 // 设置中心点,
13 var CENTER_POINT = {lng : 121.528733,lat : 31.237425}; 13 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};
14 // 百度API Key 14 // 百度API Key
15 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 15 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
16 // 初始化百度地图 16 // 初始化百度地图
17 mapValue = new BMap.Map("carParkbmap_basic"); 17 mapValue = new BMap.Map("carParkbmap_basic");
18 //中心点和缩放级别 18 //中心点和缩放级别
src/main/resources/static/pages/base/section/js/add-vmap-world.js
@@ -3,7 +3,7 @@ var SectionVmapWorlds = function() { @@ -3,7 +3,7 @@ var SectionVmapWorlds = function() {
3 var Bmap = { 3 var Bmap = {
4 init : function() { 4 init : function() {
5 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};// 设置中心点. 5 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};// 设置中心点.
6 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT';// 百度API Key 6 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';// 百度API Key
7 mapB = new BMap.Map("sectionBmap_basic");// 初始化百度地图 7 mapB = new BMap.Map("sectionBmap_basic");// 初始化百度地图
8 mapB.centerAndZoom(new BMap.Point(CENTER_POINT.lng,CENTER_POINT.lat), 15);//中心点和缩放级别 8 mapB.centerAndZoom(new BMap.Point(CENTER_POINT.lng,CENTER_POINT.lat), 15);//中心点和缩放级别
9 mapB.enableDragging(); //启用地图拖拽事件,默认启用(可不写) 9 mapB.enableDragging(); //启用地图拖拽事件,默认启用(可不写)
src/main/resources/static/pages/base/station/js/station-positions-map.js
@@ -50,7 +50,7 @@ var StationPositionsWorldsBMap = function () { @@ -50,7 +50,7 @@ var StationPositionsWorldsBMap = function () {
50 }, 50 },
51 position : function(station, html, opts) { 51 position : function(station, html, opts) {
52 // 将视图切换到指定的缩放等级,中心点坐标不变。注意:当有信息窗口在地图上打开时,地图缩放将保证信息窗口所在的坐标位置不动。(自1.2新增) 52 // 将视图切换到指定的缩放等级,中心点坐标不变。注意:当有信息窗口在地图上打开时,地图缩放将保证信息窗口所在的坐标位置不动。(自1.2新增)
53 - mapBValue.setZoom(17); 53 + mapBValue.centerAndZoom(station.point, 17);
54 // 创建信息窗口 54 // 创建信息窗口
55 infoWindow = new BMap.InfoWindow(html, opts); 55 infoWindow = new BMap.InfoWindow(html, opts);
56 // 创建点 56 // 创建点
src/main/resources/static/pages/base/stationroute/css/bmap_base.css
@@ -171,7 +171,7 @@ html,body{ @@ -171,7 +171,7 @@ html,body{
171 }*/ 171 }*/
172 172
173 .add_road_search_point_wrap{ 173 .add_road_search_point_wrap{
174 - width: 280px; 174 + width: 300px;
175 height: 120px; 175 height: 120px;
176 position: absolute; 176 position: absolute;
177 top: 40px; 177 top: 40px;
src/main/resources/static/pages/base/stationroute/doublename_road.html
@@ -94,12 +94,12 @@ @@ -94,12 +94,12 @@
94 submitHandler : function(f) { 94 submitHandler : function(f) {
95 var data = form.serializeJSON(); 95 var data = form.serializeJSON();
96 if(data.sectionrouteCode==i18n('txt-138')) { 96 if(data.sectionrouteCode==i18n('txt-138')) {
97 - params.sectionrouteCode = ''; 97 + params.sectionrouteCode = '100';
98 } else { 98 } else {
99 - params.sectionrouteCode = data.sectionrouteCode; 99 + params.sectionrouteCode = parseInt(data.sectionrouteCode) + 1;
100 } 100 }
101 params.versions = properties.versions; 101 params.versions = properties.versions;
102 - $.post('/section/doubleName', params, function (res) { 102 + $.post('/api/lssectionroute/add', params, function (res) {
103 if(res.status == 'SUCCESS') { 103 if(res.status == 'SUCCESS') {
104 layer.msg(i18n('txt-3271')); 104 layer.msg(i18n('txt-3271'));
105 } else if (res.status == 'Failure') { 105 } else if (res.status == 'Failure') {
src/main/resources/static/pages/base/stationroute/js/routes-operation.js
@@ -959,11 +959,13 @@ var RoutesOperation = (function () { @@ -959,11 +959,13 @@ var RoutesOperation = (function () {
959 }); 959 });
960 label.addEventListener('click', function () { 960 label.addEventListener('click', function () {
961 var params = {}; 961 var params = {};
962 - params.lineId = startStationRoute.line.id; 962 + params['line.id'] = startStationRoute.line.id;
963 params.lineCode = startStationRoute.lineCode; 963 params.lineCode = startStationRoute.lineCode;
964 params.directions = startStationRoute.directions; 964 params.directions = startStationRoute.directions;
965 - params.stationRouteBegin = startStationRoute.stationName;  
966 - params.stationRouteFinish = endStationRoute.stationName; 965 + //params.stationRouteBegin = startStationRoute.stationName;
  966 + //params.stationRouteFinish = endStationRoute.stationName;
  967 + params.sectionName = `${startStationRoute.stationName}-${endStationRoute.stationName}`;
  968 + params['section.sectionName'] = params.sectionName;
967 layer.confirm(i18n('txt-3272'), { 969 layer.confirm(i18n('txt-3272'), {
968 btn : [ i18n('txt-1837'),i18n('txt-3327'),i18n('txt-3869')], icon: 3, title:i18n('txt-3816') 970 btn : [ i18n('txt-1837'),i18n('txt-3327'),i18n('txt-3869')], icon: 3, title:i18n('txt-3816')
969 ,btn3: function(index, layero){ 971 ,btn3: function(index, layero){
@@ -973,12 +975,17 @@ var RoutesOperation = (function () { @@ -973,12 +975,17 @@ var RoutesOperation = (function () {
973 } 975 }
974 }, function(index, layero){ 976 }, function(index, layero){
975 layer.close(index); 977 layer.close(index);
976 - params.route = $("#routePlanning").val();  
977 - i18n4get('doublename_road.html', function (m) {  
978 - $(pjaxContainer).append(m);  
979 - $('#doublename_road_modal').trigger('modal.show', [params]);  
980 - });  
981 - operation.editMapStatusRemove(); 978 + params['section.bsectionVectorWkt'] = $("#routePlanning").val();
  979 + RoutesService.getSectionCode(function (sectionCode) {
  980 + params['section.id'] = sectionCode;
  981 + params['section.sectionCode'] = sectionCode;
  982 + params.sectionCode = sectionCode;
  983 + i18n4get('doublename_road.html', function (m) {
  984 + $(pjaxContainer).append(m);
  985 + $('#doublename_road_modal').trigger('modal.show', [params]);
  986 + });
  987 + operation.editMapStatusRemove();
  988 + })
982 }); 989 });
983 }); 990 });
984 // 路径规划 991 // 路径规划
@@ -992,12 +999,15 @@ var RoutesOperation = (function () { @@ -992,12 +999,15 @@ var RoutesOperation = (function () {
992 999
993 function searchPolylinesSet(results) { 1000 function searchPolylinesSet(results) {
994 if (transit.getStatus() == BMAP_STATUS_SUCCESS) { 1001 if (transit.getStatus() == BMAP_STATUS_SUCCESS) {
995 - var sectionArrayList = []; 1002 + var sectionArrayList = [], bsectionVector = [];
996 for (i = 0; i < results.length; i++) { 1003 for (i = 0; i < results.length; i++) {
997 - sectionArrayList = sectionArrayList.concat(results[i].getPolyline().getPath()); 1004 + sectionArrayList = sectionArrayList.concat(results[i].getPath());
998 } 1005 }
999 sectionList = sectionArrayList;//JSON.stringify() 1006 sectionList = sectionArrayList;//JSON.stringify()
1000 - $("#routePlanning").val(JSON.stringify(sectionArrayList)); 1007 + for (var i = 0;i < sectionArrayList.length;i++) {
  1008 + bsectionVector.push(sectionArrayList[i].lng + ' ' + sectionArrayList[i].lat);
  1009 + }
  1010 + $("#routePlanning").val('LINESTRING(' + bsectionVector.join(',') + ')');
1001 var pointMap = new Map(); 1011 var pointMap = new Map();
1002 pointMap = sectionArrayList[sectionArrayList.length - 1]; 1012 pointMap = sectionArrayList[sectionArrayList.length - 1];
1003 var pointLabel = new BMap.Point(pointMap.lng, pointMap.lat); 1013 var pointLabel = new BMap.Point(pointMap.lng, pointMap.lat);
src/main/resources/static/pages/excep/js/map.js
@@ -24,7 +24,7 @@ var BasicMap = function () { @@ -24,7 +24,7 @@ var BasicMap = function () {
24 var CENTER_POINT = {lng : 121.528733,lat : 31.237425}; 24 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};
25 25
26 // 百度API Key 26 // 百度API Key
27 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 27 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
28 28
29 // 初始化百度地图 29 // 初始化百度地图
30 mapBValue = new BMap.Map("BasicMap"); 30 mapBValue = new BMap.Map("BasicMap");
src/main/resources/static/pages/excep/js/outbound-map.js
@@ -35,7 +35,7 @@ var WorldsBMap = function () { @@ -35,7 +35,7 @@ var WorldsBMap = function () {
35 var CENTER_POINT = {lng : 121.528733,lat : 31.237425}; 35 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};
36 36
37 // 百度API Key 37 // 百度API Key
38 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 38 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
39 39
40 // 初始化百度地图 40 // 初始化百度地图
41 mapBValue = new BMap.Map("bmap_basic"); 41 mapBValue = new BMap.Map("bmap_basic");
src/main/resources/static/pages/excep/js/speeding-map.js
@@ -24,7 +24,7 @@ var SpeedingMap = function () { @@ -24,7 +24,7 @@ var SpeedingMap = function () {
24 var CENTER_POINT = {lng : 121.528733,lat : 31.237425}; 24 var CENTER_POINT = {lng : 121.528733,lat : 31.237425};
25 25
26 // 百度API Key 26 // 百度API Key
27 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 27 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
28 28
29 // 初始化百度地图 29 // 初始化百度地图
30 mapBValue = new BMap.Map("speedingMap"); 30 mapBValue = new BMap.Map("speedingMap");
src/main/resources/static/pages/forms/statement/scheduleDaily.html
@@ -15,11 +15,14 @@ @@ -15,11 +15,14 @@
15 15
16 .table > tbody + tbody { 16 .table > tbody + tbody {
17 border-top: 1px solid; } 17 border-top: 1px solid; }
18 - 18 + .table-checkable tr>th:first-child, .table-checkable tr>td:first-child {
  19 + max-width: 100px;
  20 + }
19 21
20 22
21 - #ddrbBody tr> td >span{  
22 - word-break: keep-all;white-space:nowrap; 23 + #ddrbBody > tr> td >span{
  24 + word-break: keep-all;white-space:nowrap;
  25 + letter-spacing: normal;
23 } 26 }
24 </style> 27 </style>
25 28
src/main/resources/static/pages/forms/statement/statisticsDaily.html
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 #forms > thead > tr> td >span{ 18 #forms > thead > tr> td >span{
19 width: 5px; 19 width: 5px;
20 word-wrap: break-word; 20 word-wrap: break-word;
21 - letter-spacing: 20px; 21 + letter-spacing: normal;
22 } 22 }
23 23
24 #forms > thead > tr> td >label{ 24 #forms > thead > tr> td >label{
src/main/resources/static/pages/mapmonitor/real/js/map_platform_old.js
@@ -37,7 +37,7 @@ var realMap = (function() { @@ -37,7 +37,7 @@ var realMap = (function() {
37 var city = "上海"; 37 var city = "上海";
38 38
39 //百度API Key 39 //百度API Key
40 - var bdKey = 'IGGrr4UjwIYzatoCRFKEL8sT'; 40 + var bdKey = 'dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv';
41 41
42 var bd_gps_info_win_opts = { 42 var bd_gps_info_win_opts = {
43 width : 190, 43 width : 190,
src/main/resources/static/real_control_v2/alone_page/home/home_wrap.html
@@ -72,7 +72,7 @@ @@ -72,7 +72,7 @@
72 72
73 73
74 <!-- 地图相关 --> 74 <!-- 地图相关 -->
75 -<script src="//api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> 75 +<script src="//api.map.baidu.com/api?v=2.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"></script>
76 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> 76 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script>
77 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> 77 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script>
78 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script> 78 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script>
src/main/resources/static/real_control_v2/alone_page/map/alone_wrap.html
@@ -60,7 +60,7 @@ @@ -60,7 +60,7 @@
60 <span style="position: absolute;left: calc(50% - 35px);top: calc(45% - 35px);">$$$$$${txt-3431}...</span> 60 <span style="position: absolute;left: calc(50% - 35px);top: calc(45% - 35px);">$$$$$${txt-3431}...</span>
61 </div> 61 </div>
62 <!-- 地图相关 --> 62 <!-- 地图相关 -->
63 -<script src="//api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> 63 +<script src="//api.map.baidu.com/api?v=2.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"></script>
64 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> 64 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script>
65 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> 65 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script>
66 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script> 66 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script>
src/main/resources/static/real_control_v2/fragments/north/nav/history_sch_maintain.html
@@ -361,7 +361,7 @@ @@ -361,7 +361,7 @@
361 }, 361 },
362 items: { 362 items: {
363 'edit': { 363 'edit': {
364 - name: '编辑' 364 + name: i18n('txt-4147')
365 }, 365 },
366 'add': { 366 'add': {
367 name: i18n('txt-1801') 367 name: i18n('txt-1801')
src/main/resources/static/real_control_v2/main.html
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 </script> 110 </script>
111 111
112 <!-- 地图相关 --> 112 <!-- 地图相关 -->
113 -<script src="//api.map.baidu.com/api?v=2.0&ak=IGGrr4UjwIYzatoCRFKEL8sT"></script> 113 +<script src="//api.map.baidu.com/api?v=2.0&ak=dr4jSsmL7M0b1kbUSVVAO7KbleSUNdpv"></script>
114 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script> 114 <script src="//api.map.baidu.com/library/TrafficControl/1.4/src/TrafficControl_min.js"></script>
115 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script> 115 <script src="/assets/js/baidu//MarkerClusterer.js" merge="plugins"></script>
116 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script> 116 <script src="/assets/js/CoordinateConverter.js" merge="plugins"></script>
src/main/resources/static/real_control_v2/mapmonitor/fragments/map_config.html
@@ -4,8 +4,8 @@ @@ -4,8 +4,8 @@
4 <div class="uk-form-row"> 4 <div class="uk-form-row">
5 <span class="uk-form-label">$$$$$${txt-4094}</span> 5 <span class="uk-form-label">$$$$$${txt-4094}</span>
6 <div class="uk-form-controls"> 6 <div class="uk-form-controls">
7 - <label><input type="radio" value="baidu" name="map_type" {{if map_type=='baidu'}}checked{{/if}}> $$$$$${txt-4125}</label>  
8 - <label><input type="radio" value="gaode" name="map_type" {{if map_type=='gaode'}}checked{{/if}}> $$$$$${txt-4124}</label> 7 + <label style="display: none"><input type="radio" value="baidu" name="map_type" {{if map_type=='baidu'}}checked{{/if}}> $$$$$${txt-4125}</label>
  8 + <label style="display: none"><input type="radio" value="gaode" name="map_type" {{if map_type=='gaode'}}checked{{/if}}> $$$$$${txt-4124}</label>
9 <label><input type="checkbox" name="traffic" {{if traffic}}checked{{/if}}> $$$$$${txt-2410}</label> 9 <label><input type="checkbox" name="traffic" {{if traffic}}checked{{/if}}> $$$$$${txt-2410}</label>
10 </div> 10 </div>
11 </div> 11 </div>