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

View File

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