123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368 |
- <!DOCTYPE html>
- <html lang="zh-CN" ng-app="app">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <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>
- <link rel="stylesheet" href="css/index.css">
- <style>
- ::-webkit-scrollbar{ width: 16px;height: 14px;}
- ::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb{border-radius: 999px;border: 5px solid transparent;}
- ::-webkit-scrollbar-track{box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;}
- ::-webkit-scrollbar-thumb{min-height: 20px;-moz-background-clip: content-box; -webkit-background-clip: content-box; background-clip: content-box;box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;}
- ::-webkit-scrollbar-corner{background: transparent;}
- </style>
- </head>
- <body ng-controller="appCtrl as ctl" ng-cloak>
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-md-8" id="leftPart">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>本周任务 <span class="badge" ng-bind="ctl.weekTaskTotal==0?'':ctl.weekTaskTotal"></span></h5>
- <div class="ibox-tools">
- <button class="pull-right sp-btn-blue sp-btn-radius sp-btn-sm" ng-click="ctl.openAddLayer()">
- <i class="fa fa-plus sp-mr-5"></i>新 建
- </button>
- </div>
- </div>
- <div class="ibox-content">
- <div class="panel-box">
- <div ng-repeat="item in ctl.weekTask" ng-class="{'sp-ml-10':$index!=0,'sp-panel-default':!ctl.isDay(item.time),'sp-panel-blue':ctl.isDay(item.time)}"
- class="sp-panel sp-panel-default">
- <div class="sp-panel-head sp-fs-16 sp-text-ellipsis">
- <i class="fa fa-clock-o fa-flip-horizontal"></i>
- <span ng-bind="ctl.getCnWeek(item.time)"></span>
- </div>
- <div class="sp-panel-body" ng-if="item.task.length!=0">
- <span class="itemWeekTask" ng-repeat="item2 in item.task track by $index">
- <span class="itemWeekTaskVal" ng-bind="item2.MEETINGNAME" ng-click="ctl.openEditLayer(item2.ID)"></span>
- <span class="itemWeekTaskBtn" title="删除任务" ng-click="ctl.deleteTask(item2.ID)"><i class="fa fa-trash"></i></span>
- </span>
- </div>
- <div class="sp-panel-body sp-text-center" ng-if="item.task.length==0">
- <img src="images/bg-coco.png" class="sp-pt-20 sp-pb-20" alt="" srcset="">
- <span class="sp-lh-26">本日暂无工作</span>
- </div>
- </div>
- <!-- <div class="sp-panel sp-panel-blue ">
- <div class="sp-panel-head">面板整理</div>
- <div class="sp-panel-body">
- <div class="coco"></div>
- <span class="sp-lh-26">列表2</span>
- </div>
- </div> -->
- </div>
- </div>
- </div>
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <div class="canlendar-tit sp-text-center sp-fs-18">
- <div ng-click="ctl.preMonth()" class="sp-col-20 sp-cursor-pointer"><span class="sp-btn-blue"><</span></div>
- <div id="js-now-time" class="sp-col-60 sp-cursor-pointer " ng-click="ctl.toList()">
- <span class="sp-btn-blue sp-radius">
- <span ng-bind="ctl.ynow"></span>年
- <span ng-bind="ctl.mnow"></span>月
- </span>
- </div>
- <div ng-click="ctl.nextMonth()" class="sp-col-20 sp-cursor-pointer"><span class="sp-btn-blue">></span></div>
- </div>
- </div>
- <div class="ibox-content">
- <div id="js-calendar-con" class="clearfix">
- <div class="calendar-con">
- <ul class="weektit">
- <li class="current-day">日</li>
- <li>一</li>
- <li>二</li>
- <li>三</li>
- <li>四</li>
- <li>五</li>
- <li class="current-day">六</li>
- </ul>
- <ul id="js-calendar-main">
- <li ng-repeat="item in ctl.dayArr track by $index" ng-class="{'current-day':ctl.currentDay(item)}">
- <p ng-bind="item.day"></p>
- <span class="badge" ng-bind="item.leader" ng-click="ctl.showDayTask(item,'领导')" style="background: #FF5859; color: white; cursor: pointer; "></span>
- <span class="badge" ng-bind="item.badge" ng-click="ctl.showDayTask(item,'个人')" style="cursor: pointer"></span>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div >
- <div class="col-md-4" id="rightPart">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>今日任务 <span class="badge" ng-bind="ctl.todayTask.length==0?'':ctl.todayTask.length"></span></h5>
- </div>
- <div class="ibox-content" style="height: 810px;overflow-y: auto;">
- <div class="module-list ng-hide" ng-show="ctl.todayTask.length>0" ng-repeat="item in ctl.todayTask">
- <h5 class="leader" ng-if="item.OWNTYPE=='领导'" ng-bind="item.MEETINGNAME"></h5>
- <h5 class="user" ng-if="item.OWNTYPE=='个人'" ng-bind="item.MEETINGNAME"></h5>
- <table>
- <tr>
- <td width="75">开始时间:</td>
- <td ng-bind="item.STARTIME | date:'yyyy-MM-dd HH:mm:ss'"></td>
- </tr>
- <tr>
- <td>结束时间:</td>
- <td ng-bind="item.ENDTIME | date:'yyyy-MM-dd HH:mm:ss'"></td>
- </tr>
- <!--<tr>
- <td>负责人:</td>
- <td ng-bind="item.LEADERMAN"></td>
- </tr>-->
- <tr>
- <td>参加人员:</td>
- <td ng-bind="item.ATTENDEES"></td>
- </tr>
- </table>
- </div>
- <div ng-show="ctl.todayTask.length==0" class="sp-table-tip" style="border-top:1px solid #E1E6EB;">
- <i class="fa fa-exclamation-circle sp-mr-10"></i> 您好,暂未查询到相关信息!
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="layer_addWork" style="width:600px;">
- <div class="sp-layer-body sp-pl-15 sp-pr-30">
- <div class="sp-page">
- <form class="form-horizontal" ng-click="ctl.removeWarning()">
- <div class="form-group sp-text-center">
- <span ng-class="{'sp-btn-blue':ctl.addTask.OWNTYPE=='个人','sp-btn-gray':ctl.addTask.OWNTYPE!='个人'}" ng-click="ctl.addTask.OWNTYPE='个人'">个人</span>
- <span ng-class="{'sp-btn-blue':ctl.addTask.OWNTYPE=='领导','sp-btn-gray':ctl.addTask.OWNTYPE!='领导'}" ng-click="ctl.addTask.OWNTYPE='领导'">领导</span>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">主题</label>
- <div class="col-sm-10">
- <input type="text" ng-model="ctl.addTask.MEETINGNAME" class="sp-input" placeholder="请输入工作安排" sp-required >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">时间</label>
- <div class="col-sm-10">
- <input type="text" style="width:48.5%" laytype="datetime" format="yyyy-MM-dd HH:mm:ss" class="sp-input laydate-logo pull-left" theme="#009f95" id="laydate_time_start"
- sp-laydate placeholder="请选择开始日期" ng-model="ctl.addTask.STARTIME" />
- <input type="text" style="width:48.5%" laytype="datetime" format="yyyy-MM-dd HH:mm:ss" class="sp-input laydate-logo sp-ml-10 pull-right" theme="#009f95"
- id="laydate_time_end" sp-laydate placeholder="请选择截至时间" ng-model="ctl.addTask.ENDTIME" />
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">地点</label>
- <div class="col-sm-10">
- <input type="text" class="sp-input" ng-model="ctl.addTask.ADDR" placeholder="请输入地点">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="col-sm-2 control-label">负责人</label>
- <div class="col-sm-10">
- <input type="text" class="sp-input" ng-model="ctl.addTask.LEADERMAN" placeholder="请输入负责人">
- </div>
- </div>-->
- <!--<div class="form-group">
- <label class="col-sm-2 control-label">人员</label>
- <div class="col-sm-10">
- <div class="checkbox" id="selectMember" style="height: 160px;overflow: auto;">
- <label>
- <input ng-click="ctl.selectAll()" ng-model="ctl.isSelectedAll" type="checkbox"> 全选
- </label>
- <div ng-repeat="item in ctl.userList">
- <div class="firstDepart" style="clear: both;">
- <label>
- <input type="checkbox" ng-model="item.isChecked" ng-click="ctl.firstDepartSelect($index)">
- <span ng-bind="item.SECTION" style="font-weight: bold"></span>
- </label>
- <ul class="userList" ng-repeat="item2 in item.C_H_I_L_D_DATA">
- <li style="float: left">
- <label style="margin-right: 10px;">
- <input type="checkbox" ng-model="item2.isChecked" ng-click="ctl.firstUserSelect($parent.$index)">
- <span ng-bind="item2.ushowname"></span>
- </label>
- </li>
- </ul>
- <div class="secondDepart" style="clear: both;margin-left: 15px;" ng-repeat="item3 in item.C_H_I_L_D">
- <label>
- <input type="checkbox" ng-model="item3.isChecked" ng-click="ctl.secondDepartSelect($parent.$index,$index)">
- <span ng-bind="item3.SECTION" style="font-weight: bold"></span>
- </label>
- <ul class="userList" ng-repeat="item4 in item3.C_H_I_L_D_DATA">
- <li style="float: left">
- <label style="margin-right: 10px;">
- <input type="checkbox" ng-model="item4.isChecked" ng-click="ctl.secondUserSelect($parent.$parent.$index,$parent.$index)">
- <span ng-bind="item4.ushowname"></span>
- </label>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>-->
- <div class="form-group">
- <label class="col-sm-2 control-label">类型</label>
- <div class="col-sm-10">
- <div class="radio">
- <label ng-repeat="item in ctl.meetTypeList" style="margin-right: 10px;">
- <input type="radio" ng-model="ctl.addTask.ATTENDTYPECODE" value="{{item.CODE}}" ng-click="ctl.changeMeetType()">
- <span ng-bind="item.CNAME"></span>
- </label>
- </div>
- </div>
- </div>
- <!--<div class="form-group" style="margin-bottom: 5px;">
- <label class="col-sm-2 control-label">备注</label>
- <div class="col-sm-10">
- <textarea ng-model="ctl.addTask.REMARK" class="sp-textarea" rows="2"></textarea>
- </div>
- </div>-->
- <div class="sp-pt-5 sp-pb-5 sp-pl-10 sp-pr-10 sp-mb-10" style="background:#E1E6EB;margin-right:-15px">
- 更多设置
- <span class="sp-pull-right" style="color:#2176d6;cursor:pointer" ng-click="ctl.setMore=!ctl.setMore">{{ctl.setMoreMsg}}</span>
- </div>
- <div class="form-group" ng-if="ctl.setMore==true">
- <label class="col-sm-2 control-label">提前提醒</label>
- <div class="col-sm-10">
- <select class="sp-select" style="width:100px" ng-model="ctl.addTask.REMINDTIME" ng-change="ctl.changeREMINDTIME()">
- <option ng-repeat="item in ctl.REMINDTIME" ng-bind="item.CNAME"
- value="{{item.CODE}}" ng-selected="ctl.addTask.REMINDTIME==item.CODE"></option>
- </select>
- </div>
- </div>
- <div class="form-group" ng-if="ctl.setMore==true">
- <label class="col-sm-2 control-label">重复</label>
- <div class="col-sm-10">
- <select class="sp-select" style="width:100px" ng-model="ctl.addTask.FREQUENCY">
- <option ng-repeat="item in ctl.FREQUENCY_list" ng-bind="item.CNAME"
- value="{{item.CODE}}" ng-selected="ctl.addTask.FREQUENCY==item.CODE"></option>
- </select>
- </div>
- </div>
- <div class="form-group" ng-if="ctl.setMore==true">
- <label class="col-sm-2 control-label">分享</label>
- <div class="col-sm-10">
- <div class="checkbox" id="selectMember" style="height: 160px;overflow: auto;">
- <label>
- <input ng-click="ctl.selectAll()" ng-model="ctl.isSelectedAll" type="checkbox"> 全选
- </label>
- <div ng-repeat="item in ctl.userList">
- <div class="firstDepart" style="clear: both;">
- <label>
- <input type="checkbox" ng-model="item.isChecked" ng-click="ctl.firstDepartSelect($index)">
- <span ng-bind="item.SECTION" style="font-weight: bold"></span>
- </label>
- <ul class="userList" ng-repeat="item2 in item.C_H_I_L_D_DATA">
- <li style="float: left">
- <label style="margin-left: 15px; margin-right: 10px;">
- <input type="checkbox" ng-model="item2.isChecked" ng-click="ctl.firstUserSelect($parent.$index)">
- <span ng-bind="item2.ushowname"></span>
- </label>
- </li>
- </ul>
- <div class="secondDepart" style="clear: both;margin-left: 15px;" ng-repeat="item3 in item.C_H_I_L_D">
- <label>
- <input type="checkbox" ng-model="item3.isChecked" ng-click="ctl.secondDepartSelect($parent.$index,$index)">
- <span ng-bind="item3.SECTION" style="font-weight: bold"></span>
- </label>
- <ul class="userList" ng-repeat="item4 in item3.C_H_I_L_D_DATA">
- <li style="float: left">
- <label style="margin-left: 15px; margin-right: 10px;">
- <input type="checkbox" ng-model="item4.isChecked" ng-click="ctl.secondUserSelect($parent.$parent.$index,$parent.$index)">
- <span ng-bind="item4.ushowname"></span>
- </label>
- </li>
- </ul>
- <div class="thirdDepart" style="clear: both;margin-left: 15px;" ng-repeat="item5 in item3.C_H_I_L_D">
- <label>
- <input type="checkbox" ng-model="item5.isChecked" ng-click="ctl.thirdDepartSelect($parent.$parent.$index,$parent.$index,$index)">
- <span ng-bind="item5.SECTION" style="font-weight: bold"></span>
- </label>
- <ul class="userList" ng-repeat="item6 in item5.C_H_I_L_D_DATA">
- <li style="float: left">
- <label style="margin-left: 15px; margin-right: 10px;">
- <input type="checkbox" ng-model="item6.isChecked" ng-click="ctl.thirdUserSelect($parent.$parent.$parent.$index,$parent.$parent.$index,$parent.$index)">
- <span ng-bind="item6.ushowname"></span>
- </label>
- </li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="warninfo"></div>
- </form>
- <div class="sp-line-gray"></div>
- <div class="sp-page sp-text-center">
- <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnAddTask()">
- <i class="fa fa-check sp-mr-5"></i>提 交
- </button>
- <button class="sp-btn-default sp-btn-radius" onclick="sp.layerhide()">
- <i class="fa fa-trash sp-mr-5"></i>取 消
- </button>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="layer_dayTask" style="width:550px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font18">
- <span ng-if="ctl.itemType=='个人'">个人日程</span>
- <span ng-if="ctl.itemType=='领导'">领导日程</span>
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body sp-pl-15 sp-pr-30">
- <div class="sp-page">
- <table class="sp-grid-job">
- <tbody>
- <tr ng-repeat="item in ctl.oneDayList track by $index" ng-if="item.OWNTYPE==ctl.itemType">
- <!--<td width="50" class="sp-text-center" ng-bind="$index+1"></td>-->
- <td ng-bind="item.starttime + ' -- ' + item.endtime"></td>
- <td ng-bind="item.MEETINGNAME"></td>
- </tr>
- </tbody>
- </table>
- <div class="sp-line-gray"></div>
- <div class="sp-page sp-text-center">
- <button class="sp-btn-default sp-btn-radius" onclick="sp.layerhide()">
- <i class="fa fa-close sp-mr-5"></i>关 闭
- </button>
- </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="../../AFrontEnd/js/angularjs/angular-sanitize.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/index.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>
|