更新了多个视图页面的审批流程显示方式

This commit is contained in:
zmj 2024-05-28 11:28:43 +08:00
parent 21c6af4b00
commit a615236138
9 changed files with 18 additions and 9 deletions

View File

@ -26,7 +26,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -42,7 +42,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -42,7 +42,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -61,7 +61,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -61,7 +61,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -61,7 +61,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -61,7 +61,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -42,7 +42,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>

View File

@ -42,7 +42,8 @@
<el-descriptions :column="1" border>
<el-descriptions-item label="审批流程" label-align="left" align="left">
<el-steps class="mb-4" style="max-width: 50vw" :space="200" :active="findActive() + 1" simple>
<el-step :icon="Clock" :title="formData.record[0].check_user_name + '创建'" />
<el-step :icon="Clock"
:title="formData.record[formData.record.length - 1].check_user_name + '创建'" />
<el-step :icon="Clock" :title="flowTypeToText(item.flow_type, item)"
v-for="item in formData.steps" />
</el-steps>