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

Former-commit-id: 5ead312dea
This commit is contained in:
郝先瑞 2023-04-15 23:52:17 +08:00
commit 96407da768
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"