修正使用不存在物件
修正簡體字
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<div class="col">
|
||||
<div class="p-3 bg-light text-center rounded shadow" style="min-height: 180px;">
|
||||
<div class="fs-2">📝</div>
|
||||
<div class="text-muted small mt-1">总挂单次数</div>
|
||||
<div class="text-muted small mt-1">總掛單次數</div>
|
||||
<div class="fw-bold fs-5 mt-1">{{ guadanStatistics.guadanTotalCount }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@
|
||||
<div class="col">
|
||||
<div class="p-3 bg-light text-center rounded shadow" style="min-height: 180px;">
|
||||
<div class="fs-2">📋</div>
|
||||
<div class="text-muted small mt-1">当前挂单数量</div>
|
||||
<div class="text-muted small mt-1">當前掛單數</div>
|
||||
<div class="fw-bold fs-5 mt-1">{{ guadanStatistics.guadanCurrentCount }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -33,7 +33,7 @@
|
||||
<div class="col">
|
||||
<div class="p-3 bg-light text-center rounded shadow" style="min-height: 180px;">
|
||||
<div class="fs-2">👥</div>
|
||||
<div class="text-muted small mt-1">总挂单人数</div>
|
||||
<div class="text-muted small mt-1">總掛單人數</div>
|
||||
<div class="fw-bold fs-5 mt-1">
|
||||
{{ guadanStatistics.guadanPeopleTotal }} (男:{{ guadanStatistics.guadanPeopleMale }},女:{{ guadanStatistics.guadanPeopleFemale }})
|
||||
</div>
|
||||
@@ -215,7 +215,7 @@
|
||||
{ text: '房间数量', value: 'roomcount' },
|
||||
{ text: '床位数量', value: 'bedcount' },
|
||||
{ text: '预约人数', value: 'todaytotalbookers' },
|
||||
{ text: '已入住人数', value: 'checkin'},
|
||||
{ text: '已入住人數', value: 'checkin'},
|
||||
{ text: '可用床位', value: 'availableBeds' },
|
||||
{ text: '床位利用率', value: 'bedusagerate' }
|
||||
],
|
||||
@@ -303,7 +303,7 @@
|
||||
},
|
||||
exportStatisticsToExcel() {
|
||||
if (!this.items || !this.items.length) {
|
||||
console.warn("没有数据可导出");
|
||||
console.warn("沒有數據可匯出");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
|
||||
// 3. 创建 Workbook 并添加 Sheet
|
||||
const wb = XLSX.utils.book_new();
|
||||
XLSX.utils.book_append_sheet(wb, ws, "统计数据");
|
||||
XLSX.utils.book_append_sheet(wb, ws, "統計數據");
|
||||
|
||||
// 4. 写入 Excel 并下载
|
||||
const wbout = XLSX.write(wb, { bookType: "xlsx", type: "array" });
|
||||
|
||||
Reference in New Issue
Block a user