Commit 565ea216 authored by yangyuxin's avatar yangyuxin

年报js文件 修改url地址

parent bd59481c
......@@ -94,7 +94,7 @@ function selectNb() {
var selectTableArr = getSelect_10414_002(); // 获取被选中的表
$.ajax({
type: "POST",
url: "/online_report/declare/save",
url: URL + "/online_report/declare/save",
data: {
data: JSON.stringify(NB_cache_data)
},
......@@ -1312,16 +1312,16 @@ function saveData(operateType,isZcfxtx) {
spread.options.highlightInvalidData = false;
}
showLoading();
var url = "/online_report/declare/save";
var url = URL + "/online_report/declare/save";
pagedata.operateType = operateType;
if (operateType == 4) {
url = "/online_report/amend/save";
url = URL + "/online_report/amend/save";
}
if (isGZflag) {
url = "/online_report/amend/save";
url = URL + "/online_report/amend/save";
}
if (true == isZcfxtx) {
url = "/online_report/declare/zcfxts";
url = URL + "/online_report/declare/zcfxts";
}
if (operateType == 3) {
if(localStorage["isZcfxFlag"] && "true" == localStorage["isZcfxFlag"]){
......@@ -1522,13 +1522,13 @@ function saveData_003(operateType) {
spread.options.highlightInvalidData = false;
}
// showLoading();
var url = "/online_report/declare/save";
var url = URL + "/online_report/declare/save";
pagedata.operateType = operateType;
if (operateType == 4) {
url = "/online_report/amend/save";
url = URL + "/online_report/amend/save";
}
if (isGZflag) {
url = "/online_report/amend/save";
url = URL + "/online_report/amend/save";
}
pagedata.data = GLOBAL_INITJSON; //更正保存增加参数--20181225 ygy
console.log("■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■");
......
......@@ -336,7 +336,7 @@ function bindValueChanged() {
// var arr = [];
// $.ajax({
// type: "post",
// url: "/online_report/declare/getFylyxmd2019List",
// url: URL + "/online_report/declare/getFylyxmd2019List",
// dataType: "json",
// async: false,
// data: {},
......@@ -868,7 +868,7 @@ function bindNbCellClickEvent() {
// var arr = [];
// $.ajax({
// type: "post",
// url: "/online_report/declare/getFylyxmd2019List",
// url: URL + "/online_report/declare/getFylyxmd2019List",
// dataType: "json",
// async: false,
// data: {},
......@@ -1177,7 +1177,7 @@ function getDmbList(lx, dm) {
var list = []
$.ajax({
type: "POST",
url: "/online_report/declare/getGxjslyList",
url: URL + "/online_report/declare/getGxjslyList",
data: {
level: lx,
code: dm
......@@ -1458,7 +1458,7 @@ function compare10414_027(index){
var arr = [];
$.ajax({
type: "post",
url: "/online_report/declare/getFylyxmd2019List",
url: URL + "/online_report/declare/getFylyxmd2019List",
dataType: "json",
async: false,
data: {},
......@@ -1843,7 +1843,7 @@ function getSwjgDm(lx, dm) {
},
dataType: "json",
type: 'POST',
url: '/online_report/declare/getCcsswjgdmData',
url: URL + '/online_report/declare/getCcsswjgdmData',
success: function (data) {
// console.log(data);
var html = '';
......
......@@ -63,7 +63,7 @@ function getIEVersion() {
_show: function _show(title) {
var _html = '<div id="mb_box1"></div><div id="mb_con1"><span id="mb_tit1">' + title + '</span>';
_html += '<img id="mb_img1" src="/online_report/static/tools/images/close.png">';
_html += '<img id="mb_img1" src="/static/tools/images/close.png">';
_html += '<div id="mb_msg1"></div>';
//必须先将_html添加到body,再设置Css样式
$("body").append(_html);
......@@ -237,7 +237,7 @@ function dateProcessing(type) {
//封装等待框 调用方式:showLoading();hideLoading();
(function ($) {
var renderHtml = function renderHtml() {
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/online_report/static/tools/images/loading1.gif" /></div></div>';
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/static/tools/images/loading1.gif" /></div></div>';
$("body").append(_html);
};
renderHtml();
......@@ -300,7 +300,7 @@ function dateProcessing(type) {
var _html = "";
_html += '<div id="mb_box"></div><div id="mb_con"><span id="mb_tit">' + title + '</span>'
if (type == "confirm") {
_html += '<img id="mb_img" src="/online_report/static/tools/images/close.png">';
_html += '<img id="mb_img" src="/static/tools/images/close.png">';
_html += '<div id="mb_msg">' + msg + '</div>';
}
if (type == "alert") {
......
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