diff --git a/index.html b/index.html
index 4bb048e..47681c4 100644
--- a/index.html
+++ b/index.html
@@ -12,7 +12,7 @@
-
Gao Customer H5
+ 糕店管理工具
diff --git a/src/api/RegistrationEventAPI.ts b/src/api/RegistrationEventAPI.ts
index c75f2ad..96efee2 100644
--- a/src/api/RegistrationEventAPI.ts
+++ b/src/api/RegistrationEventAPI.ts
@@ -25,6 +25,10 @@ async function update(req: RegistrationEvent): Promise {
return await axios.post(`${BASE_URI}/update`, req);
}
+async function sort(idList: string[]): Promise {
+ return await axios.post(`${BASE_URI}/sort`, idList);
+}
+
async function remove(id: string): Promise {
return await axios.post(`${BASE_URI}/delete`, undefined, {
params: { id }
@@ -37,5 +41,6 @@ export default {
detail,
create,
update,
+ sort,
remove
};
diff --git a/src/pages/management/RegistrationEventEdit.vue b/src/pages/management/RegistrationEventEdit.vue
index 1a69fb0..c5df2fe 100644
--- a/src/pages/management/RegistrationEventEdit.vue
+++ b/src/pages/management/RegistrationEventEdit.vue
@@ -1,12 +1,6 @@
-
-
-
-
-
-
-
+
-
-
- 草稿
- 可登记
- 不可登记
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+