commit
2217c1413c
|
|
@ -95,7 +95,20 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="字典类型" min-width="12%">
|
<el-table-column label="字典类型" min-width="12%">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择">
|
<el-select v-model="scope.row.dictType" :value-on-clear="''" clearable filterable placeholder="请选择">
|
||||||
|
<template #header>
|
||||||
|
<div class="flex justify-end">
|
||||||
|
<el-popover
|
||||||
|
class="box-item"
|
||||||
|
content="加载最新字典"
|
||||||
|
placement="top-start"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
|
<el-button :icon="Refresh" size="small" circle @click="getDictOptions" class=""/>
|
||||||
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="dict in dictOptions"
|
v-for="dict in dictOptions"
|
||||||
:key="dict.id"
|
:key="dict.id"
|
||||||
|
|
@ -114,6 +127,7 @@
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { PropType } from 'vue'
|
import { PropType } from 'vue'
|
||||||
|
import { Refresh } from '@element-plus/icons-vue'
|
||||||
import * as CodegenApi from '@/api/infra/codegen'
|
import * as CodegenApi from '@/api/infra/codegen'
|
||||||
import * as DictDataApi from '@/api/system/dict/dict.type'
|
import * as DictDataApi from '@/api/system/dict/dict.type'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue