From f2a3d00b1d6c04d726ba912a4290f73dc911a98b Mon Sep 17 00:00:00 2001 From: gzt Date: Tue, 10 Dec 2024 20:51:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8)=EF=BC=9B=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E8=A1=A8=E6=A0=BC=E6=98=BE=E7=A4=BA=E9=83=A8=E5=88=86?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=97=A0=E9=99=90=E6=BB=9A?= =?UTF-8?q?=E5=8A=A8=E9=80=BB=E8=BE=91=20TODO:=E5=88=A0=E9=99=A4=E5=90=8E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=B8=8D=E5=8F=8A=E6=97=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- .env.production | 4 +- src/App.vue | 20 ++- src/main.ts | 6 +- src/mock/OS-control.ts | 6 +- src/pages/Index/History.vue | 154 ++++++++++++--------- src/pages/Index/Index.vue | 11 +- src/pages/Index/Regular/Running.vue | 65 +++------ src/pages/Index/Regular/TestTube.vue | 82 +++++------ .../Index/components/Consumables/IdCardInfo.vue | 77 ++++------- .../components/Consumables/MoveLiquidArea.vue | 103 +++----------- .../Index/components/History/HistoryTable.vue | 75 ++++------ .../Index/components/Running/SampleDisplay.vue | 55 +++----- .../Index/components/TestTube/TestTubeRack.vue | 60 +++----- src/pages/Login/Login.vue | 8 +- src/services/Index/Test-tube/test-tube.ts | 3 +- src/services/Index/history.ts | 17 ++- src/services/Index/idCard.ts | 31 ++++- src/services/Index/running/running.ts | 2 +- src/services/Login/login.ts | 5 +- src/types/Index/History.ts | 77 +++++++---- src/utils/axios.ts | 2 +- 22 files changed, 393 insertions(+), 473 deletions(-) diff --git a/.env.development b/.env.development index 082ce6f..618a7db 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,3 @@ VITE_USE_MOCK=true -VITE_API_BASE_URL=http://localhost:5173 \ No newline at end of file +# VITE_API_BASE_URL=http://localhost:5173 +VITE_API_BASE_URL=http://127.0.0.1:8081 diff --git a/.env.production b/.env.production index 87e7fb4..8c63f70 100644 --- a/.env.production +++ b/.env.production @@ -1,2 +1,4 @@ VITE_USE_MOCK=false -VITE_API_BASE_URL=http://localhost:5173 +# VITE_API_BASE_URL=http://localhost:5173 +VITE_API_BASE_URL=http://127.0.0.1:8081 +# http://127.0.0.1:8081 \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 4e701fa..53b5864 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,4 +1,22 @@ - +