|
@@ -1,3 +1,4 @@
|
|
|
|
|
+<!--
|
|
|
<template>
|
|
<template>
|
|
|
<div class="p-2">
|
|
<div class="p-2">
|
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
<transition :enter-active-class="proxy?.animate.searchAnimate.enter" :leave-active-class="proxy?.animate.searchAnimate.leave">
|
|
@@ -36,7 +37,7 @@
|
|
|
</transition>
|
|
</transition>
|
|
|
|
|
|
|
|
<el-card shadow="never">
|
|
<el-card shadow="never">
|
|
|
- <!-- <template #header>
|
|
|
|
|
|
|
+ <!– <template #header>
|
|
|
<el-row :gutter="10" class="mb8">
|
|
<el-row :gutter="10" class="mb8">
|
|
|
<!– <el-col :span="1.5">
|
|
<!– <el-col :span="1.5">
|
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['business:user:add']">新增</el-button>
|
|
<el-button type="primary" plain icon="Plus" @click="handleAdd" v-hasPermi="['business:user:add']">新增</el-button>
|
|
@@ -56,10 +57,10 @@
|
|
|
</el-col>–>
|
|
</el-col>–>
|
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- </template>-->
|
|
|
|
|
|
|
+ </template>–>
|
|
|
|
|
|
|
|
<el-table v-loading="loading" border :data="userList" @selection-change="handleSelectionChange">
|
|
<el-table v-loading="loading" border :data="userList" @selection-change="handleSelectionChange">
|
|
|
- <!-- <el-table-column type="selection" width="55" align="center" />-->
|
|
|
|
|
|
|
+ <!– <el-table-column type="selection" width="55" align="center" />–>
|
|
|
<el-table-column label="用户id" align="center" prop="id" v-if="true" />
|
|
<el-table-column label="用户id" align="center" prop="id" v-if="true" />
|
|
|
<el-table-column label="登录名称" align="center" prop="loginName" />
|
|
<el-table-column label="登录名称" align="center" prop="loginName" />
|
|
|
<el-table-column label="用户姓名" align="center" prop="realName" />
|
|
<el-table-column label="用户姓名" align="center" prop="realName" />
|
|
@@ -87,7 +88,7 @@
|
|
|
<el-button link type="primary" icon="View" @click="handleUpdate(scope.row)" v-hasPermi="['business:user:edit']"></el-button>
|
|
<el-button link type="primary" icon="View" @click="handleUpdate(scope.row)" v-hasPermi="['business:user:edit']"></el-button>
|
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
- <!-- 禁用/启用 按钮 -->
|
|
|
|
|
|
|
+ <!– 禁用/启用 按钮 –>
|
|
|
<el-tooltip :content="scope.row.status === 1 ? '禁用' : '启用'" placement="top">
|
|
<el-tooltip :content="scope.row.status === 1 ? '禁用' : '启用'" placement="top">
|
|
|
<el-button
|
|
<el-button
|
|
|
link
|
|
link
|
|
@@ -112,7 +113,7 @@
|
|
|
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
|
- <!-- 查看用户详情对话框 -->
|
|
|
|
|
|
|
+ <!– 查看用户详情对话框 –>
|
|
|
<el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
|
|
<el-dialog :title="dialog.title" v-model="dialog.visible" width="500px" append-to-body>
|
|
|
<el-form ref="userFormRef" :model="form" :rules="rules" label-width="80px">
|
|
<el-form ref="userFormRef" :model="form" :rules="rules" label-width="80px">
|
|
|
<el-form-item label="用户ID" prop="id">
|
|
<el-form-item label="用户ID" prop="id">
|
|
@@ -149,13 +150,13 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<template #footer>
|
|
<template #footer>
|
|
|
<div class="dialog-footer">
|
|
<div class="dialog-footer">
|
|
|
- <!-- <el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>-->
|
|
|
|
|
|
|
+ <!– <el-button :loading="buttonLoading" type="primary" @click="submitForm">确 定</el-button>–>
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
|
|
|
- <!-- 编辑用户对话框 -->
|
|
|
|
|
|
|
+ <!– 编辑用户对话框 –>
|
|
|
<el-dialog :title="editDialog.title" v-model="editDialog.visible" width="500px" append-to-body>
|
|
<el-dialog :title="editDialog.title" v-model="editDialog.visible" width="500px" append-to-body>
|
|
|
<el-form ref="editUserFormRef" :model="editForm" :rules="rules2" label-width="80px">
|
|
<el-form ref="editUserFormRef" :model="editForm" :rules="rules2" label-width="80px">
|
|
|
<el-form-item label="用户ID" prop="id" v-show="false">
|
|
<el-form-item label="用户ID" prop="id" v-show="false">
|
|
@@ -439,3 +440,4 @@ onMounted(() => {
|
|
|
getList();
|
|
getList();
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
+-->
|