From 3dcf6edde05aef3f58cdbfd13efc6037f85c9a7d Mon Sep 17 00:00:00 2001 From: fan <18706759286@163.com> Date: Wed, 28 Oct 2020 16:32:45 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=9B=BD=E8=B5=9B=E7=9A=AE=E8=82=A4?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/Section/ETextName.js | 2 +- src/jmapNew/shape/Signal/index.js | 4 ++ .../theme/haerbin_01/menus/menuButton.vue | 4 +- .../haerbin_01/menus/menuDialog/alarm.vue | 44 ------------- .../menus/menuDialog/alarmTable.vue | 61 +++++++++++++++++++ src/utils/baseUrl.js | 4 +- 6 files changed, 71 insertions(+), 48 deletions(-) delete mode 100644 src/jmapNew/theme/haerbin_01/menus/menuDialog/alarm.vue create mode 100644 src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTable.vue diff --git a/src/jmapNew/shape/Section/ETextName.js b/src/jmapNew/shape/Section/ETextName.js index 87d10f131..06523e0ab 100644 --- a/src/jmapNew/shape/Section/ETextName.js +++ b/src/jmapNew/shape/Section/ETextName.js @@ -126,7 +126,7 @@ class ETextName extends Group { fontSize: styleModel.fontSize, fontFamily: styleModel.fontFamily || this.model.style.fontFamily, text: styleName, - textFill: model.approach ? styleModel.approachColor : styleModel.fontColor, + textFill: model.approach && this.model.type === 'name' ? styleModel.approachColor : styleModel.fontColor, textAlign: styleModel.textAlign, textPosition: styleModel.textPosition || 'inside', textVerticalAlign: styleModel.textVerticalAlign || null diff --git a/src/jmapNew/shape/Signal/index.js b/src/jmapNew/shape/Signal/index.js index 8ce875cd5..6c852fe24 100644 --- a/src/jmapNew/shape/Signal/index.js +++ b/src/jmapNew/shape/Signal/index.js @@ -371,6 +371,10 @@ class Signal extends Group { } else { this.lamps[0].setColor(this.style.Signal.lamp.redColor); } + } else if (this.count == 3) { + this.lamps[0] && this.lamps[0].setColor(this.style.Signal.lamp.redColor); + this.lamps[1] && this.lamps[1].setColor(this.style.backgroundColor); + this.lamps[2] && this.lamps[2].setColor(this.style.backgroundColor); } } } diff --git a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue index 4c499bd83..f9028246b 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue @@ -58,9 +58,11 @@ import NoticeInfo from '@/jmapNew/theme/components/menus/childDialog/noticeInfo' import CMD from '@/scripts/cmdPlugin/CommandEnum'; import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler'; import { TrainingMode } from '@/scripts/ConstDic'; +import AlarmTable from './menuDialog/alarmTable'; export default { components: { - NoticeInfo + NoticeInfo, + AlarmTable }, props: { selected: { diff --git a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarm.vue b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarm.vue deleted file mode 100644 index 09fdf1452..000000000 --- a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarm.vue +++ /dev/null @@ -1,44 +0,0 @@ - - - - - diff --git a/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTable.vue b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTable.vue new file mode 100644 index 000000000..ea9f48b47 --- /dev/null +++ b/src/jmapNew/theme/haerbin_01/menus/menuDialog/alarmTable.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js index e459aa552..1628a46bf 100644 --- a/src/utils/baseUrl.js +++ b/src/utils/baseUrl.js @@ -2,8 +2,8 @@ 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 = 'http://192.168.8.107:9000'; // 袁琪 + BASE_API = 'https://test.joylink.club/jlcloud'; + // BASE_API = 'http://192.168.8.107:9000'; // 袁琪 // BASE_API = 'http://192.168.3.5:9000'; // 袁琪 // BASE_API = 'http://192.168.8.144:9000'; // 旭强 // BASE_API = 'http://192.168.3.175:9000'; // 张赛 From 57c5862ab0ac7e5f27d77bddbc30d983dd520092 Mon Sep 17 00:00:00 2001 From: lVAL Date: Wed, 28 Oct 2020 17:43:44 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E5=A2=9E=E5=8A=A0AUSTool=20=E5=8F=AA?= =?UTF-8?q?=E8=AF=BB=E5=92=8C=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E6=93=8D?= =?UTF-8?q?=E4=BD=9CBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/rpTools.js | 16 ++++++ .../planMonitor/editToolAUS/line/index.vue | 2 +- .../planMonitor/editToolAUS/line/modify.vue | 2 +- .../tool/dialog/planJustRunning.vue | 2 +- .../editToolAUS/tool/dialog/planJustStop.vue | 2 +- .../tool/dialog/planJustTurnback.vue | 2 +- .../editToolAUS/tool/dialog/planSetParams.vue | 14 ++--- .../planMonitor/editToolAUS/tool/index.vue | 55 ++++++++++++++++++- .../planMonitor/editToolAUS/tool/list.vue | 3 + .../planMonitor/editToolAUS/tool/monitor.js | 3 +- .../planMonitor/editToolAUS/tool/schedule.vue | 7 ++- src/views/planMonitor/editToolAUS/utils.js | 18 ++++++ 12 files changed, 108 insertions(+), 18 deletions(-) diff --git a/src/api/rpTools.js b/src/api/rpTools.js index 49e080d99..5b303aeb7 100644 --- a/src/api/rpTools.js +++ b/src/api/rpTools.js @@ -179,3 +179,19 @@ export function justTripTurnBack(planId, tripNo, data) { data }); } + +/** 开始编辑*/ +export function startRpEdit(planId) { + return request({ + url: `/api/rpTools/${planId}/edit`, + method: 'put' + }) +} + +/** 开始编辑*/ +export function endRpEdit(planId) { + return request({ + url: `/api/rpTools/${planId}/endEdit`, + method: 'put' + }) +} diff --git a/src/views/planMonitor/editToolAUS/line/index.vue b/src/views/planMonitor/editToolAUS/line/index.vue index 58bc8b2bd..7b7b75d3c 100644 --- a/src/views/planMonitor/editToolAUS/line/index.vue +++ b/src/views/planMonitor/editToolAUS/line/index.vue @@ -129,7 +129,7 @@ export default { height: calc(100% - 10px); /deep/ { .el-card__body { - height: 100%; + height: calc(100% - 50px); overflow-y: auto; &::-webkit-scrollbar { diff --git a/src/views/planMonitor/editToolAUS/line/modify.vue b/src/views/planMonitor/editToolAUS/line/modify.vue index ae3e4bd19..bf30f03b3 100644 --- a/src/views/planMonitor/editToolAUS/line/modify.vue +++ b/src/views/planMonitor/editToolAUS/line/modify.vue @@ -1,6 +1,6 @@