修改引入文件路径问题

This commit is contained in:
ival 2021-03-19 11:02:40 +08:00
parent 12f6bae8e5
commit d7e068c79d
14 changed files with 16 additions and 16 deletions

View File

@ -62,7 +62,7 @@
<script> <script>
import { querySechedulingNew, generateSchedulingNew, saveSchedulingNew } from '@/api/scheduling'; import { querySechedulingNew, generateSchedulingNew, saveSchedulingNew } from '@/api/scheduling';
import { hexColor } from '@/jmapNew/theme/parser'; import { hexColor } from '@/jmapNew/theme/parser/util';
import EditTable from '@/views/components/editTable/index'; import EditTable from '@/views/components/editTable/index';
// //

View File

@ -23,7 +23,7 @@
<script> <script>
import { queryCurrentSecheduling } from '@/api/scheduling'; import { queryCurrentSecheduling } from '@/api/scheduling';
import { hexColor } from '@/jmapNew/theme/parser'; import { hexColor } from '@/jmapNew/theme/parser/util';
import EditTable from '@/views/components/editTable/index'; import EditTable from '@/views/components/editTable/index';
// //

View File

@ -67,7 +67,7 @@ import { mapGetters } from 'vuex';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { postAutoSignalNew, putAutoSignalNew } from '@/api/jmap/mapdraft'; import { postAutoSignalNew, putAutoSignalNew } from '@/api/jmap/mapdraft';
import { ViewMode } from '@/scripts/ConstDic'; import { ViewMode } from '@/scripts/ConstDic';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
export default { export default {
name: 'RouteOperation', name: 'RouteOperation',

View File

@ -123,7 +123,7 @@
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import { createStationDestination, updateStationDestination } from '@/api/jmap/mapdraft'; import { createStationDestination, updateStationDestination } from '@/api/jmap/mapdraft';
import { ViewMode } from '@/scripts/ConstDic'; import { ViewMode } from '@/scripts/ConstDic';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
export default { export default {
name: 'RouteOperation', name: 'RouteOperation',

View File

@ -87,7 +87,7 @@ import { mapGetters } from 'vuex';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { createStationParkTime, updateStationParkTime } from '@/api/jmap/mapdraft'; import { createStationParkTime, updateStationParkTime } from '@/api/jmap/mapdraft';
import { ViewMode } from '@/scripts/ConstDic'; import { ViewMode } from '@/scripts/ConstDic';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
export default { export default {
name: 'RouteOperation', name: 'RouteOperation',

View File

@ -172,7 +172,7 @@
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { addRoutingData, updateRoutingData, gernateRoutingSection } from '@/api/jmap/mapdraft'; import { addRoutingData, updateRoutingData, gernateRoutingSection } from '@/api/jmap/mapdraft';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
export default { export default {

View File

@ -66,7 +66,7 @@ import { mapGetters } from 'vuex';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { postApproachSection, putApproachSection, getApproachSectionList } from '@/api/jmap/mapdraft'; import { postApproachSection, putApproachSection, getApproachSectionList } from '@/api/jmap/mapdraft';
import { ViewMode } from '@/scripts/ConstDic'; import { ViewMode } from '@/scripts/ConstDic';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import { deepAssign } from '@/utils/index'; import { deepAssign } from '@/utils/index';
export default { export default {

View File

@ -100,7 +100,7 @@ import { mapGetters } from 'vuex';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { postAutoReentry, putAutoReentry, getRouteNewList } from '@/api/jmap/mapdraft'; import { postAutoReentry, putAutoReentry, getRouteNewList } from '@/api/jmap/mapdraft';
import { ViewMode } from '@/scripts/ConstDic'; import { ViewMode } from '@/scripts/ConstDic';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import RouteDetail from '../routeoperate/detail'; import RouteDetail from '../routeoperate/detail';
import { deepAssign } from '@/utils/index'; import { deepAssign } from '@/utils/index';

View File

@ -182,7 +182,7 @@
<script> <script>
import { listUserRoutingData, addPlanTrip, getMapStationRunUser, getStationStopTime } from '@/api/runplan'; import { listUserRoutingData, addPlanTrip, getMapStationRunUser, getStationStopTime } from '@/api/runplan';
import { getRunplanConfig } from '@/api/jmap/mapdraft'; import { getRunplanConfig } from '@/api/jmap/mapdraft';
import { formatTime, formatName } from '@/jmapNew/theme/parser'; import { formatTime, formatName } from '@/jmapNew/theme/parser/util';
export default { export default {
name: 'AddTask', name: 'AddTask',

View File

@ -61,7 +61,7 @@
</template> </template>
<script> <script>
import { formatName, formatTime } from '@/jmapNew/theme/parser'; import { formatName, formatTime } from '@/jmapNew/theme/parser/util';
import { addPlanService, updatePlanService, getRoutingBySDTNumber } from '@/api/runplan'; import { addPlanService, updatePlanService, getRoutingBySDTNumber } from '@/api/runplan';
export default { export default {

View File

@ -112,7 +112,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import { setStationRunning, getMapStationRunUser, updateRunlevelDistance } from '@/api/runplan'; import { setStationRunning, getMapStationRunUser, updateRunlevelDistance } from '@/api/runplan';
export default { export default {

View File

@ -42,7 +42,7 @@
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import { setStationStopTime, getStationStopTime } from '@/api/runplan'; import { setStationStopTime, getStationStopTime } from '@/api/runplan';
export default { export default {

View File

@ -166,7 +166,7 @@
<script> <script>
import { getRoutingBySDTNumber, updatePlanTrip, getMapStationRunUser, getStationStopTime } from '@/api/runplan'; import { getRoutingBySDTNumber, updatePlanTrip, getMapStationRunUser, getStationStopTime } from '@/api/runplan';
import { getRunplanConfig } from '@/api/jmap/mapdraft'; import { getRunplanConfig } from '@/api/jmap/mapdraft';
import { formatTime, formatName } from '@/jmapNew/theme/parser'; import { formatTime, formatName } from '@/jmapNew/theme/parser/util';
export default { export default {
name: 'ModifyingTask', name: 'ModifyingTask',
@ -388,8 +388,8 @@ export default {
if (editData) { if (editData) {
const trainInfo = editData.trainMap[this.tripNumber]; const trainInfo = editData.trainMap[this.tripNumber];
const lastIndex = trainInfo.stationTimeList.length - 1; const lastIndex = trainInfo.stationTimeList.length - 1;
debugger;
this.routingList.push({ this.routingList.push({
code:resp.data.code, code:resp.data.code,
startStationCode:resp.data.startStationCode, startStationCode:resp.data.startStationCode,
endStationCode:resp.data.endStationCode, endStationCode:resp.data.endStationCode,

View File

@ -171,7 +171,7 @@ import RouteOperate from './routeOperate';
import { setUID } from '@/jmapNew/utils/Uid'; import { setUID } from '@/jmapNew/utils/Uid';
import { addRoutingData, updateRoutingData, gernateRoutingSectionInRunplan } from '@/api/jmap/mapdraft'; import { addRoutingData, updateRoutingData, gernateRoutingSectionInRunplan } from '@/api/jmap/mapdraft';
import { mapGetters } from 'vuex'; import { mapGetters } from 'vuex';
import { formatName } from '@/jmapNew/theme/parser'; import { formatName } from '@/jmapNew/theme/parser/util';
import Sortable from 'sortablejs'; import Sortable from 'sortablejs';
export default { export default {
name:'RouteConfig', name:'RouteConfig',