fix 部门管理 右键删除完 没有重新调接口
This commit is contained in:
@@ -64,7 +64,8 @@
|
|||||||
<a-menu-item key="6" @click="closeAll">{{ $t('mergeAll') }}</a-menu-item>
|
<a-menu-item key="6" @click="closeAll">{{ $t('mergeAll') }}</a-menu-item>
|
||||||
</a-menu>
|
</a-menu>
|
||||||
<a-button>
|
<a-button>
|
||||||
{{ $t('treeOperation') }} <a-icon type="up" />
|
{{ $t('treeOperation') }}
|
||||||
|
<a-icon type="up" />
|
||||||
</a-button>
|
</a-button>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
</div>
|
</div>
|
||||||
@@ -471,7 +472,7 @@ export default {
|
|||||||
this.$confirm({
|
this.$confirm({
|
||||||
title: this.$t('confirmDeletion'),
|
title: this.$t('confirmDeletion'),
|
||||||
content: this.$t('depart.deleteDepartmentData'),
|
content: this.$t('depart.deleteDepartmentData'),
|
||||||
onOk: function () {
|
onOk: () => {
|
||||||
deleteByDepartId({ id: that.rightClickSelectedKey }).then((resp) => {
|
deleteByDepartId({ id: that.rightClickSelectedKey }).then((resp) => {
|
||||||
if (resp.success) {
|
if (resp.success) {
|
||||||
// 删除成功后,去除已选中中的数据
|
// 删除成功后,去除已选中中的数据
|
||||||
|
|||||||
Reference in New Issue
Block a user