123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231 |
- <!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>
- #table thead tr th,
- #table1 thead tr th {
- font-size: 20px;
- font-weight: 600;
- background: #e0e0e0;
- }
- </style>
- </head>
- <body>
- <div ng-controller="taizhangCtrl 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">
- <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" href="list.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.printOut()">
- <i class="fa fa-sign-out 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-click="ctl.addItem()">
- <i class="fa fa-plus sp-mr-5"></i>日新增
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openInit()">
- <i class="fa fa-recycle sp-mr-5"></i>周新建
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openLayer()">
- <i class="fa fa-search sp-mr-5"></i>筛 选
- </a>
- </div>
- </div>
- <table class="sp-grid-import" id="table1">
- <thead>
- <tr>
- <th width="500">时间</th>
- <th>工作内容</th>
- <th width="400">参加范围</th>
- <th width="400">地点</th>
- </tr>
- </thead>
- </table>
- <div class="sp-page table-scroll" style="max-height:450px;overflow:auto">
- <table class="sp-grid-import" style="margin-top:-37px" id="table">
- <thead>
- <tr>
- <th colspan="4">时间</th>
- <th>工作内容</th>
- <th width="400">参加范围</th>
- <th width="400">地点</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list" repeat-finish>
- <td width="150" ng-bind="item.YZAPDATE1"></td>
- <td width="100" ng-bind="item.CWEEK"></td>
- <td width="100">
- <span ng-bind="item.TIMEPERIOD" ng-if="ctl.editFlag==false"></span>
- <span ng-bind="item.TIMEPERIOD1" ng-if="ctl.editFlag==true"></span>
- </td>
- <td width="150">
- <span ng-bind="item.CTIME1" ng-if="ctl.editFlag==false"></span>
- <input type="text" class="sp-input laydate-logo" sp-laydate laytype="time" format="HH:mm" ng-model="item.CTIME2" ng-if="ctl.editFlag==true" ng-change="ctl.changeCtime(item,1)" />
- </td>
- <td>
- <span ng-bind="item.CNAME" ng-if="ctl.editFlag==false"></span>
- <i class="fa fa-close sp-color-red" style="float:right;cursor:pointer" ng-if="ctl.editFlag==false" ng-click="ctl.delItem(item)" title="删除"></i>
- <input type="text" class="sp-input" ng-model="item.CNAME1" ng-if="ctl.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.ATTENDANCESCOPE" ng-if="ctl.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="item.ATTENDANCESCOPE1" ng-if="ctl.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.ADDR" ng-if="ctl.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="item.ADDR1" ng-if="ctl.editFlag==true" />
- </td>
- </tr>
- <tr ng-repeat="item in ctl.addList" ng-if="ctl.addFlag==true">
- <td width="150">
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="item.YZAPDATE" ng-change="ctl.changeCtime(item,0)" />
- </td>
- <td width="100" ng-bind="item.CWEEK"></td>
- <td width="100" ng-bind="item.TIMEPERIOD"></td>
- <td width="150">
- <input type="text" class="sp-input laydate-logo" sp-laydate laytype="time" format="HH:mm" ng-model="item.CTIME" ng-change="ctl.changeCtime(item,0)" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="item.CNAME" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="item.ATTENDANCESCOPE" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="item.ADDR" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.list.length == 0&&ctl.addFlag==false">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- </div>
- <div class="sp-page sp-text-right">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.editFlag==false" ng-click="ctl.editFlag=true">编辑</button>
- <button class="sp-btn-green sp-btn-sm sp-radius" ng-if="ctl.editFlag==true||ctl.addFlag==true" ng-click="ctl.btnSave()">保存</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-if="ctl.editFlag==true||ctl.addFlag==true" ng-click="ctl.btnCancal()">取消</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="Search" 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 laydate-logo" sp-laydate ng-model="ctl.search.DATE1" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">结束时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.search.DATE2" />
- </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" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="Init" 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 laydate-logo" sp-laydate ng-model="ctl.init.DATE1" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">结束时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.init.DATE2" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.doInit()"><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/taizhang.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>
- <!-- 导出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>
- </body>
- </html>
|