jry_incidentOpen.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. <div class="modal-header">
  2. <div class="modal-title fontcolor-two fontsizes-14">事件分类选择<button type="button" class="close pull-right" ng-click="cancel()">×</button></div>
  3. </div>
  4. <div class="flex">
  5. <div class="leftList">
  6. <div class="DingW"><input type="text" class="SJFL_ipt" placeholder="请输入关键字" ng-model="jry_modelLeft" ng-change="left_serch()"><i class="glyphicon glyphicon-search jry_icon"></i></div>
  7. <div class="head">事件分类</div>
  8. <div class="body">
  9. <div class="box-tree" ng-show="jry_modelLeft==''">
  10. <span ng-if="doing_async">...加载中...</span>
  11. <!-- <abn-tree tree-data="my_data" 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> -->
  12. <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-fenlei" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
  13. </div>
  14. <div ng-show="jry_modelLeft!=''">
  15. <div ng-repeat="n in left_searchData" class="leftSearchData" ng-click="leftSearchGetData($index,n)" ng-class="{true:'leftSearchDatabg'}[$index==indexBG]">
  16. <i class="indented tree-icon iconfont icon-fenlei"></i><div>{{n.category}}</div>
  17. </div>
  18. </div>
  19. </div>
  20. </div>
  21. <div class="rightList">
  22. <div class="DingW"><input type="text" class="SJMS_ipt" ng-model="jry_modelRight" placeholder="请输入关键字" ng-change="right_serch()"><i class="glyphicon glyphicon-search jry_icon"></i></div>
  23. <div class="head">事件描述</div>
  24. <div class="body">
  25. <!-- <img src="./../../images/404_wushuju.png"> -->
  26. <div class="noData" ng-show="jry_scricData.length==0"><img src="./../../../../assets/images/404_wushuju.png" alt=""></div>
  27. <div class="list" ng-repeat="n in jry_scricData">
  28. <div class="radio_left">
  29. <input type="radio" name="jry_radio" ng-click="getFormItem(n)">
  30. </div>
  31. <div>
  32. <div class="describe">
  33. <span>事件描述:</span>
  34. <span>{{n.describes}}</span>
  35. </div>
  36. <div class="weight">
  37. <span>工单权重:</span>
  38. <span>{{n.weight.name}}</span>
  39. </div>
  40. <div class="priority">
  41. <span>优先级:</span>
  42. <span>{{n.priority.name}}</span>
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="modal-footer">
  50. <button class="btn btn-primary" ng-click="ok()" translate="modal.button.OK">OK</button>
  51. <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">Cancel</button>
  52. </div>
  53. <style>
  54. .leftSearchData{
  55. height: 28.4px;
  56. line-height: 28.4px;
  57. color: #8e8e93;
  58. font-size: 14px;
  59. display: flex;
  60. padding-left: 11px;
  61. cursor: pointer;
  62. }
  63. .leftSearchDatabg{
  64. background-color: rgb(0,107,191);
  65. color:white
  66. }
  67. /* .leftSearchData:hover{
  68. background-color: rgb(238,238,238)
  69. } */
  70. .leftSearchData i{
  71. color: #007AFF
  72. }
  73. .leftSearchData div{
  74. margin-left: 5px
  75. }
  76. .jry_icon{
  77. position: absolute;
  78. right: 0;
  79. top: 0;
  80. display: inline-block;
  81. width: 20px;
  82. height: 23px;
  83. text-align: center;
  84. line-height: 23px;
  85. border: 1px rgb(211,211,211) solid;
  86. background-color: white;
  87. border-radius: 0 4px 4px 0;
  88. cursor: pointer;
  89. }
  90. .DingW{
  91. position: relative;
  92. }
  93. .SJFL_ipt{
  94. width: 238px;
  95. border-radius: 4px 0 0 4px!important;
  96. }
  97. .SJMS_ipt{
  98. width: 561px;
  99. border-radius: 4px 0 0 4px!important;
  100. }
  101. .radio_left{
  102. width: 40px;
  103. display: flex;
  104. align-items: center;
  105. justify-content: center;
  106. }
  107. .list{
  108. padding: 10px 0;
  109. border-bottom: 1px rgb(211,211,211) solid;
  110. border-top: 1px rgb(211,211,211) solid;
  111. display: flex
  112. }
  113. .body{
  114. height: 330px;
  115. overflow: hidden;
  116. overflow-y: scroll
  117. }
  118. .noData{
  119. /* background: url(./../../images/404_wushuju.png); */
  120. /* background-size: 100% 100% */
  121. width: 100%;
  122. height: 330px;
  123. line-height: 330px;
  124. text-align: center
  125. }
  126. .flex{
  127. display: flex
  128. }
  129. .leftList{
  130. width: 30%;
  131. background-color: rgb(245,245,245);
  132. height: 400px;
  133. margin:10px 5px 10px 10px;
  134. border:1px rgb(211,211,211) solid;
  135. border-radius: 4px;
  136. padding: 5px;
  137. }
  138. .rightList{
  139. width: 66%;
  140. background-color: rgb(245,245,245);
  141. height: 400px;
  142. margin:10px 5px 10px 10px;
  143. border:1px rgb(211,211,211) solid;
  144. border-radius: 4px;
  145. padding: 5px;
  146. }
  147. .head{
  148. color: #005395;
  149. font-size: 12px;
  150. height: 30px;
  151. line-height: 30px;
  152. border-bottom: 1px rgb(211,211,211) solid
  153. }
  154. /* 公共css,需要复用 */
  155. .iconfont {
  156. font-size: 14px;
  157. }
  158. .nav-pills>li>a {
  159. border-radius: 0px;
  160. }
  161. .nav-pills>li.active>a,
  162. .nav-pills>li.active>a:hover,
  163. .nav-pills>li.active>a:focus {
  164. background-color: #006bbf;
  165. color: white !important;
  166. }
  167. .panel-tabs,
  168. .tabbable {
  169. /* padding: 14px; */
  170. background-color: white;
  171. }
  172. .tab-content>.tab-pane,
  173. .pill-content>.pill-pane {
  174. padding: 14px;
  175. border-bottom: 1px solid #eeeeee;
  176. border-left: 1px solid #eeeeee;
  177. border-right: 1px solid #eeeeee;
  178. border-radius: 0px 0px 8px 8px;
  179. }
  180. .nav-tabs>li.active a,
  181. .nav-tabs>li.active a:hover,
  182. .nav-tabs>li.active a:focus {
  183. background-color: #006bc0;
  184. color: white;
  185. }
  186. .nav-tabs {
  187. border-top: 1px solid #eeeeee;
  188. border-bottom: 1px solid #eeeeee;
  189. border-left: 1px solid #eeeeee;
  190. border-right: 1px solid #eeeeee;
  191. border-radius: 8px 8px 0 0;
  192. height: 47px;
  193. }
  194. .nav-tabs>li {
  195. border-right: 1px solid #eeeeee;
  196. }
  197. .nav-tabs>li:last-child {
  198. border-right: none;
  199. }
  200. /* 独立css */
  201. .mainDiv {
  202. /* background: red; */
  203. /* padding: 14px; */
  204. /* height: 50px; */
  205. overflow: hidden;
  206. /* zoom: 1; */
  207. }
  208. .mainDivLeft {
  209. border-radius: 8px;
  210. border: 1px solid #eeeeee;
  211. width: 288px;
  212. float: left;
  213. }
  214. .mainDivRight {
  215. margin-left: 302px;
  216. border-radius: 8px;
  217. border: 1px solid #eeeeee;
  218. }
  219. .mainDiv-head {
  220. height: 47px;
  221. line-height: 47px;
  222. background: #f5f5f5;
  223. font-size: 16px;
  224. color: #606367;
  225. border-radius: 8px 8px 0 0;
  226. padding-left: 10px;
  227. padding-right: 4px;
  228. }
  229. .mainDivLeft-span {
  230. border: 1px solid;
  231. /* padding: 15px 0px 15px 0px; */
  232. padding-left: 15px;
  233. padding-right: 15px;
  234. padding-top: 4px;
  235. padding-bottom: 4px;
  236. height: 28px;
  237. line-height: 28px;
  238. border-radius: 4px;
  239. margin-right: 10px;
  240. font-size: 14px;
  241. }
  242. .mainDiv-head-right {
  243. display: inline-block;
  244. float: right;
  245. }
  246. .edit-left {
  247. display: inline-block;
  248. /* float: left; */
  249. margin-left: 10px;
  250. }
  251. .span-1 {
  252. border-color: #006bc0;
  253. color: #006bc0;
  254. }
  255. .span-2 {
  256. border: none;
  257. color: white;
  258. background-color: #006bc0;
  259. }
  260. .span-3 {
  261. border: none;
  262. color: white;
  263. background-color: #fc4c58;
  264. }
  265. .mainDiv-body {
  266. border-radius: 8px;
  267. border: 1px solid #eeeeee;
  268. margin: 14px;
  269. padding-top: 14px;
  270. }
  271. .mainDiv-body-1 {
  272. height: 50px;
  273. line-height: 50px;
  274. font-size: 16px;
  275. color: #606367;
  276. padding: 0px 14px;
  277. border-bottom: 1px solid #eeeeee;
  278. }
  279. .mainDiv-body-2 {
  280. height: 70px;
  281. line-height: 70px;
  282. font-size: 14px;
  283. color: #606367;
  284. padding: 0px 30px;
  285. border-bottom: 1px solid #eeeeee;
  286. }
  287. .mainDiv-body-2:last-child {
  288. border-bottom: none;
  289. }
  290. .fixHeight {
  291. height: 450px;
  292. overflow: auto;
  293. }
  294. .mainDiv-body-3 {
  295. height: 50px;
  296. line-height: 50px;
  297. font-size: 14px;
  298. color: #606367;
  299. padding: 0px 30px;
  300. border-bottom: 1px solid #eeeeee;
  301. }
  302. .mainDiv-body-3:last-child {
  303. border-bottom: none;
  304. }
  305. .mainDiv-body-img {
  306. height: 90px;
  307. border-radius: 4px;
  308. margin: 14px;
  309. margin-bottom: 0px;
  310. overflow: hidden;
  311. }
  312. .mainDiv-body-noList {
  313. height: 110px;
  314. margin: 50px 0;
  315. text-align: center;
  316. }
  317. .form-control {
  318. display: inline-block;
  319. }
  320. .mainDivLeft-span-1 {
  321. border: 1px solid;
  322. padding-left: 15px;
  323. padding-right: 15px;
  324. /* padding-top: 4px; */
  325. /* padding-bottom: 4px; */
  326. height: 28px;
  327. line-height: 28px;
  328. border-radius: 4px;
  329. margin-right: 10px;
  330. font-size: 14px;
  331. display: inline-block;
  332. }
  333. .mainDivLeft-span-2 {
  334. border: 1px solid;
  335. padding-left: 15px;
  336. padding-right: 15px;
  337. /* padding-top: 4px; */
  338. /* padding-bottom: 4px; */
  339. height: 28px;
  340. line-height: 28px;
  341. border-radius: 4px;
  342. margin-right: 10px;
  343. font-size: 14px;
  344. display: inline-block;
  345. }
  346. .mainDivLeft-span-edit-1 {
  347. border: 1px solid;
  348. padding-left: 8px;
  349. padding-right: 8px;
  350. /* padding-top: 4px; */
  351. /* padding-bottom: 4px; */
  352. height: 22px;
  353. line-height: 22px;
  354. border-radius: 2px;
  355. margin-right: 10px;
  356. font-size: 12px;
  357. display: inline-block;
  358. }
  359. .mainDivLeft-span-edit-2 {
  360. border: 1px solid;
  361. padding-left: 8px;
  362. padding-right: 8px;
  363. /* padding-top: 4px; */
  364. /* padding-bottom: 4px; */
  365. height: 22px;
  366. line-height: 22px;
  367. border-radius: 2px;
  368. margin-right: 10px;
  369. font-size: 12px;
  370. display: inline-block;
  371. }
  372. /* tab内容css */
  373. .tab-mainDiv {
  374. border: 1px solid #eeeeee;
  375. border-radius: 8px;
  376. /* min-height: 360px; */
  377. }
  378. .tab-mainDiv-head {
  379. text-align: center;
  380. border-bottom: 1px solid #eeeeee;
  381. height: 34px;
  382. line-height: 34px;
  383. font-size: 14px;
  384. color: #93989e;
  385. }
  386. .tab-mainDiv-body {
  387. padding: 14px;
  388. min-height: 280px;
  389. max-height: 320px;
  390. overflow: auto;
  391. /* padding-top: 14px; */
  392. /* padding-bottom: 14px; */
  393. }
  394. .tab-mainDiv-body-lineDiv-50 {
  395. /* display: inline-block; */
  396. font-size: 14px;
  397. color: #93989e;
  398. margin-right: 14px;
  399. width: 47%;
  400. padding-left: 14px;
  401. }
  402. .tab-mainDiv-body-lineDiv-100 {
  403. /* display: inline-block; */
  404. font-size: 14px;
  405. color: #93989e;
  406. margin-right: 14px;
  407. width: 96%;
  408. padding-left: 14px;
  409. }
  410. .tab-mainDiv-body-lable {
  411. padding-bottom: 10px;
  412. /* width: 370px; */
  413. }
  414. .tab-mainDiv-body-content {
  415. padding-bottom: 10px;
  416. /* width: 370px; */
  417. }
  418. .tab-mainDiv-body-content>textarea {
  419. min-height: 68px;
  420. width: 100%;
  421. }
  422. .tab-mainDiv-foot {
  423. /* margin: 14px auto; */
  424. border-top: 1px solid #eeeeee;
  425. text-align: center;
  426. padding: 7px;
  427. }
  428. .tab-mainDiv-body-button-1 {
  429. display: inline-block;
  430. width: 80px;
  431. height: 34px;
  432. line-height: 34px;
  433. font-size: 14px;
  434. color: white;
  435. text-align: center;
  436. background-color: #006bc0;
  437. border-radius: 4px;
  438. margin-right: 14px;
  439. }
  440. .tab-mainDiv-body-button-2 {
  441. display: inline-block;
  442. width: 80px;
  443. height: 34px;
  444. line-height: 34px;
  445. font-size: 14px;
  446. color: #93989e;
  447. text-align: center;
  448. background-color: #f5f5f5;
  449. border-radius: 4px;
  450. box-sizing: border-box;
  451. border: 1px solid #eeeeee;
  452. }
  453. .tree-control .tree-view {
  454. width: inherit;
  455. z-index: 9999;
  456. }
  457. </style>