review:【EP】【BPM 工作流】infra 相关功能的实现

pull/105/head^2
YunaiV 2025-05-14 23:34:32 +08:00
parent b6c54cbb66
commit 6fd1b18c31
12 changed files with 14 additions and 2 deletions

View File

@ -50,6 +50,7 @@ const [Modal, modalApi] = useVbenModal({
/** 上传前 */
function beforeUpload(file: FileType) {
// TODO @puhui999 antd
formApi.setFieldValue('file', file);
return false;
}
@ -61,6 +62,7 @@ function beforeUpload(file: FileType) {
<template #file>
<div class="w-full">
<!-- 上传区域 -->
<!-- TODO @puhui9991上传图片用不了2底部有点遮挡 -->
<Upload.Dragger
name="file"
:max-count="1"

View File

@ -1,4 +1,5 @@
<script lang="ts" setup>
// TODO @puhui999
import type { SystemTenantApi } from '#/api/system/tenant';
import { onMounted, ref } from 'vue';

View File

@ -20,6 +20,7 @@ const emit = defineEmits<{
(e: 'success'): void;
}>();
// TODO @puhui999
const [Form, formApi] = useVbenForm({
commonConfig: {
labelWidth: 70,

View File

@ -25,6 +25,7 @@ const avatar = computed(
() => props.profile?.avatar || preferences.app.defaultAvatar,
);
// TODO @puhui999
async function handelUpload({
file,
filename,

View File

@ -172,6 +172,7 @@ onMounted(() => {
>
<ElCard v-for="item in allBindList" :key="item.type" class="!mb-2">
<div class="flex w-full items-center gap-4">
<!-- TODO @puhui999图片大小不太对 -->
<ElImage
:src="item.img"
:width="40"

View File

@ -43,6 +43,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
fieldName: 'beginTime',
label: '请求时间',
component: 'RangePicker',
// TODO @puhui999时间范围不太对。结束时间不是 23:59:59 这种哈
componentProps: {
...getRangePickerDefaultProps(),
allowClear: true,

View File

@ -35,6 +35,7 @@ const [Modal, modalApi] = useVbenModal({
</script>
<template>
<!-- TODO @puhui999这个后续会做类似 antd description 组件么 -->
<Modal
title="API 访问日志详情"
class="w-1/2"

View File

@ -24,6 +24,7 @@ const [Modal, modalApi] = useVbenModal();
const designer = ref(); //
//
// TODO @puhui999 package.json
const designerConfig = ref({
switchType: [], // ,
autoActive: true, //

View File

@ -135,6 +135,7 @@ getDetail();
</ElSteps>
<div class="flex-1 overflow-auto py-4">
<!-- TODO @puhui999顶部的导航应该可以点击哈 -->
<!-- 根据当前步骤显示对应的组件 -->
<BasicInfo
v-show="currentStep === 0"

View File

@ -52,6 +52,7 @@ async function onDelete(row: InfraConfigApi.Config) {
});
try {
await deleteConfig(row.id as number);
// TODO @puhui999close finally
loadingInstance.close();
ElMessage.success($t('ui.actionMessage.deleteSuccess', [row.name]));
onRefresh();

View File

@ -37,11 +37,11 @@ onMounted(() => {
<DocAlert title="本地缓存" url="https://doc.iocoder.cn/local-cache/" />
</template>
<ElCard class="mt-5" header="Redis 概览">
<ElCard header="Redis 概览">
<Info :redis-data="redisData" />
</ElCard>
<div class="mt-5 grid grid-cols-1 gap-4 md:grid-cols-2">
<div class="mt-4 grid grid-cols-1 gap-4 md:grid-cols-2">
<ElCard header="内存使用">
<Memory :redis-data="redisData" />
</ElCard>

View File

@ -228,6 +228,7 @@ onMounted(async () => {
placeholder="请选择接收人"
:disabled="!getIsOpen"
>
<!-- TODO @puhui999所有人选择不上 -->
<ElOption key="" value="" label="所有人">
<div class="flex items-center">
<ElAvatar size="small"></ElAvatar>