Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly1

This commit is contained in:
fan 2023-01-11 14:20:45 +08:00
commit bf1f420423

View File

@ -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);