feat: [antd] [bpm] 代码评审 todo 修改

This commit is contained in:
jason
2025-11-01 22:55:45 +08:00
parent a325d3585e
commit cbe7797a1c
6 changed files with 26 additions and 38 deletions

View File

@@ -183,14 +183,13 @@ function setFieldPermission(field: string, permission: string) {
}
}
// TODO @jason这个还要么
/**
* 操作成功后刷新
*/
// const refresh = () => {
// // 重新获取详情
// getDetail();
// };
const refresh = () => {
// 重新获取详情
getDetail();
};
/** 监听 Tab 切换,当切换到 "record" 标签时刷新任务列表 */
watch(
@@ -369,7 +368,7 @@ onMounted(async () => {
:normal-form="detailForm"
:normal-form-api="fApi"
:writable-fields="writableFields"
@success="getDetail"
@success="refresh"
/>
</div>
</template>

View File

@@ -700,9 +700,6 @@ defineExpose({ loadTodoTask });
</script>
<template>
<div class="flex items-center">
<!-- TODO @jason这里要删除么 -->
<!-- <div>是否处理中 {{ !!isHandleTaskStatus() }}</div> -->
<!-- 通过按钮 -->
<!-- z-index 设置为300 避免覆盖签名弹窗 -->
<Space size="middle">
@@ -893,13 +890,12 @@ defineExpose({ loadTodoTask });
label-width="100px"
>
<FormItem label="抄送人" name="copyUserIds">
<!-- TODO @jason看看是不是用 看看能不能通过 tailwindcss 简化下 style -->
<Select
v-model:value="copyForm.copyUserIds"
:allow-clear="true"
style="width: 100%"
mode="multiple"
placeholder="请选择抄送人"
class="w-full"
>
<SelectOption
v-for="item in userOptions"