Commit 6f4297ef authored by yangyuxin's avatar yangyuxin

http://localhost:7070 改为公共

parent 276d4213
...@@ -67,7 +67,8 @@ ...@@ -67,7 +67,8 @@
</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://localhost:7070" localStorage.setItem("url", "http://localhost:7070");
var url = localStorage.getItem("url");
$(function(){ $(function(){
//按期申报 //按期申报
var btnObj1 = $("#delcareBtn"); var btnObj1 = $("#delcareBtn");
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
var initpage; var initpage;
$(function(){ $(function(){
// //
var url = "http://localhost:7070" var url = localStorage.getItem("url");
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url + "/online_report/amend", url: url + "/online_report/amend",
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
var initpage; var initpage;
$(function(){ $(function(){
// //
var url = "http://localhost:7070" var url = localStorage.getItem("url");
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url + "/online_report/cancellation", url: url + "/online_report/cancellation",
......
...@@ -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 = localStorage.getItem("url");
var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,gzQtxx; var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,gzQtxx;
var param = GetQueryValue("falg"); var param = GetQueryValue("falg");
var address; var address;
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
var initpage; var initpage;
$(function(){ $(function(){
// //
var url = "http://localhost:7070" var url = localStorage.getItem("url");
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url + "/online_report/declare", url: url + "/online_report/declare",
......
...@@ -482,7 +482,7 @@ ...@@ -482,7 +482,7 @@
</div> </div>
<div id="resultFloat" title="查看校验结果" class="htbutton">查看校验</div> <div id="resultFloat" title="查看校验结果" class="htbutton">查看校验</div>
<script> <script>
var URL = "http://localhost:7070" var URL = localStorage.getItem("url");
var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,ifGZflag; var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,ifGZflag;
var param = GetQueryValue("falg"); var param = GetQueryValue("falg");
var address; var address;
......
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
</div> </div>
<div id="resultFloat" title="查看校验结果" class="htbutton">查看校验</div> <div id="resultFloat" title="查看校验结果" class="htbutton">查看校验</div>
<script> <script>
var URL = "http://localhost:7070"; var URL = localStorage.getItem("url");
var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,isGZflag; var GLOBAL_INITJSON,GLOBAL_JSON,GLOBAL_CACHE_DATA,GLOBAL_TABLE_SPECIAL,GLOBAL_TABLE_FP,isGZflag;
var param = GetQueryValue("falg"); var param = GetQueryValue("falg");
var address; var address;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<script src="/online_report/static/biz/error.js?v=1.1"></script> <script src="/online_report/static/biz/error.js?v=1.1"></script>
<script> <script>
//缺 //缺
var URL = "http://localhost:7070"; var URL = localStorage.getItem("url");
var param = GetQueryValue("falg"); var param = GetQueryValue("falg");
var address; var address;
if (param == "declare") { if (param == "declare") {
......
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
var initpage; var initpage;
$(function(){ $(function(){
// //
var url = "http://localhost:7070" var url = localStorage.getItem("url");
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: url + "/online_report/overdue", url: url + "/online_report/overdue",
......
...@@ -216,7 +216,7 @@ function initPage(companyInfo) { ...@@ -216,7 +216,7 @@ function initPage(companyInfo) {
//地址 //地址
//http://sbjs.tjsat.gov.cn:18090 //http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070 //http://localhost:7070
var url = "http://localhost:7070"; var url = localStorage.getItem("url");
var getTaxAmendData = function(param) { var getTaxAmendData = function(param) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
......
...@@ -178,7 +178,7 @@ function initPage(companyInfo) { ...@@ -178,7 +178,7 @@ function initPage(companyInfo) {
//地址 //地址
//http://sbjs.tjsat.gov.cn:18090 //http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070 //http://localhost:7070
var url = "http://localhost:7070"; var url = localStorage.getItem("url");
var getTaxDeclaration = function(date, type) { var getTaxDeclaration = function(date, type) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
......
...@@ -130,7 +130,7 @@ function initPage(companyInfo) { ...@@ -130,7 +130,7 @@ function initPage(companyInfo) {
//地址 //地址
//http://sbjs.tjsat.gov.cn:18090 //http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070 //http://localhost:7070
var url = "http://localhost:7070"; var url = localStorage.getItem("url");
var getTaxDeclaration = function(date, type) { var getTaxDeclaration = function(date, type) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
......
...@@ -176,7 +176,7 @@ function initPage(companyInfo) { ...@@ -176,7 +176,7 @@ function initPage(companyInfo) {
//地址 //地址
//http://sbjs.tjsat.gov.cn:18090 //http://sbjs.tjsat.gov.cn:18090
//http://localhost:7070 //http://localhost:7070
var url = "http://localhost:7070"; var url = localStorage.getItem("url");
var getTaxOverdue = function(date, type) { var getTaxOverdue = function(date, type) {
// TODO 开始加载等待动画 // TODO 开始加载等待动画
showLoading(); showLoading();
......
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