shiyj
2019-09-02 b784175e978b0fcfca8ca8bed7953ae4eacf49e8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<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" v-on:click="openSearchStaffModel()">
                        <i class="glyphicon glyphicon-search"></i> 定位员工</button>
                    <button type="button" class="btn btn-primary btn-sm"
                            v-if="privilegeStaffInfo.userId != null && privilegeStaffInfo.userId != ''"
                            style="margin-left:10px" v-on:click="openAddStaffPrivilegeModel()">
                        <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="">{{privilegeStaffInfo.userId}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label">员工名称:</label>
                            <label class="">{{privilegeStaffInfo.name}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label" >手机号:</label>
                            <label class="">{{privilegeStaffInfo.tel}}</label>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label" >邮箱:</label>
                            <label class="">{{privilegeStaffInfo.email}}</label>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="form-group">
                            <label class="col-form-label" >性别:</label>
                            <label class="">{{privilegeStaffInfo.sex == 0 ? '男' : (privilegeStaffInfo.sex == 1 ?'女':'')}}</label>
                        </div>
                    </div>
                    <div class="col-sm-9">
                        <div class="form-group">
                            <label class="col-form-label">地址:</label>
                            <label class="">{{privilegeStaffInfo.address}}</label>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <vc:create name="searchStaff"></vc:create>
    <vc:create name="addStaffPrivilege"></vc:create>
</div>