This commit is contained in:
sjl
2024-10-24 12:28:12 +08:00
parent c12b8af133
commit 3af786876e
5 changed files with 154 additions and 128 deletions

View File

@@ -9,10 +9,10 @@
>
<!-- 表格 header 按钮 -->
<template #tableHeader>
<el-button type='primary' :icon='CirclePlus' @click="openAddDialog">新增菜单</el-button>
<el-button type='primary' :icon='CirclePlus' @click="openAddDialog">新增</el-button>
<el-button type='danger' :icon='Delete' plain :disabled='!multipleSelection.length' @click="handleDelList"
>
批量删除菜单
批量删除
</el-button>
</template>
<template>
@@ -97,7 +97,7 @@
},
{
prop: 'type',
label: '资源类型',
label: '类型',
width: 150,
// 字典数据(本地数据)
//enum: dictStore.getDictData('type'),
@@ -108,11 +108,10 @@
render: ({ searchParam }) => {
return (
<div class='flx-center'>
<el-select >
<el-option ></el-option>
<el-option label="未检测"></el-option>
<el-option label="检测中"></el-option>
<el-option label="检测完成"></el-option>
<el-select placeholder="请选择">
<el-option label="菜单"></el-option>
<el-option label="按钮"></el-option>
<el-option label="公共资源"></el-option>
</el-select>
</div>
@@ -123,7 +122,7 @@
{
prop: 'route_Name',
width: 200,
label: '路由名称',
label: '路由',
search: { el: 'input' },
},
{
@@ -142,7 +141,7 @@
width: 180,
},
{ prop: 'operation', label: '操作', fixed: 'right', width: 200 },
{ prop: 'operation', label: '操作', fixed: 'right' },
])
// 打开 drawer(新增、查看、编辑)
// 打开新增对话框