feat: [antd] [bpm] 代码评审 todo 修改
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user