大数据统计页面接口地址修改

This commit is contained in:
ly19960718 2021-08-16 15:06:55 +08:00
parent 75c28b1a0c
commit bb0f84e346
8 changed files with 99 additions and 91 deletions

View File

@ -919,6 +919,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var inspectionUrl = "http://106.12.218.237:8081:7006/inspection/"
var globalData = {
W0001_0:{
loopInterval:null, linkParams:{},
@ -994,7 +995,7 @@
intervalTime:0,
interval:null,
moduleData:{'id':'A0022_3','data':
{'fontColor':'#fff','url':'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/listpagetask-jiningqu'},
{'fontColor':'#fff','url':inspectionUrl+'app/taskcheck/v2/release/listpagetask-jiningqu'},
'list':[
{'field':'taskName','title':'任务名称','width':250,'align':'center'},
{'field':'taskSummary','title':'任务说明','width':350,'align':'center','fixed':''},
@ -1057,13 +1058,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total';
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total';
}
this.serverData = getJsonData('C0005_5', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0005_5','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata-total', this.moduleData.params);
@ -1094,16 +1095,16 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/departmentdata-jiningqu'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-jiningqu' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-jiningqu' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu';
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-jiningqu';
}
this.serverData = getJsonData('C0004_6', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0004_6','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu', this.moduleData.params);
// this.serverData = getJsonData('C0004_6','http://106.12.218.237:8081:7006/inspection/app/taskcheck/v2/release/departmentdata-jiningqu', this.moduleData.params);
if(this.serverData.state == 200) {
C0004(this.moduleData, this.serverData);
}

View File

@ -712,7 +712,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var inspectionPath = "http://192.168.0.120/inspection/"
var inspectionPath = "http://106.12.218.237:8081/inspection/"
var globalData = {
C0001_0:{
loopInterval:null, linkParams:{},
@ -787,7 +787,7 @@
intervalTime:0,
interval:null,
moduleData:{'id':'A0022_3','data':{
'limit':20,'fontColor':'#fff','url':'http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/listpage'},
'limit':20,'fontColor':'#fff','url':inspectionPath+'app/enterpriseofgridoperator/release/listpage'},
'list':[
{'field':'userName','title':'网格员','width':200,'align':'center','fixed':'','templet':''},
{'field':'userPhone','title':'电话','width':180,'align':'center','fixed':'','templet':''},

View File

@ -1142,6 +1142,7 @@ var initParticlesJs = function() {
function openWindows(params) {
var time = new Date();
// 弹窗口打开(模板) params.bigdataTemplateJumpTitle
console.log(params)
if(params.templateAreaJumpMode == "1") {
var openWindow = {
type: 2,
@ -2408,6 +2409,9 @@ var initParticlesJs = function() {
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var inspectionUrl = 'http://106.12.218.237:8081/inspection/';
var servicecityUrl = 'http://106.12.218.237:8081/servicecity/';
var pollutantUrl = 'http://106.12.218.237:8081/pollutant/';
var globalData = {
Z0005_0:{
loopInterval:null, linkParams:{},
@ -2431,13 +2435,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata';
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata';
}
this.serverData = getJsonData('Z0005_0', urlParams , this.moduleData.params);
// this.serverData = getJsonData('Z0005_0','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata', this.moduleData.params);
@ -2638,13 +2642,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-month-now-total'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-month-now-total' + "?" + urlParams;
if(servicecityUrl+'app/reportcase/v2/release/count-month-now-total'.indexOf('?') == -1 ) {
urlParams = servicecityUrl+'app/reportcase/v2/release/count-month-now-total' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-month-now-total' + urlParams;
urlParams = servicecityUrl+'app/reportcase/v2/release/count-month-now-total' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-month-now-total';
urlParams = servicecityUrl+'app/reportcase/v2/release/count-month-now-total';
}
this.serverData = getJsonData('A0002_9', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0002_9','http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-month-now-total', this.moduleData.params);
@ -2675,13 +2679,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-themonthtaskcheckdata'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-themonthtaskcheckdata' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/count-themonthtaskcheckdata'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-themonthtaskcheckdata' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-themonthtaskcheckdata' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-themonthtaskcheckdata' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-themonthtaskcheckdata';
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-themonthtaskcheckdata';
}
this.serverData = getJsonData('A0002_10', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0002_10','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-themonthtaskcheckdata', this.moduleData.params);
@ -2712,13 +2716,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/check/v2/release/count-themonthcheckdata'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/check/v2/release/count-themonthcheckdata' + "?" + urlParams;
if(inspectionUrl+'app/check/v2/release/count-themonthcheckdata'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/check/v2/release/count-themonthcheckdata' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/check/v2/release/count-themonthcheckdata' + urlParams;
urlParams = inspectionUrl+'app/check/v2/release/count-themonthcheckdata' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/check/v2/release/count-themonthcheckdata';
urlParams = inspectionUrl+'app/check/v2/release/count-themonthcheckdata';
}
this.serverData = getJsonData('A0002_11', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0002_11','http://192.168.0.120:7006/inspection/app/check/v2/release/count-themonthcheckdata', this.moduleData.params);
@ -2749,13 +2753,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8080/pollutant/app/alarmlog/release/get-nowmonth'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/get-nowmonth' + "?" + urlParams;
if(pollutantUrl+'app/alarmlog/release/get-nowmonth'.indexOf('?') == -1 ) {
urlParams = pollutantUrl+'app/alarmlog/release/get-nowmonth' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/get-nowmonth' + urlParams;
urlParams = pollutantUrl+'app/alarmlog/release/get-nowmonth' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/get-nowmonth';
urlParams = pollutantUrl+'app/alarmlog/release/get-nowmonth';
}
this.serverData = getJsonData('A0002_12', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0002_12','http://192.168.0.120:8080/pollutant/app/alarmlog/release/get-nowmonth', this.moduleData.params);
@ -2813,13 +2817,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8080/pollutant/app/alarmlog/release/list-five'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/list-five' + "?" + urlParams;
if(pollutantUrl+'app/alarmlog/release/list-five'.indexOf('?') == -1 ) {
urlParams = pollutantUrl+'app/alarmlog/release/list-five' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/list-five' + urlParams;
urlParams = pollutantUrl+'app/alarmlog/release/list-five' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/alarmlog/release/list-five';
urlParams = pollutantUrl+'app/alarmlog/release/list-five';
}
this.serverData = getJsonData('A0008_14', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0008_14','http://192.168.0.120:8080/pollutant/app/alarmlog/release/list-five', this.moduleData.params);
@ -2852,13 +2856,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/count-groupuser-enterpriseo'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/count-groupuser-enterpriseo' + "?" + urlParams;
if(inspectionUrl+'app/enterpriseofgridoperator/release/count-groupuser-enterpriseo'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/enterpriseofgridoperator/release/count-groupuser-enterpriseo' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/count-groupuser-enterpriseo' + urlParams;
urlParams = inspectionUrl+'app/enterpriseofgridoperator/release/count-groupuser-enterpriseo' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/count-groupuser-enterpriseo';
urlParams = inspectionUrl+'app/enterpriseofgridoperator/release/count-groupuser-enterpriseo';
}
this.serverData = getJsonData('A0010_15', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0010_15','http://192.168.0.120:7006/inspection/app/enterpriseofgridoperator/release/count-groupuser-enterpriseo', this.moduleData.params);
@ -2891,13 +2895,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8080/pollutant/app/poll/release/listExcessiveCompany'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listExcessiveCompany' + "?" + urlParams;
if(pollutantUrl+'app/poll/release/listExcessiveCompany'.indexOf('?') == -1 ) {
urlParams = pollutantUrl+'app/poll/release/listExcessiveCompany' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listExcessiveCompany' + urlParams;
urlParams = pollutantUrl+'app/poll/release/listExcessiveCompany' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listExcessiveCompany';
urlParams = pollutantUrl+'app/poll/release/listExcessiveCompany';
}
this.serverData = getJsonData('A0013_16', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0013_16','http://192.168.0.120:8080/pollutant/app/poll/release/listExcessiveCompany', this.moduleData.params);
@ -2962,7 +2966,7 @@ var initParticlesJs = function() {
},
N0001_19:{
loopInterval:null, linkParams:{},
targetParams:{id:'N0001_19',templateAreaJump:'1',templateAreaJumpMode:'4',templateAreaJumpUrl:'http://192.168.0.120/inspection/route/taskcheck/v2/list-taskcheck.html', bigdataTemplateJumpUrl:'',bigdataTemplateJumpTitle:'',bigdataTemplateJumpWidth:0,bigdataTemplateJumpHeight:0,bigdataTemplateJumpSize:''},
targetParams:{id:'N0001_19',templateAreaJump:'1',templateAreaJumpMode:'4',templateAreaJumpUrl:'http://106.12.218.237:8081/inspection/route/taskcheck/v2/list-taskcheck.html', bigdataTemplateJumpUrl:'',bigdataTemplateJumpTitle:'',bigdataTemplateJumpWidth:0,bigdataTemplateJumpHeight:0,bigdataTemplateJumpSize:''},
targetLink:function(requestData) {
eventLinkListener(this.targetParams, requestData);
},
@ -3005,13 +3009,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/enterprise/release/count-enterprisetype'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/enterprise/release/count-enterprisetype' + "?" + urlParams;
if(inspectionUrl+'app/enterprise/release/count-enterprisetype'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/enterprise/release/count-enterprisetype' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/enterprise/release/count-enterprisetype' + urlParams;
urlParams = inspectionUrl+'app/enterprise/release/count-enterprisetype' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/enterprise/release/count-enterprisetype';
urlParams = inspectionUrl+'app/enterprise/release/count-enterprisetype';
}
this.serverData = getJsonData('B0002_20', urlParams , this.moduleData.params);
// this.serverData = getJsonData('B0002_20','http://192.168.0.120:7006/inspection/app/enterprise/release/count-enterprisetype', this.moduleData.params);
@ -3044,13 +3048,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata';
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata';
}
this.serverData = getJsonData('Z0007_21', urlParams , this.moduleData.params);
// this.serverData = getJsonData('Z0007_21','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-jiniqu-dept-taskcheckdata', this.moduleData.params);
@ -3104,13 +3108,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-casestatus'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-casestatus' + "?" + urlParams;
if(servicecityUrl+'app/reportcase/v2/release/count-casestatus'.indexOf('?') == -1 ) {
urlParams = servicecityUrl+'app/reportcase/v2/release/count-casestatus' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-casestatus' + urlParams;
urlParams = servicecityUrl+'app/reportcase/v2/release/count-casestatus' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-casestatus';
urlParams = servicecityUrl+'app/reportcase/v2/release/count-casestatus';
}
this.serverData = getJsonData('B0001_23', urlParams , this.moduleData.params);
// this.serverData = getJsonData('B0001_23','http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/count-casestatus', this.moduleData.params);
@ -3123,7 +3127,7 @@ var initParticlesJs = function() {
},
N0001_24:{
loopInterval:null, linkParams:{},
targetParams:{id:'N0001_24',templateAreaJump:'1',templateAreaJumpMode:'1',templateAreaJumpUrl:'', bigdataTemplateJumpUrl:'2021/07/09/e3fe0554-cfac-4947-9c15-4c38413dcd15.html',bigdataTemplateJumpTitle:'企业信息二级页',bigdataTemplateJumpWidth:1920,bigdataTemplateJumpHeight:1080,bigdataTemplateJumpSize:'2'},
targetParams:{id:'N0001_24',templateAreaJump:'1',templateAreaJumpMode:'1',templateAreaJumpUrl:'', bigdataTemplateJumpUrl:'http://106.12.218.237:8081/pollutant/route/bigdatamain/qiyexinxi.html',bigdataTemplateJumpTitle:'企业信息二级页',bigdataTemplateJumpWidth:1920,bigdataTemplateJumpHeight:1080,bigdataTemplateJumpSize:'2'},
targetLink:function(requestData) {
eventLinkListener(this.targetParams, requestData);
},
@ -3166,13 +3170,13 @@ var initParticlesJs = function() {
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8080/pollutant/app/instrument/release/count-st'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8080/pollutant/app/instrument/release/count-st' + "?" + urlParams;
if(pollutantUrl+'app/instrument/release/count-st'.indexOf('?') == -1 ) {
urlParams = pollutantUrl+'app/instrument/release/count-st' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/instrument/release/count-st' + urlParams;
urlParams = pollutantUrl+'app/instrument/release/count-st' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/instrument/release/count-st';
urlParams = pollutantUrl+'app/instrument/release/count-st';
}
this.serverData = getJsonData('A0014_25', urlParams , this.moduleData.params);
// this.serverData = getJsonData('A0014_25','http://192.168.0.120:8080/pollutant/app/instrument/release/count-st', this.moduleData.params);

View File

@ -971,9 +971,9 @@ var initParticlesJs = function() {
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var inspectionPath = "http://192.168.0.120/inspection/"
var pollutantPath = "http://192.168.0.120/pollutant/"
var servicecityPath = "http://192.168.0.120/servicecity/"
var inspectionPath = "http://106.12.218.237:8081/inspection/"
var pollutantPath = "http://106.12.218.237:8081/pollutant/"
var servicecityPath = "http://106.12.218.237:8081/servicecity/"
var globalData = {

View File

@ -989,7 +989,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var servicecityUrl = 'http://192.168.0.120/servicecity/';
var servicecityUrl = 'http://106.12.218.237:8081/servicecity/';
var globalData = {
W0001_0:{
loopInterval:null, linkParams:{},
@ -1076,13 +1076,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-one'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-one' + "?" + urlParams;
if(servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-one'.indexOf('?') == -1 ) {
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-one' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-one' + urlParams;
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-one' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-one';
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-one';
}
this.serverData = getJsonData('C0005_3', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0005_3','http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-one', this.moduleData.params);
@ -1143,7 +1143,7 @@
intervalTime:0,
interval:null,
moduleData:{'id':'A0022_6','data':
{'fontColor':'#fff','url':'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/reportcaselistpage'},
{'fontColor':'#fff','url':servicecityUrl+'app/reportcase/v2/release/reportcaselistpage'},
'list':[
{'field':'caseNumber','title':'案件编号','width':200,'align':'center'},
{'field':'areaName','title':'所在地区','width':100,'align':'center','fixed':''},
@ -1197,13 +1197,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-two'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-two' + "?" + urlParams;
if(servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-two'.indexOf('?') == -1 ) {
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-two' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-two' + urlParams;
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-two' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-two';
urlParams = servicecityUrl+'app/reportcase/v2/release/countcasestatusbutton-two';
}
this.serverData = getJsonData('C0005_7', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0005_7','http://192.168.0.120:8083/servicecity/app/reportcase/v2/release/countcasestatusbutton-two', this.moduleData.params);

View File

@ -866,6 +866,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var pollutantUrl = 'http://106.12.218.237:8081:8080/pollutant/';
var globalData = {
W0001_0:{
loopInterval:null, linkParams:{},
@ -901,7 +902,7 @@
'data':{
'limit':20,
'fontColor':'#fff',
'url':'http://192.168.0.120:8080/pollutant/app/alarmlog/release/listpage'},
'url':pollutantUrl+'app/alarmlog/release/listpage'},
'list':[
{'field':'enterpriseName','title':'企业名称','width':250,'align':'center','fixed':'','templet':''},
{'field':'instrumentName','title':'数采仪名称','width':150,'align':'center','fixed':'','templet':''},
@ -1007,13 +1008,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:8080/pollutant/app/poll/release/listPoll'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listPoll' + "?" + urlParams;
if(pollutantUrl+'app/poll/release/listPoll'.indexOf('?') == -1 ) {
urlParams = pollutantUrl+'app/poll/release/listPoll' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listPoll' + urlParams;
urlParams = pollutantUrl+'app/poll/release/listPoll' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:8080/pollutant/app/poll/release/listPoll';
urlParams = pollutantUrl+'app/poll/release/listPoll';
}
this.serverData = getJsonData('C0004_5', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0004_5','http://192.168.0.120:8080/pollutant/app/poll/release/listPoll', this.moduleData.params);

View File

@ -919,6 +919,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var inspectionUrl = 'http://106.12.218.237:8081/inspection/';
var globalData = {
W0001_0:{
loopInterval:null, linkParams:{},
@ -1014,7 +1015,7 @@
intervalTime:0,
interval:null,
moduleData:{'id':'A0022_4','data':{
'fontColor':'#fff','url':'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/listpagetask-shengtaiwei'},
'fontColor':'#fff','url':inspectionUrl+'app/taskcheck/v2/release/listpagetask-shengtaiwei'},
'list':[
{'field':'taskName','title':'任务名称','width':250,'align':'center'},
{'field':'taskSummary','title':'任务说明','width':200,'align':'center','fixed':''},
@ -1056,13 +1057,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-shengtaiwei'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-shengtaiwei' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/departmentdata-shengtaiwei'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-shengtaiwei' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-shengtaiwei' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-shengtaiwei' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-shengtaiwei';
urlParams = inspectionUrl+'app/taskcheck/v2/release/departmentdata-shengtaiwei';
}
this.serverData = getJsonData('C0005_5', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0005_5','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/departmentdata-shengtaiwei', this.moduleData.params);
@ -1093,13 +1094,13 @@
var urlParams = url.slice(url.indexOf('?')+1);//获取问号后所有的字符串
urlParams = "&" + urlParams;
if(this.linkSwitch.indexOf('selectLink') != -1 && urlParams.length > 1) {
if('http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total'.indexOf('?') == -1 ) {
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total' + "?" + urlParams;
if(inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total'.indexOf('?') == -1 ) {
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total' + "?" + urlParams;
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total' + urlParams;
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total' + urlParams;
}
}else{
urlParams = 'http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total';
urlParams = inspectionUrl+'app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total';
}
this.serverData = getJsonData('C0005_6', urlParams , this.moduleData.params);
// this.serverData = getJsonData('C0005_6','http://192.168.0.120:7006/inspection/app/taskcheck/v2/release/count-shengtaiwei-dept-taskcheckdata-total', this.moduleData.params);

View File

@ -22,7 +22,7 @@
<script type="text/javascript" src="http://117.161.31.148:8098/dataview/assets/js/vendor/safety/ckplayer/ckplayer/ckplayer.js"></script><!-- 视频播放插件 -->
<script type="text/javascript" src="http://117.161.31.148:8098/dataview/assets/js/vendor/safety/waterTank/waterTank.js"></script><!-- 水位显示插件 -->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3&key=G0k574UiHH2TTg6iiAyHZk7FEXcnpIhS"></script>
<script src="http://192.168.0.120:8080/pollutant/assets/js/restajax.js"></script>
<script src="http://106.12.218.237:8081/pollutant/assets/js/restajax.js"></script>
<style type="text/css">
@ -712,6 +712,7 @@
</script>
<script type="text/javascript">
var systemUrl = 'http://117.161.31.148:8098/dataview';
var pollutantUrl = 'http://106.12.218.237:8081/pollutant/';
var globalData = {
W0001_0:{
loopInterval:null, linkParams:{},
@ -744,7 +745,7 @@
intervalTime:0,
interval:null,
moduleData:{'id':'A0022_1','data':{
'fontColor':'#fff','url':'http://192.168.0.120:8080/pollutant/app/instrument/release/listpage'},'list':[
'fontColor':'#fff','url':pollutantUrl+'app/instrument/release/listpage'},'list':[
{'field':'instrumentMn','title':'数采仪编号','width':200,'align':'center'},
{'field':'instrumentName','title':'数采仪名称','width':200,'align':'center','fixed':''},
{'field':'st','title':'系统编码','width':200,'align':'center','fixed':'','templet':'function(row){var rowData = row[this.field];if(typeof(rowData) === "undefined" || rowData == null || rowData == "") { return "-"; } if(rowData == 21) {return "21 地表水监测";} else if(rowData == 22) { return "22 空气质量监测";} else if(rowData == 23) {return "23 区域环境噪声监控";} else if(rowData == 31) {return "31 大气环境污染源";} else if(rowData == 32) { return "32 地表水体环境污染源";} else if(rowData == 33) {return "33 地下水体环境污染源"; } else if(rowData == 34) {return "34 海洋环境污染源";} else if(rowData == 35) {return "35 土壤环境污染源"; } else if(rowData == 36) {return "36 声环境污染源"; } else if(rowData == 37) {return "37 振动环境污染源";} else if(rowData == 38) {return "38 放射性环境污染源";} else if(rowData == 41) {return "41 电磁环境污染源";} else if(rowData == 51) {return "51 烟气排放过程监控";} else if(rowData == 52) {return "52 污水排放过程监控";}return rowData;}'},