MicroCommunityWeb/public/pages/property/staffAttendanceManage/staffAttendanceManage.html
2022-09-08 19:30:36 +08:00

33 lines
1.8 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">
<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">
<ul class="list-group text-center border-radius">
<!-- :class="{'vc-node-selected':newOaWorkflowInfo.switchValue=='newOaWorkflowPool'}" -->
<li class="list-group-item node-orgTree " v-for="(item,index) in staffAttendanceManageInfo.staffs" @click="swatch(item)">
{{item.name}}
</li>
</ul>
</div>
</div>
<div class="col-md-10 ">
<div class="row bg-white border-radius padding">
<div class="col-md-1 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>考勤状态:{{_getAttendanceState(index)}}</div>
<div>考勤时间:</div>
<div>考勤时间:</div>
</div>
</div>
</div>
</div>
<vc:create path="frame/chooseOrgTree" callBackListener="staffAttendanceManage"></vc:create>
</div>