修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-04 17:17:15 +08:00
parent e84512a1e9
commit ed5ed29233
5 changed files with 64 additions and 12 deletions
@@ -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()