a-1:excel模板导出

非常简单,将excel模板上传到项目中后,将其浏览url保存下来(excelurl),然后:

window.location.href="http://localhost:10086/yuanxin/resources/busroute.xlsx"  //excel浏览路径

或者使用<a href=”excelurl”></a>都行。