修改禅道已知bug
This commit is contained in:
@@ -1261,4 +1261,5 @@ module.exports = {
|
|||||||
currentlyTheFirstOneThatCannotMovedUp:'Currently the first one that cannot be moved up',
|
currentlyTheFirstOneThatCannotMovedUp:'Currently the first one that cannot be moved up',
|
||||||
currentlyTheLastOneCannotmovedDown:'Currently the last one cannot be moved down',
|
currentlyTheLastOneCannotmovedDown:'Currently the last one cannot be moved down',
|
||||||
weilaiRegulationMonthlyReport:'Weilai Regulation Monthly Report',
|
weilaiRegulationMonthlyReport:'Weilai Regulation Monthly Report',
|
||||||
|
thereTitleWhichCannotBeDeleted:'There are new contents under this title, which cannot be deleted',
|
||||||
}
|
}
|
||||||
@@ -1363,4 +1363,5 @@ module.exports = {
|
|||||||
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
|
currentlyTheFirstOneThatCannotMovedUp:'当前已是第一个无法进行上移',
|
||||||
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
|
currentlyTheLastOneCannotmovedDown:'当前已是最后一个无法进行下移',
|
||||||
weilaiRegulationMonthlyReport:'蔚来法规月报',
|
weilaiRegulationMonthlyReport:'蔚来法规月报',
|
||||||
|
thereTitleWhichCannotBeDeleted:'该标题下存在新增内容,不能删除',
|
||||||
}
|
}
|
||||||
@@ -205,6 +205,15 @@
|
|||||||
this.$message.warning(this.$t('thereWhichCannotDeleted'))
|
this.$message.warning(this.$t('thereWhichCannotDeleted'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
getAction('/report/lawsMonthlyReportTitleTemplateEO/verifyDelete', { ids: val.id }).then((res) => {
|
||||||
|
if (res.result == 'true') {
|
||||||
|
this.deleteBatch(val)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(this.$t('thereTitleWhichCannotBeDeleted'))
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
deleteBatch(val) {
|
||||||
let _this = this
|
let _this = this
|
||||||
this.$confirm({
|
this.$confirm({
|
||||||
content: _this.$t('ConfirmDelete'),
|
content: _this.$t('ConfirmDelete'),
|
||||||
|
|||||||
Reference in New Issue
Block a user