From 143f35a222db81fa682398dd2d668c5afe22ae4e Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 19 Dec 2019 16:21:00 +0800 Subject: [PATCH 01/17] =?UTF-8?q?=E8=BF=9B=E8=B7=AF=E7=89=A9=E7=90=86?= =?UTF-8?q?=E5=8C=BA=E6=AE=B5=E5=88=97=E8=A1=A8=E8=BF=9E=E7=BB=AD=E9=AB=98?= =?UTF-8?q?=E4=BA=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/Section/index.js | 15 +- src/utils/baseUrl.js | 4 +- .../newMap/newMapdraft/dataRelation/index.vue | 11 +- .../dataRelation/protectoperate/detail.vue | 157 ------- .../dataRelation/protectoperate/index.vue | 84 ---- .../dataRelation/protectoperate/route.vue | 413 ------------------ .../dataRelation/routeoperate/index.vue | 3 + .../dataRelation/routeoperate/route.vue | 27 +- .../newMap/newMapdraft/mapoperate/section.vue | 1 + .../mapoperate/section/logicBlock.vue | 5 + 10 files changed, 58 insertions(+), 662 deletions(-) delete mode 100644 src/views/newMap/newMapdraft/dataRelation/protectoperate/detail.vue delete mode 100644 src/views/newMap/newMapdraft/dataRelation/protectoperate/index.vue delete mode 100644 src/views/newMap/newMapdraft/dataRelation/protectoperate/route.vue diff --git a/src/jmapNew/shape/Section/index.js b/src/jmapNew/shape/Section/index.js index dbc5fb279..8deec902a 100644 --- a/src/jmapNew/shape/Section/index.js +++ b/src/jmapNew/shape/Section/index.js @@ -22,6 +22,7 @@ export default class Section extends Group { this.model = model; this.style = style; this.selected = false; // 绘图选中状态 + this.batchSelected = false; // 绘图批量选中状态 this.create(); this.createMouseEvent(); this.setState(model); @@ -853,7 +854,15 @@ export default class Section extends Group { drawSelected(selected) { this.selected = selected; if (selected) { - this.section && this.section.setStyle({stroke: 'rgba(0,255,255,0.6)'}); + !this.batchSelected && this.section && this.section.setStyle({stroke: 'rgba(0,255,255,0.6)'}); + } else { + !this.batchSelected && this.section && this.section.setStyle({stroke: this.style.Section.line.spareColor }); + } + } + drawBatchSelected(selected) { + this.batchSelected = selected; + if (selected) { + this.section && this.section.setStyle({stroke: 'rgba(255,255,0,0.6)'}); } else { this.section && this.section.setStyle({stroke: this.style.Section.line.spareColor }); } @@ -862,8 +871,8 @@ export default class Section extends Group { checkIsDrawMap() { const path = window.location.href; if (path.includes('/map/draw')) { - this.on('mouseout', () => { !this.selected && this.section && this.section.setStyle({stroke: this.style.Section.line.spareColor }); }); - this.on('mouseover', () => { this.section && this.section.setStyle({stroke: 'rgba(0,255,255,0.6)'}); }); + this.on('mouseout', () => { !this.batchSelected && !this.selected && this.section && this.section.setStyle({stroke: this.style.Section.line.spareColor }); }); + this.on('mouseover', () => { !this.batchSelected && this.section && this.section.setStyle({stroke: 'rgba(0,255,255,0.6)'}); }); } } diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index 79d1c6346..1e9afea51 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -3,11 +3,11 @@ export function getBaseUrl() { let BASE_API; if (process.env.NODE_ENV === 'development') { // BASE_API = 'https://joylink.club/jlcloud'; - // BASE_API = 'https://test.joylink.club/jlcloud'; + BASE_API = 'https://test.joylink.club/jlcloud'; // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.3.6:9000'; // 旭强 // BASE_API = 'http://192.168.3.41:9000'; // 张赛 - BASE_API = 'http://192.168.3.82:9000'; // 杜康 + // BASE_API = 'http://192.168.3.82:9000'; // 杜康 } else { BASE_API = process.env.VUE_APP_BASE_API; } diff --git a/src/views/newMap/newMapdraft/dataRelation/index.vue b/src/views/newMap/newMapdraft/dataRelation/index.vue index 1528f1c41..4b6e73b40 100644 --- a/src/views/newMap/newMapdraft/dataRelation/index.vue +++ b/src/views/newMap/newMapdraft/dataRelation/index.vue @@ -12,7 +12,7 @@ {{ $t('map.drawMap') }} {{ $t('map.viewLayer') }} - + - -
- -
-
- - - diff --git a/src/views/newMap/newMapdraft/dataRelation/protectoperate/index.vue b/src/views/newMap/newMapdraft/dataRelation/protectoperate/index.vue deleted file mode 100644 index 086e26408..000000000 --- a/src/views/newMap/newMapdraft/dataRelation/protectoperate/index.vue +++ /dev/null @@ -1,84 +0,0 @@ - - diff --git a/src/views/newMap/newMapdraft/dataRelation/protectoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/protectoperate/route.vue deleted file mode 100644 index a7bc14665..000000000 --- a/src/views/newMap/newMapdraft/dataRelation/protectoperate/route.vue +++ /dev/null @@ -1,413 +0,0 @@ - - - diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/index.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/index.vue index 33ace43fb..6934ae5b6 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/index.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/index.vue @@ -79,6 +79,9 @@ export default { }, setCenter(code) { this.$emit('setCenter', code); + }, + routeSectionListFocus(flag) { + this.$refs.routeEdit.routeSectionListFocus(flag); } } }; diff --git a/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue index e28089fcf..bf42ca694 100644 --- a/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/routeoperate/route.vue @@ -350,9 +350,24 @@ export default { this.addModel.name = val; } }, - 'addModel.routeSectionList': function(val) { + 'addModel.routeSectionList': function(val, old) { + if (old && old.length) { + old.forEach((item) => { + const section = this.$store.getters['map/getDeviceByCode'](item); + section.instance.drawBatchSelected(false); + }); + } if (val && val.length) { this.$refs.protect.addModel.unlockSectionCode = val[val.length - 1]; + val.forEach((item) => { + const section = this.$store.getters['map/getDeviceByCode'](item); + if (section.logicSectionCodeList && section.logicSectionCodeList.length) { + section.logicSectionCodeList.forEach( (logicSectionCode) => { + this.$store.getters['map/getDeviceByCode'](logicSectionCode).instance.drawBatchSelected(true); + }); + } + section.instance.drawBatchSelected(true); + }); } } }, @@ -466,6 +481,12 @@ export default { this.protectData = resp.data.list[0]; }); }, + routeSectionListFocus(flag) { + this.addModel.routeSectionList.forEach((item) => { + const section = this.$store.getters['map/getDeviceByCode'](item); + section.instance.drawBatchSelected(flag); + }); + }, setSelected(selected) { if (selected) { if (selected._type.toUpperCase() === 'Signal'.toUpperCase() && this.field.toUpperCase() === 'startSignalCode'.toUpperCase()) { @@ -473,8 +494,10 @@ export default { } else if (selected._type.toUpperCase() === 'Signal'.toUpperCase() && this.field.toUpperCase() === 'endSignalCode'.toUpperCase()) { this.addModel.endSignalCode = selected.code; } else if (selected._type.toUpperCase() === 'Section'.toUpperCase() && this.field.toUpperCase() === 'routeSectionList'.toUpperCase()) { - if (this.addModel.routeSectionList.indexOf(selected.code) === -1) { + if ((selected.type === '01' || selected.type === '03') && this.addModel.routeSectionList.indexOf(selected.code) === -1) { this.addModel.routeSectionList.push(selected.code); + } else if (selected.type === '02' && this.addModel.routeSectionList.indexOf(selected.parentCode) === -1) { + this.addModel.routeSectionList.push(selected.parentCode); } } else if (selected._type.toUpperCase() === 'Switch'.toUpperCase() && this.field.toUpperCase() === 'routeSwitchList'.toUpperCase()) { this.routeCode = selected.code; diff --git a/src/views/newMap/newMapdraft/mapoperate/section.vue b/src/views/newMap/newMapdraft/mapoperate/section.vue index ed572ea5c..750899510 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section.vue @@ -240,6 +240,7 @@ export default { kmRangeLeft: 0, region: '', logicSectionNum: [], + logicSectionCodeList: [], logicSectionShow: false, // 是否显示逻辑区段 standTrack: false, // 是否站台轨 standTrackName: '', diff --git a/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue b/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue index 5140b5ed6..bb26e36ad 100644 --- a/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue +++ b/src/views/newMap/newMapdraft/mapoperate/section/logicBlock.vue @@ -88,6 +88,10 @@ export default { counts += parseInt(ele.num); }); if (count === 0 || allNotZeros) { + const logicSectionCodeList = []; + models.forEach(item=> { + logicSectionCodeList.push(item.code); + }); this.sectionList.forEach(section => { // 删除之前的逻辑区段 if (section.type === '02' && section.parentCode == this.editModel.code) { models.push(deepAssign(section, {_dispose: true})); @@ -97,6 +101,7 @@ export default { logicSectionNumList = []; } this.editModel.logicSectionNum = [...logicSectionNumList]; + this.editModel.logicSectionCodeList = logicSectionCodeList; models.push(this.editModel); this.$emit('updateMapModel', models); } else { From 9cd46588a9d8d42a98848164b506b1d36a2225a9 Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Thu, 19 Dec 2019 16:43:56 +0800 Subject: [PATCH 02/17] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E4=BF=A1=E5=8F=B7?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=8D=E5=92=8C=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E8=B0=83=E6=95=B4--0003?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/en/map.js | 2 +- src/i18n/langs/zh/map.js | 2 +- .../newMap/newMapdraft/dataRelation/automaticoperate/route.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n/langs/en/map.js b/src/i18n/langs/en/map.js index 3a8a983be..7b35eb830 100644 --- a/src/i18n/langs/en/map.js +++ b/src/i18n/langs/en/map.js @@ -484,7 +484,7 @@ export default { accessSideTurnoutData: 'Access side turnout data', turnBackRailName: 'Name of reentrant rail', - routeSegmentData: 'The approach automatically triggers the segment data', + routeSegmentData: 'Interlock clearance section', routeProtectsData: 'Path continuation protects segment data', physicalSection: 'Access physical segment data', routeAccessScreenData: 'Access screen door data', diff --git a/src/i18n/langs/zh/map.js b/src/i18n/langs/zh/map.js index bd754bcf1..9f224526c 100644 --- a/src/i18n/langs/zh/map.js +++ b/src/i18n/langs/zh/map.js @@ -425,7 +425,7 @@ export default { accessSideTurnoutData: '侧防道岔', turnBackRailName: '折返轨名称', - routeSegmentData: '进路自动触发区段', + routeSegmentData: '连锁出清区段', routeProtectsData: '进路延续保护区段', physicalSection: '进路物理区段', routeRouteScreenData: '进路屏蔽门', diff --git a/src/views/newMap/newMapdraft/dataRelation/automaticoperate/route.vue b/src/views/newMap/newMapdraft/dataRelation/automaticoperate/route.vue index eee38d7ef..eacf6441d 100644 --- a/src/views/newMap/newMapdraft/dataRelation/automaticoperate/route.vue +++ b/src/views/newMap/newMapdraft/dataRelation/automaticoperate/route.vue @@ -103,7 +103,7 @@ export default { code: '', mapId: '', signalCode: '', - alwaysRed: true, + alwaysRed: false, sectionList: [], stationStandList: [] }, From 3101af994823ce5d74b700d03be8000bbd88a5fd Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Thu, 19 Dec 2019 18:04:28 +0800 Subject: [PATCH 03/17] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=BA=BF=E8=B7=AF?= =?UTF-8?q?=E7=9A=AE=E8=82=A4=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E8=81=94=E9=94=81=E7=AB=99=E5=8F=B0=E6=98=BE=E7=A4=BA=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/management/mapline.js | 42 + src/components/QueryListPage/DataForm.vue | 69 +- src/i18n/langs/en/router.js | 3 +- src/i18n/langs/zh/router.js | 3 +- src/jmapNew/config/deviceStyle.js | 3 +- src/jmapNew/config/skinCode/ningbo_01.js | 587 ++++++++ src/jmapNew/theme/factory.js | 3 +- .../ningbo_01/menus/dialog/alxeEffective.vue | 381 +++++ .../ningbo_01/menus/dialog/cancelAllLimit.vue | 371 +++++ .../childDialog/childDialog/noticeInfo.vue | 86 ++ .../dialog/childDialog/confirmControl.vue | 360 +++++ .../childDialog/confirmControlSpeed.vue | 153 +++ .../childDialog/confirmSignalUnlock.vue | 118 ++ .../menus/dialog/childDialog/confirmTip.vue | 68 + .../menus/dialog/childDialog/confirmTrain.vue | 178 +++ .../menus/dialog/childDialog/password.vue | 0 .../dialog/childDialog/passwordInputBox.vue | 206 +++ .../menus/dialog/childDialog/popupAlarm.vue | 99 ++ .../ningbo_01/menus/dialog/routeControl.vue | 363 +++++ .../ningbo_01/menus/dialog/routeDetail.vue | 140 ++ .../ningbo_01/menus/dialog/routeGuide.vue | 283 ++++ .../ningbo_01/menus/dialog/routeSelection.vue | 270 ++++ .../menus/dialog/sectionCmdControl.vue | 435 ++++++ .../ningbo_01/menus/dialog/sectionControl.vue | 215 +++ .../ningbo_01/menus/dialog/sectionDetail.vue | 115 ++ .../menus/dialog/speedCmdControl.vue | 902 ++++++++++++ .../ningbo_01/menus/dialog/standControl.vue | 621 +++++++++ .../ningbo_01/menus/dialog/standDetail.vue | 219 +++ .../menus/dialog/stationCmdControl.vue | 389 ++++++ .../menus/dialog/switchCmdControl.vue | 459 +++++++ .../ningbo_01/menus/dialog/switchControl.vue | 416 ++++++ src/jmapNew/theme/ningbo_01/menus/index.vue | 360 +++++ src/jmapNew/theme/ningbo_01/menus/menuBar.vue | 1220 +++++++++++++++++ .../theme/ningbo_01/menus/menuCancel.vue | 150 ++ .../childDialog/twoConfirmation.vue | 137 ++ .../menus/menuDialog/childDialog/userAdd.vue | 162 +++ .../menuDialog/childDialog/userDelete.vue | 144 ++ .../menus/menuDialog/childDialog/userEdit.vue | 178 +++ .../ningbo_01/menus/menuDialog/helpAbout.vue | 131 ++ .../ningbo_01/menus/menuDialog/limitSpeed.vue | 135 ++ .../ningbo_01/menus/menuDialog/manageUser.vue | 290 ++++ .../menus/menuDialog/passwordBox.vue | 221 +++ .../menus/menuDialog/setLimitSpeed.vue | 275 ++++ .../menuDialog/stationControlConvert.vue | 414 ++++++ .../ningbo_01/menus/menuDialog/trainAdd.vue | 162 +++ .../menus/menuDialog/trainDelete.vue | 149 ++ .../menus/menuDialog/trainTranstalet.vue | 152 ++ .../ningbo_01/menus/menuDialog/viewDevice.vue | 166 +++ .../ningbo_01/menus/menuDialog/viewName.vue | 248 ++++ .../menus/menuDialog/viewTrainId.vue | 183 +++ .../theme/ningbo_01/menus/menuLimit.vue | 118 ++ .../theme/ningbo_01/menus/menuSection.vue | 403 ++++++ .../theme/ningbo_01/menus/menuSignal.vue | 583 ++++++++ .../theme/ningbo_01/menus/menuStation.vue | 153 +++ .../ningbo_01/menus/menuStationControl.vue | 69 + .../ningbo_01/menus/menuStationStand.vue | 372 +++++ .../theme/ningbo_01/menus/menuSwitch.vue | 462 +++++++ .../theme/ningbo_01/menus/menuTool.vue | 205 +++ .../theme/ningbo_01/menus/menuTrain.vue | 42 + .../ningbo_01/menus/passiveDialog/alarm.vue | 210 +++ .../ningbo_01/menus/passiveDialog/control.vue | 285 ++++ .../ningbo_01/menus/passiveDialog/timeout.vue | 106 ++ .../theme/ningbo_01/menus/statusBar.vue | 31 + .../ningbo_01/menus/statusDownTrainDetail.vue | 31 + .../ningbo_01/menus/statusUpTrainDetail.vue | 31 + .../ningbo_01/menus/utils/menuItemStatus.js | 587 ++++++++ .../theme/ningbo_01/menusPlan/addTask.vue | 175 +++ .../menusPlan/chooseTemplatePlan.vue | 115 ++ .../menusPlan/components/dataTable.vue | 206 +++ .../ningbo_01/menusPlan/createTodayPlan.vue | 134 ++ .../ningbo_01/menusPlan/createWeekPlan.vue | 137 ++ .../theme/ningbo_01/menusPlan/deleteTask.vue | 73 + .../ningbo_01/menusPlan/deleteTodayPlan.vue | 62 + .../ningbo_01/menusPlan/managePlanList.vue | 143 ++ .../ningbo_01/menusPlan/modifyingPlan.vue | 177 +++ .../ningbo_01/menusPlan/modifyingTask.vue | 326 +++++ src/jmapNew/theme/ningbo_01/model.js | 63 + src/jmapNew/theme/ningbo_01/planConvert.js | 310 +++++ .../theme/ningbo_01/planSchedule/index.vue | 403 ++++++ .../theme/ningbo_01/planSchedule/menuBar.vue | 514 +++++++ .../theme/ningbo_01/planSchedule/menuTool.vue | 172 +++ .../theme/ningbo_01/planSchedule/schedule.vue | 482 +++++++ .../ningbo_01/planSchedule/statusBar.vue | 100 ++ .../theme/ningbo_01/planSchedule/titleBar.vue | 75 + src/router/index.js | 8 + src/scripts/GlobalPlugin.js | 2 +- src/views/jlmap/index.vue | 2 +- .../newMap/newMapdraft/dataRelation/index.vue | 7 + .../dataRelation/routeoperate/index.vue | 4 + .../dataRelation/routeoperate/route.vue | 12 +- src/views/newMap/newMapdraft/index.vue | 6 +- src/views/system/configLine/config.vue | 127 ++ src/views/system/configLine/edit.vue | 147 ++ src/views/system/configLine/editConfig.vue | 146 ++ src/views/system/configLine/index.vue | 134 ++ 95 files changed, 20368 insertions(+), 16 deletions(-) create mode 100644 src/jmapNew/config/skinCode/ningbo_01.js create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/alxeEffective.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/cancelAllLimit.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/childDialog/noticeInfo.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmControlSpeed.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmSignalUnlock.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmTip.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/confirmTrain.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/password.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/passwordInputBox.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/childDialog/popupAlarm.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/routeControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/routeDetail.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/routeGuide.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/routeSelection.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/sectionCmdControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/sectionControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/sectionDetail.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/speedCmdControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/standControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/standDetail.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/stationCmdControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/switchCmdControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/dialog/switchControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/index.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuBar.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuCancel.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/twoConfirmation.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userAdd.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userDelete.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/childDialog/userEdit.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/helpAbout.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/limitSpeed.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/manageUser.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/passwordBox.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/setLimitSpeed.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/stationControlConvert.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/trainAdd.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/trainDelete.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/trainTranstalet.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/viewDevice.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/viewName.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuDialog/viewTrainId.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuLimit.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuSection.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuSignal.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuStation.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuStationControl.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuStationStand.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuSwitch.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuTool.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/menuTrain.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/passiveDialog/alarm.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/passiveDialog/control.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/passiveDialog/timeout.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/statusBar.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/statusDownTrainDetail.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/statusUpTrainDetail.vue create mode 100644 src/jmapNew/theme/ningbo_01/menus/utils/menuItemStatus.js create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/addTask.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/chooseTemplatePlan.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/components/dataTable.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/createTodayPlan.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/createWeekPlan.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/deleteTask.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/deleteTodayPlan.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/managePlanList.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/modifyingPlan.vue create mode 100644 src/jmapNew/theme/ningbo_01/menusPlan/modifyingTask.vue create mode 100644 src/jmapNew/theme/ningbo_01/model.js create mode 100644 src/jmapNew/theme/ningbo_01/planConvert.js create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/index.vue create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/menuBar.vue create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/menuTool.vue create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/schedule.vue create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/statusBar.vue create mode 100644 src/jmapNew/theme/ningbo_01/planSchedule/titleBar.vue create mode 100644 src/views/system/configLine/config.vue create mode 100644 src/views/system/configLine/edit.vue create mode 100644 src/views/system/configLine/editConfig.vue create mode 100644 src/views/system/configLine/index.vue diff --git a/src/api/management/mapline.js b/src/api/management/mapline.js index 345914d09..a157095e6 100644 --- a/src/api/management/mapline.js +++ b/src/api/management/mapline.js @@ -43,6 +43,48 @@ export function updateSkinCode(data) { }); } +// 根据code获取线路配置 +export function getRealLineConfigList(lineCode) { + return request({ + url: `/api/realLine/config?lineCode=${lineCode}`, + method: 'get' + }); +} + +// 根据id获取线路配置 +export function getRealLineConfig(id) { + return request({ + url: `/api/realLine/config/${id}`, + method: 'get' + }); +} + +// 根据id修改线路配置 +export function putRealLineConfig(data) { + return request({ + url: `/api/realLine/config/${data.id}`, + method: 'put', + data: data + }); +} + +// 创建线路配置 +export function postRealLineConfig(data) { + return request({ + url: `/api/realLine/config`, + method: 'post', + data: data + }); +} + +// 删除线路配置 +export function delRealLineConfig(id) { + return request({ + url: `/api/realLine/config/${id}`, + method: 'delete' + }); +} + /** 通过皮肤Code更新地图皮肤*/ export function updateSkinCodeByCode(data) { return request({ diff --git a/src/components/QueryListPage/DataForm.vue b/src/components/QueryListPage/DataForm.vue index c23734a1b..9d1ef4c04 100644 --- a/src/components/QueryListPage/DataForm.vue +++ b/src/components/QueryListPage/DataForm.vue @@ -58,6 +58,7 @@ :disabled="item.disabled" :min="isNaN(item.min) ? -Infinity : item.min" :max="isNaN(item.max)? Infinity : item.max" + :step="isNaN(item.step) ? -Infinity : item.step" /> -