Commit 4365be8d authored by yangyuxin's avatar yangyuxin

修改本地url地址为服务器url地址

parent e9cc14ca
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
<input type="hidden" name="data" value="" id="GLOBAL_INITJSON"/> <input type="hidden" name="data" value="" id="GLOBAL_INITJSON"/>
</form> </form>
<script> <script>
var URL = "http://localhost:7070"; var URL = "http://sbjs.tjsat.gov.cn:18090"
var GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP; var GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP;
$(function(){ $(function(){
$.ajax({ $.ajax({
......
...@@ -111,9 +111,10 @@ ...@@ -111,9 +111,10 @@
var initpage; var initpage;
$(function(){ $(function(){
// //
var url = "http://sbjs.tjsat.gov.cn:18090"
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "http://localhost:7070/online_report/declare", url: url + "/online_report/declare",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
// async: false, // async: false,
data: { data: {
......
...@@ -67,11 +67,12 @@ ...@@ -67,11 +67,12 @@
</body> </body>
<script type="text/javascript" src="../static/tools/js/jquery-1.11.3.js?v=1.1"></script> <script type="text/javascript" src="../static/tools/js/jquery-1.11.3.js?v=1.1"></script>
<script> <script>
var url = "http://sbjs.tjsat.gov.cn:18090"
$(function(){ $(function(){
$("#delcareBtn").click(function(){ $("#delcareBtn").click(function(){
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: "http://localhost:7070/online_report/declare", url: url+"/online_report/declare",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
djxh: $("#form_djxh").val() djxh: $("#form_djxh").val()
......
...@@ -204,10 +204,10 @@ function initPage(companyInfo) { ...@@ -204,10 +204,10 @@ function initPage(companyInfo) {
// var form = $("#changeForm"); // var form = $("#changeForm");
// form.find("#changeForm_data").val(JSON.stringify(submitData)); // form.find("#changeForm_data").val(JSON.stringify(submitData));
// form.submit(); // form.submit();
var url = "http://sbjs.tjsat.gov.cn:18090"
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "http://localhost:7070/online_report/declare/toPzzl", url: url + "/online_report/declare/toPzzl",
dataType: "json", // 请求方式为jsonp dataType: "json", // 请求方式为jsonp
data: { data: {
data: JSON.stringify(submitData) data: JSON.stringify(submitData)
......
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