修改禅道已知bug
This commit is contained in:
@@ -508,4 +508,5 @@ module.exports = {
|
|||||||
labelNameCannotDuplicate:'Label name cannot be duplicate',
|
labelNameCannotDuplicate:'Label name cannot be duplicate',
|
||||||
list:'list',
|
list:'list',
|
||||||
paragraph:'paragraph',
|
paragraph:'paragraph',
|
||||||
|
theRelease:'The release date should not exceed the standard implementation date'
|
||||||
}
|
}
|
||||||
@@ -512,5 +512,5 @@ module.exports = {
|
|||||||
labelNameCannotDuplicate:'标签名称不能重复',
|
labelNameCannotDuplicate:'标签名称不能重复',
|
||||||
list:'列表',
|
list:'列表',
|
||||||
paragraph:'段落',
|
paragraph:'段落',
|
||||||
|
theRelease:'发布日期不能大于标准实施日期'
|
||||||
}
|
}
|
||||||
@@ -294,7 +294,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
disabledDate(current) {
|
disabledDate(current) {
|
||||||
return current && current < moment().subtract(1,"day");
|
return current && current < moment().subtract(1, 'day')
|
||||||
},
|
},
|
||||||
sumber() {
|
sumber() {
|
||||||
this.$refs.ruleForm.validate(valid => {
|
this.$refs.ruleForm.validate(valid => {
|
||||||
@@ -317,7 +317,11 @@
|
|||||||
eventBUs.$emit('searchReset')
|
eventBUs.$emit('searchReset')
|
||||||
this.$emit('addFormClick')
|
this.$emit('addFormClick')
|
||||||
} else {
|
} else {
|
||||||
this.$message.warning(this.$t('operationFailed'))
|
if (res.message == '发布日期不能大于标准实施日期') {
|
||||||
|
this.$message.warning(this.$t('theRelease'))
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('operationFailed'))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user