diff --git a/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts b/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts index b925a7eba..fa1a74db3 100644 --- a/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts +++ b/yudao-ui-admin-vue3/src/api/infra/fileConfig/index.ts @@ -16,7 +16,7 @@ export interface ConfigType { export interface FileConfigVO { id: number name: string - storage: string + storage: number master: boolean visible: boolean config: ConfigType diff --git a/yudao-ui-admin-vue3/src/views/infra/fileConfig/fileConfig.data.ts b/yudao-ui-admin-vue3/src/views/infra/fileConfig/fileConfig.data.ts index 38a56edc5..732e7a6ec 100644 --- a/yudao-ui-admin-vue3/src/views/infra/fileConfig/fileConfig.data.ts +++ b/yudao-ui-admin-vue3/src/views/infra/fileConfig/fileConfig.data.ts @@ -40,14 +40,14 @@ const crudSchemas = reactive({ { title: '存储器', field: 'storage', - dictType: DICT_TYPE.INFRA_FILE_STORAGE, // TODO @星语:不同存储器,不同表单 + dictType: DICT_TYPE.INFRA_FILE_STORAGE, dictClass: 'number', isSearch: true }, { title: '主配置', field: 'master', - dictType: DICT_TYPE.INFRA_BOOLEAN_STRING, // TODO @星语:新增时,不选择主配置 + dictType: DICT_TYPE.INFRA_BOOLEAN_STRING, dictClass: 'boolean' }, { diff --git a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue index b92756785..6741658c5 100644 --- a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue @@ -9,7 +9,7 @@ preIcon="ep:zoom-in" :title="t('action.add')" v-hasPermi="['infra:file-config:create']" - @click="handleCreate()" + @click="handleCreate(formRef)" />