Commit 4365be8d authored by yangyuxin's avatar yangyuxin

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

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