|
|
@@ -105,9 +105,11 @@ const GetDashboardData = () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+const recentStatusLoading = ref(false)
|
|
|
// 获取表单数据
|
|
|
const getTableData = (val: any, isPage?: any, isInit: boolean = false) => {
|
|
|
const rc = isPage ? pageInfo.value.total : -1
|
|
|
+ recentStatusLoading.value = true
|
|
|
$api
|
|
|
.GetDashboardData({
|
|
|
cp: pageInfo.value.pageNo,
|
|
|
@@ -124,6 +126,9 @@ const getTableData = (val: any, isPage?: any, isInit: boolean = false) => {
|
|
|
RecentStatusList.value = res.data.searchData
|
|
|
}
|
|
|
})
|
|
|
+ .finally(() => {
|
|
|
+ recentStatusLoading.value = false
|
|
|
+ })
|
|
|
}
|
|
|
const KPIobj = reactive({
|
|
|
ETD_Title: '',
|
|
|
@@ -1312,6 +1317,7 @@ const handleGuide = () => {
|
|
|
v-else-if="
|
|
|
item.title === 'Recent Status' && item.switchValue && RecentStatusList.length != 0
|
|
|
"
|
|
|
+ v-vloading="recentStatusLoading"
|
|
|
class="KPI_Pending"
|
|
|
>
|
|
|
<!-- Recent Status -->
|