From e58518faa74e8e79207178758f1027a85a517536 Mon Sep 17 00:00:00 2001 From: zhangqi <727393967@qq.com> Date: Fri, 31 Oct 2025 15:35:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E9=9C=80=E6=B1=82=E6=9D=BF?= =?UTF-8?q?=E5=9D=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- README.md | 1 + src/App.vue | 4 +- src/api/task.js | 47 ++- src/router/index.ts | 2 +- src/utils/request.js | 1 - src/views/Home.vue | 59 +++- src/views/Statistics.vue | 36 +- src/views/TaskData.vue | 43 +++ src/views/TaskDemand.vue | 37 +- src/views/TaskInput.vue | 537 ----------------------------- src/views/common/FileList.vue | 113 ++++++ src/views/common/FormData.vue | 381 ++++++++++++++++++++ src/views/common/RelatedVoyage.vue | 209 +++++++++++ tsconfig.app.tsbuildinfo | 2 +- tsconfig.node.tsbuildinfo | 2 +- 16 files changed, 896 insertions(+), 581 deletions(-) create mode 100644 src/views/TaskData.vue delete mode 100644 src/views/TaskInput.vue create mode 100644 src/views/common/FileList.vue create mode 100644 src/views/common/FormData.vue create mode 100644 src/views/common/RelatedVoyage.vue diff --git a/.env.development b/.env.development index 1968f01..018904f 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,8 @@ VITE_APP_ENV='development' # api接口请求地址 -VITE_APP_BASE_API='http://crm.hzzxq.com/ds' +VITE_APP_BASE_API='http://test.gopmas.com/rs' +VITE_APP_DS_API='http://test.gopmas.com/ds' diff --git a/README.md b/README.md index 33895ab..a752386 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,4 @@ This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 ` diff --git a/src/views/Statistics.vue b/src/views/Statistics.vue index b396d57..51b8cd9 100644 --- a/src/views/Statistics.vue +++ b/src/views/Statistics.vue @@ -6,46 +6,66 @@ 任务
完成航次
-
2650
- +
{{ rescueTotal }}
区域
潜水次数
-
2650
- +
{{ divingTotal }}
航次
挽回经济损失
-
2650
+
{{ priceTotal }}
潜水艇
专项调查区域覆盖
-
2650平方公里
+
{{ areaTotal }}平方公里
潜艇
航行时间
-
2650小时
+
{{ hourTotal }}小时
- diff --git a/src/views/TaskDemand.vue b/src/views/TaskDemand.vue index 5ec0987..8eb253d 100644 --- a/src/views/TaskDemand.vue +++ b/src/views/TaskDemand.vue @@ -3,6 +3,7 @@