/*访问后台的代码*/ layui.define([], function(exports) { var api={ updateXzxUserVehicleInfo:function(form,userId,storageId,relId,callback){ Lib.submitForm("/admin/xzxUserVehicleInfo/edit.json",form,{"userId":userId,"storageId":storageId,"relId":relId},callback) }, addXzxUserVehicleInfo:function(form,userId,storageId,callback){ Lib.submitForm("/admin/xzxUserVehicleInfo/add.json",form,{"userId":userId,"storageId":storageId},callback) }, del:function(ids,callback){ Common.post("/admin/xzxUserVehicleInfo/delete.json",{"ids":ids},function(){ callback(); }) } , exportExcel:function(form,callback){ var formPara = form.serializeJson(); Common.post("/admin/xzxUserVehicleInfo/excel/export.json", formPara, function(fileId) { callback(fileId); }) } }; exports('xzxUserVehicleInfoApi',api); });