diff --git a/index.html b/index.html index 67f6b76..458b7e1 100644 --- a/index.html +++ b/index.html @@ -203,21 +203,17 @@ - + {{ currentYear }}年{{ currentMonth + 1 }}月 - 回今天 - + 回今天 + - - - 设置 - @@ -447,8 +443,23 @@ - - + + + + + + + + + + + + + 设置 + + + + 薪酬规则 @@ -541,13 +552,17 @@ 数据仅保存在本机浏览器(localStorage)。清除浏览器数据会丢失,建议定期导出备份。 - - + + + + - { settingsOpen.value = true; }; + const closeSettings = () => { settingsOpen.value = false; }; + const selectShift = (type) => { draftRecord.value.shift_type = type; draftRecord.value.hours = type === 'night' ? cfg.value.nightHours : cfg.value.dayHours; @@ -1109,6 +1127,7 @@ createApp({ fmt, money, signed, moneyParts, boardMain, buildReport, applyImport, isToday, isCurrentMonth, getRecord, hasPenalty, cellClass, isCutEdge, changeMonth, goToday, openDayDrawer, selectShift, + openSettings, closeSettings, saveRecord, deleteRecord, copyReport, exportData, copyData, importData, resetSettings, clearMonth, clearAll };
薪酬规则
数据仅保存在本机浏览器(localStorage)。清除浏览器数据会丢失,建议定期导出备份。