项目库 删除主项目提示修改
This commit is contained in:
@@ -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',
|
||||||
}
|
}
|
||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user