123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180 |
- <!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" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- .hasWork{
- background:#ff8d00;
- color:#fff
- }
- .hasWork:hover {
- background: #ff8d00 !important;
- }
- .sp-table tbody tr td {
- border-right: 1px solid #E1E6EB;
- }
- .pointer {
- cursor: pointer;
- }
- </style>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" ng-cloak>
- <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 sp-lh-30">
- <span class="sp-page-col sp-text-left" style="width:80px" ng-if="ctl.search.type==2">值班单位:</span>
- <input class="sp-input sp-pull-left" style="width:150px" ng-model="ctl.search.dw" ng-if="ctl.search.type==2" />
- <span class="sp-page-col sp-text-left sp-ml-10" style="width:80px">月份选择:</span>
- <input class="sp-input sp-pull-left laydate-logo" style="width:150px" sp-laydate laytype="month" ng-model="ctl.search.date" />
- <div class="sp-page-col sp-pull-right">
- <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==1" ng-click="ctl.getData()">查 询</button>
- <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==1" ng-click="ctl.printOut()">导 出</button>
- <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.showType==2" ng-click="ctl.getZSDW()">查 询</button>
- </div>
- </div>
- <div class="sp-page">
- <h3 ng-if="ctl.search.type==1" class="sp-text-center">委机关{{ctl.search.date.slice(5)}}月值班表</h3>
- <h3 ng-if="ctl.search.type==2" class="sp-text-center">委直属单位{{ctl.search.date.slice(5)}}月值班表</h3>
- <div class="sp-page-tab" ng-if="ctl.search.type==1">
- <span ng-class="{'pageTabActive':ctl.showType==1}" ng-click="ctl.showType=1;ctl.getData()">委机关值班表</span>
- <span ng-class="{'pageTabActive':ctl.showType==2}" style="width:120px" ng-click="ctl.showType=2;ctl.getZSDW()">委直属单位值班表</span>
- </div>
- <table class="sp-table sp-mt-10" id="printOut" ng-if="ctl.showType==1">
- <thead>
- <tr>
- <th rowspan="2" width="80">日期</th>
- <th rowspan="2">星期</th>
- <th rowspan="2">值班时间</th>
- <th colspan="4" style="border-bottom: 1px solid #E1E6EB; ">带班领导</th>
- <th colspan="2" style="border-bottom: 1px solid #E1E6EB; ">值班干部</th>
- <th rowspan="2" ng-if="ctl.search.type==1">值班司机</th>
- <th rowspan="2" ng-if="ctl.search.type==1">司机电话</th>
- </tr>
- <tr>
- <th>姓名</th>
- <th>职务</th>
- <th>办公固话</th>
- <th>手机号码</th>
- <th>姓名</th>
- <th>姓名</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list" ng-class="{'hasWork':item.DBLDXM==ctl.userName||item.ZBGBXM1==ctl.userName||item.ZBGBXM2==ctl.userName}" repeat-finish>
- <td ng-bind="item.RIQI"></td>
- <td ng-bind="item.XINGQI"></td>
- <td ng-bind="item.ZBSJ"></td>
- <td ng-bind="item.DBLDXM"></td>
- <td ng-bind="item.ZW"></td>
- <td ng-bind="item.BGGH"></td>
- <td ng-bind="item.SJHM"></td>
- <td ng-bind="item.ZBGBXM1"></td>
- <td ng-bind="item.ZBGBXM2"></td>
- <td ng-if="ctl.search.type==1" ng-bind="item.ZBSJ1"></td>
- <td ng-if="ctl.search.type==1" ng-bind="item.SJDH"></td>
- </tr>
- </tbody>
- </table>
- <div class="sp-box" ng-if="ctl.showType==1">
- <table class="sp-table">
- <tr ng-if="ctl.search.type==1">
- <td width="130">值班须知:</td>
- <td class="sp-text-left" ng-bind-html="ctl.ZBREMARK|trustHtml"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td width="170">值班时间:</td>
- <td class="sp-text-left" ng-bind="ctl.ZBSJREMARK"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>值班电话:</td>
- <td class="sp-text-left" ng-bind="ctl.ZBDH"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>值班传真:</td>
- <td class="sp-text-left" ng-bind="ctl.ZBCZ"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>夜间及节假日值班电话:</td>
- <td class="sp-text-left" ng-bind="ctl.YJJJRZBDH"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>夜间及节假日值班传真:</td>
- <td class="sp-text-left" ng-bind="ctl.YJJJRZBCZ"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>值班地点:</td>
- <td class="sp-text-left" ng-bind="ctl.ZBDD"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>填表人:</td>
- <td class="sp-text-left" ng-bind="ctl.TBR"></td>
- </tr>
- <tr ng-if="ctl.search.type==2">
- <td>备注:</td>
- <td class="sp-text-left" ng-bind-html="item.ctl.REMARK|trustHtml"></td>
- </tr>
- </table>
- </div>
- <table class="sp-table sp-mt-10" ng-if="ctl.showType==2">
- <thead>
- <tr>
- <th width="50">序号</th>
- <th>直属单位名称</th>
- <th>报送时间</th>
- <th width="100">状态</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.zsdwList">
- <td ng-bind="$index+1"></td>
- <td><span ng-class="{'pointer':item.STOPMARK=='1'}" ng-bind="item.CNAME" ng-click="ctl.goDetail(item)"></span></td>
- <td ng-bind="item.BSDATE1"></td>
- <td><span ng-class="{'sp-btn-gray':item.STOPMARK!=='-1','sp-btn-blue':item.STOPMARK=='1'}">{{item.STOPMARK=='1'?"已提交":item.STOPMARK=='-1'?"未提交":"进行中"}}</span></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </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>
- <!-- 导出excel -->
- <script src="../gongzi/js/vendor/jquery.jqprint-0.3.js"></script>
- <script src="../gongzi/js/vendor/shim.min.js"></script>
- <script src="../gongzi/js/vendor/jszip.js"></script>
- <script src="../gongzi/js/vendor/xlsx.full.js"></script>
- <script src="../gongzi/js/vendor/Blob.js"></script>
- <script src="../gongzi/js/vendor/FileSaver.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/zhiban1.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>
|