review:【bpm 工作流】流程打印

This commit is contained in:
YunaiV
2025-09-07 17:21:52 +08:00
parent 0c22a04a3c
commit bcf8f6c821

View File

@@ -42,6 +42,7 @@ const parseFormFields = () => {
// TODO 完善各类型表单的展示
// TODO @lesan要不 UploadImg、UploadFile 特殊处理下,其它就 else processVariables[item['field']]
// TODO @芋艿感觉很多都要处理一下select那些都要转为可读的label还有子表单那些都需要处理一下...
// TODO @lesan有办法基于 form-create api 来读取值么?如果不行,就兜底让大模型生成一些常用的。子表单可以往后放;
if (item['type'] === 'input') {
html = processVariables[item['field']]
} else if (item['type'] === 'UploadImg') {
@@ -191,8 +192,8 @@ const printObj = ref({
</td>
<td class="p-5px w-80%" colspan="3">
{{ item.description }}
<div v-if="item.signUrl !== ''">
<img class="w-90px h-40px" :src="item.signUrl" alt="" />
<div v-if="item.signPicUrl && item.signPicUrl.length > 0">
<img class="w-90px h-40px" :src="item.signPicUrl" alt="" />
</div>
</td>
</tr>