|
|
|
@ -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(); |
|
|
|
|