提交
This commit is contained in:
1 parent
87dbbf1247
commit
5254eea4a2
39 files changed
+1296
-2988
No files matched your search
@@ -295,15 +295,7 @@
|
||||
class="order-module-dialog order-detail-dialog"
|
||||
modal-class="order-module-dialog-mask"
|
||||
>
|
||||
<div class="dialog-scroll order-detail-dialog-scroll" :class="{ 'is-view-loading': detailLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="detailLoading"
|
||||
variant="system-view"
|
||||
:section-count="4"
|
||||
:field-count="8"
|
||||
:grid-columns="3"
|
||||
/>
|
||||
<template v-else>
|
||||
<div class="dialog-scroll order-detail-dialog-scroll" v-loading="detailLoading">
|
||||
<div class="view-hero order-view-hero">
|
||||
<div class="order-view-hero-icon">
|
||||
<el-icon><ShoppingBag /></el-icon>
|
||||
@@ -818,7 +810,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</div>
|
||||
<template #footer>
|
||||
<el-button class="btn-ghost" @click="viewVisible = false"><el-icon><Close /></el-icon>关闭</el-button>
|
||||
@@ -839,15 +830,7 @@
|
||||
</el-dialog>
|
||||
|
||||
<div v-else v-show="viewVisible" class="order-embedded-detail">
|
||||
<div class="dialog-scroll order-detail-dialog-scroll" :class="{ 'is-view-loading': detailLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="detailLoading"
|
||||
variant="system-view"
|
||||
:section-count="4"
|
||||
:field-count="8"
|
||||
:grid-columns="3"
|
||||
/>
|
||||
<template v-else>
|
||||
<div class="dialog-scroll order-detail-dialog-scroll" v-loading="detailLoading">
|
||||
<div class="view-hero order-view-hero">
|
||||
<div class="order-view-hero-icon">
|
||||
<el-icon><ShoppingBag /></el-icon>
|
||||
@@ -1152,7 +1135,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1400,14 +1382,8 @@
|
||||
modal-class="order-module-dialog-mask"
|
||||
@opened="loadOrderPriceVersionDetail"
|
||||
>
|
||||
<div class="order-pv-body" :class="{ 'is-view-loading': orderPriceVersionLoading }">
|
||||
<DialogDetailSkeleton
|
||||
v-if="orderPriceVersionLoading"
|
||||
variant="system-view"
|
||||
:section-count="2"
|
||||
:field-count="6"
|
||||
/>
|
||||
<template v-else-if="orderPriceVersionDetail">
|
||||
<div class="order-pv-body" v-loading="orderPriceVersionLoading">
|
||||
<template v-if="orderPriceVersionDetail">
|
||||
<div class="view-hero order-pv-hero">
|
||||
<div class="order-view-hero-icon">
|
||||
<el-icon><Setting /></el-icon>
|
||||
@@ -1540,7 +1516,6 @@
|
||||
} from 'vue'
|
||||
import { useRoute, useRouter } from 'vue-router'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import DialogDetailSkeleton from '@/components/business/dialog-detail-skeleton/index.vue'
|
||||
import { withFullscreenLoading, fullscreenLoadingText } from '@/utils/fullscreen-loading'
|
||||
import {
|
||||
ArrowDown,
|
||||
|
||||
@@ -168,9 +168,6 @@
|
||||
<DialogFormBody
|
||||
:loading="postBindLoading"
|
||||
body-class="post-bind-dialog-body"
|
||||
skeleton-variant="form"
|
||||
:skeleton-section-count="1"
|
||||
:skeleton-field-count="4"
|
||||
>
|
||||
<p v-if="postBindPostName" class="post-bind-subtitle">
|
||||
职位:<strong>{{ postBindPostName }}</strong>
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
destroy-on-close
|
||||
:close-on-click-modal="false"
|
||||
>
|
||||
<DialogFormBody :loading="menuDialogLoading" skeleton-variant="simple" :skeleton-section-count="1">
|
||||
<DialogFormBody :loading="menuDialogLoading">
|
||||
<!-- 父子关联勾选:选父级全选子级,选子级自动带上父级(与 check-strictly 互斥,故不加) -->
|
||||
<el-tree
|
||||
ref="menuTreeRef"
|
||||
@@ -363,9 +363,8 @@
|
||||
:sections="viewSections"
|
||||
>
|
||||
<template #menuTree>
|
||||
<div class="role-view-tree-block">
|
||||
<el-skeleton v-if="viewDetailLoading" animated :rows="5" class="role-view-tree-skeleton" />
|
||||
<div v-else-if="viewMenuTreeData.length" class="role-view-tree-scroll">
|
||||
<div class="role-view-tree-block" v-loading="viewDetailLoading">
|
||||
<div v-if="viewMenuTreeData.length" class="role-view-tree-scroll">
|
||||
<el-tree
|
||||
:key="'menu-' + viewTreeRenderKey"
|
||||
ref="viewMenuTreeRef"
|
||||
@@ -382,9 +381,8 @@
|
||||
</div>
|
||||
</template>
|
||||
<template #customDeptTree>
|
||||
<div class="role-view-tree-block">
|
||||
<el-skeleton v-if="viewDetailLoading" animated :rows="5" class="role-view-tree-skeleton" />
|
||||
<div v-else-if="viewDeptTreeData.length" class="role-view-tree-scroll">
|
||||
<div class="role-view-tree-block" v-loading="viewDetailLoading">
|
||||
<div v-if="viewDeptTreeData.length" class="role-view-tree-scroll">
|
||||
<el-tree
|
||||
:key="'dept-' + viewTreeRenderKey"
|
||||
ref="viewDeptTreeRef"
|
||||
|
||||
@@ -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