mirror of
https://github.com/jumpserver/lina.git
synced 2025-11-10 20:00:45 +00:00
Compare commits
2 Commits
pr@v3@fixe
...
v2.5.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dd7c492965 | ||
|
|
7c21a6f156 |
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<Dialog
|
<Dialog
|
||||||
v-if="dialogSetting.dialogVisible"
|
|
||||||
:title="this.$t('common.updateSelected')"
|
:title="this.$t('common.updateSelected')"
|
||||||
:visible.sync="dialogSetting.dialogVisible"
|
:visible.sync="dialogSetting.dialogVisible"
|
||||||
width="70%"
|
width="70%"
|
||||||
@@ -99,6 +98,7 @@ export default {
|
|||||||
const url = this.url
|
const url = this.url
|
||||||
const msg = this.updateSuccessMsg
|
const msg = this.updateSuccessMsg
|
||||||
this.$axios.patch(url, validValues).then((res) => {
|
this.$axios.patch(url, validValues).then((res) => {
|
||||||
|
vm.$emit('update')
|
||||||
this.$message.success(msg)
|
this.$message.success(msg)
|
||||||
vm.dialogSetting.dialogVisible = false
|
vm.dialogSetting.dialogVisible = false
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
:selected-rows="updateSelectedDialogSetting.selectedRows"
|
:selected-rows="updateSelectedDialogSetting.selectedRows"
|
||||||
:form-setting="updateSelectedDialogSetting.formSetting"
|
:form-setting="updateSelectedDialogSetting.formSetting"
|
||||||
:dialog-setting="updateSelectedDialogSetting.dialogSetting"
|
:dialog-setting="updateSelectedDialogSetting.dialogSetting"
|
||||||
|
@update="handleDialogUpdate"
|
||||||
/>
|
/>
|
||||||
<InviteUsersDialog :setting="InviteDialogSetting" @close="handleInviteDialogClose" />
|
<InviteUsersDialog :setting="InviteDialogSetting" @close="handleInviteDialogClose" />
|
||||||
</div>
|
</div>
|
||||||
@@ -288,6 +289,9 @@ export default {
|
|||||||
handleInviteDialogClose() {
|
handleInviteDialogClose() {
|
||||||
this.InviteDialogSetting.InviteDialogVisible = false
|
this.InviteDialogSetting.InviteDialogVisible = false
|
||||||
this.$refs.GenericListPage.$refs.ListTable.reloadTable()
|
this.$refs.GenericListPage.$refs.ListTable.reloadTable()
|
||||||
|
},
|
||||||
|
handleDialogUpdate() {
|
||||||
|
this.$refs.GenericListPage.$refs.ListTable.reloadTable()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user