diff --git a/PACS_DICOM处理/数据处理网页端/app.py b/PACS_DICOM处理/数据处理网页端/app.py index 4bf0480..475f5ff 100644 --- a/PACS_DICOM处理/数据处理网页端/app.py +++ b/PACS_DICOM处理/数据处理网页端/app.py @@ -1106,7 +1106,7 @@ def scan_study(ct_number: str) -> dict[str, Any]: def series_time_key(row: dict[str, Any]) -> tuple[str, int, str]: return ( - row.get("series_time") or row.get("first_time") or row.get("study_time") or "", + row.get("first_time") or row.get("series_time") or row.get("study_time") or "", numeric(row.get("series_number", "")), row.get("description", ""), ) diff --git a/PACS_DICOM处理/数据处理网页端/static/app.js b/PACS_DICOM处理/数据处理网页端/static/app.js index da310d9..c5206fe 100644 --- a/PACS_DICOM处理/数据处理网页端/static/app.js +++ b/PACS_DICOM处理/数据处理网页端/static/app.js @@ -108,7 +108,7 @@ function timeRange(series) { } function timeKey(series) { - return String(series.series_time || series.first_time || series.study_time || "").replace(/\D/g, "").padEnd(6, "0"); + return String(series.first_time || series.series_time || series.study_time || "").replace(/\D/g, "").padEnd(6, "0"); } function studyTimeKey(study) {