提交
This commit is contained in:
1 parent
87dbbf1247
commit
5254eea4a2
39 files changed
+1296
-2988
No files matched your search
@@ -10,10 +10,7 @@
|
||||
:show-close="false"
|
||||
style="backdrop-filter: none"
|
||||
>
|
||||
<div v-if="bizLoading" class="dialog-scroll is-view-loading" style="min-height: 120px">
|
||||
<DialogDetailSkeleton variant="simple" :section-count="2" :field-count="4" />
|
||||
</div>
|
||||
<div v-else class="dialog-scroll">
|
||||
<div v-loading="bizLoading" class="dialog-scroll">
|
||||
<!-- Hero header -->
|
||||
<div class="view-hero">
|
||||
<div class="view-hero-icon">
|
||||
@@ -77,7 +74,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import DialogDetailSkeleton from '@/components/business/dialog-detail-skeleton/index.vue'
|
||||
import { fetchApproveTask, fetchRejectTask, fetchInstanceDetail } from '@/api/workflow'
|
||||
import { Checked, Close, Check } from '@element-plus/icons-vue'
|
||||
|
||||
|
||||
@@ -126,14 +126,8 @@
|
||||
:show-close="false"
|
||||
style="backdrop-filter: none"
|
||||
>
|
||||
<div class="dialog-scroll" :class="{ 'is-view-loading': detailLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="detailLoading"
|
||||
variant="system-view"
|
||||
:section-count="2"
|
||||
:field-count="6"
|
||||
/>
|
||||
<template v-else-if="detailData">
|
||||
<div class="dialog-scroll" v-loading="detailLoading">
|
||||
<template v-if="detailData">
|
||||
<div class="view-hero">
|
||||
<div class="view-hero-icon">
|
||||
<el-icon :size="28"><Document /></el-icon>
|
||||
@@ -200,7 +194,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import DialogDetailSkeleton from '@/components/business/dialog-detail-skeleton/index.vue'
|
||||
import { fetchMyInstances, fetchBusinessAllTasks } from '@/api/workflow'
|
||||
import ProcessStatusTag from '../components/ProcessStatusTag.vue'
|
||||
import { Document, View, Search, RefreshLeft, Close } from '@element-plus/icons-vue'
|
||||
|
||||
@@ -127,14 +127,8 @@
|
||||
:show-close="false"
|
||||
style="backdrop-filter: none"
|
||||
>
|
||||
<div class="dialog-scroll" :class="{ 'is-view-loading': detailLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="detailLoading"
|
||||
variant="system-view"
|
||||
:section-count="2"
|
||||
:field-count="6"
|
||||
/>
|
||||
<template v-else-if="detailData">
|
||||
<div class="dialog-scroll" v-loading="detailLoading">
|
||||
<template v-if="detailData">
|
||||
<div class="view-hero">
|
||||
<div class="view-hero-icon">
|
||||
<el-icon :size="28"><Document /></el-icon>
|
||||
@@ -203,7 +197,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import DialogDetailSkeleton from '@/components/business/dialog-detail-skeleton/index.vue'
|
||||
import { fetchCompletedTasks, fetchInstanceDetail } from '@/api/workflow'
|
||||
import ProcessStatusTag from '../components/ProcessStatusTag.vue'
|
||||
import { Document, View, Search, RefreshLeft, Close } from '@element-plus/icons-vue'
|
||||
|
||||
@@ -124,14 +124,8 @@
|
||||
:show-close="false"
|
||||
style="backdrop-filter: none"
|
||||
>
|
||||
<div class="dialog-scroll" :class="{ 'is-view-loading': detailLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="detailLoading"
|
||||
variant="system-view"
|
||||
:section-count="2"
|
||||
:field-count="6"
|
||||
/>
|
||||
<template v-else-if="detailData">
|
||||
<div class="dialog-scroll" v-loading="detailLoading">
|
||||
<template v-if="detailData">
|
||||
<div class="view-hero">
|
||||
<div class="view-hero-icon">
|
||||
<el-icon :size="28"><Document /></el-icon>
|
||||
@@ -200,7 +194,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import DialogDetailSkeleton from '@/components/business/dialog-detail-skeleton/index.vue'
|
||||
import { fetchPendingTasks, fetchInstanceDetail } from '@/api/workflow'
|
||||
import ApprovalDialog from '../components/ApprovalDialog.vue'
|
||||
import ProcessStatusTag from '../components/ProcessStatusTag.vue'
|
||||
|
||||
Reference in new issue
Block a user