From cd9cf8ec3f11b07c87f415b2a8c6a274dabd2dde Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Mon, 17 Apr 2023 16:31:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?zqq:=E9=81=A5=E6=84=9F=E5=BD=B1=E5=83=8F?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../remoteSensingSourceData.js | 12 + .../components/retrievalCondition.vue | 292 ++++++++++++------ .../components/searchCondition.vue | 4 + vite.config.js | 2 +- 4 files changed, 210 insertions(+), 100 deletions(-) diff --git a/src/api/remoteSensingSourceData/remoteSensingSourceData.js b/src/api/remoteSensingSourceData/remoteSensingSourceData.js index 1c905ea..0316a81 100644 --- a/src/api/remoteSensingSourceData/remoteSensingSourceData.js +++ b/src/api/remoteSensingSourceData/remoteSensingSourceData.js @@ -16,3 +16,15 @@ export const getSelectionCondition = (param) => { params: param, }); }; + +export const getPagesRemoteSensingSourceData = (current, size, params) => { + return request({ + url: '/api/' + moduleName + '/ui/remoteSensing/PagesData', + method: 'get', + params: { + current, + size, + ...params, + }, + }); +}; diff --git a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue index d221d06..6f7a636 100644 --- a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue +++ b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue @@ -1,93 +1,130 @@ diff --git a/src/views/dataService/remoteSensingData/components/searchCondition.vue b/src/views/dataService/remoteSensingData/components/searchCondition.vue index 4c7c55d..5d1c869 100644 --- a/src/views/dataService/remoteSensingData/components/searchCondition.vue +++ b/src/views/dataService/remoteSensingData/components/searchCondition.vue @@ -382,6 +382,10 @@ const ClearCondition = () => { } .coordinateBtn { width: 90%; + word-break: keep-all; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .lowerBtn { width: 90%; diff --git a/vite.config.js b/vite.config.js index a395073..f7632fb 100644 --- a/vite.config.js +++ b/vite.config.js @@ -30,7 +30,7 @@ const viteConfig = defineConfig((mode) => { hmr: true, proxy: { '/api': { - target: 'http://192.168.31.250:9090', + target: 'http://192.168.31.14:9090', ws: true, changeOrigin: true, rewrite: (path) => path.replace(/^\/api/, ''), From ea9ed374c4d210c1cb220a07d75d308b5f12c757 Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Tue, 18 Apr 2023 22:28:07 +0800 Subject: [PATCH 2/2] =?UTF-8?q?zqq:=20=E9=81=A5=E6=84=9F=E5=BD=B1=E5=83=8F?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=B8=8B=E8=BD=BD=E6=A3=80=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../remoteSensingSourceData.js | 29 +- src/views/dataService/pictureInfo/index.vue | 430 ++++++++++-------- .../components/retrievalCondition.vue | 421 ++++++++++++++--- .../components/searchCondition.vue | 2 + 4 files changed, 597 insertions(+), 285 deletions(-) diff --git a/src/api/remoteSensingSourceData/remoteSensingSourceData.js b/src/api/remoteSensingSourceData/remoteSensingSourceData.js index 0316a81..c69fdea 100644 --- a/src/api/remoteSensingSourceData/remoteSensingSourceData.js +++ b/src/api/remoteSensingSourceData/remoteSensingSourceData.js @@ -9,22 +9,23 @@ export const getRemoteSensingSourceData = (param) => { }); }; -export const getSelectionCondition = (param) => { +export const getRemoteSensingSourceDataByCondition = (current, size, optionsJson) => { return request({ - url: '/api/' + moduleName + '/ui/disasterInfo/selectCondition', + url: '/api/' + moduleName + '/ui/remoteSensing/Condition', + method: 'get', + contentType: 'application/json', + params: { + optionsJson, + current, + size, + }, + }); +}; + +export const getPagesRemoteSensingSourceData = (param) => { + return request({ + url: '/api/' + moduleName + '/ui/remoteSensing/PagesData', method: 'get', params: param, }); }; - -export const getPagesRemoteSensingSourceData = (current, size, params) => { - return request({ - url: '/api/' + moduleName + '/ui/remoteSensing/PagesData', - method: 'get', - params: { - current, - size, - ...params, - }, - }); -}; diff --git a/src/views/dataService/pictureInfo/index.vue b/src/views/dataService/pictureInfo/index.vue index bffe4af..d225c20 100644 --- a/src/views/dataService/pictureInfo/index.vue +++ b/src/views/dataService/pictureInfo/index.vue @@ -1,44 +1,45 @@