Commit 8fbf16d2 authored by shiyubin's avatar shiyubin

完整版

parent 33afacf8
No preview for this file type
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<property name="dataSource"> <property name="dataSource">
<bean class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <bean class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="org.postgresql.Driver"></property> <property name="driverClassName" value="org.postgresql.Driver"></property>
<property name="url" value="jdbc:postgresql://192.168.100.220:5432/MineSIX_test1"></property> <property name="url" value="jdbc:postgresql://192.168.3.220:5432/MineSIX_test1"></property>
<property name="username" value="postgres"></property> <property name="username" value="postgres"></property>
<property name="password" value="red___"></property> <property name="password" value="red___"></property>
</bean> </bean>
......
portto=5433 portto=5433
ip=127.0.0.1 ip=127.0.0.1
url=jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 url=jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
password=red___ password=red___
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
org.hibernate.dialect.PostgreSQLDialect org.hibernate.dialect.PostgreSQLDialect
</property> </property>
<property name="connection.url"> <property name="connection.url">
jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
</property> </property>
<property name="connection.username">postgres</property> <property name="connection.username">postgres</property>
<property name="connection.password">red___</property> <property name="connection.password">red___</property>
......
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineJSON/allcount.jsp" window.location.href="http://192.168.1.163:8081/MineJSON/allcount.jsp"
// window.location.href="http://192.168.1.8:8082/MineJSON/allcount.jsp" // window.location.href="http://192.168.1.8:8082/MineJSON/allcount.jsp"
......
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
// + timeSe, null, function(obj) { // + timeSe, null, function(obj) {
$ $
.getJSON( .getJSON(
'http://192.168.1.11:8081/MineJSON/vzigbee.action?type=8&param=' 'http://192.168.1.163:8081/MineJSON/vzigbee.action?type=8&param='
+ rowData.personcode + rowData.personcode
+ '-' + '-'
+ (Date.parse(new Date( + (Date.parse(new Date(
......
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/co2jiance.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/co2jiance.jsp"
</script> </script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/cojiance.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/cojiance.jsp"
</script> </script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengsu.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengsu.jsp"
//window.location.href="http://localhost:8080/MineTRS/tubiao/fengsu.jsp" //window.location.href="http://localhost:8080/MineTRS/tubiao/fengsu.jsp"
</script> </script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengya.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengya.jsp"
//window.location.href="http://localhost:8080/MineTRS/tubiao/fengya.jsp" //window.location.href="http://localhost:8080/MineTRS/tubiao/fengya.jsp"
</script> </script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/no2jiance.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/no2jiance.jsp"
</script> </script>
<script type="text/javascript" charset="utf-8"> <script type="text/javascript" charset="utf-8">
window.location.href="http://192.168.1.11:8081/MineEM/tubiao/o2jiance.jsp" window.location.href="http://192.168.1.163:8081/MineEM/tubiao/o2jiance.jsp"
</script> </script>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
// 页面加载初始化 // 页面加载初始化
$(function() { $(function() {
$.ajax({ $.ajax({
url: "http://192.168.1.11:8080/MineTT/online!EnvironmentRealTimeData.do?token=laowangzhuanyong", url: "http://192.168.1.163:8080/MineTT/online!EnvironmentRealTimeData.do?token=laowangzhuanyong",
type: "get", type: "get",
dataType:"jsonp",//请求的数据类型 dataType:"jsonp",//请求的数据类型
success: function(data) { success: function(data) {
......
...@@ -417,7 +417,7 @@ ...@@ -417,7 +417,7 @@
} , } ,
success : function(date) { //etoak - 服务器返回的响应数据 success : function(date) { //etoak - 服务器返回的响应数据
if (date.flag) { if (date.flag) {
// Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengsu.jsp";}); // Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengsu.jsp";});
//$("#msgbox").hide(); //$("#msgbox").hide();
// window.location.href="http://192.168.1.8:8081/MineEM/tubiao/fengsu.jsp" // window.location.href="http://192.168.1.8:8081/MineEM/tubiao/fengsu.jsp"
$('#polygon1').datagrid('reload'); // 重新加载数据 $('#polygon1').datagrid('reload'); // 重新加载数据
......
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
success : function(date) { //etoak - 服务器返回的响应数据 success : function(date) { //etoak - 服务器返回的响应数据
if (date.flag) { if (date.flag) {
Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengya.jsp";}); Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengya.jsp";});
//$("#msgbox").hide(); //$("#msgbox").hide();
} else { } else {
......
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
success : function(date) { //etoak - 服务器返回的响应数据 success : function(date) { //etoak - 服务器返回的响应数据
if (date.flag) { if (date.flag) {
Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengya.jsp";}); Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengya.jsp";});
//$("#msgbox").hide(); //$("#msgbox").hide();
} else { } else {
......
...@@ -408,7 +408,7 @@ ...@@ -408,7 +408,7 @@
success : function(date) { //etoak - 服务器返回的响应数据 success : function(date) { //etoak - 服务器返回的响应数据
if (date.flag) { if (date.flag) {
Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.11:8081/MineEM/tubiao/fengya.jsp";}); Dialog.alert("解除成功",function(){window.location.href="http://192.168.1.163:8081/MineEM/tubiao/fengya.jsp";});
//$("#msgbox").hide(); //$("#msgbox").hide();
} else { } else {
......
portto=5433 portto=5433
ip=127.0.0.1 ip=127.0.0.1
url=jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 url=jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
password=red___ password=red___
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
org.hibernate.dialect.PostgreSQLDialect org.hibernate.dialect.PostgreSQLDialect
</property> </property>
<property name="connection.url"> <property name="connection.url">
jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
</property> </property>
<property name="connection.username">postgres</property> <property name="connection.username">postgres</property>
<property name="connection.password">red___</property> <property name="connection.password">red___</property>
......
portto=5433 portto=5433
ip=127.0.0.1 ip=127.0.0.1
url=jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 url=jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
password=red___ password=red___
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
org.hibernate.dialect.PostgreSQLDialect org.hibernate.dialect.PostgreSQLDialect
</property> </property>
<property name="connection.url"> <property name="connection.url">
jdbc:postgresql://192.168.100.220:5432/MineSIX_test1 jdbc:postgresql://192.168.3.220:5432/MineSIX_test1
</property> </property>
<property name="connection.username">postgres</property> <property name="connection.username">postgres</property>
<property name="connection.password">red___</property> <property name="connection.password">red___</property>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment