Merge branch 'master' of gitee.com:youlaiorg/vue3-element-admin
Former-commit-id: 5ead312dea
This commit is contained in:
commit
96407da768
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@
|
|||
*/
|
||||
export interface DictTypeQuery extends PageQuery {
|
||||
/**
|
||||
* 字典类型名称
|
||||
* 关键字(字典类型名称/编码)
|
||||
*/
|
||||
name?: string;
|
||||
keywords?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue