关于redio的页面设计

获取zun属性内所有redio的选中情况

var flag=false;
			$(".zun").each(function(){
				var len=$(this).find(":radio:checked").length;
				if(len>14){
					flag=true;
				}else{
					flag=false;
				}
			})
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>申请表</title>
<!-- <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta name="renderer" content="webkit"> -->
<link rel="stylesheet" href="static/ace/css/bootstrap.css" media="screen,print" />
<link type="text/css" rel="stylesheet" href="css\consume\NewDefault.css" />
<link href="css\consume\q.css" rel="stylesheet" type="text/css" />
<link href="css\consume\newsolid_38.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="js/easyui/themes/icon.css" type="text/css"></link>
<link rel="stylesheet" href="js/easyui/themes/default/easyui.css" type="text/css"></link>
<script type="text/javascript" src="js/easyui/jquery.min.js"></script>
<script src="js/jquery-1.8.3.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="static/js/pg/jquery.validationEngine-zh_CN.js"></script>
<script type="text/javascript" src="static/js/pg/jquery.validationEngine.js"></script>
<script type="text/javascript" src="static/js/pg/common.js"></script>
<script type="text/javascript" src="static/js/pg/index.js"></script>
<script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
<style type="text/css">
table,table tr th, table tr td { border:1px solid #ccc; }
table {width: 200px; min-height: 25px; line-height: 25px; text-align: center; border-collapse: collapse;}   
</style>
<script type="text/javascript">
$(function() {
//再次点击取消选中
$("input:radio").click(function(){
                var domName = $(this).attr('name');
                var $radio = $(this);
                if ($radio.data('waschecked') == true){
                    $radio.prop('checked', false);
                    $("input:radio[name='" + domName + "']").data('waschecked',false);
                    //$radio.data('waschecked', false);
                } else {
                    $radio.prop('checked', true);
                    $("input:radio[name='" + domName + "']").data('waschecked',false);
                    $radio.data('waschecked', true);
                }
        });
 //手机校验
  $.extend($.fn.validatebox.defaults.rules, {    
           mobile: {    //第三步,选中校验谁
                  validator: function(value){    //第四步, 具体编写校验规则
                   var reg = /^1[3,5,7,8][0-9]{9}$/;
                   
                      return reg.test(value);
                      
                  },    
                  message: '请输入正确的手机号!'   //第五步,如果输入内容不符合校验规则,出现的提示语.
              }    
   });  
 // 验证身份证
   $.extend($.fn.validatebox.defaults.rules, {
     idcard: {
         validator: function (value) {
             var flag= identityValidate(value); 
             return flag;
         },
         message: '身份证号码格式不正确'
     }
   });
	//宗教信仰
	 $("#religionType").combobox({
	        width: 150,
	        editable: false,
	        url: "sdSysDictController.do?getDictList&dictCode=ZJXY",
	        valueField: 'id',
	        textField: 'dictName',
	    });
	
	//民族
	 $("#nationId").combobox({
	        width: 150,
	        editable: false,
	        url: "sdSysDictController.do?getDictList&dictCode=MZ",
	        valueField: 'id',
	        textField: 'dictName',
	        onLoadSuccess: function(data) {
				$('#marriageId').combobox('select', '${cstmInfo.marriageId}');
				$('#religionType').combobox('select', '${cstmInfo.religionType}');
				$('#nationId').combobox('select', '${cstmInfo.nationId}');
				$('#educationId').combobox('select', '${cstmInfo.educationId}');
			}
        });
    
    
  });
  
function identityValidate(value) {
     var city={11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江 ",31:"上海",
             32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北 ",43:"湖南",
             44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏 ",61:"陕西",
             62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门",91:"国外 "};
     var tip = "";
     var pass= true;
     
     if (!value || !/^[1-9][0-9]{5}(19[0-9]{2}|200[0-9]|2010)(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])[0-9]{3}[0-9xX]$/i.test(value)) {
         tip = "身份证号格式错误";
         pass = false;
     }
     
    else if(!city[value.substr(0,2)]){
         tip = "地址编码错误";
         pass = false;
     }
     else{
         //18位身份证需要验证最后一位校验位
         if(value.length == 18){
             value = value.split('');
             //∑(ai×Wi)(mod 11)
             //加权因子
             var factor = [ 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 ];
             //校验位
             var parity = [ 1, 0, 'X', 9, 8, 7, 6, 5, 4, 3, 2 ];
             var sum = 0;
             var ai = 0;
             var wi = 0;
             for (var i = 0; i < 17; i++)
             {
                 ai = value[i];
                 wi = factor[i];
                 sum += ai * wi;
             }
             var last = parity[sum % 11];
             if(parity[sum % 11] != value[17]){
                 tip = "校验位错误";
                 pass =false;
             }
         }
     }
     return pass;
 }
  
  
 
</script>
<body>
<div id="jqContent" class="ztable" style="text-align: left; ">
	<div id="headerCss" style="overflow-x: hidden; overflow-y: hidden; ">
		<form id="form-app" method="post" enctype="multipart/form-data">
		<input type="hidden" value="${cstmInfo.id }" name="cstmId" id="cstmId"/>
		<input type="hidden" value="${nowdate1 }" name="applyDate" id="applyDate"/>
		<input type="hidden" value="${nowdate1 }" name="memoDate" id="memoDate"/>
		<input type="hidden" name="id" id="id" value="${cstmInfo.demandId}">
		<fieldset>
	<table class="mytable" id="application" style="width:100%">
	 <tr><td colspan="8"><h1 style="font-size:20px;color:blue">盐城市区养老服务需求评估申请表</h1></td></tr>
	 <tr>
	 <td width="20%" colspan="2">姓名</td>
	 <td width="30%"><input value="${cstmInfo.customName }" name="customName" id="customName" style="width:150px;height:50%"  class="easyui-validatebox" data-options="required:true"/></td>
	 <td width="20%" colspan="2">性别</td>
	 <td width="30%">
	 <input type="radio" data-score="1" <c:if test="${cstmInfo.sex==1 }">checked</c:if> name="name_0" id="" class="score1_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">男</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="2" <c:if test="${cstmInfo.sex==2 }">checked</c:if> name="name_0" id="" class="score1_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">女</span></td>
	 </tr>
	 <tr>
	 <td  colspan="2">评估编号</td>
	 <td><input  style="width:150px;height:50%" placeholder="(系统自动生成)" class="easyui-validatebox"  readonly/></td>
	 <td colspan="2">评估日期</td>
	 <td>${nowdate }</td>
	 </tr>
	 <tr>
	 <td colspan="2">评估原因</td>
	 <td  colspan="5" style="height:40px;">
	 <input type="radio" data-score="1" name="name_1" id="" class="score2_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">首次评估</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="2" name="name_1" id="" class="score2_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">复检评估</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="3" name="name_1" id="" class="score2_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">持续评估</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="4" name="name_1" id="" class="score2_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">变更评估</span>
	 </td>
	 </tr>
	 <tr>
	 <td colspan="2">身份证</td>
	 <td><input value="${cstmInfo.idCard }" name="idCard" id="idCard" style="width:150px;height:50%" validType="idcard" class="easyui-validatebox" data-options="required:true"/></td>
	 <td colspan="2">宗教信仰</td>
	 <td><input  style="width:150px;height:20%"  name="religionType" id="religionType" class="easyui-validatebox"/></td>
	 </tr>
	 <tr>
	 <td colspan="2">社保卡号</td>
	 <td><input value= "${cstmInfo.socialNumber }" name="socialNumber" id="socialNumber"  style="width:150px;height:50%" class="easyui-validatebox"/></td>
	  <td colspan="2">民族</td>
	 <td><input  style="width:150px;height:20%" name="nationId" id="nationId" class="easyui-validatebox"/></td>
	 </tr>
	  <tr>
	 <td colspan="2">文化程度</td>
	 <td><select  style="width:150px;height:20%" name="educationId" id="educationId" class="easyui-combobox" data-options="required:false,editable:false">
	                            <option value=""></option>
	                            <option value="0">未知</option>
								<option value="1">小学</option>
								<option value="2">初中</option>
								<option value="3">高中</option>
								<option value="4">大专</option>
								<option value="5">本科</option>
								<option value="6">研究生以上</option>
	 </select></td>
	 <td colspan="2">婚姻状况</td>
	 <td><select  style="width:150px;height:20%" name="marriageId" id="marriageId" class="easyui-combobox" data-options="required:false,editable:false">
	                            <option value=""></option>
	                            <option value="0">未知</option>
								<option value="1">已婚</option>
								<option value="2">未婚</option>
								<option value="3">离异</option>
								<option value="4">丧偶</option>
								<option value="5">再婚</option>
	 </select></td>
	 </tr>
	 <tr>
	  <td colspan="2">医疗支付费用</td>
	 <td  colspan="5"  style="height:80px;">
        <input type="radio" data-score="1" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">城镇职工基本医疗保险</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="2" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">城镇居民基本医疗保险</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="3" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">新型农村合作医疗</span>&nbsp;&nbsp;&nbsp;<br>
	 <input type="radio" data-score="4" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">贫困救助</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="5" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">商业医疗保险</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="6" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">全公费</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="7" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">全自费</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="8" name="name_2" id="ra2" class="score3_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">其他</span>
     <!-- <input  style="width:80px;height:20px"  class="easyui-validatebox" /> -->
     </td>
	 </tr>
	 <tr>
	  <td colspan="2">申请对象</td>
	 <td  colspan="5" style="height:80px;"> 
	 <input type="radio" data-score="1" name="name_31" id="ra4" class="score4_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">城乡五保</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="2" name="name_32" id="ra4" class="score4_2" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">低保或低保边缘</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="3" name="name_33" id="ra4" class="score4_3" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">市级以上劳动模范</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="4" name="name_34" id="ra4" class="score4_4" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">重点优抚对象</span>&nbsp;&nbsp;&nbsp;<br>
	 <input type="radio" data-score="5" name="name_35" id="ra4" class="score4_5" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">归国华侨</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="6" name="name_36" id="ra4" class="score4_6" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">“二无”困难老人</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="7" name="name_37" id="ra4" class="score4_7" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无子女照顾或子女残疾的困难老人</span>&nbsp;&nbsp;&nbsp;<br>
	 <input type="radio" data-score="8" name="name_38" id="ra4" class="score4_8" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">独生子女家庭对象中的困难老人</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="9" name="name_39" id="ra4" class="score4_9" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">其他</span>
	 <!-- <input  style="width:80px;height:20px"  class="easyui-validatebox" data-options="required:false"/> -->
	 </td>
	 </tr>
	   <tr><td rowspan="5" width="10%">疾病诊断</td><td width="10%">慢性疾病</td><td  colspan="5" style="height:40px;">
	                            <c:forEach var="item" items="${majorList}" varStatus="status">
								<input type="radio" data-score="${item.id}" <c:if test="${fn:contains(cstmInfo.chronicDisease,item.id)}">checked="checked"</c:if> name="name_4${status.index+1}" id="" class="score5_${status.index+1}" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">${item.dictName}</span>&nbsp;&nbsp;&nbsp;
			                    </c:forEach>
   <!--   <input type="radio" data-score="1" name="name_41" id="" class="score5_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">高血压</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="2" name="name_42" id="" class="score5_2" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">冠心病</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="3" name="name_43" id="" class="score5_3" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">前列腺增生</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="4" name="name_44" id="" class="score5_4" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">糖尿病</span>&nbsp;&nbsp;&nbsp;
	 <input type="radio" data-score="5" name="name_45" id="" class="score5_5" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">其他</span> -->
     
       </td></tr>
	   <tr><td>重大疾病</td><td  colspan="5"   style="height:160px;">
	     <input type="radio" data-score="1" name="name_51" id="" class="score6_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">恶性肿瘤</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="2" name="name_52" id="" class="score6_2" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">尿毒症透析</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="3" name="name_53" id="" class="score6_3" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">器官移植(含手术后的抗排异治疗)</span>&nbsp;&nbsp;&nbsp;<br>
	     <input type="radio" data-score="4" name="name_54" id="" class="score6_4" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">白血病</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="5" name="name_55" id="" class="score6_5" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">急性心肌梗塞</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="6" name="name_56" id="" class="score6_6" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">脑中风</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="7" name="name_57" id="" class="score6_7" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">脑外伤</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="8" name="name_58" id="" class="score6_8" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">主动脉手术</span>&nbsp;&nbsp;&nbsp;<br>
	     <input type="radio" data-score="9" name="name_59" id="" class="score6_9" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">冠状动脉旁路手术</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="10" name="name_510" id="" class="score6_10" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">慢性肾功能性衰竭</span>&nbsp;&nbsp;&nbsp;
		 <input type="radio" data-score="11" name="name_511" id="" class="score6_11" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">急慢性重症肝炎</span>&nbsp;&nbsp;&nbsp;<br>
		 <input type="radio" data-score="12" name="name_512" id="" class="score6_12" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">危及生命的良性脑瘤</span>&nbsp;&nbsp;&nbsp;
		 <input type="radio" data-score="13" name="name_513" id="" class="score6_13" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">重症糖尿病</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="14" name="name_514" id="" class="score6_14" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">消化道出血</span>&nbsp;&nbsp;&nbsp;<br>
	     <input type="radio" data-score="15" name="name_515" id="" class="score6_15" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">系统性红斑狼疮</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="16" name="name_516" id="" class="score6_16" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">慢性再生障碍性贫血</span>&nbsp;&nbsp;&nbsp;
	     <input type="radio" data-score="17" name="name_517" id="" class="score6_17" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">血友病</span>
	   </td></tr>
	   <tr><td>痴  呆</td><td  colspan="5" style="height:40px;">
          <input type="radio" data-score="1" name="name_6" id="" class="score7_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_6" id="" class="score7_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">轻度</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_6" id="" class="score7_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">中度</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_6" id="" class="score7_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">重度</span>
       </td></tr>
	   <tr><td>精神疾病</td><td  colspan="5" style="height:80px;">
            <input type="radio" data-score="1" name="name_71" id="" class="score8_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	       <input type="radio" data-score="2" name="name_72" id="" class="score8_2" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">精神分裂症</span>&nbsp;&nbsp;&nbsp;
	       <input type="radio" data-score="3" name="name_73" id="" class="score8_3" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">双相情感障碍</span>&nbsp;&nbsp;&nbsp;
	       <input type="radio" data-score="4" name="name_74" id="" class="score8_4" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">偏执性精神障碍</span>&nbsp;&nbsp;&nbsp;<br>
           <input type="radio" data-score="5" name="name_75" id="" class="score8_5" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">分裂情感性障碍</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="6" name="name_76" id="" class="score8_6" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">癫痫所致精神障</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="7" name="name_77" id="" class="score8_7" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">精神发育迟滞伴发精神障碍 </span>
       </td></tr>
	   <tr><td>康复状况</td><td  colspan="5" style="height:40px;">
           <input type="radio" data-score="1" name="name_j" id="" class="score9_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">很差</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_j" id="" class="score9_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">差</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_j" id="" class="score9_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">普通</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_j" id="" class="score9_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">好</span>&nbsp;&nbsp;&nbsp;
		  <input type="radio" data-score="5" name="name_j" id="" class="score9_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">非常好</span>
       </td></tr>
	   
	   <tr><td rowspan="5">近30天内意外事件</td><td>跌倒</td><td  colspan="5"  style="height:40px;">
          <input type="radio" data-score="1" name="name_8" id="" class="scorea_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_8" id="" class="scorea_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过1次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_8" id="" class="scorea_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过2次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_8" id="" class="scorea_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过3次以上</span>&nbsp;&nbsp;&nbsp;
       </tr>
	   <tr><td>走失</td><td  colspan="5"  style="height:40px;">
           <input type="radio" data-score="1" name="name_9" id="" class="scoreb_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_9" id="" class="scoreb_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过1次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_9" id="" class="scoreb_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过2次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_9" id="" class="scoreb_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过3次以上</span>&nbsp;&nbsp;&nbsp;
       </td></tr>
	   <tr><td>噎食</td><td  colspan="5"  style="height:40px;">
	       <input type="radio" data-score="1" name="name_a" id="" class="scorec_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_a" id="" class="scorec_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过1次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_a" id="" class="scorec_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过2次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_a" id="" class="scorec_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过3次以上</span>&nbsp;&nbsp;&nbsp;
       </td></tr>
	   <tr><td>自杀</td><td  colspan="5"  style="height:40px;">
           <input type="radio" data-score="1" name="name_b" id="" class="scored_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">无</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_b" id="" class="scored_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过1次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_b" id="" class="scored_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过2次</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_b" id="" class="scored_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">发生过3次以上</span>&nbsp;&nbsp;&nbsp;
       </td></tr>
	   <tr><td>其他</td><td  colspan="5" id="cstmAccidents" name="cstmAccidents"  style="height:40px;"><input  style="width:400px;height:50%;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid"  class="easyui-validatebox"/></td></tr>
	   
	   <tr><td rowspan="2"  colspan="2">申请养老服务需求</td> <td  colspan="5"  style="text-align:left;">居家养老:
           <input type="radio" data-score="1" name="name_c1" id="" class="scoree_1" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">生活照料</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="2" name="name_c2" id="" class="scoree_2" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">助餐</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="3" name="name_c3" id="" class="scoree_3" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">助浴</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="4" name="name_c4" id="" class="scoree_4" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">医疗保健</span>&nbsp;&nbsp;&nbsp;
		  <input type="radio" data-score="5" name="name_c5" id="" class="scoree_5" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">紧急救助</span>&nbsp;&nbsp;&nbsp;
       </td></tr> 
	   <tr><td  colspan="5"  style="text-align:left;">机构养老:
           <input type="radio" data-score="6" name="name_c6" id="" class="scoree_6" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">自理</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="7" name="name_c7" id="" class="scoree_7" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">介助</span>&nbsp;&nbsp;&nbsp;
	      <input type="radio" data-score="8" name="name_c8" id="" class="scoree_8" style="width:18px;height:18px;vertical-align:middle;text-align:center;"/>
								<span style="font-size:15px;line-height:24px;vertical-align:middle;text-align:center;">介护</span>&nbsp;&nbsp;&nbsp;
       </td></tr> 
	   
	   <tr>
	    <td colspan="2">居住地址</td>
	    <td  colspan="5"><input value="${cstmInfo.homeAddress }" name="homeAddress" id="homeAddress" class="easyui-validatebox" style="width:500px;height:50%;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid" data-options="required:true"/></td>
	   </tr>
	   
	   <tr>
	    <td colspan="2">户籍所在地</td>
	    <td><input value="${cstmInfo.pesidenceAddress }" id="pesidenceAddress" name="pesidenceAddress" style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	    <td colspan="2">邮政编码</td>
	    <td><input value="${cstmInfo.zipCode }" name="zipCode" id="zipCode" style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	    </tr>
	   
	   <tr>
	    <td colspan="2">住宅电话</td>
	    <td><input value="${cstmInfo.homeTel }" id="homeTel" name="homeTel" style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	    <td colspan="2">手机号码</td>
	    <td><input value="${cstmInfo.linkTel }" id="linkTel" name="linkTel" style="width:150px;height:50%"  class="easyui-validatebox" validType="mobile" data-options="required:true"/></td>
	   </tr>
	   
	   <tr>
	    <td colspan="2">代理人姓名</td>
	    <td><input id="applyAgentname" name="applyAgentname" style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	    <td colspan="2">与申请人关系</td>
	    <td><input id="applyAgentrelation" name="applyAgentrelation"   style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	   </tr>
	   
	    <tr>
	    <td colspan="2">代理人地址</td>
	    <td  colspan="5"><input  id="applyAgentaddress" name="applyAgentaddress" class="easyui-validatebox" style="width:500px;height:50%;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid"/></td>
	   </tr>
	   
	   <tr>
	    <td colspan="2">固定电话</td>
	    <td><input  id="applyAgentfixphone" name="applyAgentfixphone" style="width:150px;height:50%"  class="easyui-validatebox"/></td>
	    <td colspan="2">手机号码</td>
	    <td><input id="applyAgentphone" name="applyAgentphone" style="width:150px;height:50%"  class="easyui-validatebox" validType="mobile"/></td>
	   </tr>
	   
	   <tr>
	    <td colspan="2" style="height:100px">社区(村)初审意见</td>
	    <td  colspan="5" ><div style='margin-top:10px;text-align:left;'> 
	    <textarea name="applyMemo" id="applyMemo" class="easyui-validatebox" style="width:80%;height:80px" ></textarea>
	       <p> 负责人:<input id="responsman" name="responsman"  class="easyui-validatebox" style="width:150px;height:50%;margin-left:10px;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	                  联络电话:<input  id="responsphone" name="responsphone" class="easyui-validatebox"  validType="mobile" style="width:150px;height:50%;BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: solid"/></p>
	       <p style='text-align:right;'>${nowdate }</p>
	      </div>
	    </td>
	   </tr>
	</table>
	    </fieldset>
	    <div class="panel-body text-center">
					<input class="submit btn btn_ic" style="background-color: #A0522D;" value="保存" type="button" onclick="">	
				</div>
		</form>
	</div>
</div>

</body>
<script type="text/javascript">
$(function() {
	$(".btn_ic").click(function() {
			var item4="";
			var item5="";
			var item6="";
			var item8="";
			var iteme="";
			var size='${fn:length(majorList)}';
			 var flag=false;
			var item1_1=0; //单选
			var item2_1=0;
			var item3_1=0;
			var item4_0=0;var item4_1=0;var item4_2=0;var item4_3=0;var item4_4=0;var item4_5=0;var item4_6=0;var item4_7=0;var item4_8=0;var item4_9=0;
			var item5_0=0;
		    var item5_1=0;var item5_2=0;var item5_3=0;var item5_4=0;var item5_5=0;var item5_6=0;var item5_7=0;var item5_8=0;var item5_9=0;
			var item6_0=0;var item6_1=0;var item6_2=0;var item6_3=0;var item6_4=0;var item6_5=0;var item6_6=0;var item6_7=0;var item6_8=0;var item6_9=0;var item6_10=0;var item6_11=0;var item6_12=0;var item6_13=0;var item6_14=0;var item6_15=0;var item6_16=0;var item6_17=0;
			var item7_1=0;
			var item8_0=0;var item8_1=0;var item8_2=0;var item8_3=0;var item8_4=0;var item8_5=0;var item8_6=0;var item8_7=0;
			var item9_1=0;
			var itema_1=0;
			var itemb_1=0;
			var itemc_1=0;
			var itemd_1=0;
			var iteme_0=0;var iteme_1=0;var iteme_2=0;var iteme_3=0;var iteme_4=0;var iteme_5=0;var iteme_6=0;var iteme_7=0;var iteme_8=0;
			var cstmName=$("#customName").val();var idCard=$("#idCard").val();var linkTel=$("#linkTel").val();
			   $(":radio:checked.score1_1").each(function() {
					item1_1 = parseInt($(this).data("score"));
				 });//单选
			   $(":radio:checked.score2_1").each(function() {
					item2_1 = parseInt($(this).data("score"));
				 });
			   $(":radio:checked.score3_1").each(function() {
					item3_1 = parseInt($(this).data("score"));
				 });
				 //4
			   $(":radio:checked.score4_1").each(function() {
					item4_1 = parseInt($(this).data("score"));
					if(item4_1!=0){
					   item4+=item4_1+",";
					};
				 });
			   $(":radio:checked.score4_2").each(function() {
					item4_2 = parseInt($(this).data("score"));
					if(item4_2!=0){
					   item4+=item4_2+",";
					};
				 });
			   $(":radio:checked.score4_3").each(function() {
					item4_3 = parseInt($(this).data("score"));
					if(item4_3!=0){
					   item4+=item4_3+",";
					};
				 });
			   $(":radio:checked.score4_4").each(function() {
					item4_4 = parseInt($(this).data("score"));
					if(item4_4!=0){
					   item4+=item4_4+",";
					};
				 });
			   $(":radio:checked.score4_5").each(function() {
					item4_5 = parseInt($(this).data("score"));
					if(item4_5!=0){
					   item4+=item4_5+",";
					};
				 });
			   $(":radio:checked.score4_6").each(function() {
					item4_6 = parseInt($(this).data("score"));
					if(item4_6!=0){
					   item4+=item4_6+",";
					};
				 });
			   $(":radio:checked.score4_7").each(function() {
					item4_7 = parseInt($(this).data("score"));
					if(item4_7!=0){
					   item4+=item4_7+",";
					};
				 });
			   $(":radio:checked.score4_8").each(function() {
					item4_8 = parseInt($(this).data("score"));
					if(item4_8!=0){
					   item4+=item4_8+",";
					};
				 });
			   $(":radio:checked.score4_9").each(function() {
					item4_9 = parseInt($(this).data("score"));
					if(item4_9!=0){
					   item4+=item4_9;
					};
				 });
			   if(item4_1 !=0 ||item4_2!=0||item4_3!=0||item4_4!=0||item4_5!=0||item4_6!=0||item4_7!=0||item4_8!=0||item4_9!=0){
				   item4_0=1;
				 };
				 //5
			   $(":radio:checked.score5_1").each(function() {
					item5_1 = parseInt($(this).data("score"));
					if(item5_1!=0){
					   item5+=item5_1+",";
					};
				 });
			    $(":radio:checked.score5_2").each(function() {
					item5_2 = parseInt($(this).data("score"));
					if(item5_2!=0){
					   item5+=item5_2+",";
					};
				 });
			   $(":radio:checked.score5_3").each(function() {
					item5_3 = parseInt($(this).data("score"));
					if(item5_3!=0){
					   item5+=item5_3+",";
					};
				 });
			   $(":radio:checked.score5_4").each(function() {
					item5_4 = parseInt($(this).data("score"));
					if(item5_4!=0){
					   item5+=item5_4+",";
					};
				 });
			   $(":radio:checked.score5_5").each(function() {
					item5_5 = parseInt($(this).data("score"));
					if(item5_5!=0){
					   item5+=item5_5+",";
					};
				 }); 
			   $(":radio:checked.score5_6").each(function() {
					item5_6 = parseInt($(this).data("score"));
					if(item5_6!=0){
					   item5+=item5_6+",";
					};
				 });
			   $(":radio:checked.score5_7").each(function() {
					item5_7 = parseInt($(this).data("score"));
					if(item5_7!=0){
					   item5+=item5_7+",";
					};
				 }); 
			   $(":radio:checked.score5_8").each(function() {
					item5_8 = parseInt($(this).data("score"));
					if(item5_8!=0){
					   item5+=item5_8+",";
					};
				 }); 
			   $(":radio:checked.score5_9").each(function() {
					item5_9 = parseInt($(this).data("score"));
					if(item5_9!=0){
					   item5+=item5_9;
					};
				 });  
				if(item5_1 !=0 ||item5_2!=0||item5_3!=0||item5_4!=0||item5_5!=0||item5_6!=0||item5_7!=0||item5_8!=0||item5_9!=0){
				   item5_0=1;
				 }; 
				 //6
			   $(":radio:checked.score6_1").each(function() {
					item6_1 = parseInt($(this).data("score"));
					if(item6_1!=0){
					   item6+=item6_1+",";
					};
				 });
			   $(":radio:checked.score6_2").each(function() {
					item6_2 = parseInt($(this).data("score"));
					if(item6_2!=0){
					   item6+=item6_2+",";
					};
				 });
			   $(":radio:checked.score6_3").each(function() {
					item6_3 = parseInt($(this).data("score"));
					if(item6_3!=0){
					   item6+=item6_3+",";
					};
				 });
			   $(":radio:checked.score6_4").each(function() {
					item6_4 = parseInt($(this).data("score"));
					if(item6_4!=0){
					   item6+=item6_4+",";
					};
				 });
			   $(":radio:checked.score6_5").each(function() {
					item6_5 = parseInt($(this).data("score"));
					if(item6_5!=0){
					   item6+=item6_5+",";
					};
				 });
			   $(":radio:checked.score6_6").each(function() {
					item6_6 = parseInt($(this).data("score"));
					if(item6_6!=0){
					   item6+=item6_6+",";
					};
				 });
			   $(":radio:checked.score6_7").each(function() {
					item6_7 = parseInt($(this).data("score"));
					if(item6_7!=0){
					   item6+=item6_7+",";
					};
				 });
			   $(":radio:checked.score6_8").each(function() {
					item6_8 = parseInt($(this).data("score"));
					if(item6_8!=0){
					   item6+=item6_8+",";
					};
				 });
			   $(":radio:checked.score6_9").each(function() {
					item6_9 = parseInt($(this).data("score"));
					if(item6_9!=0){
					   item6+=item6_9+",";
					};
				 });
			   $(":radio:checked.score6_10").each(function() {
					item6_10 = parseInt($(this).data("score"));
					if(item6_10!=0){
					   item6+=item6_10+",";
					};
				 });
			   $(":radio:checked.score6_11").each(function() {
					item6_11 = parseInt($(this).data("score"));
					if(item6_11!=0){
					   item6+=item6_11+",";
					};
				 });
			   $(":radio:checked.score6_12").each(function() {
					item6_12 = parseInt($(this).data("score"));
					if(item6_12!=0){
					   item6+=item6_12+",";
					};
				 });
			   $(":radio:checked.score6_13").each(function() {
					item6_13 = parseInt($(this).data("score"));
					if(item6_13!=0){
					   item6+=item6_13+",";
					};
				 });
			   $(":radio:checked.score6_14").each(function() {
					item6_14 = parseInt($(this).data("score"));
					if(item6_14!=0){
					   item6+=item6_14+",";
					};
				 });
			   $(":radio:checked.score6_15").each(function() {
					item6_15 = parseInt($(this).data("score"));
					if(item6_15!=0){
					   item6+=item6_15+",";
					};
				 });
			   $(":radio:checked.score6_16").each(function() {
					item6_16 = parseInt($(this).data("score"));
					if(item6_16!=0){
					   item6+=item6_16+",";
					};
				 });
			   $(":radio:checked.score6_17").each(function() {
					item6_17 = parseInt($(this).data("score"));
					if(item6_17!=0){
					   item6+=item6_17;
					};
				 });
			   if(item6_1 !=0 ||item6_2!=0||item6_3!=0||item6_4!=0||item6_5!=0||item6_6!=0||item6_7!=0||item6_8!=0||item6_9!=0||item6_10!=0||item6_11!=0||item6_12!=0||item6_13!=0||item6_14!=0||item6_15!=0||item6_16!=0||item6_17!=0){
				   item6_0=1;
				 };
				 //7
			   $(":radio:checked.score7_1").each(function() {
					item7_1 = parseInt($(this).data("score"));
				 });
				 //8
			    $(":radio:checked.score8_1").each(function() {
					item8_1 = parseInt($(this).data("score"));
					if(item8_1!=0){
					   item8+=item8_1+",";
					};
				 });
			   $(":radio:checked.score8_2").each(function() {
					item8_2 = parseInt($(this).data("score"));
					if(item8_2!=0){
					   item8+=item8_2+",";
					};
				 });
			   $(":radio:checked.score8_3").each(function() {
					item8_3 = parseInt($(this).data("score"));
					if(item8_3!=0){
					   item8+=item8_3+",";
					};
				 });
			   $(":radio:checked.score8_4").each(function() {
					item8_4 = parseInt($(this).data("score"));
					if(item8_4!=0){
					   item8+=item8_4+",";
					};
				 });
			   $(":radio:checked.score8_5").each(function() {
					item8_5 = parseInt($(this).data("score"));
					if(item8_5!=0){
					   item8+=item8_5+",";
					};
				 });
			   $(":radio:checked.score8_6").each(function() {
					item8_6 = parseInt($(this).data("score"));
					if(item8_6!=0){
					   item8+=item8_6+",";
					};
				 });
			   $(":radio:checked.score8_7").each(function() {
					item8_7 = parseInt($(this).data("score"));
					if(item8_7!=0){
					   item8+=item8_7;
					};
				 });
				if(item8_1 !=0 ||item8_2!=0||item8_3!=0||item8_4!=0||item8_5!=0||item8_6!=0||item8_7!=0){
				   item8_0=1;
				 };
			//9
			   $(":radio:checked.score9_1").each(function() {
					item9_1 = parseInt($(this).data("score"));
				 });
			   //a
			   $(":radio:checked.scorea_1").each(function() {
					itema_1 = parseInt($(this).data("score"));
				 });
			   //b
			   $(":radio:checked.scoreb_1").each(function() {
					itemb_1 = parseInt($(this).data("score"));
				 });
			   //c
			   $(":radio:checked.scorec_1").each(function() {
					itemc_1 = parseInt($(this).data("score"));
				 });
			   //d
			    $(":radio:checked.scored_1").each(function() {
					itemd_1 = parseInt($(this).data("score"));
				 });
			  //e
			  $(":radio:checked.scoree_1").each(function() {
					iteme_1 = parseInt($(this).data("score"));
					if(iteme_1!=0){
					   iteme+=iteme_1+",";
					};
				 });
			  $(":radio:checked.scoree_2").each(function() {
					iteme_2 = parseInt($(this).data("score"));
					if(iteme_2!=0){
					   iteme+=iteme_2+",";
					};
				 });
			   $(":radio:checked.scoree_3").each(function() {
					iteme_3 = parseInt($(this).data("score"));
					if(iteme_3!=0){
					   iteme+=iteme_3+",";
					};
				 });
			  $(":radio:checked.scoree_4").each(function() {
					iteme_4 = parseInt($(this).data("score"));
					if(iteme_4!=0){
					   iteme+=iteme_4+",";
					};
				 });
			  $(":radio:checked.scoree_5").each(function() {
					iteme_5 = parseInt($(this).data("score"));
					if(iteme_5!=0){
					   iteme+=iteme_5+",";
					};
				 });
			  $(":radio:checked.scoree_6").each(function() {
					iteme_6 = parseInt($(this).data("score"));
					if(iteme_6!=0){
					   iteme+=iteme_6+",";
					};
				 });
			  $(":radio:checked.scoree_7").each(function() {
					iteme_7 = parseInt($(this).data("score"));
					if(iteme_7!=0){
					   iteme+=iteme_7+",";
					};
				 });
			  $(":radio:checked.scoree_8").each(function() {
					iteme_8 = parseInt($(this).data("score"));
					if(iteme_8!=0){
					   iteme+=iteme_8;
					};
				 });
			  if(iteme_1 !=0 ||iteme_2!=0||iteme_3!=0||iteme_4!=0||iteme_5!=0||iteme_6!=0||iteme_7!=0||iteme_8!=0){
				   iteme_0=1;
				 };
			  if(item1_1 !=0 && item2_1!=0 && item3_1!=0 && item4_0!=0 && item7_1!=0 && item8_0!=0 && item9_1 !=0 && itema_1!=0 && itemb_1!=0 && itemc_1!=0 && itemd_1!=0 && iteme_0 !=0 && cstmName!=null && idCard!=null && linkTel!=null){
					flag=true;
				}else{
					flag=false;
				}
			  if(flag){
			    $.ajax({
					type: "POST",
					async: false,
					url: "assessmentController.do?savePgApply",
					dataType: "JSON",
					data: {
						id: $("#id").val(),
						applyDate:$("#applyDate").val(),
						memoDate:$("#memoDate").val(),
						cstmId: $("#cstmId").val(),
						cstmName: $("#customName").val(),
						socialNumber:$("#socialNumber").val(),
						idCard:$("#idCard").val(),
						religionType:$("#religionType").combobox('getValue'),
						nationId:$("#nationId").combobox('getValue'),
						educationId:$("#educationId").combobox('getValue'),
						marriageId:$("#marriageId").combobox('getValue'),
						cstmAccidents:$("#cstmAccidents").val(),
						homeAddress:$("#homeAddress").val(),
						pesidenceAddress:$("#pesidenceAddress").val(),
						zipCode:$("#zipCode").val(),
						homeTel:$("#homeTel").val(),
						linkTel:$("#linkTel").val(),
						applyAgentname:$("#applyAgentname").val(),
						applyAgentrelation:$("#applyAgentrelation").val(),
						applyAgentaddress:$("#applyAgentaddress").val(),
						applyAgentfixphone:$("#applyAgentfixphone").val(),
						applyAgentphone:$("#applyAgentphone").val(),
						applyMemo:$("#applyMemo").val(),
						responsman:$("#responsman").val(),
						responsphone:$("#responsphone").val(),
						 it1:item1_1,
			             it2:item2_1,
			             it3:item3_1,
			             it4:item4,
			             it5:item5,
			             it6:item6,
			             it7:item7_1,
			             it8:item8,
			             it9:item9_1,
			             ita:itema_1,
			             itb:itemb_1,
			             itc:itemc_1,
			             itd:itemd_1,
			             ite:iteme
					},
					error: function(request) {
						parent.$.messager.show({title: '提示',msg: result.msg});
					},
					success: function(result) {
						/* var id = result.obj;
						var hiddenId = parent.document.getElementById("id");
						hiddenId.value = id; */
						parent.$.messager.show({title: '提示',msg: result.msg});
						/* parent.changeTab1(); */
						parent.closeTabByTitle('填写申请表');
					}
				});
			  }else{
				    parent.$.messager.show({title: '提示',msg: '请检查是否有漏填(漏选)!'});
			  }
	});
});			
</script>

//后台
@RequestMapping(params = “abilityApplication”)
public ModelAndView abilityApplication(HttpServletRequest request) {
Date ss = new Date();
int cstmId = Integer.parseInt(request.getParameter(“cstmId”));
SdCstmInfo cstmInfo = assessmentService.get(SdCstmInfo.class, cstmId);
request.setAttribute(“cstmInfo”, cstmInfo);
SimpleDateFormat format = new SimpleDateFormat(“yyyy年MM月dd日”);
SimpleDateFormat format1 = new SimpleDateFormat(“yyyy-MM-dd”);
request.setAttribute(“nowdate”, format.format(ss.getTime()));
request.setAttribute(“nowdate1”, format1.format(ss.getTime()));
String majorDiseases=“ZYJB”;//主要疾病
List majorList = sysDictService.getDictListByKey(majorDiseases);
request.setAttribute(“majorList”,majorList);
return new ModelAndView(“home/assessment/ability_application”);
}

@RequestMapping(params = "savePgApply")
@ResponseBody
public AjaxJson savePgApply(HttpServletRequest request, PgApplyInfo info) {
	AjaxJson j = new AjaxJson();
	SdCstmInfo item = null;
	CCAgentUser user=ResourceUtil.getSessionUserName();
	if(info.getCstmId()!=null)
		item=assessmentService.getEntity(SdCstmInfo.class, info.getCstmId());
	try {
		if(item!=null){
			Map<String, Object> params = new HashMap<String, Object>();
			String hql = "select count(*) from PgApplyInfo t where date(t.applyDate) = date(now()) and corpId="+user.getCorpId();
			Long count=assessmentService.count(hql, params)+ 1;
			SimpleDateFormat date_sdf = new SimpleDateFormat("yyyyMMdd");
			String str = date_sdf.format(new Date());
			String orderCode = "PG" + str;
			DecimalFormat df = new DecimalFormat("0000");
			str = df.format(count);
			orderCode += str;
		info.setCorpId(user.getCorpId());
		info.setApplyNumber(orderCode);
		item.setCustomName(info.getCstmName());
		item.setSex((short)Integer.parseInt(info.getIt1()));
		item.setIdCard(info.getIdCard());
		if(info.getReligionType()!=null){
		item.setReligionType((short)Integer.parseInt(info.getReligionType()));}
		if(info.getEducationId()!=null){
		item.setEducationId((short)Integer.parseInt(info.getEducationId()));}
		if(info.getReligionType()!=null){
		item.setReligionType((short)Integer.parseInt(info.getReligionType()));}
		if(info.getNationId()!=null){
		item.setNationId((short)Integer.parseInt(info.getNationId()));}
		if(info.getMarriageId()!=null){
		item.setMarriageId((short)Integer.parseInt(info.getMarriageId()));}
		if(info.getHomeAddress()!=null)
		item.setHomeAddress(info.getHomeAddress());
		if(info.getPesidenceAddress()!=null)
		item.setPesidenceAddress(info.getPesidenceAddress());
		if(info.getZipCode()!=null)
		item.setZipCode(info.getZipCode());
		if(info.getHomeTel()!=null)
		item.setHomeTel(info.getHomeTel());
		if(info.getLinkTel()!=null)
		item.setLinkTel(info.getLinkTel());
		if(info.getIt5()!=null)
		item.setChronicDisease(info.getIt5());
		
		info.setApplyReason(Integer.parseInt(info.getIt2()));
		info.setMedicalPay(Integer.parseInt(info.getIt3()));
		if(info.getIt4()!=null)
		info.setApplyCstmType(info.getIt4());
		if(info.getIt5()!=null)
		info.setChronic(info.getIt5());
		if(info.getIt6()!=null)
		info.setCstmBigdisease(info.getIt6());
		info.setCstmIq(Integer.parseInt(info.getIt7()));
		if(info.getIt8()!=null)
		info.setCstmSpirit(info.getIt8());
		info.setCstmRehabilitation(Integer.parseInt(info.getIt9()));
		info.setCstmFall(Integer.parseInt(info.getIta()));
		info.setCstmLoss(Integer.parseInt(info.getItb()));
		info.setCstmChoking(Integer.parseInt(info.getItc()));
		info.setCstmSelfkill(Integer.parseInt(info.getItd()));
		if(info.getIte()!=null)
		info.setApplyType(info.getIte());
		assessmentService.save(info);
		assessmentService.updateEntitie(item);
		}
	} catch (Exception e) {
		j.setSuccess(false);
		j.setMsg("保存失败");
		e.printStackTrace();
	}
	return j;
}

``
//实体
package com.sdcc.home.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Transient;

import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Formula;

/**

  • CcCityInfo entity. @author MyEclipse Persistence Tools
    */
    @Entity
    @Table(name = “pg_apply_info”)
    public class PgApplyInfo implements java.io.Serializable {

    private Integer id;
    private Integer corpId;
    private Integer cstmId;
    private String cstmName;
    private String applyNumber;
    private String applyDate;
    private Integer applyReason;
    private Integer medicalPay;
    private String applyCstmType;
    private String chronic;
    private String cstmBigdisease;
    private Integer cstmIq;
    private String cstmSpirit;
    private Integer cstmRehabilitation;
    private Integer cstmFall;
    private Integer cstmLoss;
    private Integer cstmChoking;
    private Integer cstmSelfkill;
    private String cstmAccidents;
    private String applyType;
    private String applyAgentname;
    private String applyAgentrelation;
    private String applyAgentaddress;
    private String applyAgentfixphone;
    private String applyAgentphone;
    private String applyMemo;
    private String responsman;
    private String responsphone;
    private String memoDate;

    //无关属性
    private String it1;
    private String it2;
    private String it3;
    private String it4;
    private String it5;
    private String it6;
    private String it7;
    private String it8;
    private String it9;
    private String ita;
    private String itb;
    private String itc;
    private String itd;
    private String ite;
    private String idCard;
    private String homeAddress;
    private String pesidenceAddress;
    private String zipCode;
    private String homeTel;
    private String linkTel;
    private String religionType;
    private String nationId;
    private String educationId;
    private String marriageId;
    private String socialNumber;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = “id”, unique = true, nullable = false)
    public Integer getId() {
    return id;
    }
    public void setId(Integer id) {
    this.id = id;
    }
    @Column(name=“corp_id”)
    public Integer getCorpId() {
    return corpId;
    }
    public void setCorpId(Integer corpId) {
    this.corpId = corpId;
    }
    @Column(name=“cstm_id”)
    public Integer getCstmId() {
    return cstmId;
    }
    public void setCstmId(Integer cstmId) {
    this.cstmId = cstmId;
    }
    @Column(name=“cstm_name”)
    public String getCstmName() {
    return cstmName;
    }
    public void setCstmName(String cstmName) {
    this.cstmName = cstmName;
    }
    @Column(name=“apply_number”)
    public String getApplyNumber() {
    return applyNumber;
    }
    public void setApplyNumber(String applyNumber) {
    this.applyNumber = applyNumber;
    }
    @Column(name=“apply_date”)
    public String getApplyDate() {
    return applyDate;
    }
    public void setApplyDate(String applyDate) {
    this.applyDate = applyDate;
    }
    @Column(name=“apply_reason”)
    public Integer getApplyReason() {
    return applyReason;
    }
    public void setApplyReason(Integer applyReason) {
    this.applyReason = applyReason;
    }
    @Column(name=“medical_pay”)
    public Integer getMedicalPay() {
    return medicalPay;
    }
    public void setMedicalPay(Integer medicalPay) {
    this.medicalPay = medicalPay;
    }
    @Column(name=“apply_cstm_type”)
    public String getApplyCstmType() {
    return applyCstmType;
    }
    public void setApplyCstmType(String applyCstmType) {
    this.applyCstmType = applyCstmType;
    }
    @Column(name=“chronic”)
    public String getChronic() {
    return chronic;
    }
    public void setChronic(String chronic) {
    this.chronic = chronic;
    }
    @Column(name=“cstm_bigdisease”)
    public String getCstmBigdisease() {
    return cstmBigdisease;
    }
    public void setCstmBigdisease(String cstmBigdisease) {
    this.cstmBigdisease = cstmBigdisease;
    }
    @Column(name=“cstm_iq”)
    public Integer getCstmIq() {
    return cstmIq;
    }
    public void setCstmIq(Integer cstmIq) {
    this.cstmIq = cstmIq;
    }
    @Column(name=“cstm_spirit”)
    public String getCstmSpirit() {
    return cstmSpirit;
    }
    public void setCstmSpirit(String cstmSpirit) {
    this.cstmSpirit = cstmSpirit;
    }
    @Column(name=“cstm_rehabilitation”)
    public Integer getCstmRehabilitation() {
    return cstmRehabilitation;
    }
    public void setCstmRehabilitation(Integer cstmRehabilitation) {
    this.cstmRehabilitation = cstmRehabilitation;
    }
    @Column(name=“cstm_fall”)
    public Integer getCstmFall() {
    return cstmFall;
    }
    public void setCstmFall(Integer cstmFall) {
    this.cstmFall = cstmFall;
    }
    @Column(name=“cstm_loss”)
    public Integer getCstmLoss() {
    return cstmLoss;
    }
    public void setCstmLoss(Integer cstmLoss) {
    this.cstmLoss = cstmLoss;
    }
    @Column(name=“cstm_choking”)
    public Integer getCstmChoking() {
    return cstmChoking;
    }
    public void setCstmChoking(Integer cstmChoking) {
    this.cstmChoking = cstmChoking;
    }
    @Column(name=“cstm_selfkill”)
    public Integer getCstmSelfkill() {
    return cstmSelfkill;
    }
    public void setCstmSelfkill(Integer cstmSelfkill) {
    this.cstmSelfkill = cstmSelfkill;
    }
    @Column(name=“cstm_accidents”)
    public String getCstmAccidents() {
    return cstmAccidents;
    }
    public void setCstmAccidents(String cstmAccidents) {
    this.cstmAccidents = cstmAccidents;
    }
    @Column(name=“apply_type”)
    public String getApplyType() {
    return applyType;
    }
    public void setApplyType(String applyType) {
    this.applyType = applyType;
    }
    @Column(name=“apply_agentname”)
    public String getApplyAgentname() {
    return applyAgentname;
    }
    public void setApplyAgentname(String applyAgentname) {
    this.applyAgentname = applyAgentname;
    }
    @Column(name=“apply_agentrelation”)
    public String getApplyAgentrelation() {
    return applyAgentrelation;
    }
    public void setApplyAgentrelation(String applyAgentrelation) {
    this.applyAgentrelation = applyAgentrelation;
    }
    @Column(name=“apply_agentaddress”)
    public String getApplyAgentaddress() {
    return applyAgentaddress;
    }
    public void setApplyAgentaddress(String applyAgentaddress) {
    this.applyAgentaddress = applyAgentaddress;
    }
    @Column(name=“apply_agentfixphone”)
    public String getApplyAgentfixphone() {
    return applyAgentfixphone;
    }
    public void setApplyAgentfixphone(String applyAgentfixphone) {
    this.applyAgentfixphone = applyAgentfixphone;
    }
    @Column(name=“apply_agentphone”)
    public String getApplyAgentphone() {
    return applyAgentphone;
    }
    public void setApplyAgentphone(String applyAgentphone) {
    this.applyAgentphone = applyAgentphone;
    }
    @Column(name=“apply_memo”)
    public String getApplyMemo() {
    return applyMemo;
    }
    public void setApplyMemo(String applyMemo) {
    this.applyMemo = applyMemo;
    }
    @Column(name=“responsman”)
    public String getResponsman() {
    return responsman;
    }
    public void setResponsman(String responsman) {
    this.responsman = responsman;
    }
    @Column(name=“responsphone”)
    public String getResponsphone() {
    return responsphone;
    }
    public void setResponsphone(String responsphone) {
    this.responsphone = responsphone;
    }
    @Column(name=“memo_date”)
    public String getMemoDate() {
    return memoDate;
    }
    public void setMemoDate(String memoDate) {
    this.memoDate = memoDate;
    }
    @Transient
    public String getIt1() {
    return it1;
    }
    public void setIt1(String it1) {
    this.it1 = it1;
    }
    @Transient
    public String getIt2() {
    return it2;
    }
    public void setIt2(String it2) {
    this.it2 = it2;
    }
    @Transient
    public String getIt3() {
    return it3;
    }
    public void setIt3(String it3) {
    this.it3 = it3;
    }
    @Transient
    public String getIt4() {
    return it4;
    }
    public void setIt4(String it4) {
    this.it4 = it4;
    }
    @Transient
    public String getIt5() {
    return it5;
    }
    public void setIt5(String it5) {
    this.it5 = it5;
    }
    @Transient
    public String getIt6() {
    return it6;
    }
    public void setIt6(String it6) {
    this.it6 = it6;
    }
    @Transient
    public String getIt7() {
    return it7;
    }
    public void setIt7(String it7) {
    this.it7 = it7;
    }
    @Transient
    public String getIt8() {
    return it8;
    }
    public void setIt8(String it8) {
    this.it8 = it8;
    }
    @Transient
    public String getIt9() {
    return it9;
    }
    public void setIt9(String it9) {
    this.it9 = it9;
    }
    @Transient
    public String getIta() {
    return ita;
    }
    public void setIta(String ita) {
    this.ita = ita;
    }
    @Transient
    public String getItb() {
    return itb;
    }
    public void setItb(String itb) {
    this.itb = itb;
    }
    @Transient
    public String getItc() {
    return itc;
    }
    public void setItc(String itc) {
    this.itc = itc;
    }
    @Transient
    public String getItd() {
    return itd;
    }
    public void setItd(String itd) {
    this.itd = itd;
    }
    @Transient
    public String getIte() {
    return ite;
    }
    public void setIte(String ite) {
    this.ite = ite;
    }
    @Transient
    public String getIdCard() {
    return idCard;
    }
    public void setIdCard(String idCard) {
    this.idCard = idCard;
    }
    @Transient
    public String getHomeAddress() {
    return homeAddress;
    }
    public void setHomeAddress(String homeAddress) {
    this.homeAddress = homeAddress;
    }
    @Transient
    public String getPesidenceAddress() {
    return pesidenceAddress;
    }
    public void setPesidenceAddress(String pesidenceAddress) {
    this.pesidenceAddress = pesidenceAddress;
    }
    @Transient
    public String getZipCode() {
    return zipCode;
    }
    public void setZipCode(String zipCode) {
    this.zipCode = zipCode;
    }
    @Transient
    public String getHomeTel() {
    return homeTel;
    }
    public void setHomeTel(String homeTel) {
    this.homeTel = homeTel;
    }
    @Transient
    public String getLinkTel() {
    return linkTel;
    }
    public void setLinkTel(String linkTel) {
    this.linkTel = linkTel;
    }
    @Transient
    public String getReligionType() {
    return religionType;
    }
    public void setReligionType(String religionType) {
    this.religionType = religionType;
    }
    @Transient
    public String getNationId() {
    return nationId;
    }
    public void setNationId(String nationId) {
    this.nationId = nationId;
    }
    @Transient
    public String getEducationId() {
    return educationId;
    }
    public void setEducationId(String educationId) {
    this.educationId = educationId;
    }
    @Transient
    public String getMarriageId() {
    return marriageId;
    }
    public void setMarriageId(String marriageId) {
    this.marriageId = marriageId;
    }
    @Transient
    public String getSocialNumber() {
    return socialNumber;
    }
    public void setSocialNumber(String socialNumber) {
    this.socialNumber = socialNumber;
    }

}



  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值