提交
This commit is contained in:
1 parent
4a00f21bfb
commit
edf88dc016
1503 files changed
+329728
-41987
No files matched your search
@@ -26,8 +26,12 @@
|
||||
<div class="filter-actions-row">
|
||||
<span class="filter-hint">按流程名称模糊查询。</span>
|
||||
<div class="filter-actions-end">
|
||||
<el-button class="btn-ghost" @click="handleReset"><el-icon><RefreshLeft /></el-icon>重置</el-button>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch"><el-icon><Search /></el-icon>搜索</el-button>
|
||||
<el-button class="btn-ghost" @click="handleReset"
|
||||
><el-icon><RefreshLeft /></el-icon>重置</el-button
|
||||
>
|
||||
<el-button class="btn-main" type="primary" @click="handleSearch"
|
||||
><el-icon><Search /></el-icon>搜索</el-button
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
@@ -87,10 +91,20 @@
|
||||
align="center"
|
||||
header-align="center"
|
||||
/>
|
||||
<el-table-column label="操作" min-width="260" fixed="right" align="center" header-align="center">
|
||||
<el-table-column
|
||||
label="操作"
|
||||
min-width="260"
|
||||
fixed="right"
|
||||
align="center"
|
||||
header-align="center"
|
||||
>
|
||||
<template #default="{ row }">
|
||||
<el-button class="btn-op-item primary" @click="handleApprove(row)"><el-icon><EditPen /></el-icon>审批</el-button>
|
||||
<el-button class="btn-op-item" @click="handleViewDetail(row)"><el-icon><View /></el-icon>查看详情</el-button>
|
||||
<el-button class="btn-op-item primary" @click="handleApprove(row)"
|
||||
><el-icon><EditPen /></el-icon>审批</el-button
|
||||
>
|
||||
<el-button class="btn-op-item" @click="handleViewDetail(row)"
|
||||
><el-icon><View /></el-icon>查看详情</el-button
|
||||
>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -135,7 +149,9 @@
|
||||
<h2>{{ detailData.processName || '流程详情' }}</h2>
|
||||
<div class="view-hero-tags">
|
||||
<ProcessStatusTag :status="detailData.status || ''" />
|
||||
<el-tag size="small" type="info">{{ detailData.businessTypeLabel || detailData.businessType || '--' }}</el-tag>
|
||||
<el-tag size="small" type="info">{{
|
||||
detailData.businessTypeLabel || detailData.businessType || '--'
|
||||
}}</el-tag>
|
||||
</div>
|
||||
<p class="view-hero-meta">
|
||||
发起人:{{ detailData.starterUserName || '--' }}
|
||||
@@ -147,10 +163,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div v-if="detailData.businessFormFields && detailData.businessFormFields.length" class="view-section">
|
||||
<div
|
||||
v-if="detailData.businessFormFields && detailData.businessFormFields.length"
|
||||
class="view-section"
|
||||
>
|
||||
<h3>申请信息</h3>
|
||||
<dl class="view-kv-grid">
|
||||
<div v-for="field in detailData.businessFormFields" :key="field.label" class="view-kv">
|
||||
<div
|
||||
v-for="field in detailData.businessFormFields"
|
||||
:key="field.label"
|
||||
class="view-kv"
|
||||
>
|
||||
<dt>{{ field.label }}</dt>
|
||||
<dd>{{ field.value || '--' }}</dd>
|
||||
</div>
|
||||
@@ -187,7 +210,9 @@
|
||||
</template>
|
||||
</div>
|
||||
<template #footer>
|
||||
<el-button class="btn-ghost" @click="detailVisible = false"><el-icon><Close /></el-icon>关闭</el-button>
|
||||
<el-button class="btn-ghost" @click="detailVisible = false"
|
||||
><el-icon><Close /></el-icon>关闭</el-button
|
||||
>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</section>
|
||||
@@ -266,7 +291,7 @@
|
||||
businessTypeLabel: row.businessTypeLabel,
|
||||
businessId: row.businessId,
|
||||
starterUserId: row.starterUserId,
|
||||
starterUserName: row.starterUserName,
|
||||
starterUserName: row.starterUserName
|
||||
} as Api.Workflow.InstanceDetail & {
|
||||
processName?: string
|
||||
businessType?: string
|
||||
|
||||
Reference in new issue
Block a user