|
@@ -53,24 +53,6 @@
|
|
|
</form>
|
|
|
</div>
|
|
|
|
|
|
-<!-- <div class="btn-group-sm" id="toolbar" role="group">-->
|
|
|
-<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:user:add">-->
|
|
|
-<!-- <i class="fa fa-plus"></i> 新增-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:user:edit">-->
|
|
|
-<!-- <i class="fa fa-edit"></i> 修改-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove">-->
|
|
|
-<!-- <i class="fa fa-remove"></i> 删除-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import">-->
|
|
|
-<!-- <i class="fa fa-upload"></i> 导入-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export">-->
|
|
|
-<!-- <i class="fa fa-download"></i> 导出-->
|
|
|
-<!-- </a>-->
|
|
|
-<!-- </div>-->
|
|
|
-
|
|
|
<div class="col-sm-12 select-table table-striped" style="width: 100%; overflow-x: auto;">
|
|
|
<table id="bootstrap-table" class="fixed-layout-table"></table>
|
|
|
</div>
|
|
@@ -80,6 +62,7 @@
|
|
|
|
|
|
<th:block th:include="include :: footer" />
|
|
|
<th:block th:include="include :: layout-latest-js" />
|
|
|
+<th:block th:include="include :: bootstrap-table-fixed-columns-js" />
|
|
|
<th:block th:include="include :: ztree-js" />
|
|
|
<script th:inline="javascript">
|
|
|
var editFlag = [[${@permission.hasPermi('dtp:pmService:edit')}]];
|
|
@@ -146,7 +129,7 @@
|
|
|
formatter: function(value, row, index) {
|
|
|
if (row.id) {
|
|
|
var actions = [];
|
|
|
- actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑查看</a> ');
|
|
|
+ actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="edit_page(\'' + row.id + '\')"><i class="fa fa-edit"></i>查看</a> ');
|
|
|
return actions.join('');
|
|
|
} else {
|
|
|
return "";
|