Merge branch 'master' of gitee.com:youlaiorg/vue3-element-admin

Former-commit-id: 5ead312dea8d1c11218afb3f8498282a149be83f
This commit is contained in:
郝先瑞
2023-04-15 23:52:17 +08:00
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@ export function getDictFormData(id: number): AxiosPromise<DictForm> {
*/
export function addDict(data: DictForm) {
return request({
url: '/api/v1/dict/items',
url: '/api/v1/dict',
method: 'post',
data: data
});

View File

@@ -3,9 +3,9 @@
*/
export interface DictTypeQuery extends PageQuery {
/**
* 字典类型名称
* 关键字(字典类型名称/编码)
*/
name?: string;
keywords?: string;
}
/**

View File

@@ -199,7 +199,7 @@ onMounted(() => {
<el-form ref="queryFormRef" :model="queryParams" :inline="true">
<el-form-item label="关键字" prop="name">
<el-input
v-model="queryParams.name"
v-model="queryParams.keywords"
placeholder="字典类型名称/编码"
clearable
@keyup.enter="handleQuery"