123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- <!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" />
- <meta http-equiv="Pragma" content="no-cache" />
- <meta http-equiv="Cache-Control" content="no-cache" />
- <meta http-equiv="Expires" content="0" />
- <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 href="css/group.css?v=20200527" rel="stylesheet" />
- </head>
- <body>
- <div class="wrapper wrapper-content" ng-controller="groupCtrl 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="row">
- <div class="col-md-5">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="sp-page">
- <div class="sp-page-col">
- <div class="sp-lh-26">选择机构: </div>
- </div>
- <div class="sp-page-col sp-ml-15">
- <select ng-model="ctl.unit" ng-change="ctl.getData()" class="sp-select">
- <option ng-repeat="item in ctl.unitList" ng-init="ctl.unit=ctl.unitList[0].CODE" value="{{item.CODE}}">{{item.SECTION}}</option>
- </select>
- </div>
- </div>
- </div>
- <div class="row sp-pt-10">
- <div class="col-md-3 sp-text-right" ng-if="ctl.userTypeEng!='SYSADMIN'">
- <button ng-click="ctl.moveUp()" class="sp-btn-blue sp-btn-radius sp-mt-10">上移一位</button>
- <button ng-click="ctl.moveDown()" class="sp-btn-blue sp-btn-radius sp-mt-10">下移一位</button>
- </div>
- <div class="col-md-9">
- <ul class="role-list" id="js-role-list">
- <li id="js-role-list-tit">
- <i class="fa fa-minus-square"></i> 群组列表
- </li>
- <li ng-click="ctl.chooseGroup($index,item)" ng-class="{roleActive:ctl.activeGroup==$index}" ng-repeat="item in ctl.rows">
- {{item.GUM}}
- <span>
- <!-- <i ng-click="ctl.addRole($index)" class="fa fa-plus"></i>
- <i ng-click="ctl.changeRole($index)" class="fa fa-edit"></i> -->
- <i ng-click="ctl.removeGroup(item)" ng-if="ctl.userTypeEng!='SECADMIN'" class="fa fa-close"></i>
- </span>
- </li>
- </ul>
- <form class="form-inline sp-mt-15">
- <div class="row" ng-if="ctl.userTypeEng!='SECADMIN'">
- <div class="form-group col-lg-12">
- <div class="input-group col-lg-8">
- <input type="text" class="form-control" aria-label="Text input with multiple buttons" ng-model="ctl.edit.groupName" placeholder="修改群组">
- <span class="input-group-btn">
- <button ng-click="ctl.editGroup()" class="btn btn-success" type="button">修改</button>
- </span>
- </div>
- </div>
- <!-- <button type="submit" class="btn btn-success"></button> -->
- </div>
- <div class="row" ng-if="ctl.userTypeEng!='SECADMIN'">
- <div class="form-group col-lg-12">
- <div class="input-group col-lg-8">
- <input type="text" ng-model="ctl.addGroupName" class="form-control" placeholder="增加群组">
- <span class="input-group-btn">
- <button ng-click="ctl.addGroup()" class="btn btn-success" type="button">增加</button>
- </span>
- </div>
- </div>
- <!-- <button type="submit" class="btn btn-success">增加</button> -->
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-md-7" ng-if="ctl.userTypeEng!='SYSADMIN'">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="col-md-12">
- <div class="sp-page sp-text-right">
- <button type="button" ng-click="ctl.saveGroup()" ng-disabled="ctl.rows.length==0 || ctl.activeGroup ==-1" class="sp-btn-blue sp-btn-radius"><i class="fa fa-check sp-mr-5"></i>保 存</button>
- </div>
- </div>
- </div>
- <div class="row">
- <div class="col-md-12">
- <div class="sp-lh-30 sp-text-center sp-bg-gray">
- 选择人员
- </div>
- </div>
- <div class="sp-line-gray"></div>
- <div class="col-md-12">
- <div class="sp-page">
- <div class="sp-page-col" style="width:80px;">
- <div class="sp-lh-22 sp-color-blue">已选(<span ng-bind="ctl.user_checked_num"></span>):</div>
- </div>
- <div class="sp-page-col" style="width: calc(100% - 80px); max-height: 200px; overflow-y: auto;">
- <div class="sp-lh-22" ng-if="ctl.user_checked.length>0" ng-bind="ctl.user_checked"></div>
- <div class="sp-lh-22" ng-if="ctl.user_checked.length<1">您好,暂未选择人员!</div>
- </div>
- </div>
- <div class="sp-page">
- <hr />
- <div class="checkbox">
- <label>
- <input ng-change="ctl.selectAll()" ng-model="ctl.isSelectedAll" type="checkbox"> 全选(为方便查找,以下按第一个字拼音字母排列顺序)
- </label>
- </div>
- </div>
- <div class="sp-page" style="overflow-y: auto; max-height: 400px">
- <div class="checkbox checkbox-list" ng-repeat="item in ctl.getPerson">
- <div class="sp-lh-30 sp-color-black" ng-bind="item.section" style="font-weight:bold;"></div>
- <label class="checkbox-inline col-md-3" ng-repeat="item2 in item.users track by $index">
- <input type="checkbox" ng-change="ctl.isSelected(item.section,item2,item2.check)" ng-model="item2.check">{{item2.ushowname}}
- </label>
- </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/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/group.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- </body>
- </html>
|