Browse Source

fix:优化,大屏提速v1

master
pengwei 3 months ago
parent
commit
82f0f16724
  1. 2
      src/views/Home.vue
  2. 6
      src/views/datav/AuditSuper.vue
  3. 12
      src/views/datav/Lmgz.vue
  4. 15
      src/views/datav/VideoInsp.vue
  5. 21
      src/views/datav/subonedatav/SubOneSceneInsp.vue

2
src/views/Home.vue

@ -75,7 +75,7 @@ const links = [
url: 'http://65.47.6.114:8001'
},
{
title: "政府投资",
title: "政府投资项目",
url: 'http://65.47.6.108/invest'
},
{

6
src/views/datav/AuditSuper.vue

@ -159,9 +159,9 @@ function getData() {
getAuditOverview(time.value).then(data => {
overview.value = data;
//
overview.value.problemNumber = 119;
overview.value.auditAmount = 11720.52
overview.value.auditSjAmount = 286.85
overview.value.problemNumber = 496;
overview.value.auditAmount = 12169.83
overview.value.auditSjAmount =1096.89
});
getAuditProblems(time.value).then(data => {
console.log(data)

12
src/views/datav/Lmgz.vue

@ -602,11 +602,13 @@ onMounted(() => {
setupEventListeners();
});
const setupEventListeners = () => {
rxsjTabsAnimationStop();
pcsTabsAnimationStop();
jjddTabsAnimationStop();
ldTabsAnimationStop();
mjTabsAnimationStop();
new Promise.all([
rxsjTabsAnimationStop(),
pcsTabsAnimationStop(),
jjddTabsAnimationStop(),
ldTabsAnimationStop(),
mjTabsAnimationStop(),
])
};
const rxsjTabsAnimationStop = () => {
const temp = rxsjTabs.value?.$el;

15
src/views/datav/VideoInsp.vue

@ -517,12 +517,15 @@ const getVideoSuperviseProblemTypeRateData = async (timeValue) => {
res.videoSuperviseProblemTypeRate;
};
const getData = () => {
getVideoSuperviseProblemRankData(time.value);
getAllVideoSuperviseCountData(time.value);
getVideoSuperviseMapData(time.value);
getVideoSuperviseTrendData(selectedYear.value);
getVideoSuperviseProblemTypeRateData(time.value);
const getData =async () => {
await Promise.all([
getVideoSuperviseProblemRankData(time.value),
getAllVideoSuperviseCountData(time.value),
getVideoSuperviseMapData(time.value),
getVideoSuperviseTrendData(selectedYear.value),
getVideoSuperviseProblemTypeRateData(time.value),
])
};
// endregion

21
src/views/datav/subonedatav/SubOneSceneInsp.vue

@ -879,17 +879,16 @@ const getSubOneWorkDynamicsData = async (departId, times) => {
messages.value = colorNewsVoList;
}
const getData = async () => {
await getMapJSON(currentDepartId);
await getSubOneChangedRankData(currentDepartId, time.value);
await getSubOneProblemTypeRateData(currentDepartId, time.value);
await getSubOneSupervisionNotifyCountData(currentDepartId, time.value);
await getSubOneSupervisionMapData(currentDepartId, time.value);
await getSubOneSupervisionTrendData(currentDepartId, selectedYear.value);
// await getSubOneYellowBetDrugData(currentDepartId, time.value);
await getYellowBetDrugData(currentDepartId, time.value)
await getSubOneWorkDynamicsData(currentDepartId, time.value);
await Promise.all([
getMapJSON(currentDepartId),
getSubOneSupervisionMapData(currentDepartId, time.value),
getSubOneChangedRankData(currentDepartId, time.value),
getSubOneProblemTypeRateData(currentDepartId, time.value),
getSubOneSupervisionNotifyCountData(currentDepartId, time.value),
getSubOneSupervisionTrendData(currentDepartId, selectedYear.value),
getYellowBetDrugData(currentDepartId, time.value),
getSubOneWorkDynamicsData(currentDepartId, time.value)
]);
}
// endregion

Loading…
Cancel
Save