Check parking number, number with letter (9L)

This commit is contained in:
portree_kid
2020-05-15 16:33:33 +02:00
parent de0267ac7d
commit 00bdd6c558
8 changed files with 36 additions and 10 deletions
+5 -2
View File
@@ -9,8 +9,7 @@
<div id="panel" width="100%">
<el-row v-for="(result,idx) in results" :key="idx">
<el-col :span="15">{{ result.message }}</el-col>
<el-col :span="7"><el-button v-on:click="show(result.id)">Show</el-button></el-col>
<el-col :span="7"><el-button v-on:click="show(result.id)" class="button"><i class="fas fa-bullseye"></i></el-button></el-col>
</el-row>
</div>
</div>
@@ -48,4 +47,8 @@
border-radius: 1px;
padding: 0pt;
}
.button {
padding-left: 10px;
padding-right: 10px;
}
</style>
+10 -1
View File
@@ -28,7 +28,13 @@
icon="fas fa-draw-polygon"
v-on:click="drawPolyline"
:show="editing"
tooltip="Draw Taxiline"
tooltip="Draw Bi-Directional Taxiline"
></EditButton>
<EditButton
icon="fas fa-long-arrow-alt-right"
v-on:click="drawForwardPolyline"
:show="editing"
tooltip="Draw Forward Taxiline"
></EditButton>
<EditButton
icon="fas fa-arrows-alt-h"
@@ -187,6 +193,9 @@
drawPolyline () {
this.$parent.$parent.$refs.editLayer.drawPolyline()
},
drawForwardPolyline () {
this.$parent.$parent.$refs.editLayer.drawForwardPolyline()
},
drawPushbackPolyline () {
this.$parent.$parent.$refs.editLayer.drawPushbackPolyline()
},
+17
View File
@@ -436,6 +436,23 @@
event.target.addTo(this.groundnetLayerGroup)
})
},
drawForwardPolyline () {
var polyLine = this.$parent.mapObject.editTools.startPolyline()
polyLine.addTo(this.groundnetLayerGroup)
polyLine.groundnetLayerGroup = this.groundnetLayerGroup;
polyLine.attributes = [];
polyLine.options.attributes = {direction: 'forward' };
polyLine.featureLookup = this.featureLookup;
extendTaxiSegment(polyLine);
polyLine.setEditlayer(this);
//polyLine.extensions(this);
polyLine.addListeners()
polyLine.on('editable:drawing:end', event => {
console.log(event)
event.target.addTo(this.groundnetLayerGroup)
})
},
drawPushbackPolyline () {
var polyLine = this.$parent.mapObject.editTools.startPolyline()
polyLine.addTo(this.groundnetLayerGroup)
-3
View File
@@ -61,9 +61,6 @@
number: {
// getter
get: function () {
if (isNaN(this.parking.number)) {
return ''
}
return this.parking.number
},
// setter