//Liver function
function is_gangongneng(){
var g0 = $("#gangongneng0").val();
var g1 = $("#gangongneng1").val();
var g3 = $("#gangongneng3").val();
if(g0 =='' && g1=='' &&g3==''){
$("#gangongneng-words").html('');
}else if((g0!='' && g0>41 && g0>=1 ) || (g1!='' && g1 > 37 && g1>=1 ) ||(g3!='' && !( g3 >=2 && g3 <=20)) ){
$("#gangongneng-words").html('<option value="82">肝功能异常</option>')
}else{
$("#gangongneng-words").html('<option value="93">肝功能正常</option>')
}
}
This automatically determines whether it is abnormal.
If you want to write the judgment conditions in the background and let the customer define the judgment conditions in the background, what should you do
女神的闺蜜爱上我2017-06-16 09:20:54
Why do we let customers define judgment conditions in the background! First, how does the customer know the logic of these conditions. The obvious thing is that it can be judged by both the front and back ends!