refactor: request list => no workflow & i18n

This commit is contained in:
puriphatt 2024-11-28 10:40:46 +07:00
parent 417b1d8a93
commit 2c4508861b
3 changed files with 16 additions and 0 deletions

View file

@ -274,6 +274,20 @@ async function triggerViewFile(opt: {
class="surface-1 q-pa-sm row no-wrap full-width scroll rounded"
style="gap: 10px"
>
<span
v-if="
workList?.every((v) =>
v.productService.work?.attributes?.workflowStep?.every(
(s) => {
s.attributes?.properties.length === 0;
},
),
)
"
class="app-text-muted q-py-sm"
>
{{ $t('requestList.noWorkflowTemplate') }}
</span>
<template v-for="(value, i) in flow.step" :key="value.id">
<button
v-if="