|
@@ -424,6 +424,12 @@ export default {
|
|
|
) {
|
|
|
this.$tips('高空证信息需要完整!')
|
|
|
return false
|
|
|
+ } else if (
|
|
|
+ Date(this.reexamineTime).getTime() < Date(this.altitudeDocumentStateTime).getTime() ||
|
|
|
+ Date(this.reexamineTime).getTime() > Date(this.altitudeDocumentEndTime).getTime()
|
|
|
+ ) {
|
|
|
+ this.$tips('复审日期必须包含在有效期内!')
|
|
|
+ return false
|
|
|
}
|
|
|
} else {
|
|
|
this.altitudeDocumentNumber = ''
|
|
@@ -461,12 +467,12 @@ export default {
|
|
|
name: this.name,
|
|
|
bankAccount: this.bankAccount,
|
|
|
idCard: this.idcard,
|
|
|
- idCardStartTime: this.idCardStateTime,
|
|
|
- idCardEndTime: this.idCardEndTime,
|
|
|
+ idCardStartTime: this.idCardStateTime + ' 00:00:00',
|
|
|
+ idCardEndTime: this.idCardEndTime + ' 23:59:59',
|
|
|
number: this.altitudeDocumentNumber,
|
|
|
- hightExamineTime: this.reexamineTime,
|
|
|
- startTime: this.altitudeDocumentStateTime,
|
|
|
- endTime: this.altitudeDocumentEndTime,
|
|
|
+ hightExamineTime: this.reexamineTime + ' 23:59:59',
|
|
|
+ startTime: this.altitudeDocumentStateTime + ' 00:00:00',
|
|
|
+ endTime: this.altitudeDocumentEndTime + ' 23:59:59',
|
|
|
type: 'WORKER',
|
|
|
websitId: this.websitId,
|
|
|
isBuy: this.isBuy,
|
|
@@ -529,8 +535,8 @@ export default {
|
|
|
company: this.insurancePolicyName,
|
|
|
policyName: this.insuranceName,
|
|
|
policyOrder: this.insuranceNumber,
|
|
|
- startTime: this.insuranceStateTime,
|
|
|
- endTime: this.insuranceEndTime,
|
|
|
+ startTime: this.insuranceStateTime + ' 00:00:00',
|
|
|
+ endTime: this.insuranceEndTime + ' 23:59:59',
|
|
|
policyType: 'AC',
|
|
|
policyPrice: 0,
|
|
|
policyUrl: this.imageList.map(item => item.urls).join(',')
|