refactor(系统设置): 配额删除文字改成重置
--bug=1027800 --user=陈建星 【系统设置】github#25590,配额管理,删除一条数据,提示删除成功,但是列表数据还在 https://www.tapd.cn/55049933/s/1397326
This commit is contained in:
parent
79b43d8100
commit
b241ceadab
|
@ -230,7 +230,7 @@ export default {
|
|||
exec: this.edit,
|
||||
permissions: this.quotaType === QUOTA_TYPE.WORKSPACE ? ['SYSTEM_QUOTA:READ+EDIT'] : ['WORKSPACE_QUOTA:READ+EDIT']
|
||||
}, {
|
||||
tip: this.$t('commons.delete'), icon: "el-icon-delete", type: "danger",
|
||||
tip: this.$t('commons.adv_search.reset'), icon: "el-icon-refresh-left", type: "danger",
|
||||
exec: this.delete,
|
||||
permissions: this.quotaType === QUOTA_TYPE.WORKSPACE ? ['SYSTEM_QUOTA:READ+EDIT'] : ['WORKSPACE_QUOTA:READ+EDIT']
|
||||
}
|
||||
|
@ -278,11 +278,11 @@ export default {
|
|||
},
|
||||
delete(row) {
|
||||
if (!row || !row.id) {
|
||||
this.$success(this.$t("commons.delete_success"));
|
||||
this.$success(this.$t("organization.integration.successful_operation"));
|
||||
return;
|
||||
}
|
||||
deleteQuota(row).then(() => {
|
||||
this.$success(this.$t("commons.delete_success"));
|
||||
this.$success(this.$t("organization.integration.successful_operation"));
|
||||
this.search();
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue