refactor(plugin): 优化插件配置界面和功能

-调整插件配置界面布局和样式
- 增加插件类型和图标字段
- 修改字段显示逻辑,根据不同插件类型显示相应字段
- 优化插件服务端处理逻辑,支持不同类型的插件配置
This commit is contained in:
xiaojunnuo
2025-04-12 01:34:48 +08:00
parent 3d8a5196a0
commit 88134ac130
4 changed files with 84 additions and 81 deletions
@@ -42,16 +42,16 @@ import { merge } from "lodash-es";
import { notification } from "ant-design-vue";
defineOptions({
name: "SysPluginConfig"
name: "SysPluginConfig",
});
const formState = reactive<Partial<CommPluginConfig>>({
CertApply: {
sysSetting: {
input: {
googleCommonEabAccessId: null
}
}
}
googleCommonEabAccessId: null,
},
},
},
});
async function loadForm() {
@@ -67,7 +67,7 @@ const onFinish = async (form: any) => {
saveLoading.value = true;
await SaveCommPluginConfigs(form);
notification.success({
message: "保存成功"
message: "保存成功",
});
} finally {
saveLoading.value = false;