feat 样式调整

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Ironsp
2026-05-26 14:24:47 +08:00
parent 949dd1f7f0
commit 3f5b81424a
2 changed files with 8 additions and 8 deletions

View File

@@ -32,8 +32,8 @@
</el-form-item> </el-form-item>
<el-form-item class="button-item"> <el-form-item class="button-item">
<div class="flex justify-center gap-4"> <div class="flex justify-center gap-4">
<el-button @click="cancel" style="width: 120px"> </el-button> <el-button @click="cancel" class="w-120px mr-200px -ml-100px"> </el-button>
<el-button type="primary" @click="save" style="width: 120px">保存配置</el-button> <el-button type="primary" @click="save" class="w-120px">保存配置</el-button>
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>

View File

@@ -37,11 +37,11 @@
<el-table ref="roleTableRef" border v-loading="loading" :data="roleList" @selection-change="handleSelectionChange"> <el-table ref="roleTableRef" border v-loading="loading" :data="roleList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column v-if="false" label="角色编号" prop="roleId" width="120" /> <el-table-column v-if="false" label="角色编号" prop="roleId" />
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" /> <el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" />
<el-table-column label="角色描述" prop="remark" :show-overflow-tooltip="true" width="200" /> <el-table-column label="角色描述" prop="remark" :show-overflow-tooltip="true" />
<el-table-column label="操作人" prop="createBy" :show-overflow-tooltip="true" width="200" /> <el-table-column label="操作人" prop="createBy" :show-overflow-tooltip="true" />
<el-table-column label="排序" prop="roleSort" width="100" /> <el-table-column label="排序" prop="roleSort" />
<el-table-column label="状态" align="center" width="100"> <el-table-column label="状态" align="center" width="100">
<template #default="scope"> <template #default="scope">
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch> <el-switch v-model="scope.row.status" active-value="0" inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch>
@@ -53,7 +53,7 @@
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column fixed="right" label="操作" width="280" align="center"> <el-table-column fixed="right" label="操作" width="380" align="center">
<template #default="scope"> <template #default="scope">
<el-button type="primary" @click="handleUpdate(scope.row)">权限配置</el-button> <el-button type="primary" @click="handleUpdate(scope.row)">权限配置</el-button>