Compare commits

..

No commits in common. "afdece6b4d0184f738b64a41df8dea688e46f738" and "01b43a1877bf5d041c1cc180c1a620fff3231509" have entirely different histories.

2 changed files with 17 additions and 8 deletions

View File

@ -1,10 +1,11 @@
<template> <template>
<PageWrapper> <PageWrapper>
<el-row :gutter="10" class="mt-3"> <el-row :gutter="10" class="mt-3">
<el-col :xs="24" :sm="24" :md="7" :lg="7" :xl="7"> <el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="8">
<el-card shadow="hover" class="border-0"> <el-card shadow="hover" class="border-0">
<template #header> <template #header>
<el-space> <el-row>
<el-col :span="18">
<el-input type="text" v-model="params.name" clearable placeholder="请输入配置名称"> <el-input type="text" v-model="params.name" clearable placeholder="请输入配置名称">
<template #prefix> <template #prefix>
<el-icon class="el-input__icon"> <el-icon class="el-input__icon">
@ -12,6 +13,8 @@
</el-icon> </el-icon>
</template> </template>
</el-input> </el-input>
</el-col>
<el-col :span="6" style="text-align: right">
<el-button <el-button
type="primary" type="primary"
icon="Search" icon="Search"
@ -22,7 +25,8 @@
> >
查询 查询
</el-button> </el-button>
</el-space> </el-col>
</el-row>
<div style="margin-top: 15px"> <div style="margin-top: 15px">
<el-button type="primary" icon="Plus" @click="handleAdd" v-perm="['sys:config:add']" <el-button type="primary" icon="Plus" @click="handleAdd" v-perm="['sys:config:add']"
>新建</el-button >新建</el-button
@ -61,7 +65,7 @@
/> />
</el-card> </el-card>
</el-col> </el-col>
<el-col :xs="24" :sm="24" :md="17" :lg="17" :xl="17"> <el-col :xs="24" :sm="24" :md="16" :lg="16" :xl="16">
<el-card shadow="hover" class="mb-4 border-0 proCard"> <el-card shadow="hover" class="mb-4 border-0 proCard">
<configItem :configId="configId" v-if="configItemShow" /> <configItem :configId="configId" v-if="configItemShow" />
</el-card> </el-card>

View File

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