|
|
@@ -25,8 +25,7 @@
|
|
|
:limit="1"
|
|
|
accept=".xls,.xlsx"
|
|
|
:on-change="handleUpload"
|
|
|
- :on-exceed="handleExceed"
|
|
|
- >
|
|
|
+ :on-exceed="handleExceed">
|
|
|
<div class="choose">选择文件</div>
|
|
|
<div class="message">或拖放文件到这</div>
|
|
|
<div class="tips">tips:只能上传xls/xlsx文件</div>
|
|
|
@@ -40,8 +39,7 @@
|
|
|
type="line"
|
|
|
text-inside
|
|
|
:stroke-width="26"
|
|
|
- :percentage="percentage"
|
|
|
- ></el-progress>
|
|
|
+ :percentage="percentage"></el-progress>
|
|
|
</div>
|
|
|
<div class="form_name" v-if="percentage == 100">
|
|
|
<span>{{ form_name }}</span>
|
|
|
@@ -57,8 +55,7 @@
|
|
|
type="line"
|
|
|
text-inside
|
|
|
:stroke-width="26"
|
|
|
- :percentage="parsePercentage"
|
|
|
- ></el-progress>
|
|
|
+ :percentage="parsePercentage"></el-progress>
|
|
|
</div>
|
|
|
<div class="form_name">{{ form_name }}</div>
|
|
|
</div>
|
|
|
@@ -102,8 +99,7 @@
|
|
|
stretch
|
|
|
v-model="activeName"
|
|
|
type="card"
|
|
|
- @tab-click="handleClick"
|
|
|
- >
|
|
|
+ @tab-click="handleClick">
|
|
|
<el-tab-pane label="黄家湖" name="黄家湖"></el-tab-pane>
|
|
|
<el-tab-pane label="墨轩湖" name="墨轩湖"></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
@@ -117,16 +113,14 @@
|
|
|
class="card"
|
|
|
shadow="hover"
|
|
|
v-for="item in timeList"
|
|
|
- :key="item.id"
|
|
|
- >
|
|
|
+ :key="item.id">
|
|
|
<div class="card_title">
|
|
|
<span v-if="item.isShow">{{ item.clockName }}</span>
|
|
|
<input
|
|
|
v-focus
|
|
|
v-else
|
|
|
v-model="item.clockName"
|
|
|
- @blur="handleTitleSave(item)"
|
|
|
- />
|
|
|
+ @blur="handleTitleSave(item)" />
|
|
|
<div class="icon" @click="handleTitleEdit(item)"></div>
|
|
|
</div>
|
|
|
<div class="card_count">
|
|
|
@@ -134,8 +128,7 @@
|
|
|
<el-input-number
|
|
|
size="mini"
|
|
|
v-model="item.count"
|
|
|
- :min="1"
|
|
|
- ></el-input-number>
|
|
|
+ :min="1"></el-input-number>
|
|
|
</div>
|
|
|
<div class="card_time">
|
|
|
<el-time-select
|
|
|
@@ -146,8 +139,7 @@
|
|
|
start: '00:00',
|
|
|
step: '00:05',
|
|
|
end: '24:00',
|
|
|
- }"
|
|
|
- >
|
|
|
+ }">
|
|
|
</el-time-select>
|
|
|
<el-time-select
|
|
|
placeholder="结束时间"
|
|
|
@@ -157,8 +149,7 @@
|
|
|
start: '00:00',
|
|
|
step: '00:05',
|
|
|
end: '24:00',
|
|
|
- }"
|
|
|
- >
|
|
|
+ }">
|
|
|
</el-time-select>
|
|
|
</div>
|
|
|
<div class="card_close" @click="handleCloseCard(item)"></div>
|
|
|
@@ -174,8 +165,9 @@
|
|
|
<div>早退规则</div>
|
|
|
<div>
|
|
|
下班最多早走<input
|
|
|
- v-model="ruleObj.leaveEarlyOfWork"
|
|
|
- />分钟,早走{{ ruleObj.leaveEarlyOfWork }}分钟以上算早退
|
|
|
+ v-model="ruleObj.leaveEarlyOfWork" />分钟,早走{{
|
|
|
+ ruleObj.leaveEarlyOfWork
|
|
|
+ }}分钟以上算早退
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -199,21 +191,18 @@
|
|
|
:data="excelList"
|
|
|
height="85vh"
|
|
|
style="width: 100%; display: none"
|
|
|
- id="table"
|
|
|
- >
|
|
|
+ id="table">
|
|
|
<el-table-column
|
|
|
prop="workName"
|
|
|
label="姓名"
|
|
|
width="100"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="groupOfCheck"
|
|
|
label="考勤组"
|
|
|
width="120"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="department" label="部门" show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
@@ -223,118 +212,100 @@
|
|
|
<el-table-column
|
|
|
prop="daysOfAttendanceInHuangjiahu"
|
|
|
label="黄家湖出勤天数"
|
|
|
- width="130"
|
|
|
- >
|
|
|
+ width="130">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="daysOfcardShortageInHuangjiahu"
|
|
|
label="黄家湖缺卡天数"
|
|
|
width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="recondOfcardShortageInHuangjiahu"
|
|
|
label="黄家湖缺卡记录"
|
|
|
width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="sumAttendanceInHuangjiahu"
|
|
|
label="黄家湖总出勤天数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="daysOfAttendanceInMoxuanhu"
|
|
|
label="墨轩湖出勤天数"
|
|
|
- width="130"
|
|
|
- >
|
|
|
+ width="130">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="daysOfcardShortageInMoxuanhu"
|
|
|
label="墨轩湖缺卡天数"
|
|
|
width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="recondOfcardShortageInMoxuanhu"
|
|
|
label="墨轩湖缺卡记录"
|
|
|
width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="sumAttendanceInMoxuanhu"
|
|
|
label="墨轩湖总出勤天数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="abnormalClockNumber"
|
|
|
label="异常地点打卡天数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="abnormalClockRecond"
|
|
|
label="异常地点打卡记录"
|
|
|
width="150"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="leTwentyLateNumber"
|
|
|
label="0-20分钟迟到次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="lequalThirtyLateNumber"
|
|
|
label="20-30分钟迟到次数"
|
|
|
- width="150"
|
|
|
- >
|
|
|
+ width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="geThirtyLateNumber"
|
|
|
label=">30分钟迟到次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
prop="lateOfRecond"
|
|
|
label="迟到次数记录"
|
|
|
width="130"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="leTwentyLeaveNumber"
|
|
|
label="0-20分钟早退次数"
|
|
|
- width="150"
|
|
|
- >
|
|
|
+ width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="lequalThirtyLeaveNumber"
|
|
|
label="20-30分钟早退次数"
|
|
|
- width="150"
|
|
|
- >
|
|
|
+ width="150">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="geThirtyLeaveNumber"
|
|
|
label=">30分钟早退次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="leaveOfRecond"
|
|
|
label="早退次数记录"
|
|
|
width="140"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="attendanceDays" label="月总出勤天数">
|
|
|
</el-table-column>
|
|
|
@@ -342,8 +313,7 @@
|
|
|
prop="userId"
|
|
|
label="userId"
|
|
|
width="180"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="attendanceDay" label="出勤天数">
|
|
|
</el-table-column>
|
|
|
@@ -352,8 +322,7 @@
|
|
|
prop="workHours"
|
|
|
label="工作时长"
|
|
|
width="130"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="numberOfLate" label="迟到次数">
|
|
|
</el-table-column>
|
|
|
@@ -362,20 +331,17 @@
|
|
|
<el-table-column
|
|
|
prop="numberOfSeriousLateness"
|
|
|
label="严重迟到次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="durationOfSevereLateness"
|
|
|
label="严重迟到时长"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="daysOfAbsenteeismAndLateness"
|
|
|
label="旷工迟到天数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="leaveEarlyNumber" label="早退次数">
|
|
|
</el-table-column>
|
|
|
@@ -383,21 +349,18 @@
|
|
|
prop="leaveEarlyTimes"
|
|
|
label="早退时长"
|
|
|
width="150"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="lackOfWorkCardTimes"
|
|
|
label="上班缺卡次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
prop="lackOfMissingWorkCardTimes"
|
|
|
label="下班缺卡次数"
|
|
|
- width="140"
|
|
|
- >
|
|
|
+ width="140">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="absenteeismDay" label="旷工天数">
|
|
|
</el-table-column>
|
|
|
@@ -415,6 +378,11 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="escortFalse" label="陪护假(天)" width="90">
|
|
|
</el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="marriageLeaveDay"
|
|
|
+ label="婚假(天)"
|
|
|
+ align="center">
|
|
|
+ </el-table-column>
|
|
|
</el-table-column>
|
|
|
|
|
|
<template v-for="(item, index) in TemHeader">
|
|
|
@@ -422,8 +390,7 @@
|
|
|
:prop="item.column_comment"
|
|
|
:label="item.column_name"
|
|
|
:key="index"
|
|
|
- show-overflow-tooltip
|
|
|
- >
|
|
|
+ show-overflow-tooltip>
|
|
|
</el-table-column>
|
|
|
</template>
|
|
|
</el-table>
|
|
|
@@ -1349,4 +1316,4 @@ export default {
|
|
|
.el-date-editor.el-input__inner {
|
|
|
width: 150px;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|