123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <!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>
- <script>document.write("<link href='css/index.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- </head>
- <body>
- <div ng-controller="indexCtrl as ctl" id="app" ng-cloak>
- <div class="sp-wrapper-left" style="width: 20%; top: 0; background: #F7F7F7; border-left: 1px #F7F7F7 solid; border-right: 1px #F7F7F7 solid;overflow:auto ">
- <div class="sp-menu" id="spWrapperLeftBar">
- <div class="sp-menu-row">
- <ul id="spWrapperLeftBarUl" class="sp-menu">
- <li class="sp-menu-first" ng-repeat="item in ctl.leftTree">
- <span class="sp-menu-ltitle" title="{{item.CNAME}}" ng-bind="item.CNAME" ng-click="ctl.checkNode(item,0)"></span>
- <!--<span class="sp-menu-icon" ng-click="ctl.addNode(item)">
- <i class="fa fa-plus"></i>
- </span>-->
- <ul>
- <li class="sp-menu-second" ng-class="{'activeNode':ctl.activeNode.CODE==item1.CODE}" ng-show="item.show" ng-repeat="item1 in item.C_H_I_L_D_DATA">
- <span class="sp-menu-ltitle" ng-if="item1.C_H_I_L_D_DATA.length!=0" ng-bind="item1.CNAME" title="{{item1.CNAME}}" ng-click="ctl.checkNode(item1,0)"></span>
- <span class="sp-menu-ltitle" ng-if="item1.C_H_I_L_D_DATA.length==0" ng-bind="item1.CNAME" title="{{item1.CNAME}}" ng-click="ctl.checkNode(item1,1)"></span>
- <ul>
- <li class="sp-menu-third" ng-class="{'activeNode':ctl.activeNode.CODE==item2.CODE}" ng-show="item1.show" ng-repeat="item2 in item1.C_H_I_L_D_DATA">
- <span class="sp-menu-ltitle" ng-bind="item2.CNAME" title="{{item2.CNAME}}" ng-click="ctl.checkNode(item2,1)"></span>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="sp-wrapper-right" style="left: 20%; top: 25px; right: 31px">
- <span class="sp-pull-right sp-btn-blue sp-radius" ng-if="ctl.UserRole==true" ng-click="ctl.btnAdd()">添加人员</span>
- <div class="sp-page" style="max-height:700px;overflow:auto">
- <table class="sp-table">
- <thead>
- <tr>
- <th width="50">序号</th>
- <th width="100">姓名</th>
- <th>职务</th>
- <!--<th>部门名称</th>-->
- <th width="120">手机号</th>
- <th width="120">座机号</th>
- <th>房间号</th>
- <th>传真</th>
- <th>邮编</th>
- <th width="120">邮箱</th>
- <th width="250" ng-if="ctl.UserRole==true">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list">
- <td ng-bind="$index+1"></td>
- <td>
- <span ng-bind="item.USHOWNAME" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.USHOWNAME" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.DUTYNAME" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.DUTYNAME" ng-if="item.editFlag==true" />
- </td>
- <!--<td>
- <span ng-bind="item.SECTNAME" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.SECTNAME" ng-if="item.editFlag==true" />
- </td>-->
- <td>
- <span ng-bind="item.MOBILE" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.MOBILE" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.TEL" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.TEL" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.ROOM" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.ROOM" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.FAX" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.FAX" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.ZIPCODE" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.ZIPCODE" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.EMAIL" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.editItem.EMAIL" ng-if="item.editFlag==true" />
- </td>
- <td ng-if="ctl.UserRole==true">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnEdit(item)" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false">编辑</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDelete(item)" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false">删除</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnSave(2)" ng-if="item.editFlag==true">保存</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.editFlag=false;item.editFlag=false" ng-if="item.editFlag==true">取消</button>
- <button class="sp-btn-green sp-btn-sm sp-radius" ng-click="ctl.btnSort(item,-1)" ng-disabled="ctl.editFlag==true||$index==0" ng-if="item.editFlag==false">上移</button>
- <button class="sp-btn-green sp-btn-sm sp-radius" ng-click="ctl.btnSort(item,1)" ng-disabled="ctl.editFlag==true||$index==ctl.list.length-1" ng-if="item.editFlag==false">下移</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div id="addUser" class="sp-layer" style="width:600px">
- <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" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <table class="sp-table">
- <tr>
- <td width="80">姓名</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.USHOWNAME" />
- </td>
- <td width="80">职务</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.DUTYNAME" />
- </td>
- </tr>
- <tr>
- <td>手机号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.MOBILE" />
- </td>
- <td>邮箱</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.EMAIL" />
- </td>
- </tr>
- <tr>
- <td>座机号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.TEL" />
- </td>
- <td>房间号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.ROOM" />
- </td>
- <tr>
- <td>传真</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.FAX" />
- </td>
- <td>邮编</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.addItem.ZIPCODE" />
- </td>
- </tr>
- </tr>
- </table>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnSave(1)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
- </div>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/plugins/hightcharts/highcharts.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/index.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <!--附件-->
- <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
- </body>
- </html>
|