jry_incidentSet.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  1. <style>
  2. /* 批量导入 */
  3. .import{
  4. height: 50px;
  5. line-height: 50px
  6. }
  7. .import input{
  8. width: 120px;
  9. height: 34px;
  10. float: right;
  11. background-color: white;
  12. border:1px rgb(230,230,230) solid;
  13. color: #999999
  14. }
  15. /* 单位通讯录 */
  16. .communicationList{
  17. width: 21%;
  18. height: 400px;
  19. /* background-color: red; */
  20. border:1px rgb(230,230,230) solid;
  21. float: left;
  22. }
  23. .communicationList .head{
  24. height: 30px;
  25. line-height: 30px;
  26. border-bottom: 1px rgb(230,230,230) solid;
  27. padding-left: 4%
  28. }
  29. .communicationList .body{
  30. height: 369px;
  31. overflow: hidden;
  32. overflow-y: scroll
  33. }
  34. .communicationList .body::-webkit-scrollbar{
  35. display: none
  36. }
  37. /* 通讯录关联列表 */
  38. .communicationMain{
  39. margin-left: 1%;
  40. width: 78%;
  41. height: 500px;
  42. /* background-color: blue; */
  43. border:1px rgb(230,230,230) solid;
  44. float: left;
  45. }
  46. /* 头部 */
  47. .communicationMain .head{
  48. height: 40px;
  49. line-height: 40px;
  50. border-bottom: 1px rgb(230,230,230) solid;
  51. text-align: center;
  52. font-size: 14px;
  53. color: #005395;
  54. cursor: pointer;
  55. }
  56. /* 主体 */
  57. .communicationMain .body{
  58. height: 459px;
  59. overflow: hidden;
  60. overflow-y: scroll
  61. }
  62. .communicationMain .body .list{
  63. display: flex;
  64. justify-content:space-between;
  65. align-items:center;
  66. height: 100px;
  67. /* background-color: blue */
  68. border-bottom: 1px rgb(230,230,230) solid;
  69. padding-left: 3%
  70. }
  71. /* 事件描述 */
  72. .communicationMain .body .list .describe{
  73. width: 30%;
  74. }
  75. .communicationMain .body .list .describe span:nth-child(1){
  76. font-size: 12px;
  77. color: #333333
  78. }
  79. .communicationMain .body .list .describe span:nth-child(2){
  80. font-size: 12px;
  81. color: #666666
  82. }
  83. /* 工单权重 */
  84. .communicationMain .body .list .weight{
  85. width: 15%;
  86. text-align: center
  87. }
  88. .communicationMain .body .list .weight span:nth-child(1){
  89. font-size: 12px;
  90. color: #333333
  91. }
  92. .communicationMain .body .list .weight span:nth-child(2){
  93. font-size: 12px;
  94. color: #666666
  95. }
  96. /* 优先级 */
  97. .communicationMain .body .list .priority{
  98. width: 15%;
  99. text-align: center
  100. }
  101. .communicationMain .body .list .priority span:nth-child(1){
  102. font-size: 12px;
  103. color: #333333
  104. }
  105. .communicationMain .body .list .priority span:nth-child(2){
  106. font-size: 12px;
  107. color: #666666
  108. }
  109. /* 操作 */
  110. .communicationMain .body .list .operation{
  111. width: 15%;
  112. text-align: center
  113. }
  114. .communicationMain .body .list .operation span{
  115. color: #005395;
  116. cursor: pointer;
  117. }
  118. /* 新增弹框 */
  119. .addBoxFix{
  120. width: 100%;
  121. height: 100%;
  122. position: fixed;
  123. left: 0;
  124. top: 0;
  125. background-color: rgba(0,0,0,0.5);
  126. z-index: 9999;
  127. }
  128. .addBoxFix .addBox{
  129. width: 480px;
  130. height: 296px;
  131. background-color: white;
  132. margin-left: -240px;
  133. margin-top: -148px;
  134. position: fixed;
  135. left: 50%;
  136. top: -169px;
  137. border-radius: 4px;
  138. /* transition-duration: 2s */
  139. }
  140. .addBoxFix .editBox{
  141. width: 480px;
  142. height: 296px;
  143. background-color: white;
  144. margin-left: -240px;
  145. margin-top: -148px;
  146. position: fixed;
  147. left: 50%;
  148. top: -169px;
  149. border-radius: 4px;
  150. /* transition-duration: 2s */
  151. }
  152. .addBoxFix .addBox .head{
  153. height: 40px;
  154. line-height: 40px;
  155. text-align: center;
  156. border-bottom: 1px rgb(230,230,230) solid;
  157. }
  158. .addBoxFix .addBox .head span:nth-child(1){
  159. font-size: 16px;
  160. color: #333333
  161. }
  162. .addBoxFix .addBox .head span:nth-child(2){
  163. width: 14px;
  164. height: 14px;
  165. border-radius: 50%;
  166. line-height: 11px;
  167. text-align: center;
  168. float: right;
  169. cursor: pointer;
  170. border: 1px #666666 solid;
  171. color: #666666;
  172. margin-top: 13px;
  173. margin-right: 14px;
  174. }
  175. .addBoxFix .addBox .body{
  176. height: 221px;
  177. padding-left: 24px;
  178. }
  179. .addBoxFix .addBox .body>div{
  180. display: flex;
  181. align-items: flex-start;
  182. margin-top: 20px
  183. }
  184. .addBoxFix .addBox .body>div>span{
  185. font-size: 14px;
  186. color: #333333
  187. }
  188. .addBoxFix .addBox .fot{
  189. height: 35px;
  190. line-height: 35px;
  191. background-color: rgb(249, 246, 246);
  192. border-top: 1px rgb(230,230,230) solid;
  193. }
  194. .addBoxFix .addBox .fot div:nth-child(1){
  195. width: 50%;
  196. float: left;
  197. height: 35px;
  198. line-height: 35px;
  199. color: #333333;
  200. text-align: center;
  201. cursor: pointer;
  202. }
  203. .addBoxFix .addBox .fot div:nth-child(2){
  204. border-left: 1px rgb(230,230,230) solid;
  205. width: 49%;
  206. float: left;
  207. height: 35px;
  208. line-height: 35px;
  209. color: #95989c;
  210. text-align: center;
  211. cursor: pointer;
  212. }
  213. /* 公共css,需要复用 */
  214. .iconfont {
  215. font-size: 14px;
  216. }
  217. .nav-pills>li>a {
  218. border-radius: 0px;
  219. }
  220. .nav-pills>li.active>a,
  221. .nav-pills>li.active>a:hover,
  222. .nav-pills>li.active>a:focus {
  223. background-color: #006bbf;
  224. color: white !important;
  225. }
  226. .panel-tabs,
  227. .tabbable {
  228. /* padding: 14px; */
  229. background-color: white;
  230. }
  231. .tab-content>.tab-pane,
  232. .pill-content>.pill-pane {
  233. padding: 14px;
  234. border-bottom: 1px solid #eeeeee;
  235. border-left: 1px solid #eeeeee;
  236. border-right: 1px solid #eeeeee;
  237. border-radius: 0px 0px 8px 8px;
  238. }
  239. .nav-tabs>li.active a,
  240. .nav-tabs>li.active a:hover,
  241. .nav-tabs>li.active a:focus {
  242. background-color: #006bc0;
  243. color: white;
  244. }
  245. .nav-tabs {
  246. border-top: 1px solid #eeeeee;
  247. border-bottom: 1px solid #eeeeee;
  248. border-left: 1px solid #eeeeee;
  249. border-right: 1px solid #eeeeee;
  250. border-radius: 8px 8px 0 0;
  251. height: 47px;
  252. }
  253. .nav-tabs>li {
  254. border-right: 1px solid #eeeeee;
  255. }
  256. .nav-tabs>li:last-child {
  257. border-right: none;
  258. }
  259. /* 独立css */
  260. .mainDiv {
  261. /* background: red; */
  262. /* padding: 14px; */
  263. /* height: 50px; */
  264. overflow: hidden;
  265. /* zoom: 1; */
  266. }
  267. .mainDivLeft {
  268. border-radius: 8px;
  269. border: 1px solid #eeeeee;
  270. width: 288px;
  271. float: left;
  272. }
  273. .mainDivRight {
  274. margin-left: 302px;
  275. border-radius: 8px;
  276. border: 1px solid #eeeeee;
  277. }
  278. .mainDiv-head {
  279. height: 47px;
  280. line-height: 47px;
  281. background: #f5f5f5;
  282. font-size: 16px;
  283. color: #606367;
  284. border-radius: 8px 8px 0 0;
  285. padding-left: 10px;
  286. padding-right: 4px;
  287. }
  288. .mainDivLeft-span {
  289. border: 1px solid;
  290. /* padding: 15px 0px 15px 0px; */
  291. padding-left: 15px;
  292. padding-right: 15px;
  293. padding-top: 4px;
  294. padding-bottom: 4px;
  295. height: 28px;
  296. line-height: 28px;
  297. border-radius: 4px;
  298. margin-right: 10px;
  299. font-size: 14px;
  300. }
  301. .mainDiv-head-right {
  302. display: inline-block;
  303. float: right;
  304. }
  305. .edit-left {
  306. display: inline-block;
  307. /* float: left; */
  308. margin-left: 10px;
  309. }
  310. .span-1 {
  311. border-color: #006bc0;
  312. color: #006bc0;
  313. }
  314. .span-2 {
  315. border: none;
  316. color: white;
  317. background-color: #006bc0;
  318. }
  319. .span-3 {
  320. border: none;
  321. color: white;
  322. background-color: #fc4c58;
  323. }
  324. .mainDiv-body {
  325. border-radius: 8px;
  326. border: 1px solid #eeeeee;
  327. margin: 14px;
  328. padding-top: 14px;
  329. }
  330. .mainDiv-body-1 {
  331. height: 50px;
  332. line-height: 50px;
  333. font-size: 16px;
  334. color: #606367;
  335. padding: 0px 14px;
  336. border-bottom: 1px solid #eeeeee;
  337. }
  338. .mainDiv-body-2 {
  339. height: 70px;
  340. line-height: 70px;
  341. font-size: 14px;
  342. color: #606367;
  343. padding: 0px 30px;
  344. border-bottom: 1px solid #eeeeee;
  345. }
  346. .mainDiv-body-2:last-child {
  347. border-bottom: none;
  348. }
  349. .fixHeight {
  350. height: 450px;
  351. overflow: auto;
  352. }
  353. .mainDiv-body-3 {
  354. height: 50px;
  355. line-height: 50px;
  356. font-size: 14px;
  357. color: #606367;
  358. padding: 0px 30px;
  359. border-bottom: 1px solid #eeeeee;
  360. }
  361. .mainDiv-body-3:last-child {
  362. border-bottom: none;
  363. }
  364. .mainDiv-body-img {
  365. height: 90px;
  366. border-radius: 4px;
  367. margin: 14px;
  368. margin-bottom: 0px;
  369. overflow: hidden;
  370. }
  371. .mainDiv-body-noList {
  372. height: 110px;
  373. margin: 50px 0;
  374. text-align: center;
  375. }
  376. .form-control {
  377. display: inline-block;
  378. }
  379. .mainDivLeft-span-1 {
  380. border: 1px solid;
  381. padding-left: 15px;
  382. padding-right: 15px;
  383. /* padding-top: 4px; */
  384. /* padding-bottom: 4px; */
  385. height: 28px;
  386. line-height: 28px;
  387. border-radius: 4px;
  388. margin-right: 10px;
  389. font-size: 14px;
  390. display: inline-block;
  391. }
  392. .mainDivLeft-span-2 {
  393. border: 1px solid;
  394. padding-left: 15px;
  395. padding-right: 15px;
  396. /* padding-top: 4px; */
  397. /* padding-bottom: 4px; */
  398. height: 28px;
  399. line-height: 28px;
  400. border-radius: 4px;
  401. margin-right: 10px;
  402. font-size: 14px;
  403. display: inline-block;
  404. }
  405. .mainDivLeft-span-edit-1 {
  406. border: 1px solid;
  407. padding-left: 8px;
  408. padding-right: 8px;
  409. /* padding-top: 4px; */
  410. /* padding-bottom: 4px; */
  411. height: 22px;
  412. line-height: 22px;
  413. border-radius: 2px;
  414. margin-right: 10px;
  415. font-size: 12px;
  416. display: inline-block;
  417. }
  418. .mainDivLeft-span-edit-2 {
  419. border: 1px solid;
  420. padding-left: 8px;
  421. padding-right: 8px;
  422. /* padding-top: 4px; */
  423. /* padding-bottom: 4px; */
  424. height: 22px;
  425. line-height: 22px;
  426. border-radius: 2px;
  427. margin-right: 10px;
  428. font-size: 12px;
  429. display: inline-block;
  430. }
  431. /* tab内容css */
  432. .tab-mainDiv {
  433. border: 1px solid #eeeeee;
  434. border-radius: 8px;
  435. /* min-height: 360px; */
  436. }
  437. .tab-mainDiv-head {
  438. text-align: center;
  439. border-bottom: 1px solid #eeeeee;
  440. height: 34px;
  441. line-height: 34px;
  442. font-size: 14px;
  443. color: #93989e;
  444. }
  445. .tab-mainDiv-body {
  446. padding: 14px;
  447. min-height: 280px;
  448. max-height: 320px;
  449. overflow: auto;
  450. /* padding-top: 14px; */
  451. /* padding-bottom: 14px; */
  452. }
  453. .tab-mainDiv-body-lineDiv-50 {
  454. /* display: inline-block; */
  455. font-size: 14px;
  456. color: #93989e;
  457. margin-right: 14px;
  458. width: 47%;
  459. padding-left: 14px;
  460. }
  461. .tab-mainDiv-body-lineDiv-100 {
  462. /* display: inline-block; */
  463. font-size: 14px;
  464. color: #93989e;
  465. margin-right: 14px;
  466. width: 96%;
  467. padding-left: 14px;
  468. }
  469. .tab-mainDiv-body-lable {
  470. padding-bottom: 10px;
  471. /* width: 370px; */
  472. }
  473. .tab-mainDiv-body-content {
  474. padding-bottom: 10px;
  475. /* width: 370px; */
  476. }
  477. .tab-mainDiv-body-content>textarea {
  478. min-height: 68px;
  479. width: 100%;
  480. }
  481. .tab-mainDiv-foot {
  482. /* margin: 14px auto; */
  483. border-top: 1px solid #eeeeee;
  484. text-align: center;
  485. padding: 7px;
  486. }
  487. .tab-mainDiv-body-button-1 {
  488. display: inline-block;
  489. width: 80px;
  490. height: 34px;
  491. line-height: 34px;
  492. font-size: 14px;
  493. color: white;
  494. text-align: center;
  495. background-color: #006bc0;
  496. border-radius: 4px;
  497. margin-right: 14px;
  498. }
  499. .tab-mainDiv-body-button-2 {
  500. display: inline-block;
  501. width: 80px;
  502. height: 34px;
  503. line-height: 34px;
  504. font-size: 14px;
  505. color: #93989e;
  506. text-align: center;
  507. background-color: #f5f5f5;
  508. border-radius: 4px;
  509. box-sizing: border-box;
  510. border: 1px solid #eeeeee;
  511. }
  512. .tree-control .tree-view {
  513. width: inherit;
  514. z-index: 9999;
  515. }
  516. .jry_weight{
  517. margin-left: 15px
  518. }
  519. .selectzise{
  520. width: 290px!important
  521. }
  522. .noData{
  523. /* background: url(./../../images/404_wushuju.png); */
  524. /* background-size: 100% 100% */
  525. width: 100%;
  526. height: 459px;
  527. line-height: 459px;
  528. text-align: center
  529. }
  530. </style>
  531. <div ng-controller="jry_incidentSetCtrl">
  532. <section id="page-title">
  533. <div class="row">
  534. <div class="col-sm-8">
  535. <h1 class="mainTitle">事件工单
  536. <i tooltip='事件工单,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i>
  537. </h1>
  538. </div>
  539. </div>
  540. </section>
  541. <!-- 导入 -->
  542. <div class="import">
  543. <input type="button" value="批量导入">
  544. </div>
  545. <!-- 单位通讯录 -->
  546. <div class="communicationList">
  547. <div class="head">事件分类</div>
  548. <div class="body">
  549. <div class="box-tree">
  550. <span ng-if="doing_async">...加载中...</span>
  551. <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>
  552. <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>
  553. </div>
  554. </div>
  555. </div>
  556. <!-- 通讯录关联列表 -->
  557. <div class="communicationMain">
  558. <!-- <div class="head" ng-click="addNewDescribeOpen()">+新增</div> -->
  559. <div class="body">
  560. <!-- <img src="./../../images/404_wushuju.png"> -->
  561. <div class="noData" ng-show="jry_scricData.length==0"><img src="./assets/images/404_wushuju.png" alt=""></div>
  562. <div class="list" ng-repeat="n in jry_scricData">
  563. <div class="describe">
  564. <span>事件描述:</span>
  565. <span>{{n.describes}}</span>
  566. </div>
  567. <div class="weight">
  568. <span>工单权重:</span>
  569. <span>{{n.weight.name}}</span>
  570. </div>
  571. <div class="priority">
  572. <span>优先级:</span>
  573. <span>{{n.priority.name}}</span>
  574. </div>
  575. <div class="operation">
  576. <span ng-click="jry_editShow($index)">修改</span>&nbsp;|&nbsp;<span ng-click="jry_move($index)">删除</span>
  577. </div>
  578. </div>
  579. </div>
  580. </div>
  581. <!-- 新增弹框 -->
  582. <div class="addBoxFix" ng-show="addShow">
  583. <div class="addBox">
  584. <div class="head">
  585. <span>事件分类选择</span>
  586. <span ng-click="addNewDescribeClose()">×</span>
  587. </div>
  588. <div class="body">
  589. <div >
  590. <span>事件描述:</span>
  591. <textarea cols="49" rows="4" placeholder="填写字段100字以内" ng-model="addDscrip"></textarea>
  592. </div>
  593. <div>
  594. <span>工单权重:</span>
  595. <ui-select class="pull-left selectzise" ng-model="toweightData.weightData" theme="bootstrap">
  596. <ui-select-match placeholder="选择搜索类型">
  597. {{toweightData.weightData.name}}
  598. </ui-select-match>
  599. <ui-select-choices repeat="n in weightData">
  600. <div ng-bind-html="n.name"></div>
  601. </ui-select-choices>
  602. </ui-select>
  603. </div>
  604. <div>
  605. <span>优先级:</span>
  606. <ui-select class="pull-left selectzise jry_weight" ng-model="toYXData.YXData" theme="bootstrap">
  607. <ui-select-match placeholder="选择搜索类型">
  608. {{toYXData.YXData.name}}
  609. </ui-select-match>
  610. <ui-select-choices repeat="n in YXData">
  611. <div ng-bind-html="n.name"></div>
  612. </ui-select-choices>
  613. </ui-select>
  614. </div>
  615. </div>
  616. <div class="fot">
  617. <div ng-click="addSave()">新增</div>
  618. <div ng-click="addNewDescribeClose()">取消</div>
  619. </div>
  620. </div>
  621. </div>
  622. <!-- 编辑 -->
  623. <div class="addBoxFix" ng-show="editShow">
  624. <div class="addBox editBox">
  625. <div class="head">
  626. <span>事件分类选择</span>
  627. <span ng-click="editDescribeClose()">×</span>
  628. </div>
  629. <div class="body">
  630. <div >
  631. <span>事件描述:</span>
  632. <textarea cols="49" rows="4" placeholder="填写字段100字以内" ng-model="editDscrip"></textarea>
  633. </div>
  634. <div>
  635. <span>工单权重:</span>
  636. <ui-select class="pull-left selectzise" ng-model="editToweightData.weightData" theme="bootstrap">
  637. <ui-select-match placeholder="选择搜索类型">
  638. {{editToweightData.weightData.name}}
  639. </ui-select-match>
  640. <ui-select-choices repeat="n in weightData">
  641. <div ng-bind-html="n.name"></div>
  642. </ui-select-choices>
  643. </ui-select>
  644. </div>
  645. <div>
  646. <span>优先级:</span>
  647. <ui-select class="pull-left selectzise jry_weight" ng-model="editToYXData.YXData" theme="bootstrap">
  648. <ui-select-match placeholder="选择搜索类型">
  649. {{editToYXData.YXData.name}}
  650. </ui-select-match>
  651. <ui-select-choices repeat="n in YXData">
  652. <div ng-bind-html="n.name"></div>
  653. </ui-select-choices>
  654. </ui-select>
  655. </div>
  656. </div>
  657. <div class="fot">
  658. <div ng-click="editSave()">保存</div>
  659. <div ng-click="editDescribeClose()">取消</div>
  660. </div>
  661. </div>
  662. </div>
  663. </div>