From 3c91e0edcf4d0a2e5152e4184310bff166c4ecdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=AA?= <727393967@qq.com> Date: Wed, 9 Oct 2024 11:25:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E6=A3=80=E7=B4=A2=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dataSearch.js | 18 ++ src/views/dataSearch.vue | 502 ++++++++++++++++----------------------- 2 files changed, 220 insertions(+), 300 deletions(-) diff --git a/src/api/dataSearch.js b/src/api/dataSearch.js index 436c8cc..0d84883 100644 --- a/src/api/dataSearch.js +++ b/src/api/dataSearch.js @@ -1,5 +1,23 @@ import request from '@/utils/request' +// 菜单 +export function getMenu(query) { + return request({ + url: '/search/mult.htm', + method: 'get', + params: query + }) +} + +// 获取航次和数据样品集列表 +export function getDataList(query) { + return request({ + url: '/search/result.htm', + method: 'get', + params: query + }) +} + // 获取航次列表 export function getDataSearch(query) { return request({ diff --git a/src/views/dataSearch.vue b/src/views/dataSearch.vue index 31d11f2..9be899e 100644 --- a/src/views/dataSearch.vue +++ b/src/views/dataSearch.vue @@ -2,15 +2,21 @@
+
+ 航次名称:{{ menu1 }} + 平台类型:{{ menu2 }} + 设备类型:{{ menu3 }} + 数据样品类型:{{ menu4 }} +
- +
- +
@@ -18,6 +24,30 @@ 航次
+
+
+
请选择航次名称
+
{{ item.name }}
+
+
+
+
+
请选择平台类型
+
{{ item.name + '(' + item.value + ')' }}
+
+
+
+
+
请选择设备类型
+
{{ item.name + '(' + item.value + ')' }}
+
+
+
+
+
请选择数据样品类型
+
{{ item.name + '(' + item.value + ')' }}
+
+
@@ -118,101 +148,17 @@
- - - - - - - - - - - - - - - - - - -
- -
-
- - - - - - - - - - - - -
- -
-
- - - - - - - - - - - - -
- -
-
- - - - - - - - - - - - -
- -
-