gaoluyang
2 天以前 fe631515b71782a10a750874f6d4582fe027cd22
src/views/system/role/authUser.vue
@@ -57,7 +57,7 @@
         <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
      </el-row>
      <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
      <el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange" stripe>
         <el-table-column type="selection" width="55" align="center" />
         <el-table-column label="用户名称" prop="userName" :show-overflow-tooltip="true" />
         <el-table-column label="用户昵称" prop="nickName" :show-overflow-tooltip="true" />
@@ -94,6 +94,7 @@
<script setup name="AuthUser">
import selectUser from "./selectUser"
import { allocatedUserList, authUserCancel, authUserCancelAll } from "@/api/system/role"
import {onMounted} from "vue";
const route = useRoute()
const { proxy } = getCurrentInstance()
@@ -175,5 +176,7 @@
  }).catch(() => {})
}
getList()
onMounted(() => {
   getList();
});
</script>