项目库 删除主项目提示修改

This commit is contained in:
zyx.net
2022-12-06 10:34:45 +08:00
parent dd0399dd46
commit f927f5c637
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -1362,4 +1362,5 @@ module.exports = {
Importfailure:'Import failure', Importfailure:'Import failure',
CuiBan:'CuiBan', CuiBan:'CuiBan',
brand:'Brand', brand:'Brand',
allsubitemsitem:'Whether to delete all subitems under this item',
} }
+1
View File
@@ -1463,4 +1463,5 @@ module.exports = {
Importfailure:'导入失败', Importfailure:'导入失败',
CuiBan:'催办', CuiBan:'催办',
brand:'品牌', brand:'品牌',
allsubitemsitem:'该项目下拥有子项目,是否全部删除',
} }
@@ -349,7 +349,7 @@
deleteLib(val) { deleteLib(val) {
let _this = this let _this = this
this.$confirm({ this.$confirm({
content: _this.$t('ConfirmDelete'), content: _this.$t(val.children ? 'allsubitemsitem' : 'ConfirmDelete'),
onOk() { onOk() {
deleteAction(_this.url.deleteBatch, { id: val.id }).then((res) => { deleteAction(_this.url.deleteBatch, { id: val.id }).then((res) => {
if (res.success) { if (res.success) {