123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- <!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" />
- <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" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- .selectNow {
- background-color: #008a94;
- color: #fff !important;
- }
- .selectNow:hover {
- background-color: #008a94;
- color: #fff !important;
- }
- </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" ng-if="ctl.searchFlag==false">
- <div class="sp-page" style="width:600px;position:absolute;top:100px;left:50%;transform:translateX(-50%)" ng-keydown="ctl.keyLogin()">
- <input type="text" class="sp-input" style="height: 40px; line-height: 40px" ng-model="ctl.search.keyword" placeholder="请输入关键字" />
- <input type="text" class="sp-input sp-mt-10 laydate-logo" style="height: 40px;line-height: 40px" sp-laydate ng-model="ctl.search.startdate" />
- <input type="text" class="sp-input sp-mt-10 laydate-logo" style="height: 40px;line-height: 40px" sp-laydate ng-model="ctl.search.enddate" />
- <div class="sp-page sp-mt-10 sp-text-center">
- <button class="sp-btn-blue sp-radius" style="width:30%;padding:5px 10%;text-align:justify;text-align-last:justify" ng-click="ctl.doSearch()">搜索</button>
- </div>
- </div>
- </div>
- <div class="col-md-12" ng-if="ctl.searchFlag==true">
- <div class="sp-page-tab">
- <div class="sp-pull-left">
- <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-class="{'selectNow':ctl.selectOa == 'New'}" style="margin: 0;border-radius:0px;border-bottom-left-radius: 10px;border-top-left-radius: 10px;border-right: 1px solid #fff;" ng-click="ctl.toNew()">
- 新版OA
- </a>
- <a class="sp-pull-left sp-btn-gray sp-btn-radius" ng-class="{'selectNow':ctl.selectOa == 'Old'}" style="margin: 0;border-radius:0px;border-bottom-right-radius: 10px;border-top-right-radius: 10px;margin-right: 15px;" ng-click="ctl.toOld()">
- 旧版OA
- </a>
- </div>
- <div class="sp-page-col">
- <div class="sp-page-title" style="margin:7px 0;">
- 公文查询
- </div>
- </div>
- <div class="sp-pull-right">
- <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-click="ctl.openSearch()">
- <i class="fa fa-search sp-mr-5"></i>查 询
- </a>
- </div>
- </div>
- <div ng-if="ctl.selectOa=='New'" class="sp-page">
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th>流程</th>
- <th width="400">标题</th>
- <th>发起时间</th>
- <th>状态</th>
- <th>在办人</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
- <td ng-bind="item.FLOWNAME"></td>
- <td>
- <div class="sp-page" style="max-width:400px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">
- <a ng-bind="item.TITLE" ng-click="ctl.goUrl(item)"></a>
- </div>
- </td>
- <td ng-bind="item.APPDATE"></td>
- <td ng-bind="item.STATUSINFO_CN"></td>
- <td ng-bind="item.userStr"></td>
- <!-- <td><span ng-bind="item.accessoryName" ng-click="ctl.goUrl(item)"></span></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.itemsPerPage" ng-options="x for x in ctl.pageOptions"
- ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></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.getDataNew(newPageNumber)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- <div ng-if="ctl.selectOa=='Old'" class="sp-page">
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th>发起人</th>
- <th>发起时间</th>
- <th width="400">标题</th>
- <th width="800">内容</th>
- <th>类型</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
- <td ng-bind="item.startMember"></td>
- <td ng-bind="item.createDate"></td>
- <td>
- <div class="sp-page" style="max-width:400px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis">
- <a ng-bind="item.title" ng-click="ctl.goUrl(item)"></a>
- </div>
- </td>
- <td ng-bind-html="item.summary|trustHtml"></td>
- <td ng-bind="item.appType_cn"></td>
- <!-- <td><span ng-bind="item.accessoryName" ng-click="ctl.goUrl(item)"></span></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.itemsPerPage" ng-options="x for x in ctl.pageOptions"
- ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></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.getDataOld(newPageNumber)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="SearchOld" style="width: 550px;">
- <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">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td style="width:120px;">关键字</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.keyword" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">发起时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.startdate" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">结束时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.enddate" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-refresh sp-mr-5"></i>关 闭</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="SearchNew" style="width: 550px;">
- <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">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td style="width:120px;">标题</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.title" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">来文单位</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.lwdw" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">发起时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.startdate_" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">结束时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.enddate_" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-refresh 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/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/list.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>
|