- 保障全面的综合意外保险
- 不限社保用药
- 附加公共场所个人责任
';
$("#citySelect").html(html);
$("#oldRestrictGene_key").val($("#city_key").val());
$("#oldRestrictGene_value").val($("#city_old").val());
$("#oldRestrictGene_unit").val($("#city_unit").val());
$("#city").val(nowCity);
layer.msg('算价中,请稍候...',{icon:16,shade:0.01,time:0});
var data = $("#budgetform").serialize();
$.ajax({
type:'POST',
url:'/insurance/getOrderTrial.do',
data:data,
dataType:"text",
async:true,
success : function(result) {
result=JSON.parse(result);
if(result.resultCode=="SUCCESS"){
orderTrialSuccess(result);
}else{
orderTrialFailed();
}
},
error : function(ts) {
orderTrialFailed();
}
});
},
error: function(ts){
}
});
}
function changeCity(self){
var city = $("#citySelect").val();
var name = $("#province").attr("code");
$("#oldRestrictGene_key").val($("#city_key").val());
$("#oldRestrictGene_value").val($("#city_old").val());
$("#oldRestrictGene_unit").val($("#city_unit").val());
$("#city").val(self);
//$("#"+name+"_unit").val(unit);
//$("#"+name+"_bsid").val(selectId);
layer.msg('算价中,请稍候...',{icon:16,shade:0.01,time:0});
var data = $("#budgetform").serialize();
$.ajax({
type:'POST',
url:'/insurance/getOrderTrial.do',
data:data,
dataType:"text",
async:true,
success : function(result) {
result=JSON.parse(result);
if(result.resultCode=="SUCCESS"){
orderTrialSuccess(result);
}else{
orderTrialFailed();
}
},
error : function(ts) {
orderTrialFailed();
}
});
}
function openTab(planId){
//alert(planId);
$('.add_budget').attr("style","display:block");
$('.sq').attr("style","display:block");
$('.zkgd').attr("style","display:none");
}
function closeTab(planId){
//alert("sq");
$('.add_budget').attr("style","display:none");
$('.sq').attr("style","display:none");
$('.zkgd').attr("style","display:block");
}