Commit 97e1f0d4 authored by 于广洋's avatar 于广洋

修改公共配置文件 url 全部外提 联调清算列表页

parent c53e7435
......@@ -81,7 +81,7 @@
<script src="/web/onlineReport/static/tools/js/encapsulation.js?v=1.3"></script>
<script src="/web/onlineReport/static/tools/js/minScroll.js?v=1.1"></script>
<script src="/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"></script>
<script src="/web/onlineReport/static/biz/getJgxxRyxx.js?v=1.0"></script>
<script src="/web/onlineReport/static/biz/config.js?v=1.0"></script>
<script src="/web/onlineReport/static/biz/amend_grid.js?v=1.0"></script>
<script>
// <!-- // 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
......@@ -101,7 +101,7 @@
showLoading();
$.ajax({
type: "post",
url: url + "/ssfwpt/amend/index",
url: config.url + "/ssfwpt/amend/index",
dataType: "json", // 请求方式为jsonp
// async: false,
data: {
......
......@@ -48,7 +48,7 @@
<script src="/web/onlineReport/static/tools/js/encapsulation.js?v=1.2"></script>
<script src="/web/onlineReport/static/tools/js/minScroll.js?v=1.1"></script>
<script src="/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"></script>
<script src="/web/onlineReport/static/biz/getJgxxRyxx.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/config.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/cancellation_grid.js?v=1.0"></script>
<script>
// // <!-- // 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
......@@ -78,8 +78,8 @@
var url = "http://192.168.105.153:8091";
showLoading();
$.ajax({
type: "GET",
url: url + "/ssfwpt/cancellation/index",
type: "POST",
url: "/ssfwpt/liquidation/tax_info",
dataType: "json", // 请求方式为jsonp
// async: false,
data: {
......@@ -94,9 +94,9 @@
// $("#token").attr("value","");
var companyInfo = data;
$("#djxh").attr("value", companyInfo.djxh);
if (companyInfo.success) {
companyInfo.bean.config = config
initpage = initPage(companyInfo.bean);
if (companyInfo.returnCode == "00") {
companyInfo.content.config = config
initpage = initPage(companyInfo.content);
$("#getInputValue").on("focus", function() {
WdatePicker({
isShowClear:false,
......
......@@ -89,7 +89,7 @@
<script src="/web/onlineReport/static/tools/js/encapsulation.js?v=1.3"></script>
<script src="/web/onlineReport/static/tools/js/minScroll.js?v=1.1"></script>
<script src="/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"></script>
<script src="/web/onlineReport/static/biz/getJgxxRyxx.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/config.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/declare_grid.js?v=1.0"></script>
<script>
// <!-- // 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
......
......@@ -96,7 +96,7 @@
<script src="/web/onlineReport/static/tools/js/encapsulation.js?v=1.3"></script>
<script src="/web/onlineReport/static/tools/js/minScroll.js?v=1.1"></script>
<script src="/web/onlineReport/static/tools/js/My97DatePicker/WdatePicker.js?v=1.1"></script>
<script src="/web/onlineReport/static/biz/getJgxxRyxx.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/config.js?v=2.0"></script>
<script src="/web/onlineReport/static/biz/overdue_grid.js?v=1.0"></script>
<script>
// <!-- // 使用 el 表达式,将返回的信息写到此处,然后调用页面绘制方法绘制页面
......
......@@ -131,7 +131,7 @@ function initPage(companyInfo) {
selectRowData: {},
};
data.fillingFlag = "inventory" // 填报标记
data.saveUserId = jgxxRyxx.bdReportResponse.zjlx + jgxxRyxx.bdReportResponse.zjhm;// 用户id
data.saveUserId = "zxtb";// 用户id
window.mlistener.selectRowData = data;
window.open("/web/taxservicedesk/index.html#/taxTableList",'_blank');
}else{
......
var jgxxRyxx ;
/**
* @Author ygy
* @Description //TODO 通过token查询企业和人员信息
* @Date 19:40 2020/6/12 qyxxCacheVoList bdReportResponse
*
_self.$store.commit("qyxxData",data.content.qyxxCacheVoList);
_self.$store.commit("loginData",data.content.bdReportResponse);
**/
function getJgxxRyxx() {
var url = "http://192.168.105.153:8091"
$.ajax({
type: "post",
url: url + "/ssfwpt/xxzl/getJgxxRyxx",
dataType: "json", // 请求方式为jsonp
async: false,
data: {
token: getUrlParam("token"),
},
success: function (data) {
jgxxRyxx = data.content;
},
error: function(xhr){
console.log("=====================error======================")
}
})
}
/**
* @Author ygy
* @Description //TODO 获取地址栏参数
......@@ -39,8 +11,10 @@ function getUrlParam (name) {
if (r != null) return decodeURIComponent(r[2]);
return null;
}
// 公共配置
var config = {
webUrl:"http://sbjs.tjsat.gov.cn:8088/web/onlineReport/jsp/"
webUrl:"http://sbjs.tjsat.gov.cn:8088/web/onlineReport/jsp/",
// webUrl:"http://localhost/web/onlineReport/jsp/"
url:"http://192.168.105.153:8091",// 全局的url,现在貌似没什么用了。不过先留着
}
......@@ -228,7 +228,7 @@ function initPage(companyInfo) {
selectRowData: {},
};
submitData.fillingFlag = "normal" // 填报标记
submitData.saveUserId = jgxxRyxx.bdReportResponse.zjlx + jgxxRyxx.bdReportResponse.zjhm;// 用户id
submitData.saveUserId = "zxtb";// 用户id
window.mlistener.selectRowData = submitData;
window.open("/web/taxservicedesk/index.html#/taxTableList",'_blank');
}else {
......
......@@ -135,7 +135,7 @@ function initPage(companyInfo) {
selectRowData: {},
};
data.fillingFlag = "overdue" // 填报标记
data.saveUserId = jgxxRyxx.bdReportResponse.zjlx + jgxxRyxx.bdReportResponse.zjhm;// 用户id
data.saveUserId = "zxtb";// 用户id
window.mlistener.selectRowData = data;
window.open("/web/taxservicedesk/index.html#/taxTableList",'_blank');
}else{
......
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