index.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {extend name="layout/content"}
  2. {block name="content"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <div class="ibox-title">
  7. <h5>字典管理</h5>
  8. </div>
  9. <div class="ibox-content">
  10. <div class="row row-lg">
  11. <div class="col-sm-12">
  12. <div class="row">
  13. <div class="col-sm-3">
  14. <div class="input-group input-group-sm">
  15. <div class="input-group-btn">
  16. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">名称
  17. </button>
  18. </div>
  19. <input type="text" class="form-control" id="condition" placeholder="">
  20. </div>
  21. </div>
  22. <div class="col-sm-3">
  23. <div class="input-group input-group-sm">
  24. <div class="input-group-btn">
  25. <button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">项目
  26. </button>
  27. </div>
  28. <input type="text" class="form-control" id="item" placeholder="">
  29. </div>
  30. </div>
  31. <div class="col-sm-3">
  32. <button type="button" class="btn btn-sm btn-primary " onclick="Dict.search()" id="">
  33. <i class="fa fa-search"></i>&nbsp;搜索
  34. </button>
  35. </div>
  36. </div>
  37. <div class="hidden-xs" id="DictTableToolbar" role="group">
  38. {if condition="chkCommission('/admin/dict/add','/dict/add')"}
  39. <button type="button" class="btn btn-sm btn-primary " onclick="Dict.openAddDict()" id="">
  40. <i class="fa fa-plus"></i>&nbsp;添加
  41. </button>
  42. {/if}
  43. {if condition="chkCommission('/admin/dict/edit','/dict/update')"}
  44. <button type="button" class="btn btn-sm btn-primary " onclick="Dict.openDictDetail()" id="">
  45. <i class="fa fa-plus"></i>&nbsp;修改
  46. </button>
  47. {/if}
  48. {if condition="chkCommission('/admin/dict/delete','/dict/delete')"}
  49. <button type="button" class="btn btn-sm btn-primary " onclick="Dict.delete()" id="">
  50. <i class="fa fa-plus"></i>&nbsp;删除
  51. </button>
  52. {/if}
  53. </div>
  54. <table id="DictTable" class="table-condensed" style="table-layout: fixed!important;" data-mobile-responsive="true" data-click-to-select="true">
  55. <thead>
  56. <tr>
  57. <th data-field="selectItem" data-checkbox="true"></th>
  58. </tr>
  59. </thead>
  60. </table>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. </div>
  67. <script type="text/javascript">
  68. document.write('<script src="/static/modular/system/dict/dict.js?v=' + (new Date()).getTime() + '"><\/script>');
  69. </script>
  70. {/block}