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' url: 'http://65.47.6.114:8001'
}, },
{ {
title: "政府投资", title: "政府投资项目",
url: 'http://65.47.6.108/invest' url: 'http://65.47.6.108/invest'
}, },
{ {

6
src/views/datav/AuditSuper.vue

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

12
src/views/datav/Lmgz.vue

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

15
src/views/datav/VideoInsp.vue

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

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

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

Loading…
Cancel
Save