<el-date-picker size="mini"
v-model="created_at"
value-format="yyyy-MM-dd HH:mm:ss"
:picker-options="pickerOptions"
clearable
type="daterange"
start-placeholder="开始日期"
end-placeholder="结束日期"
:default-time="['00:00:00', '23:59:59']" />
公证书
created_at: '',
choiceDate: '',
pickerOptions: {
onPick: ({ maxDate, minDate }) => {
this.choiceDate = minDate
if (maxDate) {
this.choiceDate = ''
}
},
学历成绩单公证书
disabledDate: (time) => {
if (this.choiceDate !== '') {
return time.getTime() < moment(this.choiceDate).subtract(1, 'month') ||
(time.getTime() > moment(this.choiceDate).add(1, 'month').endOf('day') && time.getTime() < moment().endOf('day')) ||
time.getTime() > moment().endOf('day')
}
return time.getTime() > moment().endOf('day')
}
}
委托授权公证书 样本
disabledDate: (time) => {
if (this.choiceDate !== '') {
return time.getTime() < moment(this.choiceDate).subtract(1, 'month') ||
(time.getTime() > moment(this.choiceDate).add(1, 'month').endOf('day') && time.getTime() < moment().endOf('day')) ||
time.getTime() > moment().endOf('day')
}
return time.getTime() > moment().endOf('day')
}
}