设计平台地图列表接口调整
This commit is contained in:
parent
b23bff36f0
commit
ecef9a4c74
@ -30,8 +30,7 @@
|
||||
<script>
|
||||
import { DeviceMenu } from '@/scripts/ConstDic';
|
||||
import { postBuildMapImport } from '@/api/jmap/mapdraft';
|
||||
import { getPublishMapTree } from '@/api/management/mapprd';
|
||||
import { getMapList } from '@/api/designPlatform';
|
||||
import { getTrainingSystemList} from '@/api/trainingPlatform';
|
||||
import { UrlConfig } from '@/router/index';
|
||||
import { getSessionStorage, setSessionStorage, removeSessionStorage } from '@/utils/auth';
|
||||
import FilterCity from '@/views/components/filterCity';
|
||||
@ -56,7 +55,7 @@ export default {
|
||||
return {
|
||||
loading: true,
|
||||
defaultShowKeys: [],
|
||||
queryFunction: getPublishMapTree,
|
||||
queryFunction: getTrainingSystemList,
|
||||
filterText: '',
|
||||
treeData: [],
|
||||
treeList: [],
|
||||
@ -139,7 +138,7 @@ export default {
|
||||
this.loading = true;
|
||||
this.treeData = this.treeList = [];
|
||||
try {
|
||||
const res = await getMapList(filterSelect);
|
||||
const res = await getTrainingSystemList(filterSelect);
|
||||
res.data.forEach(elem=>{
|
||||
// debugger;
|
||||
// elem.children.find(n => { return n.name.includes("行调")})
|
||||
|
Loading…
Reference in New Issue
Block a user