作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

地方

... ... @@ -340,6 +340,7 @@
<script type="text/javascript" src="__TMPL__/public/assets/assets/js/Augly_Verification.js"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script>
<script type="text/javascript">
var id = {$data.id};
wx.config(
{$jssdk}
);
... ... @@ -502,6 +503,21 @@
}else{
window.location.href="{:url('form/cost','','')}"+'/subjoin_guarantee_deadline_time_arr/'+subjoin_guarantee_deadline_time_arr+'/subjoin_pay_method_price_arr/'+subjoin_pay_method_price_arr+'/payment_time_arr/'+payment_time_arr+'/subjoin_time_arr/'+subjoin_time_arr+'/subjoin_price_arr/'+subjoin_price_arr+'/subjoin_insurance_type_id_arr/'+subjoin_insurance_type_id_arr+'/subjoin_product_name_arr/'+subjoin_product_name_arr+'/insurance_company_id/'+gs+'/product_name/'+cp+'/insurance_type_id/'+lx+'/insurance_price/'+jr+'/pay_method_id/'+jf+'/payment_time/'+qx+'/pay_method_price/'+bf+'/guarantee_deadline_time/'+bzqs+'/insurance_num/'+danhao+'/application/'+toubaor+'/insurer/'+beibaor+'/relation/'+guanxi+'/insurer_birthday/'+shengr+'/insurer_time/'+toubaorq+'/take_time/'+hetongshengxr+'/insure_time/'+baoxianshijian+'/remit/'+beibaorhm+'/remark/'+remark+'/agent_name/'+agent_name+'/agent_phone/'+agent_phone+'/imgs/'+imgs;
}
$.ajax({
url: "{:url('form/edit_post')}",
type: "GET",
data: {'id':id,'subjoin_guarantee_deadline_time_arr':subjoin_guarantee_deadline_time_arr?subjoin_guarantee_deadline_time_arr:0,'subjoin_pay_method_price_arr':subjoin_pay_method_price_arr ? subjoin_pay_method_price_arr : 0,'payment_time_arr':payment_time_arr ? payment_time_arr : 0,'subjoin_time_arr':subjoin_time_arr ? subjoin_time_arr : 0,'subjoin_price_arr':subjoin_price_arr ? subjoin_price_arr : 0,'subjoin_insurance_type_id_arr':subjoin_insurance_type_id_arr ? subjoin_insurance_type_id_arr : 0,'subjoin_product_name_arr':subjoin_product_name_arr ? subjoin_product_name_arr :0,'insurance_company_id':insurance_company_id,'product_name':product_name,'insurance_type_id':insurance_type_id,'insurance_price':insurance_price,'pay_method_id':pay_method_id,'payment_time':payment_time,'pay_method_price':pay_method_price,'guarantee_deadline_time':guarantee_deadline_time,'insurance_num':insurance_num,'application':application,'insurer':insurer,'relation':relation,'insurer_birthday':insurer_birthday,'insurer_time':insurer_time,'take_time':take_time,'insure_time':insure_time,'remit':remit,'remark':remark,'agent_name':agent_name,'agent_phone':agent_phone,'imgs':imgs},
success: function (data) {
var result1 = eval("(" + data + ")");
if(result1.code == 20000){
}else if(result1.code == 40000){
toast(result1.msg)
}else{
toast('与服务器断开连接')
}
}
})
}
})
... ...