refactor: request list => no workflow & i18n
This commit is contained in:
parent
417b1d8a93
commit
2c4508861b
3 changed files with 16 additions and 0 deletions
|
|
@ -859,6 +859,7 @@ export default {
|
|||
employeeMessenger: 'Courier',
|
||||
localEmployee: 'Local Employee',
|
||||
nonLocalEmployee: 'Non Local Employee',
|
||||
noWorkflowTemplate: 'A workflow template has not been selected.',
|
||||
status: {
|
||||
work: {
|
||||
Pending: 'Await for order',
|
||||
|
|
|
|||
|
|
@ -851,6 +851,7 @@ export default {
|
|||
employeeMessenger: 'พนักงานส่งเอกสาร',
|
||||
localEmployee: 'พนักงานในพื้นที่',
|
||||
nonLocalEmployee: 'พนักงานนอกพื้นที่',
|
||||
noWorkflowTemplate: 'คุณไม่ได้เลือกแม่แบบขั้นตอนการทำงาน',
|
||||
status: {
|
||||
work: {
|
||||
Pending: 'รอสั่งงาน',
|
||||
|
|
|
|||
|
|
@ -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="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue