Merge branch 'test_dispaly' of https://git.code.tencent.com/lian-cbtc/jl-client into test_dispaly1
This commit is contained in:
commit
bf1f420423
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user