style: lint auto-fix remaining workflow pages
This commit is contained in:
parent
bb97af32e7
commit
9eae9bbbd3
@ -259,27 +259,21 @@ onMounted(() => {
|
||||
</Tag>
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="发起人">
|
||||
{{
|
||||
getUserName(detail.initiatorId)
|
||||
}}
|
||||
</DescriptionsItem>
|
||||
{{ getUserName(detail.initiatorId) }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="启动时间">
|
||||
{{
|
||||
new Date(detail.startedAt).toLocaleString()
|
||||
}}
|
||||
</DescriptionsItem>
|
||||
{{ new Date(detail.startedAt).toLocaleString() }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="定义 ID">
|
||||
{{
|
||||
detail.definitionId
|
||||
}}
|
||||
</DescriptionsItem>
|
||||
{{ detail.definitionId }}
|
||||
</DescriptionsItem>
|
||||
<DescriptionsItem label="完成时间">
|
||||
{{
|
||||
detail.completedAt
|
||||
? new Date(detail.completedAt).toLocaleString()
|
||||
: '-'
|
||||
}}
|
||||
</DescriptionsItem>
|
||||
{{
|
||||
detail.completedAt
|
||||
? new Date(detail.completedAt).toLocaleString()
|
||||
: '-'
|
||||
}}
|
||||
</DescriptionsItem>
|
||||
</Descriptions>
|
||||
|
||||
<Spin v-if="formLoading" class="mb-6" />
|
||||
|
||||
@ -172,8 +172,8 @@ onMounted(() => loadData());
|
||||
/>
|
||||
</Space>
|
||||
<Button type="primary" @click="router.push('/workflow/start')">
|
||||
发起流程
|
||||
</Button>
|
||||
发起流程
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<Table
|
||||
@ -196,9 +196,9 @@ onMounted(() => loadData());
|
||||
<Button
|
||||
size="small"
|
||||
@click="router.push(`/workflow/instances/detail/${record.id}`)"
|
||||
>
|
||||
详情
|
||||
</Button>
|
||||
>
|
||||
详情
|
||||
</Button>
|
||||
<Popconfirm
|
||||
v-if="record.status === InstanceStatus.Running"
|
||||
title="确定挂起此流程?"
|
||||
|
||||
@ -102,9 +102,9 @@ onMounted(() => {
|
||||
loadMonitor();
|
||||
loadOverdue();
|
||||
"
|
||||
>
|
||||
刷新
|
||||
</Button>
|
||||
>
|
||||
刷新
|
||||
</Button>
|
||||
</Space>
|
||||
</div>
|
||||
|
||||
|
||||
@ -145,8 +145,8 @@ onMounted(() => loadDefinitions());
|
||||
<Tag v-if="def.formName" color="blue">{{ def.formName }}</Tag>
|
||||
<span v-else></span>
|
||||
<Button type="primary" size="small" @click="openStartForm(def)">
|
||||
发起
|
||||
</Button>
|
||||
发起
|
||||
</Button>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user