This commit is contained in:
parent
caf7a2104e
commit
8d62a81195
|
|
@ -78,6 +78,7 @@ function laypages(total, page, limit) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initTable(dataList, limit, page) {
|
function initTable(dataList, limit, page) {
|
||||||
|
|
||||||
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
||||||
table.render({
|
table.render({
|
||||||
elem: "#proTable",
|
elem: "#proTable",
|
||||||
|
|
@ -135,7 +136,6 @@ function initTable(dataList, limit, page) {
|
||||||
function getReqParams(page, limit, type) {
|
function getReqParams(page, limit, type) {
|
||||||
let obj = {};
|
let obj = {};
|
||||||
let proStatetus=proStatusParam;
|
let proStatetus=proStatusParam;
|
||||||
|
|
||||||
if (!type) {
|
if (!type) {
|
||||||
obj = {
|
obj = {
|
||||||
page: page + "",
|
page: page + "",
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,6 @@ function getWeekRiskNumAjax() {
|
||||||
initEchartsTwo(result.data.data, result.data.data1, result.data.data2);
|
initEchartsTwo(result.data.data, result.data.data1, result.data.data2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
initEchartsTwo([], [], [], []);
|
initEchartsTwo([], [], [], []);
|
||||||
|
|
@ -396,7 +394,6 @@ function getProNumByType(proType, orgId, type) {
|
||||||
$('#cityProNum3').html(result.data.tgNum);
|
$('#cityProNum3').html(result.data.tgNum);
|
||||||
$('#cityProNum4').html(result.data.dkgNum);
|
$('#cityProNum4').html(result.data.dkgNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
} else if (result.code === 500) {
|
} else if (result.code === 500) {
|
||||||
return layer.alert(result.msg, { icon: 2 })
|
return layer.alert(result.msg, { icon: 2 })
|
||||||
|
|
@ -462,7 +459,6 @@ function scrollEarlyData(data) {
|
||||||
$('#earlyTotalNum').html(earlyTotalNum);
|
$('#earlyTotalNum').html(earlyTotalNum);
|
||||||
$('#earlyDealNum').html(earlyDealNum);
|
$('#earlyDealNum').html(earlyDealNum);
|
||||||
$('#earlyNoDealNum').html(earlyNoDealNum);
|
$('#earlyNoDealNum').html(earlyNoDealNum);
|
||||||
|
|
||||||
|
|
||||||
let box = document.getElementById("early-info-ul");
|
let box = document.getElementById("early-info-ul");
|
||||||
box.scrollTop = scrollTopValue;
|
box.scrollTop = scrollTopValue;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@ function initEchartsOne(listMap) {
|
||||||
if (listMap != null && listMap.length > 0) {
|
if (listMap != null && listMap.length > 0) {
|
||||||
$.each(listMap, function (index, item) {
|
$.each(listMap, function (index, item) {
|
||||||
nameList.push(item.cityName);
|
nameList.push(item.cityName);
|
||||||
|
|
||||||
dataList.push(item.totalNum);
|
dataList.push(item.totalNum);
|
||||||
dataList2.push(item.executedNum);
|
dataList2.push(item.executedNum);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ function pages(pageNum, pageSize, typeNum) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function laypages(total, page, limit) {
|
function laypages(total, page, limit) {
|
||||||
|
|
||||||
laypage.render({
|
laypage.render({
|
||||||
elem: 'voi-page',
|
elem: 'voi-page',
|
||||||
count: total,
|
count: total,
|
||||||
|
|
@ -66,7 +65,6 @@ function laypages(total, page, limit) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function initTable(dataList, limit, page) {
|
function initTable(dataList, limit, page) {
|
||||||
|
|
||||||
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
let loadingMsg = layer.msg("数据加载中,请稍候...", {icon: 16, scrollbar: false, time: 0,});
|
||||||
table.render({
|
table.render({
|
||||||
elem: "#proTable",
|
elem: "#proTable",
|
||||||
|
|
|
||||||
|
|
@ -424,7 +424,7 @@ function showTime() {
|
||||||
|
|
||||||
//url
|
//url
|
||||||
function gotofx() {
|
function gotofx() {
|
||||||
// window.open(jj_jc_url);
|
window.open(jj_jc_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getIsBg(orgId) {
|
function getIsBg(orgId) {
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,7 @@ function logout(type) {
|
||||||
if (html_type === '1') {
|
if (html_type === '1') {
|
||||||
loginOutAjax(token, login_url);
|
loginOutAjax(token, login_url);
|
||||||
} else if (html_type === '2') {
|
} else if (html_type === '2') {
|
||||||
loginOutAjax(token, login_url);
|
loginOutAjax(token, login_url_new);
|
||||||
} else {
|
} else {
|
||||||
loginOutAjax(token, login_url);
|
loginOutAjax(token, login_url);
|
||||||
}
|
}
|
||||||
|
|
@ -225,7 +225,7 @@ function loginExpire(html_type) {
|
||||||
if (html_type === '1') {
|
if (html_type === '1') {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url;
|
||||||
} else if (html_type === '2') {
|
} else if (html_type === '2') {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url_new;
|
||||||
} else {
|
} else {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url;
|
||||||
}
|
}
|
||||||
|
|
@ -238,7 +238,7 @@ $(function () {
|
||||||
if (html_type === '1') {
|
if (html_type === '1') {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url;
|
||||||
} else if (html_type === '2') {
|
} else if (html_type === '2') {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url_new;
|
||||||
} else {
|
} else {
|
||||||
top.location.href = login_url;
|
top.location.href = login_url;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,15 @@
|
||||||
//测试环境
|
//测试环境
|
||||||
let dataUrl = "http://192.168.0.14:38080/gsbasfs/";
|
let http="http://";
|
||||||
let login_url="http://192.168.0.14:38080/gssfs/login.html";
|
let ip_port=window.location.host;
|
||||||
|
|
||||||
|
//自动获取浏览器地址
|
||||||
|
// let dataUrl=http+ip_port+"/gsbasfs/";
|
||||||
|
// let login_url=http+ip_port+"/gssfs/login.html"
|
||||||
|
|
||||||
|
|
||||||
|
//本地环境
|
||||||
|
let dataUrl = "http://192.168.0.14:1999/gsbasfs/";
|
||||||
|
let login_url="http://192.168.0.14:1999/gsjjsp/login.html";
|
||||||
|
|
||||||
//文件映射路径
|
//文件映射路径
|
||||||
let photoUrl = dataUrl + "proteam/files/";
|
let photoUrl = dataUrl + "proteam/files/";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue