qxgl_wt.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. <section id="page-title">
  2. <div class="row">
  3. <div class="col-sm-8">
  4. <h1 class="mainTitle">CMDB权限管理
  5. <!-- <i tooltip='新增或编辑故障现象' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i> -->
  6. </h1>
  7. </div>
  8. </div>
  9. </section>
  10. <div ng-controller="qxgl_wtCtrl">
  11. <div class="col-sm-2 wt_qx_L">
  12. <div class="wt_qx_L_top">人员姓名</div>
  13. <div class="wt_qx_L_bom">
  14. <div class="wt_qx_L_ss">
  15. <input type="text" class="col-sm-9 wt_qx_L_ipt" placeholder="请输入关键字查询" ng-change="ss_name()" ng-model="wt_names">
  16. <div class="col-sm-3 wt_qx_L_btn" ng-click="wt_ss()">搜索</div>
  17. </div>
  18. <div class="wt_names">
  19. <div ng-repeat="item in userDatas" class="wt_qx_L_name" ng-click="my_tree_handler(item,$index)" ng-class="{'wt_name1':userIndex==$index}">
  20. <!-- <i class="icon iconfont icon-ziyuan-wode"></i> -->
  21. {{item.name}}</div>
  22. <!-- <abn-tree tree-data="userDatas" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-zuzhijiaose" icon-expand="ti-plus" icon-collapse="ti-minus "></abn-tree> -->
  23. </div>
  24. </div>
  25. </div>
  26. <div class="col-sm-10 wt_qx_C">
  27. <div class="wt_qx_C_top">资产分类 :
  28. <div class="wt_qx_C_fl">
  29. <!-- <multi-select-tree ng-model="cifilter_classic" data-input-model="select_treedata" data-output-model="cifilter_classics" theme="bootstrap"
  30. multi-select="false" data-default-label="资产分类" data-callback="onFilterCallback(item)" data-select-only-leafs="true"
  31. reset-search-input="false" data-trans-label="label" data-switch-view="false"></multi-select-tree>
  32. <img src="assets/images/jiang/arrow.png" alt="" class="jiantou"> -->
  33. </div>
  34. </div>
  35. <div class="wt_qx_C_bom">
  36. <div class="tab-mainDiv-body">
  37. <div class="box-tree">
  38. <!-- <span ng-if="doing_asyncpower ">...加载中...</span> -->
  39. <abn-trees tree-data="my_power " on-chioce="formbranch(item)" tree-control="my_tree " expand-level="" relation=true getchild=true
  40. icon-expand="ti-plus " icon-collapse="ti-minus " check-boxs=true></abn-trees>
  41. <!-- <abn-trees tree-data="my_power " on-chioce="formbranch(item)" tree-control="my_tree " expand-level="" relation=true getchild=true icon-expand="iconfont icon-tianjia" icon-collapse="iconfont icon-qiepian44" check-boxs=true></abn-trees> -->
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="col-sm-12 wt_qx_F">
  47. <div class="btn btn_search" ng-click="changeData()">确认</div>
  48. <!-- <button class="wt_qx_b2">取消</button> -->
  49. </div>
  50. </div>
  51. <style>
  52. input[type="radio"], input[type="checkbox"]{
  53. /* margin-top: 0px */
  54. }
  55. ul.abn-tree li.abn-tree-row {
  56. height: 28px;
  57. line-height: 28px;
  58. }
  59. .box-tree .nav>li.active a:focus,
  60. .box-tree .nav>li.active {
  61. background: #E6EEF4;
  62. }
  63. ul.abn-tree li.abn-tree-row:hover {
  64. /* display: inline-block !important;
  65. width: 90%; */
  66. background: #E6EEF4;
  67. }
  68. .box-tree .nav>li>a:focus,
  69. .box-tree .nav>li>a:hover {
  70. background: #E6EEF4;
  71. color: #333
  72. }
  73. .wt_names {
  74. width: 100%;
  75. height: 91%;
  76. overflow: auto;
  77. margin-top: 10px;
  78. }
  79. /*滚动条样式*/
  80. .wt_names::-webkit-scrollbar {
  81. /*滚动条整体样式*/
  82. width: 4px;
  83. /*高宽分别对应横竖滚动条的尺寸*/
  84. height: 4px;
  85. }
  86. .wt_names::-webkit-scrollbar-thumb {
  87. /*滚动条里面小方块*/
  88. border-radius: 5px;
  89. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  90. background: rgba(0, 0, 0, 0.2);
  91. }
  92. .wt_names::-webkit-scrollbar-track {
  93. /*滚动条里面轨道*/
  94. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  95. border-radius: 0;
  96. background: rgba(255, 255, 255, 0.1);
  97. }
  98. /*滚动条样式*/
  99. .wt_qx_C_bom::-webkit-scrollbar {
  100. /*滚动条整体样式*/
  101. width: 4px;
  102. /*高宽分别对应横竖滚动条的尺寸*/
  103. height: 4px;
  104. }
  105. .wt_qx_C_bom::-webkit-scrollbar-thumb {
  106. /*滚动条里面小方块*/
  107. border-radius: 5px;
  108. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  109. background: rgba(0, 0, 0, 0.2);
  110. }
  111. .wt_qx_C_bom::-webkit-scrollbar-track {
  112. /*滚动条里面轨道*/
  113. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  114. border-radius: 0;
  115. background: rgba(255, 255, 255, 0.1);
  116. }
  117. input::-webkit-input-placeholder {
  118. color: #ddd;
  119. }
  120. input::-moz-placeholder {
  121. /* Mozilla Firefox 19+ */
  122. color: #ddd;
  123. }
  124. input:-moz-placeholder {
  125. /* Mozilla Firefox 4 to 18 */
  126. color: #ddd;
  127. }
  128. input:-ms-input-placeholder {
  129. /* Internet Explorer 10-11 */
  130. color: #ddd;
  131. }
  132. .wt_qx_L_name {
  133. height: 28px;
  134. line-height: 28px;
  135. padding-left: 5px;
  136. cursor: pointer!important;
  137. }
  138. .wt_qx_C_fl {
  139. width: 20%;
  140. display: inline-block;
  141. position: relative;
  142. top: 13px;
  143. left: 10px;
  144. }
  145. .wt_qx_L_name:hover {
  146. background: #E6EEF4;
  147. border-radius: 2px;
  148. }
  149. .wt_name1 {
  150. background: #E6EEF4;
  151. border-radius: 2px;
  152. }
  153. .wt_qx_L {
  154. height: 600px;
  155. width: 19%;
  156. background: #F9F9F9;
  157. padding: 0px;
  158. }
  159. .wt_qx_L_top {
  160. background: #f3f3f3;
  161. height: 35px;
  162. padding-left: 10px;
  163. line-height: 35px;
  164. color: #333;
  165. font-size: 14px;
  166. }
  167. .wt_qx_L_bom {
  168. /* height: 100%; */
  169. /* width: 100%; */
  170. height: 543px;
  171. margin: 10px;
  172. background: #fff;
  173. border: 1px solid #ddd;
  174. /* overflow: auto; */
  175. padding: 16px 10px 0px 10px;
  176. border-radius: 2px;
  177. }
  178. .wt_qx_L_ss {
  179. height: 25px;
  180. border: 1px solid #ddd;
  181. border-radius: 3px;
  182. }
  183. .wt_qx_L_ipt {
  184. border-width: 0px !important;
  185. padding: 0px;
  186. height: 100%;
  187. /* color:#f3f3f3!important; */
  188. }
  189. .wt_qx_L_btn {
  190. display: inline-block;
  191. height: 25px;
  192. position: relative;
  193. bottom: 1px;
  194. right: -1px;
  195. padding: 0px;
  196. line-height: 25px;
  197. border-left: 1px solid #ddd;
  198. text-align: center;
  199. color: #ddd;
  200. }
  201. .wt_qx_L_btn:hover {
  202. cursor: pointer!important;
  203. }
  204. .wt_qx_C {
  205. height: 600px;
  206. width: 80%;
  207. background: #F9F9F9;
  208. margin-left: 1%;
  209. padding: 0px
  210. }
  211. .wt_qx_C_top {
  212. height: 60px;
  213. background: #f3f3f3;
  214. color: #333;
  215. line-height: 60px;
  216. padding-left: 10px;
  217. font-size: 14px;
  218. }
  219. .wt_qx_C_bom {
  220. height: 514px;
  221. margin: 14px;
  222. background: #fff;
  223. border: 1px solid #ddd;
  224. overflow: auto;
  225. padding: 24px;
  226. }
  227. .wt_qx_F {
  228. height: 60px;
  229. border-bottom: 1px solid #ddd;
  230. text-align: center;
  231. line-height: 60px;
  232. }
  233. .wt_qx_b1 {
  234. width: 80px;
  235. height: 34px;
  236. border: 1px solid!important;
  237. color: #fff;
  238. background: #005395;
  239. border-radius: 2px;
  240. }
  241. .wt_qx_b2 {
  242. width: 80px;
  243. height: 34px;
  244. border: 1px solid #ddd;
  245. color: #333;
  246. background: #F9F9F9;
  247. margin-left: 10px;
  248. border-radius: 2px;
  249. }
  250. </style>