|
@@ -22,12 +22,14 @@
|
|
|
<el-option v-for="item in times" :key="item" :label="item.toFixed(1)" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
小时
|
|
|
+ <span class="lockworktime"><el-checkbox v-model="timeType.fillAhead" label="可提前填报" /></span>
|
|
|
<span class="lockworktime"><el-checkbox v-model="timeType.lockWorktime" label="锁定工作时长" />
|
|
|
|
|
|
<el-tooltip effect="dark" content="锁定每日填报工时的上限" placement="top-start">
|
|
|
<i class="el-icon-question" style="color:#606266"></i>
|
|
|
</el-tooltip>
|
|
|
</span>
|
|
|
+
|
|
|
</el-form-item><br>
|
|
|
<el-form-item label="加班设置" prop="allday" v-if="!timeType.lockWorktime">
|
|
|
<el-checkbox v-model="timeType.fillOvertime" label="可填报加班时长" />
|
|
@@ -42,12 +44,6 @@
|
|
|
</el-radio>
|
|
|
<el-radio v-model="timeType.hourCostInputType" :label="1" style="width:100%;margin-left:10px;">方式二:直接录入时薪<span class="tip">(适合计时发放酬劳的小时工,兼职员工)</span></el-radio>
|
|
|
</div>
|
|
|
- <p style="margin-left:10px;color:#666;">工时填报必填项设置</p>
|
|
|
- <el-row :gutter="20" style="padding-top:10px;width:100%;margin:0 auto;padding-left:10px;padding-right:10px;">
|
|
|
- <el-col :span="24" >
|
|
|
-
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
<!--设置时长样式内容-->
|
|
|
<p style="margin-left:10px;color:#666;">员工工作时长上报方式设置</p>
|
|
|
<el-row :gutter="20" style="padding-top:10px;width:100%;margin:0 auto;padding-left:10px;padding-right:10px;">
|
|
@@ -426,7 +422,8 @@
|
|
|
monthDays: 21.75,
|
|
|
pm: 4,
|
|
|
type: 0,
|
|
|
- lockWorktime: true
|
|
|
+ lockWorktime: false,
|
|
|
+ fillAhead: false
|
|
|
},
|
|
|
customDegreeActive: false,
|
|
|
needDeptAudit: false,
|
|
@@ -900,6 +897,7 @@
|
|
|
|
|
|
param.fillOvertime = param.fillOvertime ? 1 : 0
|
|
|
param.lockWorktime = param.lockWorktime ? 1 : 0
|
|
|
+ param.fillAhead = param.fillAhead ? 1 : 0
|
|
|
if(param.lockWorktime){
|
|
|
param.fillOvertime = 0
|
|
|
param.payOvertime = 0
|
|
@@ -969,6 +967,7 @@
|
|
|
this.timeType.customTextStatus = this.timeType.customTextStatus ? true : false
|
|
|
this.timeType.customDegreeStatus = this.timeType.customDegreeStatus ? true : false
|
|
|
this.timeType.customDataStatus = this.timeType.customDataStatus ? true : false
|
|
|
+ this.timeType.fillAhead = this.timeType.fillAhead ? true : false
|
|
|
this.timeChange();
|
|
|
let userlist = res.data.userList
|
|
|
this.whiteList = []
|