review:【BPM 工作流】流程实例相关的实现

pull/101/head
YunaiV 2025-05-12 12:58:57 +08:00
parent a7dcebc82a
commit 708587f023
5 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/**
* https://github.com/xaboy/form-create-designer 封装的工具类
*/
// TODO @芋艿:后续这些 form-create 的优化;另外需要使用 form-create-helper 会好点
import { isRef } from 'vue';
// 编码表单 Conf

View File

@ -126,6 +126,7 @@ onMounted(async () => {
</Button>
</template>
<!-- TODO @ziye可以在 data 里翻译哈 -->
<template #userIds-cell="{ row }">
<span
v-for="(userId, index) in row.userIds"

View File

@ -8,6 +8,7 @@ import { z } from '#/adapter/form';
import { CommonStatusEnum, DICT_TYPE, getDictOptions } from '#/utils';
const { hasAccessByCodes } = useAccess();
/** 新增/修改的表单 */
export function useFormSchema(): VbenFormSchema[] {
return [

View File

@ -215,6 +215,7 @@ const handleUserSelectCancel = () => {
};
</script>
<!-- TODO @ziyeantd 组件使用大写哈目前项目风格是这样的 -->
<template>
<div>
<a-timeline class="pt-20px">

View File

@ -13,6 +13,7 @@ const SvgCakeIcon = createIconifyIcon('svg:cake');
const SvgAntdvLogoIcon = createIconifyIcon('svg:antdv-logo');
// bpm 图标
// TODO @ziye这个看看是不是拿到 bpm 模块里,不放在这里;因为有些团队,用不到 bpm 哈
const SvgBpmRunningIcon = createIconifyIcon('svg:bpm-running');
const SvgBpmApproveIcon = createIconifyIcon('svg:bpm-approve');
const SvgBpmRejectIcon = createIconifyIcon('svg:bpm-reject');