打开运行图编制调用默认交路接口

This commit is contained in:
dong 2023-01-05 10:32:00 +08:00
parent e89d160b1c
commit 621b67b65a

View File

@ -67,6 +67,7 @@ import CreateEmptyPlan from './menus/createEmptyPlan';
import { deletePlanService } from '@/api/runplan';
// import { loadMapDataById } from '@/utils/loaddata';
import { getRpListByMapId } from '@/api/runplan';
import { generateRunPlanInfoSync } from '@/api/jmap/mapdraft.js';
export default {
name: 'Menus',
@ -114,6 +115,7 @@ export default {
async mounted() {
if (this.$route.query.mapId) {
this.refreshRunPlanList(true);
generateRunPlanInfoSync(this.$route.query.mapId);
}
},
beforeDestroy() {