From 89ca75b0be5d7ead702da49317fcc9b22de4085a Mon Sep 17 00:00:00 2001 From: glj <13935964706@163.com> Date: Tue, 9 Jul 2024 11:47:18 +0800 Subject: [PATCH] =?UTF-8?q?glj-=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/file/file.js | 2 +- src/api/system/role.js | 2 +- src/utils/request.js | 2 +- .../dataService/disasterPartners/index.vue | 280 ------------------ src/views/install/component/addInstall.vue | 1 - 5 files changed, 3 insertions(+), 284 deletions(-) delete mode 100644 src/views/dataService/disasterPartners/index.vue diff --git a/src/api/file/file.js b/src/api/file/file.js index c05fc66..37d5bf5 100644 --- a/src/api/file/file.js +++ b/src/api/file/file.js @@ -1,6 +1,6 @@ import request from '/@/utils/request'; -const moduleName = 'biz-vordm' +const moduleName = 'biz-vordm-glj' export const uploadFile = (row) => { return request({ diff --git a/src/api/system/role.js b/src/api/system/role.js index 92591c3..0d809e6 100644 --- a/src/api/system/role.js +++ b/src/api/system/role.js @@ -61,7 +61,7 @@ export const update = (row) => { export const getRole = (roleIds) => { return request({ - url: '/api/' + moduleName + '/ui/menu/role-tree-keys-new', + url: '/api/' + moduleName + '/ui/menu/role-tree-keys', method: 'get', params: { roleIds, diff --git a/src/utils/request.js b/src/utils/request.js index 12f4bff..0989c69 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -2,7 +2,7 @@ import axios from 'axios'; import { ElMessage, ElMessageBox } from 'element-plus'; import qs from 'qs'; import { Session } from '/@/utils/storage'; -export const moduleName = 'biz-vordm'; +export const moduleName = 'biz-vordm-glj'; export const crawlModule = 'vordm-crawl'; export const twitterModule = "vordm-twitter"; const service = axios.create({ diff --git a/src/views/dataService/disasterPartners/index.vue b/src/views/dataService/disasterPartners/index.vue deleted file mode 100644 index 175a8af..0000000 --- a/src/views/dataService/disasterPartners/index.vue +++ /dev/null @@ -1,280 +0,0 @@ - - - - - - - - - - - - - - - - - Upload - - - - - - Batch delete - - - - - - - - - {{ formatName(scope.row.title) }} - - - - - - - Edit - Delete - - - - - - - - - - - - - - - - diff --git a/src/views/install/component/addInstall.vue b/src/views/install/component/addInstall.vue index 4abc92e..a7d1769 100644 --- a/src/views/install/component/addInstall.vue +++ b/src/views/install/component/addInstall.vue @@ -58,7 +58,6 @@ import { addInstall } from '/@/api/install/install'; import { Plus } from '@element-plus/icons-vue'; import { uploadFile } from '/@/api/file/file'; -const imageUrl = ref(''); const roleRef = ref(); // const menuTree = ref(); const state = reactive({