From 08a2c80743e4aef39130f00d3940f8dfe97cfbbb Mon Sep 17 00:00:00 2001 From: qqGroup0 <253114712@qq.com> Date: Tue, 4 Apr 2023 13:57:33 +0800 Subject: [PATCH] =?UTF-8?q?zqq:0404=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/remoteSensingSourceData/index.js | 8 + src/api/system/user.js | 84 +++--- .../dataService/remoteSensingData/index.vue | 271 ++++++++++-------- 3 files changed, 205 insertions(+), 158 deletions(-) create mode 100644 src/api/remoteSensingSourceData/index.js diff --git a/src/api/remoteSensingSourceData/index.js b/src/api/remoteSensingSourceData/index.js new file mode 100644 index 0000000..6a9098d --- /dev/null +++ b/src/api/remoteSensingSourceData/index.js @@ -0,0 +1,8 @@ +import request from '/@/utils/request'; + +export const getRemoteSensingSourceData = (param) => { + return request({ + url: '/api/biz-vordm/remote-sensing-source-data/front/page/eq' + param, + method: 'get', + }); +}; diff --git a/src/api/system/user.js b/src/api/system/user.js index c382a05..aff766e 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -2,50 +2,52 @@ import request from '/@/utils/request'; import qs from 'qs'; export const getUserInfo = () => { - return request({ - url: '/api/system-manager/user/info', - method: 'get', - }) -} + return request({ + url: '/api/system-manager/user/info', + method: 'get', + }); +}; export const resetPassword = (userIds) => { - return request({ - url: '/api/system-manager/user/reset-password', - method: 'post', - params: { - userIds, - } - }) -} + return request({ + url: '/api/system-manager/user/reset-password', + method: 'post', + params: { + userIds, + }, + }); +}; export const updatePassword = (oldPassword, newPassword, newPassword1) => { - return request({ - url: '/api/system-manager/user/update-password', - method: 'post', - params: { - oldPassword, - newPassword, - newPassword1, - } - }) -} + return request({ + url: '/api/system-manager/user/update-password', + method: 'post', + params: { + oldPassword, + newPassword, + newPassword1, + }, + }); +}; -export const getButtons = () => request({ - url: '/api/system-manager/menu/buttons', - method: 'get' -}); +export const getButtons = () => + request({ + url: '/api/system-manager/menu/buttons', + method: 'get', + }); -export const refreshToken = (refresh_token, tenantId) => request({ - url: '/api/system-manager/oauth/token', - method: 'post', - headers: { - 'Tenant-Id': tenantId, - 'Content-Type': 'application/x-www-form-urlencoded', - }, - data: qs.stringify({ - tenantId, - refresh_token, - grant_type: "refresh_token", - scope: "all", - }) -}); \ No newline at end of file +export const refreshToken = (refresh_token, tenantId) => + request({ + url: '/api/system-manager/oauth/token', + method: 'post', + headers: { + 'Tenant-Id': tenantId, + 'Content-Type': 'application/x-www-form-urlencoded', + }, + data: qs.stringify({ + tenantId, + refresh_token, + grant_type: 'refresh_token', + scope: 'all', + }), + }); diff --git a/src/views/dataService/remoteSensingData/index.vue b/src/views/dataService/remoteSensingData/index.vue index b85207e..222b842 100644 --- a/src/views/dataService/remoteSensingData/index.vue +++ b/src/views/dataService/remoteSensingData/index.vue @@ -131,111 +131,74 @@