dictionarylist.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <span class="title-menu">
  2. <ol class="breadcrumb gt_breadcrumb">
  3. <li>
  4. <a href="javascript:void(0);">
  5. 系统配置
  6. </a>
  7. </li>
  8. <li>
  9. <a href="javascript:void(0);">
  10. 参数字典配置
  11. </a>
  12. </li>
  13. </ol>
  14. </span>
  15. <div class="dj-list" style="padding-top: 5px;">
  16. <div class="dj-list-body">
  17. <div class="dj-list-content content1">
  18. <div class="card">
  19. <div activate-input class="header search-header">
  20. <div class="search-param-panel">
  21. <div class="search-input">
  22. <form class="form-horizontal">
  23. <div class="row clearfix form-inline">
  24. <div class="col-lg3 col-md-3 dj-label">
  25. <label>字典类别名称</label>
  26. </div>
  27. <div class="col-lg3 col-md-3">
  28. <div class="form-group">
  29. <div class="form-line">
  30. <input name="dicTypeName" class="form-control" type="text" ng-keypress="($event.which === 13)?search():0"
  31. ng-model="searchTypeKey"
  32. placeholder=""/>
  33. </div>
  34. </div>
  35. </div>
  36. <div class="col-lg3 col-md-3 dj-label">
  37. <label>字典显示名称</label>
  38. </div>
  39. <div class="col-lg3 col-md-3">
  40. <div class="form-group">
  41. <div class="form-line">
  42. <input name="dicvalueName" class="form-control" type="text" ng-keypress="($event.which === 13)?search():0"
  43. ng-model="dicvalue"
  44. placeholder=""/>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. </form>
  50. </div>
  51. <div class="search-btn" style="margin-right: 20px;">
  52. <div style="min-width: 13em">
  53. <button class="btn btn-default1" ng-click="search()">查询</button>
  54. <button role-permission-code="partyList.btnReset" class="btn btn-default1 btn-reset"
  55. ng-click="reset()">重置
  56. </button>
  57. <!--<button role-permission-code="dictionarylist.btnadd" class="btn btn-default1"-->
  58. <!--ng-click="savemodal()">新增-->
  59. <!--</button>-->
  60. </div>
  61. </div>
  62. </div>
  63. <div class="search-btn" style="margin-right: 20px;">
  64. <div style="float: right">
  65. <button role-permission-code="dictionarylist.btnadd" class="btn btn-default1"
  66. ng-click="savemodal()">新增
  67. </button>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="body">
  72. <div class="list-table-panel">
  73. <table class="table table-bordered table-striped table-hover js-basic-example dataTable">
  74. <thead>
  75. <tr>
  76. <th>字典显示名称</th>
  77. <th>字典类别名称</th>
  78. <th>字典键</th>
  79. <th>字典类型</th>
  80. <th class="col-md-2">操作</th>
  81. </tr>
  82. </thead>
  83. <tbody>
  84. <tr ng-repeat="dic in diclist" data-placement="top" bs-popover data-content="{{dic.dicnote}}"
  85. data-title="字典描述" data-trigger="hover">
  86. <td>{{dic.dicvalue}}</td>
  87. <td>{{dic.dictypekey}}</td>
  88. <td>{{dic.dickey}}</td>
  89. <td>{{dic.dictype==1?'系统':'普通'}}</td>
  90. <td class="text-center">
  91. <button class="btn td-btn bg-light-green waves-effect"
  92. role-permission-code="dictionarylist.listedit"
  93. ng-click="editmodal(dic.dictionaryid)"
  94. title="修改">
  95. 修改
  96. </button>
  97. <button class="btn td-btn bg-pink waves-effect"
  98. ng-click="deletedic(dic.dictionaryid)" title="删除">
  99. 删除
  100. </button>
  101. </td>
  102. </tr>
  103. <tr ng-if="diclist.length<=0">
  104. <td colspan="5" style="text-align:center">暂无数据</td>
  105. </tr>
  106. </tbody>
  107. </table>
  108. <pagination data-pageindex="finddata.pageindex" data-pagesize="finddata.pagesize"
  109. data-ptotal="finddata.ptotal"></pagination>
  110. </div>
  111. </div>
  112. </div>
  113. </div>
  114. </div>
  115. </div>