|
|
@ -23,13 +23,13 @@ |
|
|
|
</form> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="btn-group-sm" id="toolbar" role="group"> |
|
|
|
<!-- <div class="btn-group-sm" id="toolbar" role="group">--> |
|
|
|
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:companyInformation:add">--> |
|
|
|
<!-- <i class="fa fa-plus"></i> 添加--> |
|
|
|
<!-- </a>--> |
|
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:companyInformation:edit"> |
|
|
|
<i class="fa fa-edit"></i> 修改 |
|
|
|
</a> |
|
|
|
<!-- <a class="btn btn-success single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:companyInformation:edit">--> |
|
|
|
<!-- <i class="fa fa-edit"></i> 修改--> |
|
|
|
<!-- </a>--> |
|
|
|
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:companyInformation:remove">--> |
|
|
|
<!-- <i class="fa fa-remove"></i> 删除--> |
|
|
|
<!-- </a>--> |
|
|
@ -39,9 +39,9 @@ |
|
|
|
<!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:companyInformation:export">--> |
|
|
|
<!-- <i class="fa fa-download"></i> 导出--> |
|
|
|
<!-- </a>--> |
|
|
|
</div> |
|
|
|
<!-- </div>--> |
|
|
|
<div class="col-sm-12 select-table table-striped"> |
|
|
|
<table id="bootstrap-table" style="white-space:nowrap"></table> |
|
|
|
<table id="bootstrap-table"></table> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -66,6 +66,8 @@ |
|
|
|
importUrl: prefix + "/importData", |
|
|
|
importTemplateUrl: prefix + "/importTemplate", |
|
|
|
clickToSelect: true, |
|
|
|
fixedColumns:true, |
|
|
|
fixedRightNumber:1, |
|
|
|
modalName: "公司信息", |
|
|
|
columns: [{ |
|
|
|
checkbox: true |
|
|
@ -216,18 +218,18 @@ |
|
|
|
return vArr[0]; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// { |
|
|
|
// title: '操作', |
|
|
|
// align: 'center', |
|
|
|
// formatter: function(value, row, index) { |
|
|
|
// var actions = []; |
|
|
|
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.companyId + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
|
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.companyId + '\')"><i class="fa fa-remove"></i>删除</a>'); |
|
|
|
// return actions.join(''); |
|
|
|
// } |
|
|
|
// } |
|
|
|
{ |
|
|
|
title: '操作', |
|
|
|
align: 'center', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
var actions = []; |
|
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.companyId + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
|
|
var actionLinks = actions.join(''); |
|
|
|
return $.table.dropdownToggle(actionLinks); |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
}; |
|
|
|
$.table.init(options); |
|
|
|