|  |  |  | 
|---|
|  |  |  | <button matrix:btn="oaFixedAssets-add"  onclick="openAdd()" type="button" class="btn btn-info btn-sm"><i class="fa fa-plus" ></i>  新增</button> | 
|---|
|  |  |  | <button matrix:btn="oaFixedAssets-edit"  onclick="openEdit()" type="button" class="btn btn-info btn-sm"><i class="fa fa-edit" ></i> 编辑</button> | 
|---|
|  |  |  | <button  matrix:btn="oaFixedAssets-dels" onclick="myGrid.delItems('id')" type="button" class="btn btn-danger btn-sm"><i class="fa fa-trash" ></i>批量删除</button> | 
|---|
|  |  |  | <button    onclick="exportExcel()" type="button" class="btn btn-info btn-sm"><i class="fa fa-download" ></i> 导出</button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <!-- 数据表格部分 --> | 
|---|
|  |  |  | <table id="mgrid"> | 
|---|
|  |  |  | 
|---|
|  |  |  | content: [basePath + '/admin/oaFixedAssets/editForm?id=' + id] | 
|---|
|  |  |  | }); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | function exportExcel(){ | 
|---|
|  |  |  | var param=MForm.toUrlParam("#serchform"); | 
|---|
|  |  |  | window.location.href=basePath+"/admin/oaFixedAssets/exportExcel?"+param; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </script> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </body> | 
|---|