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

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

Loading…
Cancel
Save