123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
-
- <title>档案管理</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <link href="../../AFrontEnd/js/jquery/jquery-ui.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- tr.check {
- background: #F9F9FA;
- }
- .pointer {
- cursor:pointer
- }
- .Item {
- background: #c6c6c6;
- color: #000;
- cursor: pointer;
- border: 1px solid #fff;
- padding: 3px;
- }
- .Choose {
- background: #1c84c6;
- color: #fff;
- }
- </style>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" ng-cloak>
- <div class="loading" ng-if="ctl.loading">
- <div class="loading-msg">
- <h3>数据加载中,请等待</h3>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- </div>
- </div>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="col-md-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="col-md-12">
- <div class="sp-page-tab">
- <span ng-class="{'pageTabActive':ctl.type==1}" ng-click="ctl.changeType(1)">未整理</span>
- <span ng-class="{'pageTabActive':ctl.type==2}" ng-click="ctl.changeType(2)">已整理</span>
- <div class="sp-pull-right">
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" href="index.html">
- <i class="fa fa-reply sp-mr-5"></i>返 回
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
- <i class="fa fa-refresh sp-mr-5"></i>刷 新
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==2" ng-click="ctl.btnSubmit()">
- <i class="fa fa-file sp-mr-5"></i>提 交
- </a>
- <!--<a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.hebing()">
- <i class="fa fa-file sp-mr-5"></i>合 并
- </a>-->
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.gdz()">
- <i class="fa fa-file sp-mr-5"></i>归档章
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.danghao()">
- <i class="fa fa-file sp-mr-5"></i>档 号
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type==1" ng-click="ctl.pailie(0)">
- <i class="fa fa-sort sp-mr-5"></i>排 列
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openSearchLayer()">
- <i class="fa fa-search sp-mr-5"></i>查 询
- </a>
- </div>
- <div class="sp-pull-right" style="line-height:30px">
- <input type="text" class="sp-input sp-pull-left sp-mr-10 laydate-logo" ng-model="ctl.search.archyear" sp-laydate laytype="year" style="width:200px" />
- <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="10年" ng-model="ctl.search.mijiqixian" />10年</label>
- <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="30年" ng-model="ctl.search.mijiqixian" />30年</label>
- <label class="sp-page-col pointer sp-mr-10" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="永久" ng-model="ctl.search.mijiqixian" />永久</label>
- </div>
- </div>
- <div class="sp-page">
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th width="30"><input type="checkbox" ng-model="ctl.listChecked" ng-change="ctl.changeListCheck()" /></th>
- <th width="50">序号</th>
- <th width="300">档号</th>
- <th>标题</th>
- <th width="200">分类</th>
- <th width="100">保管期限</th>
- <th width="180">操 作</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.search.itemsPerPage" total-items="ctl.total_count" ng-class="{'check':item.checked==true}" ng-click="ctl.changeCheck(item,2)">
- <td><input type="checkbox" ng-model="item.checked" ng-change="ctl.changeCheck(item,1)" /></td>
- <td ng-bind="(ctl.pageno-1)*ctl.search.itemsPerPage+($index+1)"></td>
- <td ng-bind="item.ARCHCODE"></td>
- <td>
- <a ng-if="item.SENDSTATUS == 1" ng-click="ctl.toHref('formedt',item,1)"
- title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
- <a ng-if="item.SENDSTATUS == 3" ng-click="ctl.toHref('submitdetail',item,2)"
- title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
- <a ng-if="item.SENDSTATUS == 4" ng-click="ctl.hbEdti(item)"
- title="{{item.DOCTITLE}}" ng-bind="item.DOCTITLE" class="sp-color-blue"></a>
- </td>
- <td ng-bind="item.DOCUMENTTYPE"></td>
- <td ng-bind="item.MIJIQIXIAN"></td>
- <td class="sp-text-center">
- <button class="sp-btn-green sp-btn-sm sp-radius" ng-if="ctl.type == 1" ng-click="ctl.toHref('formedt',item,1)">查 看</button>
- <button class="sp-btn-green sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 3" ng-click="ctl.toHref('submitdetail',item,2)">查 看</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 4" ng-click="ctl.hbEdti(item)">编 辑</button>
- <!--<button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.type == 2" ng-click="ctl.toHref('danghao',item.ROUTEINFOID,1)">档号整理</button>-->
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-if="item.SENDSTATUS == 1&&(item.ARCHCODE==null||item.ARCHCODE=='')" ng-click="ctl.btnReturn(1,item.ROUTEINFOID)">退 回</button>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- <div class="sp-page" ng-show="ctl.noDataTip != 0">
- <div class="sp-page-col sp-pull-right">
- <div class="sp-lh-34">
- 每页 <select ng-model="ctl.search.itemsPerPage" ng-options="x for x in ctl.pageOptions"></select> 条
- </div>
- </div>
- <div class="sp-page-col sp-pull-right">
- <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
- on-page-change="ctl.getData(newPageNumber,ctl.type)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="search" style="width:450px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 查 询
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-box">
- <table class="sp-table">
- <tr>
- <td style="width:100px">标 题</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.title" />
- </td>
- </tr>
- <!--<tr>
- <td>保管期限</td>
- <td>
- <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="" ng-model="ctl.search.mijiqixian" />全部</label>
- <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="10年" ng-model="ctl.search.mijiqixian" />10年</label>
- <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="30年" ng-model="ctl.search.mijiqixian" />30年</label>
- <label class="sp-col-25 pointer" ng-click="ctl.btnSearch()"><input type="radio" name="mijiqixian" value="永久" ng-model="ctl.search.mijiqixian" />永久</label>
- </td>
- </tr>-->
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnSearch()"><i class="fa fa-check sp-mr-5"></i>确 认</a>
- <a class="sp-btn-blue sp-radius" ng-click="ctl.closeSeach()"><i class="fa fa-reply-all sp-mr-5"></i>重 置</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="backopinion" style="width:450px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 退回意见
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-box">
- <table class="sp-table">
- <tr>
- <td style="width:100px">退回理由</td>
- <td>
- <textarea class="sp-textarea" rows="3" style="resize:none" ng-model="ctl.back.opinion"></textarea>
- </td>
- </tr>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnReturn(2)"><i class="fa fa-check sp-mr-5"></i>提 交</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"></i>取 消</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="pailie" style="width:800px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 排 列
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('#pailie')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <!--<center class="sp-col-33 Item" ng-click="ctl.pailie(1)">10年</center>
- <center class="sp-col-33 Item" ng-click="ctl.pailie(2)">30年</center>
- <center class="sp-col-33 Item" ng-click="ctl.pailie(3)">永久</center>-->
- <div class="sp-box" style="max-height:500px;overflow:auto">
- <table class="sp-table">
- <thead>
- <tr>
- <th width="100">件号</th>
- <th width="200">文号</th>
- <th>标题</th>
- <!--<th width="300">操作</th>-->
- </tr>
- </thead>
- <tbody id="table_tbody">
- <tr ng-repeat="item in ctl.list1" index="{{item.JIANHAO}}" data-col="{{item.ID}}">
- <td ng-bind="item.JIANHAO"></td>
- <td ng-bind="item.WENHAO"></td>
- <td ng-bind="item.DOCTITLE"></td>
- <!--<td>
- <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index==0" ng-click="ctl.Top(item,$index)">置顶</button>
- <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index==0" ng-click="ctl.Up(item,$index)">上移</button>
- <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index+1==ctl.list1.length" ng-click="ctl.Down(item,$index)">下移</button>
- <button class="sp-btn-blue sp-btn-sm" ng-disabled="$index+1==ctl.list1.length" ng-click="ctl.Bottom(item,$index)">置底</button>
- </td>-->
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.closePai()"><i class="fa fa-check sp-mr-5"></i>确 认</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('#pailie')"><i class="fa fa-reply-all sp-mr-5"></i>关 闭</a>
- </div>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/js/jquery/jquery-ui-1.10.4.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../apiurljs.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script>document.write('<scri' + 'pt src="js/list2.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- <script src="../../AFrontEnd/js/special/spngvld.js"></script>
- </body>
- </html>
|