吴学文 лет назад: 7
Родитель
Сommit
2091449209

+ 57 - 0
WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.html

@@ -0,0 +1,57 @@
+<div class="row">
+<div class="col-lg-12">
+    <div class="ibox ">
+        <div class="ibox-title">
+            <h5>员工信息</h5>
+            <div class="ibox-tools" style="top:10px;">
+                <button type="button" class="btn btn-primary btn-sm" >
+                    <i class="glyphicon glyphicon-search"></i> 定位员工</button>
+                <button type="button" class="btn btn-primary btn-sm" >
+                    <i class="glyphicon glyphicon-plus"></i> 添加权限</button>
+            </div>
+        </div>
+        <div class="ibox-content">
+            <div class="row">
+                <div class="col-sm-3">
+                    <div class="form-group">
+                        <label class="col-form-label" >员工ID:</label>
+                        <label class="">1234566</label>
+                    </div>
+                </div>
+                <div class="col-sm-3">
+                    <div class="form-group">
+                        <label class="col-form-label">员工名称:</label>
+                        <label class="">wuxw</label>
+                    </div>
+                </div>
+                <div class="col-sm-3">
+                    <div class="form-group">
+                        <label class="col-form-label" >手机号:</label>
+                        <label class="">17797173942</label>
+                    </div>
+                </div>
+                <div class="col-sm-3">
+                    <div class="form-group">
+                        <label class="col-form-label" >邮箱:</label>
+                        <label class="">17797173942@189.cn</label>
+                    </div>
+                </div>
+            </div>
+            <div class="row">
+                <div class="col-sm-3">
+                    <div class="form-group">
+                        <label class="col-form-label" >性别:</label>
+                        <label class="">男</label>
+                    </div>
+                </div>
+                <div class="col-sm-9">
+                    <div class="form-group">
+                        <label class="col-form-label">地址:</label>
+                        <label class="">青海省西宁市城中区沈宁路6号</label>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</div>
+</div>

+ 21 - 0
WebService/src/main/resources/components/privilege-staffInfo/privilegeStaffInfo.js

@@ -0,0 +1,21 @@
+/**
+    权限组
+**/
+(function(vc){
+
+    vc.extends({
+        data:{
+
+        },
+        _initMethod:function(){
+
+        },
+        _initEvent:function(){
+
+        },
+        methods:{
+
+        }
+    });
+
+})(window.vc);

+ 80 - 55
WebService/src/main/resources/components/staff-privilege/staffPrivilege.html

@@ -1,61 +1,86 @@
-<div id="component" class="row">
-    <vc:create name="privilegeGroup"></vc:create>
-    <div class="col-lg-9 animated fadeInRight">
-        <div class="mail-box-header">
-            <button v-if="privilegeInfo._currentStoreId != '9999'"
-                    class="btn btn-primary btn-sm float-right"
-                    data-toggle="tooltip"
-                    title="Refresh inbox"
-                    v-on:click="openAddPrivilegeModel()"
-            ><i class="fa fa-plus"></i> 添加权限</button>
-            <form method="get" action="index.html" class="float-right mail-search" style="margin-right:10px">
-                <div class="input-group">
-                    <input type="text" class="form-control form-control-sm" name="search" placeholder="请输入权限名称">
-                    <div class="input-group-btn">
-                        <button type="submit" class="btn btn-sm btn-primary">
-                            查询
-                        </button>
-                    </div>
-                </div>
-            </form>
-            <h2>
-                {{privilegeInfo._currentPgName}}
-            </h2>
-        </div>
-        <div class="mail-box">
-
-            <table class="table table-hover table-mail">
-                <thead>
-                <tr>
-                    <th>权限编码</th>
-                    <th>权限名称</th>
-                    <th>权限描述</th>
-                    <th>创建时间</th>
-                    <th>操作</th>
-                </tr>
-                </thead>
-                <tbody>
-                <tr v-for="privilege in privilegeInfo._privileges" class="read">
-                    <td class="check-mail">
-                        {{privilege.pId}}
-                    </td>
-                    <td class="mail-ontact">{{privilege.name}}</td>
-                    <td class="mail-subject">{{privilege.description}}</td>
-                    <td class="">{{vc.dateFormat(privilege.createTime)}}</td>
-                    <td class="text-right mail-date">
-                        <i  v-if="privilegeInfo._currentStoreId != '9999'"
-                            v-on:click="openDeletePrivilegeModel(privilege)"
-                            class="glyphicon glyphicon-remove"></i>
-                    </td>
-                </tr>
+<div id="component" class="wrapper wrapper-content animated fadeInRight ecommerce">
+    <vc:create name="privilegeStaffInfo"></vc:create>
+    <div class="row">
+        <div class="col-lg-12">
+            <div class="ibox">
+                <div class="ibox-content">
 
-                </tbody>
-            </table>
+                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
+                        <thead>
+                        <tr>
+                            <th>权限ID</th>
+                            <th data-hide="phone">权限名称</th>
+                            <th data-hide="phone">权限描述</th>
+                            <th data-hide="phone">隶属权限组ID</th>
+                            <th data-hide="phone,tablet" >隶属权限组名称</th>
+                            <th data-hide="phone">状态</th>
+                            <th class="text-right">操作</th>
 
+                        </tr>
+                        </thead>
+                        <tbody>
+                        <tr>
+                            <td>
+                                1231313
+                            </td>
+                            <td>
+                                添加员工
+                            </td>
+                            <td>
+                                添加员工
+                            </td>
+                            <td>
+                                -
+                            </td>
+                            <td>
+                                -
+                            </td>
+                            <td>
+                                <span class="label label-primary">在用</span>
+                            </td>
+                            <td class="text-right">
+                                <div class="btn-group">
+                                    <button class="btn-white btn btn-xs">删除</button>
+                                </div>
+                            </td>
+                        </tr>
+                        <tr>
+                            <td>
+                                1231313
+                            </td>
+                            <td>
+                                物业费权限
+                            </td>
+                            <td>
+                                物业费权限
+                            </td>
+                            <td>
+                                89898797979
+                            </td>
+                            <td>
+                                缴费管理
+                            </td>
+                            <td>
+                                <span class="label label-primary">在用</span>
+                            </td>
+                            <td class="text-right">
+                                <div class="btn-group">
+                                    <button class="btn-white btn btn-xs">删除</button>
+                                </div>
+                            </td>
+                        </tr>
+                        </tbody>
+                        <tfoot>
+                        <tr>
+                            <td colspan="7">
+                                <ul class="pagination float-right"></ul>
+                            </td>
+                        </tr>
+                        </tfoot>
+                    </table>
 
+                </div>
+            </div>
         </div>
     </div>
-
-    <vc:create name="addPrivilege"></vc:create>
-    <vc:create name="deletePrivilege"></vc:create>
 </div>

+ 1 - 1
WebService/src/main/resources/components/staff/staff.html

@@ -3,7 +3,7 @@
         <div class="ibox ">
             <div class="ibox-title">
                 <h5>员工管理</h5>
-                <div class="ibox-tools">
+                <div class="ibox-tools" style="top:10px;">
                         <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#addStaffModel">添加员工</button>
                 </div>
             </div>

+ 1 - 1
WebService/src/main/resources/views/staffPrivilege.html

@@ -18,7 +18,7 @@
             <vc:create name="nav"></vc:create>
         </div>
         <!-- id="component" -->
-        <div id="component" class="wrapper wrapper-content animated fadeInRight">
+        <div  class="wrapper wrapper-content animated fadeInRight">
             <vc:create name="staffPrivilege"></vc:create>
         </div>