字典树ok
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
<template>
|
||||
<div class='default-main' style='position: relative;'>
|
||||
<div class="default-main" style="position: relative">
|
||||
<TableHeader>
|
||||
<template #select>
|
||||
<el-form-item label='过滤筛选'>
|
||||
<el-form-item label="过滤筛选">
|
||||
<el-input
|
||||
style='width: 240px'
|
||||
v-model='tableStore.table.params.searchValue'
|
||||
style="width: 240px"
|
||||
v-model="tableStore.table.params.searchValue"
|
||||
clearable
|
||||
placeholder='请输入名称或编码筛选'
|
||||
placeholder="请输入名称或编码筛选"
|
||||
/>
|
||||
</el-form-item>
|
||||
</template>
|
||||
<template #operation>
|
||||
<el-button :icon='Plus' type='primary' @click='add'>新增字典类型</el-button>
|
||||
<el-button :icon="Plus" type="primary" @click="add">新增字典类型</el-button>
|
||||
</template>
|
||||
</TableHeader>
|
||||
<Table ref='tableRef' />
|
||||
<PopupEdit ref='popupEditRef'></PopupEdit>
|
||||
<Detail ref='detailRef' :detail='detail' @close='detail = null' v-if='detail'></Detail>
|
||||
<Table ref="tableRef" />
|
||||
<PopupEdit ref="popupEditRef"></PopupEdit>
|
||||
<Detail ref="detailRef" :detail="detail" @close="detail = null" v-if="detail"></Detail>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang='ts'>
|
||||
<script setup lang="ts">
|
||||
import { Plus } from '@element-plus/icons-vue'
|
||||
import { ref, onMounted, provide } from 'vue'
|
||||
import TableStore from '@/utils/tableStore'
|
||||
|
||||
Reference in New Issue
Block a user