var request = getRequest(), prescriptionCode = request.prescriptionCode, fv_id = request.fv_id, type = request.type, state = request.state, //问卷状态 project_id = request.projectId; var project_data = {}; $(function(){ if(state == 2){ //未填写 $("#fvBtn").hide(); }else{ $("#fvBtn").show(); } //获得模板中的数据显示 var arr = project_id.split(","); for(i=0; i