open_indexes.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. <div ng-controller="open_fileListCtrl">
  2. <section id="page-title">
  3. <div class="row">
  4. <!-- <i class="iconfont icon-bianji pull-left"></i> -->
  5. <div class="col-sm-8">
  6. <h1 class="mainTitle">引入文档<i tooltip='文档管理,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
  7. </div>
  8. </div>
  9. </section>
  10. <div class="jry_box">
  11. <div class="col-sm-3">
  12. <div class="title">文件夹:</div>
  13. <div class="folder">
  14. <div class="search">
  15. <input type="text" placeholder="请输入关键字" ng-model="search_tree_ipt" ng-change="search_tree_fn()">
  16. <i class="iconfont icon-search"></i>
  17. </div>
  18. <div class="tree" ng-show="search_tree_ipt==''">
  19. <span ng-if="doing_async">...加载中...</span>
  20. <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-liebiao1" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
  21. </div>
  22. <div class="tree" ng-show="search_tree_ipt!=''">
  23. <div ng-repeat="v in search_tree_data" class="left_search_datas" tooltip="{{v.name}}" tooltip-placement="top" ng-click="left_search_tree_cli($index,v)" ng-class="{true:'cli_bg'}[$index==left_search_index]">{{v.name}}</div>
  24. </div>
  25. </div>
  26. </div>
  27. <div class="col-sm-7">
  28. <div class="title">引入到的目录名称:{{fileMessage.label}}</div>
  29. <div class="file">
  30. <div class="head">
  31. <span class="spa">文档名称:</span>
  32. <input type="text" class="ipt" ng-model="jry_filterdata.fileName">
  33. <span class="spa">关键字搜索:</span>
  34. <input type="text" class="ipt" ng-model="jry_filterdata.content">
  35. <button class="clean" ng-click="clean()">清空</button>
  36. <button class="search" ng-click="list_search()">搜索</button>
  37. <!-- <input type="text"> -->
  38. </div>
  39. <div class="body">
  40. <div class="title">
  41. <span>文件列表</span>
  42. </div>
  43. <div ui-i18n="{{lang}}">
  44. <div class="grid_height">
  45. <div id="grid1 " ui-grid="gridOptions " ui-grid-pagination external-scopes="$scope " ui-grid-resize-columns ui-grid-selection ui-grid-auto-resize class="grid "></div>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <div class="col-sm-2">
  52. <div class="title">
  53. <span class="right_num_tit">已选中:</span>
  54. <span class="right_num"><span>{{right_select.length}}</span>个</span>
  55. </div>
  56. <div class="right_files">
  57. <div ng-repeat="v in right_select" class="select_files">
  58. <i class="iconfont icon-liebiao1"></i>
  59. <div class="files" tooltip="{{v.fileName}}.{{v.fileType}}" tooltip-placement="top">{{v.fileName}}.{{v.fileType}}</div>
  60. <div class="remove" ng-click="remove_files(v)">移除</div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="jry_fot">
  66. <button ng-click="open_submit()">确定</button>
  67. <button ng-click="open_close()">取消</button>
  68. </div>
  69. </div>
  70. <style>
  71. .select_files{
  72. display: flex;
  73. }
  74. .select_files .remove{
  75. width: 20%;
  76. font-size: 14px;
  77. color: red;
  78. /* text-decoration: underline */
  79. cursor: pointer;
  80. overflow: hidden;
  81. white-space: nowrap;
  82. text-overflow: ellipsis
  83. }
  84. .select_files .remove:hover{
  85. text-decoration: underline
  86. }
  87. .select_files .files{
  88. font-size: 14px;
  89. margin-left: 5px;
  90. width: 70%;
  91. overflow: hidden;
  92. white-space: nowrap;
  93. text-overflow: ellipsis
  94. }
  95. .select_files i{
  96. font-size: 14px;
  97. color: #005395
  98. }
  99. .right_num_tit{
  100. float: left;
  101. }
  102. .right_num{
  103. float: right;
  104. }
  105. .right_num span{
  106. color: #005395
  107. }
  108. .jry_fot{
  109. height: 35px;
  110. display: flex;
  111. align-items:center;
  112. justify-content:center
  113. }
  114. .jry_fot button{
  115. width: 60px;
  116. height: 28px;
  117. border-radius: 2px;
  118. cursor: pointer;
  119. margin-top: 5px
  120. }
  121. .jry_fot button:nth-child(1){
  122. border:1px rgb(0,83,149) solid;
  123. background-color: rgb(0,83,149);
  124. color: white;
  125. }
  126. .jry_fot button:nth-child(2){
  127. border:1px rgb(230,230,230) solid;
  128. background-color: white;
  129. color: rgb(128, 123, 123);
  130. margin-left: 10px;
  131. margin-right: 10px;
  132. }
  133. .right_files{
  134. border: 1px rgb(185, 184, 184) solid;
  135. height: 500px;
  136. border-radius: 2px;
  137. overflow: hidden;
  138. overflow-y: scroll
  139. }
  140. .right_files::-webkit-scrollbar{
  141. display: none
  142. }
  143. .new_file{
  144. display: inline-block;
  145. width: 50px;
  146. height: 20px;
  147. cursor: pointer;
  148. color: #6f9ad4;
  149. position: relative;
  150. }
  151. .new_file input{
  152. opacity: 0;
  153. width: 50px;
  154. height: 20px;
  155. position: absolute;
  156. left: 0;
  157. top: 0;
  158. cursor: pointer;
  159. }
  160. #doc_loading{
  161. width: 100%;
  162. height: 100%;
  163. position: fixed;
  164. left: 0;
  165. top: 0;
  166. background-color: rgba(255,255,255,0.7);
  167. display: flex;
  168. justify-content:center;
  169. align-items:center;
  170. z-index: 99998;
  171. /* display: none */
  172. }
  173. #doc_loading img{
  174. width: 50px;
  175. height: 50px;
  176. z-index: 99999;
  177. }
  178. #doc_loading span{
  179. font-size: 24px
  180. }
  181. /* 左侧树 */
  182. .jry_box{
  183. display: flex;
  184. }
  185. .jry_box .title{
  186. height: 25px;
  187. line-height: 25px;
  188. font-size: 16px;
  189. }
  190. .jry_box .folder{
  191. border:1px rgb(185, 184, 184) solid;
  192. height: 500px;
  193. border-radius: 2px
  194. }
  195. /* 操作三个按钮 */
  196. .jry_box .folder .operation{
  197. height: 35px;
  198. background-color: rgb(245,245,245)
  199. }
  200. .jry_box .folder .operation div{
  201. float: left;
  202. width: 33%;
  203. height: 35px;
  204. text-align: center;
  205. line-height: 35px;
  206. cursor: pointer;
  207. }
  208. .jry_box .folder .operation div:nth-child(2){
  209. border-left:1px rgb(230,230,230) solid;
  210. border-right:1px rgb(230,230,230) solid
  211. }
  212. .jry_box .folder .operation div:hover{
  213. color: rgb(62,125,175)
  214. }
  215. /* 搜索 */
  216. .jry_box .folder .search{
  217. height: 25px;
  218. margin: 0 auto;
  219. display: flex;
  220. justify-content:center;
  221. margin-top: 8px
  222. }
  223. .jry_box .folder .search input{
  224. border-radius: 4px 0 0 4px;
  225. height: 25px;
  226. width: 85%
  227. }
  228. .jry_box .folder .search input:focus{
  229. outline: none
  230. }
  231. .jry_box .folder .search input::-webkit-input-placeholder{
  232. font-size: 13px;
  233. color: rgb(180, 179, 179)
  234. }
  235. .jry_box .folder .search i{
  236. display: inline-block;
  237. height: 24.5px;
  238. width: 25px;
  239. line-height: 26px;
  240. text-align: center;
  241. border-radius: 0px 4px 4px 0px;
  242. font-size: 14px;
  243. color: rgb(192, 191, 191);
  244. border: 1px rgb(222, 222, 222) solid;
  245. margin-left: -1px;
  246. cursor: pointer;
  247. }
  248. /* 树 */
  249. .jry_box .folder .tree{
  250. height: 422px;
  251. overflow: hidden;
  252. margin-top: 8px;
  253. overflow-y: scroll;
  254. }
  255. .jry_box .folder .tree a{
  256. display: inline-block;
  257. width: 100%;
  258. overflow: hidden;
  259. white-space: nowrap;
  260. text-overflow: ellipsis
  261. }
  262. .jry_box .folder .tree .left_search_datas{
  263. /* display: inline-block; */
  264. width: 100%;
  265. overflow: hidden;
  266. white-space: nowrap;
  267. text-overflow: ellipsis
  268. }
  269. .jry_box .folder .tree::-webkit-scrollbar{
  270. display: none
  271. }
  272. .jry_box .folder .tree i{
  273. font-size: 14px
  274. }
  275. /* 背景蒙版 */
  276. .fix_back{
  277. position: fixed;
  278. left: 0;
  279. top: 0;
  280. width: 100%;
  281. height: 100%;
  282. background-color: rgba(0,0,0,0.5);
  283. z-index: 99999;
  284. }
  285. /* 新增弹框 */
  286. .fix_back .add_new_box{
  287. width: 340px;
  288. height: 325px;
  289. background-color: white;
  290. margin-left: -170px;
  291. margin-top: -162px;
  292. position: absolute;
  293. left: 50%;
  294. top: 50%;
  295. border-radius: 2px;
  296. display: none
  297. }
  298. .fix_back .add_new_box .tree-control .tree-view{
  299. height: 230px;
  300. }
  301. .fix_back .add_new_box .head{
  302. height: 45px;
  303. line-height:45px;
  304. text-align: center;
  305. font-size: 17px;
  306. border-bottom: 2px rgb(245,245,245) solid;
  307. position: relative;
  308. }
  309. .fix_back .add_new_box .head span{
  310. display: inline-block;
  311. width: 14px;
  312. height: 14px;
  313. border-radius: 50%;
  314. border: 1px black solid;
  315. position: absolute;
  316. right: 14px;
  317. top: 15px;
  318. line-height: 11px;
  319. cursor: pointer;
  320. }
  321. .fix_back .add_new_box .body{
  322. width: 90%;
  323. height: 230px;
  324. border:1px rgb(240,240,240) solid;
  325. border-radius: 2px;
  326. margin: 0 auto;
  327. margin-top: 5px;
  328. background-color: #f3f3f3
  329. }
  330. .fix_back .add_new_box .body .tit{
  331. height: 30px;
  332. line-height: 30px;
  333. font-size: 13px;
  334. }
  335. .fix_back .add_new_box .body .left{
  336. display: inline-block;
  337. width: 15px;
  338. text-align: center;
  339. color: red;
  340. }
  341. .fix_back .add_new_box .body .green{
  342. padding-left: 15px
  343. }
  344. .fix_back .add_new_box .foot{
  345. display: flex;
  346. justify-content:center;
  347. align-items:center;
  348. height: 45px;
  349. }
  350. .fix_back .add_new_box .foot button{
  351. width: 80px;
  352. height: 34px;
  353. border-radius: 2px;
  354. cursor: pointer;
  355. }
  356. .fix_back .add_new_box .foot button:nth-child(1){
  357. border:1px rgb(0,83,149) solid;
  358. background-color: rgb(0,83,149);
  359. color: white
  360. }
  361. .fix_back .add_new_box .foot button:nth-child(2){
  362. border:1px rgb(230,230,230) solid;
  363. background-color: white;
  364. color: rgb(128, 123, 123);
  365. margin-left: 10px
  366. }
  367. .fix_back .add_new_box .file_name{
  368. width: 260px;
  369. height: 31px;
  370. }
  371. .fix_back .add_new_box .file_name::-webkit-input-placeholder{
  372. font-size: 13px;
  373. color: rgb(180,180,180)
  374. }
  375. .fix_back .add_new_box .tree-control .tree-input{
  376. margin-left: 15px;
  377. width: 90%;
  378. }
  379. .fix_back .add_new_box .tree-control .tree-view{
  380. min-width: 293px!important;
  381. margin-left: 14px;
  382. width: 293px
  383. }
  384. /* 修改弹框 */
  385. .fix_back .modify_box{
  386. width: 340px;
  387. height: 192px;
  388. margin-left: -170px;
  389. margin-top: -96px;
  390. position: absolute;
  391. left: 50%;
  392. top: 50%;
  393. background-color: white;
  394. border-radius: 2px;
  395. display: none
  396. }
  397. .fix_back .modify_box .head{
  398. height: 45px;
  399. line-height:45px;
  400. text-align: center;
  401. font-size: 17px;
  402. border-bottom: 2px rgb(245,245,245) solid;
  403. position: relative;
  404. }
  405. .fix_back .modify_box .head span{
  406. display: inline-block;
  407. width: 14px;
  408. height: 14px;
  409. border-radius: 50%;
  410. border: 1px black solid;
  411. position: absolute;
  412. right: 14px;
  413. top: 15px;
  414. line-height: 11px;
  415. cursor: pointer;
  416. }
  417. .fix_back .modify_box .body{
  418. width: 90%;
  419. height: 100px;
  420. border:1px rgb(240,240,240) solid;
  421. border-radius: 2px;
  422. margin: 0 auto;
  423. margin-top: 5px;
  424. background-color: #f3f3f3
  425. }
  426. .fix_back .modify_box .body .tit{
  427. height: 30px;
  428. line-height: 30px;
  429. font-size: 13px;
  430. }
  431. .fix_back .modify_box .body .left{
  432. display: inline-block;
  433. width: 15px;
  434. text-align: center;
  435. color: red;
  436. }
  437. .fix_back .modify_box .file_name{
  438. width: 260px;
  439. height: 31px;
  440. }
  441. .fix_back .modify_box .foot{
  442. display: flex;
  443. justify-content:center;
  444. align-items:center;
  445. height: 45px;
  446. }
  447. .fix_back .modify_box .foot button{
  448. width: 80px;
  449. height: 34px;
  450. border-radius: 2px;
  451. cursor: pointer;
  452. }
  453. .fix_back .modify_box .foot button:nth-child(1){
  454. border:1px rgb(0,83,149) solid;
  455. background-color: rgb(0,83,149);
  456. color: white
  457. }
  458. .fix_back .modify_box .foot button:nth-child(2){
  459. border:1px rgb(230,230,230) solid;
  460. background-color: white;
  461. color: rgb(128, 123, 123);
  462. margin-left: 10px
  463. }
  464. .left_search_datas{
  465. padding-left: 10px;
  466. cursor: pointer;
  467. height: 30px;
  468. line-height: 30px
  469. }
  470. /* 下拉搜索点击背景 */
  471. .cli_bg{
  472. background-color: rgb(233,249,248)
  473. }
  474. .left_search_datas:hover{
  475. background-color: rgb(238,238,238)
  476. }
  477. /* 右侧文件列表 */
  478. .jry_box .file{
  479. border:1px rgb(185, 184, 184) solid;
  480. height: 500px;
  481. border-radius: 2px
  482. }
  483. .jry_box .file .head{
  484. background-color: rgb(243,243,243);
  485. height: 40px;
  486. line-height: 40px
  487. }
  488. .jry_box .file .body{
  489. padding: 0 15px
  490. }
  491. .jry_box .file .body .title{
  492. height: 40px;
  493. line-height: 40px
  494. }
  495. .jry_box .file .body .title span{
  496. font-size: 14px;
  497. color: #000000;
  498. float: left;
  499. }
  500. .jry_box .file .body .title button{
  501. width: 80px;
  502. height: 28px;
  503. line-height: 26px;
  504. color:#005395;
  505. border: 1px #005395 solid;
  506. background-color: rgb(230,238,244);
  507. float: right;
  508. margin-top: 6px;
  509. cursor: pointer;
  510. border-radius: 2px
  511. }
  512. .jry_box .file .body .grid_height>div{
  513. height: 400px;
  514. }
  515. .jry_box .file .head .spa{
  516. display: inline-block;
  517. margin-left: 10px;
  518. font-size: 14px;
  519. color: #333333
  520. }
  521. .jry_box .file .head input:focus{
  522. outline: none
  523. }
  524. .jry_box .file .head .tab-mainDiv-body-content{
  525. width: 160px;
  526. display: inline-block
  527. }
  528. .jry_box .file .head .ipt{
  529. width: 150px;
  530. height: 30px;
  531. }
  532. .jry_box .file .head button{
  533. width: 60px;
  534. height: 28px;
  535. border-radius: 2px;
  536. cursor: pointer;
  537. margin-top: 5px
  538. }
  539. .jry_box .file .head .btn-default-focus{
  540. box-shadow:inset 0 1px 1px rgba(0,0,0,0),0 0 8px rgba(102,175,233,0);
  541. outline: none
  542. }
  543. .jry_box .file .head .ui-select-bootstrap>.ui-select-match>.btn{
  544. margin-bottom: 5px
  545. }
  546. .jry_box .file .head .search{
  547. border:1px rgb(0,83,149) solid;
  548. background-color: rgb(0,83,149);
  549. color: white;
  550. float: right;
  551. line-height: 28px;
  552. }
  553. .jry_box .file .head .clean{
  554. border:1px rgb(230,230,230) solid;
  555. background-color: white;
  556. color: rgb(128, 123, 123);
  557. margin-left: 10px;
  558. margin-right: 10px;
  559. float: right;
  560. line-height: 28px;
  561. }
  562. </style>