校验调整
This commit is contained in:
parent
0386d1f9b4
commit
e50edafb0c
@ -479,11 +479,12 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
verifyMapEvent() {
|
async verifyMapEvent() {
|
||||||
if (this.$refs.jlmapVisual) {
|
if (this.$refs.jlmapVisual) {
|
||||||
const map = this.$store.state.map.map;
|
const map = this.$store.state.map.map;
|
||||||
if (map && this.$route.params.mapId) {
|
if (map && this.$route.params.mapId) {
|
||||||
if (this.verifySectionRelation(map) && this.verifySignalPosition(map) && this.verifyInterlockDevice(map) && this.verifyStationPosition(map)) {
|
const checkInterlockDevice = await this.verifyInterlockDevice(map);
|
||||||
|
if (this.verifySectionRelation(map) && this.verifySignalPosition(map) && checkInterlockDevice && this.verifyStationPosition(map)) {
|
||||||
verifyMap(this.$route.params.mapId).then(res => {
|
verifyMap(this.$route.params.mapId).then(res => {
|
||||||
if (res.data.length) {
|
if (res.data.length) {
|
||||||
this.tableToExcel(res.data);
|
this.tableToExcel(res.data);
|
||||||
|
Loading…
Reference in New Issue
Block a user