mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
34 lines
2.0 KiB
HTML
34 lines
2.0 KiB
HTML
<div>
|
||
<div class="row">
|
||
<div class="col-md-2 ">
|
||
<div class="margin-xs-r bg-white padding">
|
||
<input type="text" :placeholder="vc.i18n('请选择月份','monthAttendanceManage')" v-model="staffAttendanceManageInfo.curDate" class=" form-control queryDate">
|
||
</div>
|
||
<div class="margin-xs-r bg-white padding-bottom padding-lr">
|
||
<input v-model="staffAttendanceManageInfo.orgName" readonly @focus="_staffAttendanceChangeOrg()" type="text" :placeholder="vc.i18n('填写组织','staffAttendanceManage')" class="form-control">
|
||
</div>
|
||
<div class="margin-xs-r bg-white treeview attendance-staff">
|
||
<ul class="list-group text-center border-radius">
|
||
<!-- -->
|
||
<li class="list-group-item node-orgTree " v-for="(item,index) in staffAttendanceManageInfo.staffs" @click="swatchStaff(item)" :class="{'vc-node-selected':staffAttendanceManageInfo.curStaffId==item.userId}">
|
||
{{item.name}}
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-10 ">
|
||
<div class="row bg-white border-radius padding">
|
||
<div class="col-md-2 text-center border padding-lg" v-for="index in staffAttendanceManageInfo.maxDay" :key="index" :style="{'background-color': _getBgColor(index)}" style="border-radius: 5px;cursor:pointer">
|
||
<div>{{staffAttendanceManageInfo.curYear}}-{{staffAttendanceManageInfo.curMonth}}-{{index}}</div>
|
||
<div>状态:
|
||
<span v-html="_getAttendanceState(index)"></span></div>
|
||
<div v-for="(item,detailIndex) in _getAttendanceDetail(index)">{{item.specName}}:{{item.stateName}}
|
||
<span v-if="item.checkTime">({{item.checkTime}})</span></div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<vc:create path="frame/chooseOrgTree" callBackListener="staffAttendanceManage"></vc:create>
|
||
|
||
</div> |