function addRow(list, idx, tpl, row){
	...
	$(list+idx).find("input[type='checkbox'], input[type='radio']").each(function(){
		var cc = $(this).attr('value');
		if(cc=='否'){
			$(this).attr("checked",false);
		}else if(cc=='是'){
			$(this).attr("checked",true);
		}
	});
	...
}
<td>
	<div class="onoffswitch">
		<input type="checkbox" name="onsiteptw.onsiteptw1yfcsList[{{idx}}].infocnt" class="onoffswitch-checkbox" id="onsiteptw1yfcsList{{idx}}_infocnt" value="{{row.infocnt}}"/>
		<label class="onoffswitch-label" for="onsiteptw1yfcsList{{idx}}_infocnt">
			<span class="onoffswitch-inner"></span>
			<span class="onoffswitch-switch"></span>
		</label>
	</div>
</td>
		<script>
		$(function(){

			$("input[type=checkbox]").each(function(){
 				$(this).change(function() {
 					if($(this).is(':checked')){
 						$(this).attr("checked",true);
 						$(this).attr('value','是');
 					}else{
 						$(this).attr("checked",false);
 						$(this).attr('value','否');alert($(this).attr('value'));
 					}
				});

			});
		});

		</script>
	</body>
</html>
04-08 19:10