This commit is contained in:
zmj 2024-06-19 18:11:39 +08:00
parent c248433c8d
commit fdffb4ac50
2 changed files with 10 additions and 12 deletions

View File

@ -7,8 +7,8 @@
<img class="w-[50px] h-[50px] mr-2" :src="item.src" />
</div>
<div>
<div class="text-info text-3xl">{{ item.title }}</div>
<div class="text-3xl">{{ item.value() }}</div>
<div class="text-info">{{ item.title }}</div>
<div class="text-6xl">{{ item.value() }}</div>
</div>
</div>
</el-row>
@ -27,8 +27,8 @@
<img class="w-[50px] h-[50px] mr-2" :src="item.src" />
</div>
<div>
<div class="text-info text-3xl">{{ item.title }}</div>
<div class="text-3xl">{{ item.value() }}</div>
<div class="text-info ">{{ item.title }}</div>
<div class="text-6xl">{{ item.value() }}</div>
</div>
</div>
</el-row>

View File

@ -16,8 +16,8 @@
<img class="w-[50px] h-[50px] mr-2" :src="item.src" />
</div>
<div>
<div class="text-info text-3xl">{{ item.title }}</div>
<div class="text-3xl">{{ item.value() }}</div>
<div class="text-info">{{ item.title }}</div>
<div class="text-6xl">{{ item.value() }}</div>
</div>
</div>
</div>
@ -27,8 +27,8 @@
<img class="w-[50px] h-[50px] mr-2" :src="item.src" />
</div>
<div>
<div class="text-info text-3xl">{{ item.title }}</div>
<div class="text-3xl">{{ item.value() }}</div>
<div class="text-info ">{{ item.title }}</div>
<div class="text-6xl">{{ item.value() }}</div>
</div>
</div>
</div>
@ -88,10 +88,8 @@ const deteToQuery = () => {
function getFirstAndLastDayOfCurrentMonth() {
var today = new Date();
var firstDay = new Date(today.getFullYear(), today.getMonth(), 1);
var lastDay = new Date(today.getFullYear(), today.getMonth() + 1, 0);
var firstDayFormatted = formatDate(firstDay);
var lastDayFormatted = formatDate(lastDay);
var firstDayFormatted = formatDate(today);
var lastDayFormatted = formatDate(today);
return { firstDay: firstDayFormatted, lastDay: lastDayFormatted };
}