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/components/QueryListPage/QueryListPage.vue b/src/components/QueryListPage/QueryListPage.vue
index 5afe0bed5..1115f1639 100644
--- a/src/components/QueryListPage/QueryListPage.vue
+++ b/src/components/QueryListPage/QueryListPage.vue
@@ -28,6 +28,7 @@
@select="onSelect"
@select-all="onSelectAll"
@selection-change="onSelectionChange"
+ @sort-change="sortChange"
>
@@ -45,6 +46,7 @@
:width="column.width"
show-overflow-tooltip
:sortable="column.sortable"
+ :sort-by="column.sortBy"
/>
{{ column.columnValue(scope.row, scope.$index) }}
@@ -63,6 +66,7 @@
:label="column.title"
:width="column.width"
:sortable="column.sortable"
+ :sort-by="column.sortBy"
>
{{ column.columnValue(scope.row, scope.$index) }}
@@ -74,6 +78,7 @@
:label="column.title"
:width="column.width"
:sortable="column.sortable"
+ :sort-by="column.sortBy"
>
{{ column.columnValue(scope.row, scope.$index) }}
@@ -85,6 +90,7 @@
:label="column.title"
:width="column.width"
:sortable="column.sortable"
+ :sort-by="column.sortBy"
>
@@ -103,6 +109,7 @@
:label="column.title"
:formatter="column.formatter"
:sortable="column.sortable"
+ :sort-by="column.sortBy"
/>
{
elem.type = 'map';
elem.children = [
diff --git a/src/views/designUser/mapmanage/create.vue b/src/views/designUser/mapmanage/create.vue
index 00e96f861..c3e0ac02b 100644
--- a/src/views/designUser/mapmanage/create.vue
+++ b/src/views/designUser/mapmanage/create.vue
@@ -134,7 +134,7 @@ export default {
this.lineCodeList = response.data;
});
- const drawWay = 0;
+ const drawWay = false;
getMapListByProject(drawWay).then(response => {
this.publishMapList = response.data;
}).catch(() => {
@@ -146,7 +146,7 @@ export default {
this.$refs['newForm'].validate((valid) => {
if (valid) {
this.loading = true;
- this.newModel['drawWay'] = '0';
+ this.newModel['drawWay'] = false;
newMap(this.newModel).then(response => {
this.loading = false;
this.$emit('refresh');
diff --git a/src/views/mapdraft/dataRelation/automaticoperate/detail.vue b/src/views/mapdraft/dataRelation/automaticoperate/detail.vue
index 85148c4ee..69c86bd14 100644
--- a/src/views/mapdraft/dataRelation/automaticoperate/detail.vue
+++ b/src/views/mapdraft/dataRelation/automaticoperate/detail.vue
@@ -143,7 +143,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/mapdraft/dataRelation/pathoperate/detail.vue b/src/views/mapdraft/dataRelation/pathoperate/detail.vue
index cdeca1ca7..3861174e8 100644
--- a/src/views/mapdraft/dataRelation/pathoperate/detail.vue
+++ b/src/views/mapdraft/dataRelation/pathoperate/detail.vue
@@ -152,7 +152,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/mapdraft/dataRelation/pathoperate/pathRoute.vue b/src/views/mapdraft/dataRelation/pathoperate/pathRoute.vue
index 21c2f2934..25ae9d74a 100644
--- a/src/views/mapdraft/dataRelation/pathoperate/pathRoute.vue
+++ b/src/views/mapdraft/dataRelation/pathoperate/pathRoute.vue
@@ -162,7 +162,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/mapdraft/dataRelation/routeoperate/detail.vue b/src/views/mapdraft/dataRelation/routeoperate/detail.vue
index ec97a3aae..68ecf6fd0 100644
--- a/src/views/mapdraft/dataRelation/routeoperate/detail.vue
+++ b/src/views/mapdraft/dataRelation/routeoperate/detail.vue
@@ -245,7 +245,7 @@ export default {
}
},
acquireMapList() {
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/mapdraft/dataRelation/routingoperate/detail.vue b/src/views/mapdraft/dataRelation/routingoperate/detail.vue
index 9d985ba44..93f36fbfa 100644
--- a/src/views/mapdraft/dataRelation/routingoperate/detail.vue
+++ b/src/views/mapdraft/dataRelation/routingoperate/detail.vue
@@ -175,7 +175,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/mapdraft/dataRelation/signaloperate/detail.vue b/src/views/mapdraft/dataRelation/signaloperate/detail.vue
index 34fe69cfe..e61a029c1 100644
--- a/src/views/mapdraft/dataRelation/signaloperate/detail.vue
+++ b/src/views/mapdraft/dataRelation/signaloperate/detail.vue
@@ -127,7 +127,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'0'}).then(response => {
+ listMap({ drawWay:false}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/jlmapNew/zoom/zoom.vue b/src/views/newMap/jlmapNew/zoom/zoom.vue
index 562c6ac4a..957a7cb6e 100644
--- a/src/views/newMap/jlmapNew/zoom/zoom.vue
+++ b/src/views/newMap/jlmapNew/zoom/zoom.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/src/views/newMap/newDesignUser/demonList.vue b/src/views/newMap/newDesignUser/demonList.vue
index 9360362c4..868856f8f 100644
--- a/src/views/newMap/newDesignUser/demonList.vue
+++ b/src/views/newMap/newDesignUser/demonList.vue
@@ -99,7 +99,7 @@ export default {
this.loading = true;
this.treeData = this.treeList = [];
try {
- const res = await listMap({ drawWay:'1'});
+ const res = await listMap({ drawWay:true});
res.data && res.data.forEach(elem=>{
elem.type = 'map';
elem.children = [
diff --git a/src/views/newMap/newDesignUser/mapmanage/create.vue b/src/views/newMap/newDesignUser/mapmanage/create.vue
index e238463eb..389144103 100644
--- a/src/views/newMap/newDesignUser/mapmanage/create.vue
+++ b/src/views/newMap/newDesignUser/mapmanage/create.vue
@@ -135,7 +135,7 @@ export default {
});
// 新地图
- const drawWay = 1;
+ const drawWay = true;
getMapListByProject(drawWay).then(response => {
this.publishMapList = response.data;
}).catch(() => {
@@ -147,7 +147,7 @@ export default {
this.$refs['newForm'].validate((valid) => {
if (valid) {
this.loading = true;
- this.newModel['drawWay'] = '1';
+ this.newModel['drawWay'] = true;
newMap(this.newModel).then(response => {
this.loading = false;
this.$emit('refresh');
diff --git a/src/views/newMap/newMapdraft/dataRelation/automaticoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/automaticoperate/detail.vue
index 36bb15fea..eda3363de 100644
--- a/src/views/newMap/newMapdraft/dataRelation/automaticoperate/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/automaticoperate/detail.vue
@@ -143,7 +143,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'1'}).then(response => {
+ listMap({ drawWay:true}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/newMapdraft/dataRelation/pathoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/pathoperate/detail.vue
index 556775782..97a0ae761 100644
--- a/src/views/newMap/newMapdraft/dataRelation/pathoperate/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/pathoperate/detail.vue
@@ -152,7 +152,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'1'}).then(response => {
+ listMap({ drawWay:true}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/newMapdraft/dataRelation/pathoperate/pathRoute.vue b/src/views/newMap/newMapdraft/dataRelation/pathoperate/pathRoute.vue
index 91a736d73..30335534c 100644
--- a/src/views/newMap/newMapdraft/dataRelation/pathoperate/pathRoute.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/pathoperate/pathRoute.vue
@@ -162,7 +162,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'1'}).then(response => {
+ listMap({ drawWay:true}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue
index e48353195..588278818 100644
--- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/detail.vue
@@ -263,7 +263,7 @@ export default {
}
},
acquireMapList() {
- listMap({ drawWay:'1'}).then(response => {
+ listMap({ drawWay:true}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue
index 56702c1d8..123415514 100644
--- a/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/routingoperate/detail.vue
@@ -175,7 +175,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({drawWay: '1'}).then(response => {
+ listMap({drawWay: true}).then(response => {
this.mapList = response.data;
});
},
diff --git a/src/views/newMap/newMapdraft/dataRelation/signaloperate/detail.vue b/src/views/newMap/newMapdraft/dataRelation/signaloperate/detail.vue
index 76a8f3a2a..c49c2e124 100644
--- a/src/views/newMap/newMapdraft/dataRelation/signaloperate/detail.vue
+++ b/src/views/newMap/newMapdraft/dataRelation/signaloperate/detail.vue
@@ -127,7 +127,7 @@ export default {
},
acquireMapList() {
// 地图名称列表
- listMap({ drawWay:'1'}).then(response => {
+ listMap({ drawWay:true}).then(response => {
this.mapList = response.data;
});
},
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,
diff --git a/src/views/newMap/newMapdraft/mapoperate/checkboxDraft.vue b/src/views/newMap/newMapdraft/mapoperate/checkboxDraft.vue
index 828ad259c..4f996ebd9 100644
--- a/src/views/newMap/newMapdraft/mapoperate/checkboxDraft.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/checkboxDraft.vue
@@ -56,6 +56,11 @@ export default {
type: 'Switch',
name: '道岔列表',
list: []
+ },
+ {
+ type: 'Signal',
+ name: '信号机列表',
+ list: []
}
]
};
@@ -86,6 +91,8 @@ export default {
this.modelList[0].list.push(item);
} else if (item._type == 'Switch') {
this.modelList[1].list.push(item);
+ } else if (item._type == 'Signal') {
+ this.modelList[2].list.push(item);
}
});
}
diff --git a/src/views/newMap/newMapdraft/mapoperate/section.vue b/src/views/newMap/newMapdraft/mapoperate/section.vue
index 45fb3b006..00dcc2aae 100644
--- a/src/views/newMap/newMapdraft/mapoperate/section.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/section.vue
@@ -135,7 +135,7 @@
-
+ {{ item.name }}
@@ -270,7 +270,7 @@ export default {
addModel: {
code: '',
splitNumber: 2,
- trainPosType: '上方', // 列车所在方向
+ trainPosType: '01', // 列车所在方向
splitOffsetMax: 15
},
operationModel: { // 区段集中站列表
@@ -445,7 +445,7 @@ export default {
{ prop: 'region', label: this.$t('map.sectionColon'), type: 'select', optionLabel: 'label', optionValue: 'value', options: this.regionList, isHidden: !this.sectionColonShow },
{ prop: 'kmRangeLeft', label: this.$t('map.leftKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') },
{ prop: 'kmRangeRight', label: this.$t('map.rightKilometerMark'), type: 'number', min: 0, placeholder: this.$t('map.meter') },
- { prop: 'trainPosType', label: this.$t('map.trainDirection'), type: 'select', optionLabel: 'name', optionValue: 'code', options: this.TrainPositionTypeList, isHidden: !this.isSwitchSectionType }
+ { prop: 'trainPosType', label: this.$t('map.trainDirection'), type: 'radio', optionLabel: 'name', optionValue: 'code', border: true, radioList: this.TrainPositionTypeList }
]
}
}
diff --git a/src/views/newMap/newMapdraft/mapoperate/signal/create.vue b/src/views/newMap/newMapdraft/mapoperate/signal/create.vue
index de9bf7330..d5d457227 100644
--- a/src/views/newMap/newMapdraft/mapoperate/signal/create.vue
+++ b/src/views/newMap/newMapdraft/mapoperate/signal/create.vue
@@ -3,7 +3,7 @@
-
+
-