吉安感知网项目-前端
shuishen
2026-01-23 ada659be29d46e9c07bce9fa147d089a6ad9fa24
applications/drone-command/src/views/permissionManage/permissionUser/index.vue
@@ -101,6 +101,8 @@
import { getList as getUserList, remove } from '@/api/system/user'
import { useStore } from 'vuex'
import FormDiaLog from './FormDiaLog.vue'
import { saveOperationLog } from '@ztzf/apis'
import { useRoute } from 'vue-router'
const initSearchParams = () => ({
   account: '',
@@ -124,6 +126,7 @@
}
const store = useStore()
const permission = computed(() => store.getters.permission || {})
const route = useRoute()
async function getList() {
   loading.value = true
@@ -178,6 +181,11 @@
   })
   const ids = row ? row.id : selectedIds.value.join(',')
   await remove(ids)
   saveOperationLog({
      requestUri: route.path,
      title: `${route.name || '用户管理'}-删除`,
      type: 1
   })
   ElMessage.success('删除成功')
   selectedIds.value = []
   getList()