From 21e0572f9a38150308de601dc84c78316c88a462 Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Thu, 6 Apr 2023 14:59:16 +0800 Subject: [PATCH] =?UTF-8?q?zqq:=E6=9B=B4=E6=94=B9=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/remoteSensingSourceData/index.js | 12 +- src/utils/request.js | 4 +- .../components/retrievalCondition.vue | 154 ++++++++++++------ 3 files changed, 115 insertions(+), 55 deletions(-) diff --git a/src/api/remoteSensingSourceData/index.js b/src/api/remoteSensingSourceData/index.js index 783bc7b..0aed30f 100644 --- a/src/api/remoteSensingSourceData/index.js +++ b/src/api/remoteSensingSourceData/index.js @@ -1,8 +1,18 @@ import request from '/@/utils/request'; +const moduleName = 'zqq-biz-vordm'; + export const getRemoteSensingSourceData = (param) => { return request({ - url: '/api/biz-vordm/remoteSensingSourceData', + url: '/api/' + moduleName + '/ui/remoteSensingSourceData', + method: 'get', + params: param, + }); +}; + +export const getSelectionCondition = (param) => { + return request({ + url: '/api/' + moduleName + '/ui/selectCondition', method: 'get', params: param, }); diff --git a/src/utils/request.js b/src/utils/request.js index 42479fe..c34ade0 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -62,8 +62,8 @@ service.interceptors.response.use( if (error.response.data.error_description) ElMessage.error(error.response.data.error_description); else { //if (error.response.data) ElMessage.error(error.response.statusText); - Session.clear(); // 清除浏览器全部临时缓存 - window.location.href = '/'; // 去登录页 + //Session.clear(); // 清除浏览器全部临时缓存 + //window.location.href = '/'; // 去登录页 ElMessage.error('接口路径找不到'); } } diff --git a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue index 36f6998..0d70c8e 100644 --- a/src/views/dataService/remoteSensingData/components/retrievalCondition.vue +++ b/src/views/dataService/remoteSensingData/components/retrievalCondition.vue @@ -4,35 +4,39 @@ + clearable + placeholder="Select disaster type" + @visible-change="searchDisasterType"> - + size="default" + @focus="searchDisasterDate" /> - + placeholder="请输入受灾地" /> --> - - + + +