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