Browse Source

监督端-执法检查统计-联合检查修改

v4
zouyx 2 years ago
parent
commit
d3752ec856
  1. 13
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html
  2. 0
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsSort.java

13
lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/registration/registration.html

@ -277,7 +277,6 @@
//console.log(uniteNumber); //console.log(uniteNumber);
//console.log(checkCategory); //console.log(checkCategory);
var data1=[]; var data1=[];
var enforcementRegistration={};
window.onload = function () { window.onload = function () {
$("#quarter").hide(); $("#quarter").hide();
$("#month").hide(); $("#month").hide();
@ -376,8 +375,7 @@
formatter:function (value,row,index) { formatter:function (value,row,index) {
if(value !=null && value!=''){ if(value !=null && value!=''){
/*return "<span>是</span>";*/ /*return "<span>是</span>";*/
enforcementRegistration=row; return '<span style="cursor: pointer;color: blue;" ONCLICK="selectUnite(\'' + index + '\')">'+'是'+'</span>';
return '<span style="cursor: pointer;color: blue;" ONCLICK="selectUnite()">'+'是'+'</span>';
}else{ }else{
return "<span>否</span>"; return "<span>否</span>";
} }
@ -1204,15 +1202,14 @@
function closeC(){ function closeC(){
$('#detail').hide(); $('#detail').hide();
} }
function selectUnite(){ function selectUnite(index){
console.log(enforcementRegistration);
$.ajax({ $.ajax({
url:prefix+'/selectUnite', url:prefix+'/selectUnite',
type:'POST', type:'POST',
data:{ data:{
'jd':enforcementRegistration.jd, 'jd':data1.rows[index].jd,
'qy':enforcementRegistration.qy, 'qy':data1.rows[index].qy,
'uniteCheck':enforcementRegistration.uniteCheck, 'uniteCheck':data1.rows[index].uniteCheck,
}, },
success: function (response) { success: function (response) {
$('#detail2').show(); $('#detail2').show();

0
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/java/com/zdxt/code/domain/StatisticsSort.java

Loading…
Cancel
Save