list.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <div class="card">
  2. <div class="header">数据字典</div>
  3. <div activate-input activate-select class="search-header">
  4. <div class="search-param-panel">
  5. <div class="search-input">
  6. <form class="form-horizontal">
  7. <div class="row clearfix form-inline">
  8. <div class="col-lg-2 col-md-2 dj-label">
  9. <label>类型名称</label>
  10. </div>
  11. <div class="col-lg-2 col-md-2">
  12. <div class="form-group">
  13. <div class="form-line">
  14. <input name="typeName" class="form-control" type="text"
  15. ng-model="selectparams.dictionaryName"
  16. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  17. </div>
  18. </div>
  19. </div>
  20. <div class="col-lg-2 col-md-2 dj-label">
  21. <label>类型代码</label>
  22. </div>
  23. <div class="col-lg-2 col-md-2">
  24. <div class="form-group">
  25. <div class="form-line">
  26. <input name="typeCode" class="form-control" type="text"
  27. ng-model="selectparams.dictionaryCode"
  28. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  29. </div>
  30. </div>
  31. </div>
  32. <div class="col-lg-2 col-md-2 dj-label">
  33. <label>元素名称</label>
  34. </div>
  35. <div class="col-lg-2 col-md-2">
  36. <div class="form-group">
  37. <div class="form-line">
  38. <input name="name" class="form-control" type="text"
  39. ng-model="selectparams.name"
  40. placeholder="" ng-keypress="($event.which === 13)?search():0" />
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </form>
  46. </div>
  47. <div class="search-btn">
  48. <button class="btn btn-default1"
  49. ng-click="search()">
  50. 查询
  51. </button>
  52. </div>
  53. </div>
  54. <div class="search-tool">
  55. <div class="search-btn">
  56. <button class="btn btn-default1"
  57. ng-click="addDic()" function-code="990401">
  58. 新增
  59. </button>
  60. <button type="button"
  61. class="btn btn-default1" function-code="990403" ng-click="delDic()">
  62. 删除
  63. </button>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="body">
  68. <div class="table-responsive list-table-panel">
  69. <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
  70. <thead>
  71. <tr>
  72. <th class="th-select" th-select-all datalist="dataList"></th>
  73. <th class="th-rownum">序号</th>
  74. <th>类型名称</th>
  75. <th>类型代码</th>
  76. <th>元素名称</th>
  77. <th>元素值</th>
  78. <th>排序</th>
  79. <th>操作</th>
  80. </tr>
  81. </thead>
  82. <tbody>
  83. <tr ng-repeat="it in dataList">
  84. <td class="text-center">
  85. <input type="checkbox" ng-model="it.rowChecked" />
  86. </td>
  87. <td class="text-center" td-rownum index="$index" pageindex="selectparams.pageIndex" pagesize="selectparams.pageSize"></td>
  88. <td class="text-center">{{it.DictionaryName}}</td>
  89. <td class="text-center">{{it.DictionaryCode}}</td>
  90. <td class="text-center">{{it.Name}}</td>
  91. <td class="text-center">{{it.Value}}</td>
  92. <td class="text-center">{{it.OrderNo}}</td>
  93. <td class="text-center">
  94. <i class="glyphicon glyphicon-pencil" function-code="990402" ng-click="editDic(it.DictionaryItemID)"></i>
  95. </td>
  96. </tr>
  97. <tr ng-if="pageInfo.ptotal==0">
  98. <td colspan="7" style="text-align:center">暂无数据</td>
  99. </tr>
  100. </tbody>
  101. </table>
  102. </div>
  103. <pagination data-pageindex="selectparams.pageIndex" data-pagesize="selectparams.pageSize"
  104. data-ptotal="pageInfo.ptotal"></pagination>
  105. </div>
  106. </div>