123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563 |
- <div ng-controller="open_fileListCtrl">
- <section id="page-title">
- <div class="row">
- <!-- <i class="iconfont icon-bianji pull-left"></i> -->
- <div class="col-sm-8">
- <h1 class="mainTitle">引入文档<i tooltip='文档管理,点击操作处理任务' tooltip-placement="right" class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"></i></h1>
- </div>
- </div>
- </section>
- <div class="jry_box">
- <div class="col-sm-3">
- <div class="title">文件夹:</div>
- <div class="folder">
- <div class="search">
- <input type="text" placeholder="请输入关键字" ng-model="search_tree_ipt" ng-change="search_tree_fn()">
- <i class="iconfont icon-search"></i>
- </div>
- <div class="tree" ng-show="search_tree_ipt==''">
- <span ng-if="doing_async">...加载中...</span>
- <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>
- </div>
- <div class="tree" ng-show="search_tree_ipt!=''">
- <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>
- </div>
- </div>
- </div>
- <div class="col-sm-7">
- <div class="title">引入到的目录名称:{{fileMessage.label}}</div>
- <div class="file">
- <div class="head">
- <span class="spa">文档名称:</span>
- <input type="text" class="ipt" ng-model="jry_filterdata.fileName">
- <span class="spa">关键字搜索:</span>
- <input type="text" class="ipt" ng-model="jry_filterdata.content">
- <button class="clean" ng-click="clean()">清空</button>
- <button class="search" ng-click="list_search()">搜索</button>
- <!-- <input type="text"> -->
- </div>
- <div class="body">
- <div class="title">
- <span>文件列表</span>
- </div>
- <div ui-i18n="{{lang}}">
- <div class="grid_height">
- <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>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="title">
- <span class="right_num_tit">已选中:</span>
- <span class="right_num"><span>{{right_select.length}}</span>个</span>
- </div>
- <div class="right_files">
- <div ng-repeat="v in right_select" class="select_files">
- <i class="iconfont icon-liebiao1"></i>
- <div class="files" tooltip="{{v.fileName}}.{{v.fileType}}" tooltip-placement="top">{{v.fileName}}.{{v.fileType}}</div>
- <div class="remove" ng-click="remove_files(v)">移除</div>
- </div>
- </div>
- </div>
- </div>
- <div class="jry_fot">
- <button ng-click="open_submit()">确定</button>
- <button ng-click="open_close()">取消</button>
- </div>
- </div>
- <style>
- .select_files{
- display: flex;
- }
- .select_files .remove{
- width: 20%;
- font-size: 14px;
- color: red;
- /* text-decoration: underline */
- cursor: pointer;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis
- }
- .select_files .remove:hover{
- text-decoration: underline
- }
- .select_files .files{
- font-size: 14px;
- margin-left: 5px;
- width: 70%;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis
- }
- .select_files i{
- font-size: 14px;
- color: #005395
- }
- .right_num_tit{
- float: left;
- }
- .right_num{
- float: right;
- }
- .right_num span{
- color: #005395
- }
- .jry_fot{
- height: 35px;
- display: flex;
- align-items:center;
- justify-content:center
- }
- .jry_fot button{
- width: 60px;
- height: 28px;
- border-radius: 2px;
- cursor: pointer;
- margin-top: 5px
- }
- .jry_fot button:nth-child(1){
- border:1px rgb(0,83,149) solid;
- background-color: rgb(0,83,149);
- color: white;
- }
- .jry_fot button:nth-child(2){
- border:1px rgb(230,230,230) solid;
- background-color: white;
- color: rgb(128, 123, 123);
- margin-left: 10px;
- margin-right: 10px;
- }
- .right_files{
- border: 1px rgb(185, 184, 184) solid;
- height: 500px;
- border-radius: 2px;
- overflow: hidden;
- overflow-y: scroll
- }
- .right_files::-webkit-scrollbar{
- display: none
- }
- .new_file{
- display: inline-block;
- width: 50px;
- height: 20px;
- cursor: pointer;
- color: #6f9ad4;
- position: relative;
- }
- .new_file input{
- opacity: 0;
- width: 50px;
- height: 20px;
- position: absolute;
- left: 0;
- top: 0;
- cursor: pointer;
- }
- #doc_loading{
- width: 100%;
- height: 100%;
- position: fixed;
- left: 0;
- top: 0;
- background-color: rgba(255,255,255,0.7);
- display: flex;
- justify-content:center;
- align-items:center;
- z-index: 99998;
- /* display: none */
- }
- #doc_loading img{
- width: 50px;
- height: 50px;
- z-index: 99999;
- }
- #doc_loading span{
- font-size: 24px
- }
- /* 左侧树 */
- .jry_box{
- display: flex;
- }
- .jry_box .title{
- height: 25px;
- line-height: 25px;
- font-size: 16px;
- }
- .jry_box .folder{
- border:1px rgb(185, 184, 184) solid;
- height: 500px;
- border-radius: 2px
- }
- /* 操作三个按钮 */
- .jry_box .folder .operation{
- height: 35px;
- background-color: rgb(245,245,245)
- }
- .jry_box .folder .operation div{
- float: left;
- width: 33%;
- height: 35px;
- text-align: center;
- line-height: 35px;
- cursor: pointer;
- }
- .jry_box .folder .operation div:nth-child(2){
- border-left:1px rgb(230,230,230) solid;
- border-right:1px rgb(230,230,230) solid
- }
- .jry_box .folder .operation div:hover{
- color: rgb(62,125,175)
- }
- /* 搜索 */
- .jry_box .folder .search{
- height: 25px;
- margin: 0 auto;
- display: flex;
- justify-content:center;
- margin-top: 8px
- }
- .jry_box .folder .search input{
- border-radius: 4px 0 0 4px;
- height: 25px;
- width: 85%
- }
- .jry_box .folder .search input:focus{
- outline: none
- }
- .jry_box .folder .search input::-webkit-input-placeholder{
- font-size: 13px;
- color: rgb(180, 179, 179)
- }
- .jry_box .folder .search i{
- display: inline-block;
- height: 24.5px;
- width: 25px;
- line-height: 26px;
- text-align: center;
- border-radius: 0px 4px 4px 0px;
- font-size: 14px;
- color: rgb(192, 191, 191);
- border: 1px rgb(222, 222, 222) solid;
- margin-left: -1px;
- cursor: pointer;
- }
- /* 树 */
- .jry_box .folder .tree{
- height: 422px;
- overflow: hidden;
- margin-top: 8px;
- overflow-y: scroll;
- }
- .jry_box .folder .tree a{
- display: inline-block;
- width: 100%;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis
- }
- .jry_box .folder .tree .left_search_datas{
- /* display: inline-block; */
- width: 100%;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis
- }
- .jry_box .folder .tree::-webkit-scrollbar{
- display: none
- }
- .jry_box .folder .tree i{
- font-size: 14px
- }
- /* 背景蒙版 */
- .fix_back{
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0,0,0,0.5);
- z-index: 99999;
- }
- /* 新增弹框 */
- .fix_back .add_new_box{
- width: 340px;
- height: 325px;
- background-color: white;
- margin-left: -170px;
- margin-top: -162px;
- position: absolute;
- left: 50%;
- top: 50%;
- border-radius: 2px;
- display: none
- }
- .fix_back .add_new_box .tree-control .tree-view{
- height: 230px;
- }
- .fix_back .add_new_box .head{
- height: 45px;
- line-height:45px;
- text-align: center;
- font-size: 17px;
- border-bottom: 2px rgb(245,245,245) solid;
- position: relative;
- }
- .fix_back .add_new_box .head span{
- display: inline-block;
- width: 14px;
- height: 14px;
- border-radius: 50%;
- border: 1px black solid;
- position: absolute;
- right: 14px;
- top: 15px;
- line-height: 11px;
- cursor: pointer;
- }
- .fix_back .add_new_box .body{
- width: 90%;
- height: 230px;
- border:1px rgb(240,240,240) solid;
- border-radius: 2px;
- margin: 0 auto;
- margin-top: 5px;
- background-color: #f3f3f3
- }
- .fix_back .add_new_box .body .tit{
- height: 30px;
- line-height: 30px;
- font-size: 13px;
- }
- .fix_back .add_new_box .body .left{
- display: inline-block;
- width: 15px;
- text-align: center;
- color: red;
- }
- .fix_back .add_new_box .body .green{
- padding-left: 15px
- }
- .fix_back .add_new_box .foot{
- display: flex;
- justify-content:center;
- align-items:center;
- height: 45px;
- }
- .fix_back .add_new_box .foot button{
- width: 80px;
- height: 34px;
- border-radius: 2px;
- cursor: pointer;
- }
- .fix_back .add_new_box .foot button:nth-child(1){
- border:1px rgb(0,83,149) solid;
- background-color: rgb(0,83,149);
- color: white
- }
- .fix_back .add_new_box .foot button:nth-child(2){
- border:1px rgb(230,230,230) solid;
- background-color: white;
- color: rgb(128, 123, 123);
- margin-left: 10px
- }
- .fix_back .add_new_box .file_name{
- width: 260px;
- height: 31px;
- }
- .fix_back .add_new_box .file_name::-webkit-input-placeholder{
- font-size: 13px;
- color: rgb(180,180,180)
- }
- .fix_back .add_new_box .tree-control .tree-input{
- margin-left: 15px;
- width: 90%;
- }
- .fix_back .add_new_box .tree-control .tree-view{
- min-width: 293px!important;
- margin-left: 14px;
- width: 293px
- }
- /* 修改弹框 */
- .fix_back .modify_box{
- width: 340px;
- height: 192px;
- margin-left: -170px;
- margin-top: -96px;
- position: absolute;
- left: 50%;
- top: 50%;
- background-color: white;
- border-radius: 2px;
- display: none
- }
- .fix_back .modify_box .head{
- height: 45px;
- line-height:45px;
- text-align: center;
- font-size: 17px;
- border-bottom: 2px rgb(245,245,245) solid;
- position: relative;
- }
- .fix_back .modify_box .head span{
- display: inline-block;
- width: 14px;
- height: 14px;
- border-radius: 50%;
- border: 1px black solid;
- position: absolute;
- right: 14px;
- top: 15px;
- line-height: 11px;
- cursor: pointer;
- }
- .fix_back .modify_box .body{
- width: 90%;
- height: 100px;
- border:1px rgb(240,240,240) solid;
- border-radius: 2px;
- margin: 0 auto;
- margin-top: 5px;
- background-color: #f3f3f3
- }
- .fix_back .modify_box .body .tit{
- height: 30px;
- line-height: 30px;
- font-size: 13px;
- }
- .fix_back .modify_box .body .left{
- display: inline-block;
- width: 15px;
- text-align: center;
- color: red;
- }
- .fix_back .modify_box .file_name{
- width: 260px;
- height: 31px;
- }
- .fix_back .modify_box .foot{
- display: flex;
- justify-content:center;
- align-items:center;
- height: 45px;
- }
- .fix_back .modify_box .foot button{
- width: 80px;
- height: 34px;
- border-radius: 2px;
- cursor: pointer;
- }
- .fix_back .modify_box .foot button:nth-child(1){
- border:1px rgb(0,83,149) solid;
- background-color: rgb(0,83,149);
- color: white
- }
- .fix_back .modify_box .foot button:nth-child(2){
- border:1px rgb(230,230,230) solid;
- background-color: white;
- color: rgb(128, 123, 123);
- margin-left: 10px
- }
- .left_search_datas{
- padding-left: 10px;
- cursor: pointer;
- height: 30px;
- line-height: 30px
- }
- /* 下拉搜索点击背景 */
- .cli_bg{
- background-color: rgb(233,249,248)
- }
- .left_search_datas:hover{
- background-color: rgb(238,238,238)
- }
- /* 右侧文件列表 */
- .jry_box .file{
- border:1px rgb(185, 184, 184) solid;
- height: 500px;
- border-radius: 2px
- }
- .jry_box .file .head{
- background-color: rgb(243,243,243);
- height: 40px;
- line-height: 40px
- }
- .jry_box .file .body{
- padding: 0 15px
- }
- .jry_box .file .body .title{
- height: 40px;
- line-height: 40px
- }
- .jry_box .file .body .title span{
- font-size: 14px;
- color: #000000;
- float: left;
- }
- .jry_box .file .body .title button{
- width: 80px;
- height: 28px;
- line-height: 26px;
- color:#005395;
- border: 1px #005395 solid;
- background-color: rgb(230,238,244);
- float: right;
- margin-top: 6px;
- cursor: pointer;
- border-radius: 2px
- }
- .jry_box .file .body .grid_height>div{
- height: 400px;
- }
- .jry_box .file .head .spa{
- display: inline-block;
- margin-left: 10px;
- font-size: 14px;
- color: #333333
- }
- .jry_box .file .head input:focus{
- outline: none
- }
- .jry_box .file .head .tab-mainDiv-body-content{
- width: 160px;
- display: inline-block
- }
- .jry_box .file .head .ipt{
- width: 150px;
- height: 30px;
- }
- .jry_box .file .head button{
- width: 60px;
- height: 28px;
- border-radius: 2px;
- cursor: pointer;
- margin-top: 5px
- }
- .jry_box .file .head .btn-default-focus{
- box-shadow:inset 0 1px 1px rgba(0,0,0,0),0 0 8px rgba(102,175,233,0);
- outline: none
- }
- .jry_box .file .head .ui-select-bootstrap>.ui-select-match>.btn{
- margin-bottom: 5px
- }
- .jry_box .file .head .search{
- border:1px rgb(0,83,149) solid;
- background-color: rgb(0,83,149);
- color: white;
- float: right;
- line-height: 28px;
- }
- .jry_box .file .head .clean{
- border:1px rgb(230,230,230) solid;
- background-color: white;
- color: rgb(128, 123, 123);
- margin-left: 10px;
- margin-right: 10px;
- float: right;
- line-height: 28px;
- }
- </style>
|