修改禅道已知bug
This commit is contained in:
+11
@@ -43,6 +43,7 @@
|
||||
</div>
|
||||
<a-form-model-item class="itemModel" prop="endTime">
|
||||
<a-date-picker class="box-input"
|
||||
:disabledDate="disabledDate"
|
||||
:placeholder="$t('PleaseSelect')+$t('closingDate')"
|
||||
@change="dateChange('endTime')"
|
||||
:getCalendarContainer="(trigger) => trigger.parentNode"
|
||||
@@ -162,6 +163,13 @@
|
||||
message: this.$t('Assessor') + this.$t('cannotEmpty'),
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
taskExplain: [
|
||||
{
|
||||
max: 300,
|
||||
message: this.$t('taskDescription') + this.$t('cannotExceed') + 300 + this.$t('Characters'),
|
||||
trigger: 'blur'
|
||||
}
|
||||
]
|
||||
},
|
||||
searchParmes: {},
|
||||
@@ -230,6 +238,9 @@
|
||||
},
|
||||
methods: {
|
||||
...mapGetters(['userInfo']),
|
||||
disabledDate(current) {
|
||||
return current && current < moment().subtract(1, 'day')
|
||||
},
|
||||
pageOnChange(page) {
|
||||
this.pageNo = page
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user