...
|
...
|
@@ -719,7 +719,7 @@ |
|
|
IMGS:[]
|
|
|
},
|
|
|
titleDesc:'一.',
|
|
|
title:'产污环节',
|
|
|
title:'噪声类别',
|
|
|
moreBtn:false,
|
|
|
check:-1,
|
|
|
last:false,
|
...
|
...
|
@@ -802,7 +802,7 @@ |
|
|
IMGS:[]
|
|
|
},
|
|
|
titleDesc:'五.',
|
|
|
title:'噪声类别',
|
|
|
title:'执法监测结果',
|
|
|
check:-1,
|
|
|
moreBtn:false,
|
|
|
last:true,
|
...
|
...
|
@@ -1954,8 +1954,53 @@ |
|
|
}
|
|
|
|
|
|
//噪声排放
|
|
|
if(this.param.code == 'zspf'){
|
|
|
if(this.param.code == 'zspf'){
|
|
|
|
|
|
uni.request({
|
|
|
url:this.apiUrl + 'license/noisepull',
|
|
|
method:'get',
|
|
|
data:{companyId:this.companyId,pdoCd:this.param.pdoCd},
|
|
|
success: (res) => {
|
|
|
console.log('噪声排放',res)
|
|
|
for(var k = 0; k < this.checkList.length; k ++){
|
|
|
if(this.checkList[k].tempType == 'radio'){
|
|
|
for(var i = 0; i < this.checkList[k].keyList.length; i++){
|
|
|
for(var j = 0; j < res.data.data.noisebase.length; j ++){
|
|
|
if(this.checkList[k].keyList[i].title == res.data.data.noisebase[j].FIELDCN){
|
|
|
this.checkList[k].keyList[i].id = res.data.data.noisebase[j].ID
|
|
|
if(res.data.data.noisebase[j].FILEDSTATICS){
|
|
|
this.checkList[k].keyList[i].check = parseInt(res.data.data.noisebase[j].FILEDSTATICS)
|
|
|
}else{
|
|
|
this.checkList[k].keyList[i].check = -1
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
for(var k = 0; k < 2; k ++){
|
|
|
console.log(res.data.data.noisevalue[k])
|
|
|
this.checkList[1].keyList[0].subKeyList.push({
|
|
|
ID:res.data.data.noisevalue[k].ID,
|
|
|
FIELDCN:res.data.data.noisevalue[k].FIELDCN,
|
|
|
CONTENT:res.data.data.noisevalue[k].CONTENT,
|
|
|
FILEDSTATICS:res.data.data.noisevalue[k].FILEDSTATICS ? parseInt(res.data.data.noisevalue[k].FILEDSTATICS) : -1
|
|
|
})
|
|
|
}
|
|
|
for(var k = 2; k < 4; k ++){
|
|
|
this.checkList[3].keyList[0].subKeyList.push({
|
|
|
ID:res.data.data.noisevalue[k].ID,
|
|
|
FIELDCN:res.data.data.noisevalue[k].FIELDCN,
|
|
|
CONTENT:res.data.data.noisevalue[k].CONTENT,
|
|
|
FILEDSTATICS:res.data.data.noisevalue[k].FILEDSTATICS ? parseInt(res.data.data.noisevalue[k].FILEDSTATICS) : -1
|
|
|
})
|
|
|
}
|
|
|
|
|
|
}
|
|
|
})
|
|
|
|
|
|
/* uni.request({
|
|
|
url:this.apiUrl + 'license/noiselimit',
|
|
|
method:'get',
|
|
|
data:{itemId:'noisetime'},
|
...
|
...
|
@@ -1984,7 +2029,7 @@ |
|
|
})
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
}) */
|
|
|
}
|
|
|
|
|
|
//委托处置
|
...
|
...
|
@@ -2350,6 +2395,7 @@ |
|
|
thKeyList:(await this.getSubKeyList(subKeyObj.ID)).thKeyList
|
|
|
}
|
|
|
keyList.subKeyList.push(subKey)
|
|
|
console.log('keyList.subKeyList',keyList.subKeyList)
|
|
|
},
|
|
|
getSubKeyList(id){
|
|
|
return new Promise((resolve,reject) => {
|
...
|
...
|
@@ -2360,14 +2406,14 @@ |
|
|
success: (res) => {
|
|
|
var thKeyList = []
|
|
|
for(var i = 0; i < res.data.data.length; i ++){
|
|
|
var choose = -1
|
|
|
var FILEDSTATICS = -1
|
|
|
if(res.data.data[i].FILEDSTATICS){
|
|
|
choose = parseInt(res.data.data[i].FILEDSTATICS)
|
|
|
FILEDSTATICS = parseInt(res.data.data[i].FILEDSTATICS)
|
|
|
}
|
|
|
thKeyList.push({
|
|
|
id:res.data.data[i].ID,
|
|
|
title:res.data.data[i].FIELDCN,
|
|
|
choose:choose
|
|
|
FILEDSTATICS:FILEDSTATICS
|
|
|
})
|
|
|
}
|
|
|
resolve({thKeyList:thKeyList})
|
...
|
...
|
@@ -2388,7 +2434,7 @@ |
|
|
for(var j = 0; j < this.checkList[i].keyList.length; j ++){
|
|
|
for(var k = 0; k < this.checkList[i].keyList[j].subKeyList.length; k ++){
|
|
|
for(var l = 0; l < this.checkList[i].keyList[j].subKeyList[k].thKeyList.length; l ++){
|
|
|
var choose = this.checkList[i].keyList[j].subKeyList[k].thKeyList[l].choose
|
|
|
var choose = this.checkList[i].keyList[j].subKeyList[k].thKeyList[l].FILEDSTATICS
|
|
|
var id = this.checkList[i].keyList[j].subKeyList[k].thKeyList[l].id
|
|
|
if(choose != -1){
|
|
|
saveParam.push({
|
...
|
...
|
|