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