|
@@ -14,16 +14,8 @@
|
|
|
:columns="activeColumns"
|
|
|
>
|
|
|
<template #toolLeft>
|
|
|
- <el-button type="primary" @click="addHandler">
|
|
|
- <el-icon class="btn-icon">
|
|
|
- <Plus />
|
|
|
- </el-icon>
|
|
|
- </el-button>
|
|
|
- <el-button type="danger" :disabled="curSelectionRows.length === 0" @click="batch_del">
|
|
|
- <el-icon class="btn-icon">
|
|
|
- <Delete />
|
|
|
- </el-icon>
|
|
|
- </el-button>
|
|
|
+ <el-button plain :icon="Plus" type="primary" @click="addHandler">新增</el-button>
|
|
|
+ <el-button plain :icon="Delete" :disabled="curSelectionRows.length === 0" type="danger" @click="batch_del">删除</el-button>
|
|
|
</template>
|
|
|
|
|
|
<template #statusSlot="scope">
|
|
@@ -32,7 +24,11 @@
|
|
|
|
|
|
<template #actionSlot="{ row }">
|
|
|
<div class="flex flex-align-pack-center">
|
|
|
- <LeIcon class="text-lg text-icon-color cursor-pointer icon-mage--edit" icon-class="icon-processInfo-mage--edit" @click="table_edit(row)" />
|
|
|
+ <LeIcon
|
|
|
+ class="text-lg text-icon-color cursor-pointer icon-mage--edit"
|
|
|
+ icon-class="icon-processInfo-mage--edit"
|
|
|
+ @click="table_edit(row)"
|
|
|
+ />
|
|
|
|
|
|
<LeIcon class="text-lg ml-2 text-rose-700 cursor-pointer" icon-class="icon-processInfo-iconoir--trash" @click="table_del(row)" />
|
|
|
</div>
|
|
@@ -113,13 +109,13 @@ const treeRef = ref<InstanceType<typeof ElTree>>()
|
|
|
// 表格搜索条件
|
|
|
const forms = ref([
|
|
|
{
|
|
|
- prop: 'title',
|
|
|
- label: '标题:',
|
|
|
+ prop: 'category',
|
|
|
+ label: '分类:',
|
|
|
itemType: 'input',
|
|
|
- placeholder: '请输入标题'
|
|
|
+ placeholder: '请输入分类'
|
|
|
},
|
|
|
{
|
|
|
- prop: 'keyword',
|
|
|
+ prop: 'key',
|
|
|
label: '关键字:',
|
|
|
itemType: 'input',
|
|
|
placeholder: '请输入关键字'
|