fix store business day

This commit is contained in:
Timi
2026-08-07 14:40:35 +08:00
parent fab3cd8891
commit 1b1121f052
9 changed files with 871 additions and 525 deletions
+5 -1
View File
@@ -22,6 +22,10 @@ async function update(store: Store): Promise<void> {
await axios.post(`${STORE_BASE_URI}/update`, store);
}
async function sort(idList: string[]): Promise<void> {
await axios.post(`${STORE_BASE_URI}/sort`, idList);
}
async function remove(id: string): Promise<void> {
await axios.post(`${STORE_BASE_URI}/delete`, undefined, {
params: { id }
@@ -73,6 +77,7 @@ export default {
detail,
create,
update,
sort,
remove,
exportXSSF,
businessDayList,
@@ -82,4 +87,3 @@ export default {
updateBusinessDay,
removeBusinessDay
};