fix store business day
This commit is contained in:
+5
-1
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user