Commit 65d7891f authored by houyu's avatar houyu

施工许可证同步

parent 6fe0ff5f
...@@ -352,32 +352,31 @@ ...@@ -352,32 +352,31 @@
height: 790, height: 790,
scale: 1 scale: 1
}).then(img => { }).then(img => {
$('#sgxkz_img').val(img); // $('#sgxkz_img').val(img);
$("#myform1").submit(); // $("#myform1").submit();
//var params = $('#myform1').serialize(); //var params = $('#myform1').serialize();
//console.log(params); //console.log(params);
<%-- $.ajax({--%> $.ajax({
<%-- url : "fujiantongbu.action",--%> url : "jfpztongbu.action",
<%-- type: 'post',--%> type: 'post',
<%-- dataType: 'json',--%> dataType: 'json',
<%-- async : false,--%> async : false,
<%-- data:{--%> data:{
<%-- "struts.token.name": 'token',--%> xxylb: '${rfxm.xxylbbh}',
<%-- xxylb: '${rfxm.xxylbbh}',--%> file : img
<%-- file : img--%> },
<%-- },--%> error: function(){
<%-- error: function(){--%> $.messager.alert('错误','同步施工许可证失败!');
<%-- $.messager.alert('错误','同步施工许可证失败!');--%> },
<%-- },--%> success: function(data){
<%-- success: function(data){--%> if(data.result){
<%-- if(data.result){--%> $.messager.alert('提示','同步施工许可证成功!');
<%-- $.messager.alert('提示','同步施工许可证成功!');--%> search_dxjl();
<%-- search_dxjl();--%> }else{
<%-- }else{--%> $.messager.alert('错误',data.info);
<%-- $.messager.alert('错误','同步施工许可证失败!');--%> }
<%-- }--%> }
<%-- }--%> });
<%-- });--%>
}) })
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment