From f06a5c09eae9e56fb69fac4ded84ddaca081bb4d Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Wed, 11 Jan 2023 13:35:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/permissionManage/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/permissionManage/index.vue b/src/views/permissionManage/index.vue index 5dbe519fb..e3aa4f871 100644 --- a/src/views/permissionManage/index.vue +++ b/src/views/permissionManage/index.vue @@ -9,7 +9,7 @@ import { getPermissionPage } from '@/api/permissionManage'; import Create from './create'; import { getAllAbility } from '@/api/functionManage'; -import { queryMapListByUser } from '@/api/jmap/map'; +import { getPublishMapListOnline } from '@/api/jmap/map'; import { ProjectList } from '@/scripts/ProjectConfig'; export default { @@ -181,7 +181,7 @@ export default { this.queryForm.queryObject.permissionType.config.data = this.$ConstSelect.permissionTypeList; this.queryForm.queryObject.projectCode.config.data = ProjectList; // 获取地图 - queryMapListByUser().then(res => { + getPublishMapListOnline().then(res => { res.data.forEach(elem => { const obj = { value: elem.id, label: elem.name }; this.queryForm.queryObject.mapId.config.data.push(obj);