|
@@ -33,7 +33,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="实习天数" prop="internshipDays" :rules="[]">
|
|
|
+ <el-form-item label="实习天数" prop="internshipDays" :rules="[{required: true, message: '实习天数不能为空', trigger: 'blur'}]">
|
|
|
<el-input
|
|
|
v-on:input="inputForm.internshipDays=inputForm.internshipDays.replace(/[^\d.]/g,'')
|
|
|
.replace(/^\./g,'')
|
|
@@ -316,9 +316,10 @@
|
|
|
|
|
|
if (this.status === 'audit'){
|
|
|
//将开始时间与结束时间传入后台查询后台的实际工作时间接口,
|
|
|
- workLogService.getWorkDay(this.inputForm.startTime,this.inputForm.endTime).then((data) => {
|
|
|
- this.workDay = data
|
|
|
- })
|
|
|
+ // workLogService.getWorkDay(this.inputForm.startTime,this.inputForm.endTime).then((data) => {
|
|
|
+ // this.workDay = data
|
|
|
+ // })
|
|
|
+ this.workDay = this.inputForm.amountInfos.length
|
|
|
}
|
|
|
this.loading = false
|
|
|
})
|