1. 渲染 render
<th data-column="_v_render" width="80px" data-render="attchDrawShowRender" class="text-center" >预览</th>
function attchDrawLoadRender(data, type, row, meta) {
var url=BOMF.CONST.WEB_APP_NAME+"/downloadFile?fileId="+row.fileId ;
return "<a href='"+url+"'>下载</a>";}
2.跳转 到 content 当前 内容 页面
drawingList.changePage=function(drawingid){
var url="draw/DrawingService/add?drawingid="+drawingid; judpMenu.redirectTo(url); }3. 配置 多bean 关联 一条 bean
<querys>
<query id="queryList" otherAttributes="true">回调的方法!
public void configOtherAttribute() throws Exception {
4. 弹出 大 对话框
var me=null;
var url = BOMF.CONST.WEB_APP_NAME+'/view/draw/DrawRelationDrawService/drawrelationdrawListPage?busiid=5f9b97741ee14692997e8797c8b0090e'; createDrawrelationdrawListPage = popupDialog(me, url, "关系图纸列表", { size: BootstrapDialog.SIZE_WIDE });5. 弹出 大 对话框 回调函数
var title="历史版本";
HistoryDialog= BootstrapDialog.show({ title: title, size: BootstrapDialog.SIZE_WIDE, message: $('<div></div>').load(BOMF.CONST.WEB_APP_NAME + '/view/draw/DrawingService/historyListPagePage?busiid=${Drawing.busiid}'), buttons: [ { label: '关闭', action: function(dialog) { dialog.close(); } }] });