diff --git a/web/index.html b/web/index.html
index 8db38dc..0327c76 100644
--- a/web/index.html
+++ b/web/index.html
@@ -7,7 +7,7 @@
控制台|FSE铁路运输票务系统
-
+
@@ -77,10 +77,6 @@
@click="currentView = 'vouchers'">
凭证记录
-
- 站点管理
-
IC卡管理
@@ -571,17 +567,7 @@
-
-
-
-
-
站点与线路管理已迁移
-
为了提供更专业的线路拓扑编辑和站点全局管理体验,该功能已被迁移至独立的「线路规划后台」。
-
- 前往 线路规划系统
-
-
-
+
diff --git a/web/style.css b/web/style.css
index 63574d4..be55a4c 100644
--- a/web/style.css
+++ b/web/style.css
@@ -255,7 +255,7 @@ button, .btn {
align-items: center;
justify-content: center;
padding: 8px 16px;
- border-radius: 0;
+ border-radius: 0 !important;
border: 1px solid var(--border);
background-color: transparent;
color: var(--text);
diff --git a/web/ticket-route.html b/web/ticket-route.html
index 6068ea2..9ff7bf3 100644
--- a/web/ticket-route.html
+++ b/web/ticket-route.html
@@ -8,7 +8,7 @@
线路规划|FSE铁路运输票务系统
-
+
diff --git a/web/ticket-route.js b/web/ticket-route.js
index 2785a2f..d3d1e73 100644
--- a/web/ticket-route.js
+++ b/web/ticket-route.js
@@ -649,6 +649,7 @@ createApp({
})) return;
await runMutation(async () => {
await requestJson(`/api/stations/${encodeURIComponent(code)}`, { method: 'DELETE' }, { expectOk: true });
+ await fetchData();
});
};
@@ -712,7 +713,10 @@ createApp({
}
Object.assign(newStation, { code: '', name: '', en_name: '' });
- showAddStation.value = false;
+ if (currentView.value === 'stations') {
+ showAddStation.value = false;
+ }
+ await fetchData();
});
};
@@ -775,6 +779,7 @@ createApp({
await runMutation(async () => {
await requestJson(`/api/stations/${encodeURIComponent(oldCode)}`, { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: JSON.stringify(payload) }, { expectOk: true });
showStationModal.value = false;
+ await fetchData();
});
};