selectStaff.html 2.72 KB
<div class="modal fade" id="selectStaffModel" role="dialog" aria-labelledby="exampleModalLabel"
     aria-hidden="true">
    <div class="modal-dialog  modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <div class="row">
                    <div class="col-md-6 border-right padding-0">
                        <div class="text-center">
                            <span><vc:i18n name="组织信息" namespace="selectStaff"></vc:i18n></span>
                        </div>
                        <div class="staff padding">
                            <vc:create path="frame/orgTreeShow" callBackListener="selectStaff"></vc:create>
                        </div>
                    </div>
                    <div class="col-md-6 padding-0">
                        <div class="text-center">
                            <span><vc:i18n name="员工信息" namespace="selectStaff"></vc:i18n></span>
                        </div>
                        <div class="padding-left staff padding padding-top-xs">
                            <div class=" padding overflow-hidden"
                                 :class="{'select':selectStaffInfo.curStaffId == item.staffId}"
                                 v-for="(item,index) in selectStaffInfo.staffs" @click="_changeStaff(item)"
                                 style="cursor:pointer">
                                <span>
                                    <div>
                                        <i class="fa fa-user margin-right-xs" aria-hidden="true"></i>
                                        {{item.name}}
                                    </div>
                                        <div>{{item.tel}}</div>
                                </span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="text-right"
                     v-if="selectStaffInfo.staff.from == 'bpmn' || selectStaffInfo.staff.from == 'purchase' || selectStaffInfo.staff.from == 'contract'">
                    <button type="button" class="btn btn-white btn-sm" @click="_firstUser()">
                        <span><vc:i18n name="提交者" namespace="selectStaff"></vc:i18n></span>
                    </button>
                    <button type="button" class="btn btn-white btn-sm" @click="_customUser()">
                        <span><vc:i18n name="动态指定" namespace="selectStaff"></vc:i18n></span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>