This commit is contained in:
陈红丽 2024-12-17 13:49:24 +08:00
parent 64d3c54e91
commit 7f19853529
2 changed files with 9 additions and 17 deletions

View File

@ -1,19 +1,16 @@
<template>
<PageWrapper>
<a-row :gutter="10" class="mt-3">
<a-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
<a-col :xs="24" :sm="24" :md="7" :lg="7" :xl="7">
<a-card shadow="hover" class="border-0">
<template #title>
<a-row>
<a-col :span="18">
<a-space>
<a-input
type="text"
v-model:value="params.name"
placeholder="请输入配置名称"
allow-clear
/>
</a-col>
<a-col :span="6" style="text-align: right">
<a-button
type="primary"
@click="
@ -23,8 +20,7 @@
>
<template #icon> <SearchOutlined /> </template>查询
</a-button>
</a-col>
</a-row>
</a-space>
<div style="margin-top: 15px">
<a-space>
<a-button type="primary" @click="handleAdd" v-perm="['sys:config:add']">
@ -63,7 +59,7 @@
/>
</a-card>
</a-col>
<a-col :xs="24" :sm="24" :md="16" :lg="16" :xl="16">
<a-col :xs="24" :sm="24" :md="17" :lg="17" :xl="17">
<a-card shadow="hover" class="mb-4 border-0 proCard">
<configItem :configId="configId" v-if="configItemShow" />
</a-card>

View File

@ -1,19 +1,17 @@
<template>
<PageWrapper>
<a-row :gutter="10" class="mt-3">
<a-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
<a-col :xs="24" :sm="24" :md="7" :lg="7" :xl="7">
<a-card shadow="hover" class="border-0">
<template #title>
<a-row>
<a-col :span="10">
<a-space>
<a-input
type="text"
v-model:value="params.name"
placeholder="请输入字典名称"
allow-clear
/>
</a-col>
<a-col :span="14" style="text-align: right">
<a-button
type="primary"
@click="
@ -26,13 +24,11 @@
<a-button
type="primary"
@click="dictRefresh"
style="margin-left: 8px"
v-perm="['sys:dict:cache']"
>
<template #icon> <RedoOutlined /> </template>刷新缓存</a-button
>
</a-col>
</a-row>
</a-space>
<div style="margin-top: 15px">
<a-space>
<a-button type="primary" @click="handleAdd" v-perm="['sys:dict:add']">
@ -71,7 +67,7 @@
/>
</a-card>
</a-col>
<a-col :xs="24" :sm="24" :md="16" :lg="16" :xl="16">
<a-col :xs="24" :sm="24" :md="17" :lg="17" :xl="17">
<a-card shadow="hover" class="mb-4 border-0 proCard">
<dictItem :dictId="dictId" v-if="dictItemShow" />
</a-card>