123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- {template 'common/header'}
- <div class="we7-page-title">用户权限组管理</div>
- <ul class="we7-page-tab">
- <li {if $action == 'display'} class="active"{/if}><a href="{url 'founder/display'}">副创始人管理</a></li>
- <li {if $action == 'group'} class="active"{/if}><a href="{url 'founder/foundergroup'}">副创始人权限组</a></li>
- </ul>
- <div class="clearfix we7-margin-bottom">
- <form action="" method="get">
- <div class="input-group pull-left col-sm-4">
- <input type="hidden" name="c" value="founder">
- <input type="hidden" name="a" value="group">
- <input type="text" name="name" id="" value="{$_GPC['name']}" class="form-control" placeholder="搜索副创始人权限组"/>
- <span class="input-group-btn"><button class="btn btn-default"><i class="fa fa-search"></i></button></span>
- </div>
- </form>
- <div class="pull-right">
- <a href="{php echo url('founder/group/post')}" class="btn btn-primary">+添加副创始人组</a>
- </div>
- </div>
- <table class="table we7-table table-hover" id="js-vice-group-display" ng-controller="ViceGroupDisplay" ng-cloak>
- <col width="120px"/>
- <col width="100px"/>
- <col width="40px"/>
- <col width="40px"/>
- <col width="40px"/>
- <col width="40px"/>
- <col width="40px"/>
- <col width="40px"/>
- <col width="100px"/>
- <col/>
- <tr>
- <th class="text-left">名称</th>
- <th>有限期</th>
- <th class="text-center"><i class="wi wi-wechat" style="font-size: 24px"></i></th>
- <th class="text-center"><i class="wi wi-wxapp" style="font-size: 24px"></i></th>
- <th class="text-center"><i class="wi wi-pc" style="font-size: 24px"></i></th>
- <th class="text-center"><i class="wi wi-app" style="font-size: 24px"></i></th>
- <th class="text-center"><i class="wi wi-xzapp" style="font-size: 24px"></i></th>
- <th class="text-center"><i class="wi wi-aliapp" style="font-size: 24px"></i></th>
- <th class="text-right">操作</th>
- </tr>
- <tr ng-repeat="list in lists">
- <td class="text-left" ng-bind="list.name"></td>
- <td><span ng-if="list.timelimit != 0" ng-bind="list.timelimit+'天'"></span><span ng-if="list.timelimit == 0">永久有效</span></td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建公众号">
- <span ng-if="list.maxaccount == 0">0</span><span ng-if="list.maxaccount != 0" ng-bind="list.maxaccount"></span>
- </span>
- </td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建小程序">
- <span ng-if="list.maxwxapp == 0">0</span><span ng-if="list.maxwxapp != 0" ng-bind="list.maxwxapp"></span>
- </span>
- </td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建PC">
- <span ng-if="list.maxwebapp == 0">0</span><span ng-if="list.maxwebapp != 0" ng-bind="list.maxwebapp"></span>
- </span>
- </td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建APP">
- <span ng-if="list.maxphoneapp == 0">0</span><span ng-if="list.maxphoneapp != 0" ng-bind="list.maxphoneapp"></span>
- </span>
- </td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建熊掌号">
- <span ng-if="list.maxxzapp == 0">0</span><span ng-if="list.maxxzapp != 0" ng-bind="list.maxxzapp"></span>
- </span>
- </td>
- <td class="text-center">
- <span data-toggle="tooltip" data-placement="bottom" title="" data-original-title="可创建支付宝小程序">
- <span ng-if="list.maxaliapp == 0">0</span><span ng-if="list.maxaliapp != 0" ng-bind="list.maxaliapp"></span>
- </span>
- </td>
- <td>
- <div class="link-group">
- <a href="javascript:;" ng-click="editGroup(list.id)">编辑</a>
- <a href="javascript:;" ng-click="delGroup(list.id)" class="del">删除</a>
- </div>
- </td>
- </tr>
- </table>
- <div class="pull-right">
- {$pager}
- </div>
- <script>
- angular.module('userGroup').value('config', {
- lists: {php echo !empty($lists) ? json_encode($lists) : 'null'},
- links: {
- groupPost: "{php echo url('founder/group/post')}",
- groupDel: "{php echo url('founder/group/del')}",
- }
- });
- angular.bootstrap($('#js-vice-group-display'), ['userGroup']);
- </script>
- {template 'common/footer'}
|