首页空数据显示修改
This commit is contained in:
@@ -222,7 +222,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
|
||||
@@ -238,7 +238,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
|
||||
@@ -295,7 +295,9 @@ onUnmounted(() => {
|
||||
</NButton>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -408,7 +410,9 @@ onUnmounted(() => {
|
||||
</NButton>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
|
||||
@@ -296,7 +296,9 @@ onUnmounted(() => {
|
||||
</NButton>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -324,7 +326,9 @@ onUnmounted(() => {
|
||||
<NTag v-if="item.status==='REJECTED'" size="small" type="error" class="text-xs">驳回</NTag>
|
||||
</div>
|
||||
</div>
|
||||
<p v-else class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div v-else class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</NCard>
|
||||
</NGi>
|
||||
</NGrid>
|
||||
@@ -350,7 +354,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</NCard>
|
||||
<!-- 我的会签效率 -->
|
||||
|
||||
@@ -317,7 +317,9 @@ onUnmounted(() => {
|
||||
</NButton>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -360,7 +362,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p v-else class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div v-else class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</NCard>
|
||||
</NGi>
|
||||
</NGrid>
|
||||
@@ -397,7 +401,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</NCard>
|
||||
</NGi>
|
||||
|
||||
@@ -339,7 +339,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -414,7 +416,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -463,7 +467,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -510,7 +516,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
|
||||
@@ -292,7 +292,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -325,6 +327,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
<p class="w-45px font-semibold text-slate-600 text-xs text-right">{{ s.avg_days || 0 }} 天</p>
|
||||
</div>
|
||||
<div v-if="homeData?.dept_efficiency?.items?.length===0" class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="w-50%">
|
||||
@@ -338,6 +343,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
<p class="w-45px font-semibold text-slate-600 text-xs text-right">{{ s.avg_days || 0 }} 天</p>
|
||||
</div>
|
||||
<div v-if="homeData?.person_efficiency?.items?.length===0" class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -393,7 +401,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
|
||||
@@ -291,7 +291,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
</NCard>
|
||||
@@ -319,7 +321,9 @@ onUnmounted(() => {
|
||||
<NTag v-if="item.status==='REJECTED'" size="small" type="error" class="text-xs">驳回</NTag>
|
||||
</div>
|
||||
</div>
|
||||
<p v-else class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div v-else class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</NCard>
|
||||
</NGi>
|
||||
</NGrid>
|
||||
@@ -345,7 +349,9 @@ onUnmounted(() => {
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<p class="text-xs text-slate-400 text-center">暂无数据</p>
|
||||
<div class="h-100% flex items-center justify-center py-3">
|
||||
<NEmpty description="暂无数据" class="!text-xs"></NEmpty>
|
||||
</div>
|
||||
</template>
|
||||
</NCard>
|
||||
<!-- 我的会签效率 -->
|
||||
|
||||
Reference in New Issue
Block a user