@@ -32,8 +32,8 @@
|
||||
</el-form-item>
|
||||
<el-form-item class="button-item">
|
||||
<div class="flex justify-center gap-4">
|
||||
<el-button @click="cancel" style="width: 120px">取 消</el-button>
|
||||
<el-button type="primary" @click="save" style="width: 120px">保存配置</el-button>
|
||||
<el-button @click="cancel" class="w-120px mr-200px -ml-100px">取 消</el-button>
|
||||
<el-button type="primary" @click="save" class="w-120px">保存配置</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
<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 v-if="false" label="角色编号" prop="roleId" width="120" />
|
||||
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" width="150" />
|
||||
<el-table-column label="角色描述" prop="remark" :show-overflow-tooltip="true" width="200" />
|
||||
<el-table-column label="操作人" prop="createBy" :show-overflow-tooltip="true" width="200" />
|
||||
<el-table-column label="排序" prop="roleSort" width="100" />
|
||||
<el-table-column v-if="false" label="角色编号" prop="roleId" />
|
||||
<el-table-column label="角色名称" prop="roleName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="角色描述" prop="remark" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="操作人" prop="createBy" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="排序" prop="roleSort" />
|
||||
<el-table-column label="状态" align="center" width="100">
|
||||
<template #default="scope">
|
||||
<el-switch v-model="scope.row.status" active-value="0" inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch>
|
||||
@@ -53,7 +53,7 @@
|
||||
</template>
|
||||
</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">
|
||||
<el-button type="primary" @click="handleUpdate(scope.row)">权限配置</el-button>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user