diff --git a/src/api/jmap/mapdraft.js b/src/api/jmap/mapdraft.js index 054cabfb3..07ab3875e 100644 --- a/src/api/jmap/mapdraft.js +++ b/src/api/jmap/mapdraft.js @@ -469,3 +469,11 @@ export function getRouteNewList(mapId, params) { params }); } +// 获取自动折返分组列表 +export function getAutoReentryGroupList(mapId, params) { + return request({ + url: `/api/mapBuild/${mapId}/autoReentry/group/reentryTrack`, + method: 'get', + params + }); +} diff --git a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/detail.vue index bee89fee2..f1e88ae6a 100644 --- a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/detail.vue +++ b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/detail.vue @@ -80,6 +80,9 @@ export default { } ] } + ], + actions: [ + { text: '设置优先级', handler: this.setPriority } ] } }; @@ -148,6 +151,10 @@ export default { getRouteNewList(this.$route.params.mapId, {pageSize:9999, pageNum:1}).then((resp) => { this.routeList = resp.data.list; }); + }, + setPriority() { + this.show = false; + this.$emit('setPriority'); } } }; diff --git a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/index.vue b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/index.vue index 6bb0543c2..e382b52a3 100644 --- a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/index.vue +++ b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/index.vue @@ -1,23 +1,26 @@ + + diff --git a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/route.vue index 2b1c34359..fbb24c179 100644 --- a/src/views/newMap/newMapdraft/dataRelation/turnedoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/turnedoperate/route.vue @@ -91,7 +91,7 @@ export default { basicRouteName:'', turnBackRouteCode: '', basicRouteCode:'', - priority: '', + priority: 0, reentryTrackCode: '' }, editShow: false,