From 72db8b3e94d11a33ecfbd02b2a379074c6f3e16e Mon Sep 17 00:00:00 2001
From: fan <18706759286@163.com>
Date: Tue, 29 Dec 2020 11:04:01 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E7=B4=A7=E6=80=A5=E5=81=9C=E8=BD=A6?=
=?UTF-8?q?=E7=8A=B6=E6=80=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/jmapNew/config/skinCode/chengdu_01.js | 1 +
src/jmapNew/config/skinCode/chengdu_03.js | 4 ++--
.../shape/StationStand/emergent/EEmergentRhombus.js | 7 +++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/jmapNew/config/skinCode/chengdu_01.js b/src/jmapNew/config/skinCode/chengdu_01.js
index f6d7a6d0b..0c7368295 100644
--- a/src/jmapNew/config/skinCode/chengdu_01.js
+++ b/src/jmapNew/config/skinCode/chengdu_01.js
@@ -234,6 +234,7 @@ class SkinCode extends defaultStyle {
// 站台紧急关闭
emergentRhombus:{
z:1,
+ flicker: true, // 闪烁
mergentR: 4, // 站台紧急关闭半径
mergentN: 4, // 站台紧急关闭边数
insideOffset: { x: 0, y: 25 }, // 内站台紧急关闭偏移量
diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js
index 620d40196..5cc88ccfd 100644
--- a/src/jmapNew/config/skinCode/chengdu_03.js
+++ b/src/jmapNew/config/skinCode/chengdu_03.js
@@ -264,8 +264,8 @@ class SkinCode extends defaultStyle {
flicker: true, // 闪烁
mergentR: 5, // 站台紧急关闭半径
mergentN: 4, // 站台紧急关闭边数
- insideOffset: { x: 0, y: 30 }, // 内站台紧急关闭偏移量
- outsideOffset: { x: 0, y: -30}, // 外站台紧急关闭偏移量
+ insideOffset: { x: 0, y: -30 }, // 内站台紧急关闭偏移量
+ outsideOffset: { x: 0, y: 30}, // 外站台紧急关闭偏移量
closeColor: '#F61107' // 站台紧急关闭颜色
},
// 扣车元素 普通扣车
diff --git a/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js b/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js
index d3934e729..536dd3d4e 100644
--- a/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js
+++ b/src/jmapNew/shape/StationStand/emergent/EEmergentRhombus.js
@@ -57,10 +57,9 @@ class EEmergentRhombus extends Group {
this.create();
this.emergent.show();
if (this.model.style.StationStand.emergentRhombus.flicker) {
- this.emergent.getElement().animateStyle(true)
- .when(0, { fill: this.style.backgroundColor })
- .when(1000, { fill: this.style.StationStand.emergentRhombus.closeColor })
- .when(2000, { fill: this.style.backgroundColor })
+ this.emergent.animateStyle(true)
+ .when(0, { fill: this.model.style.backgroundColor })
+ .when(1000, { fill: this.model.style.StationStand.emergentRhombus.closeColor })
.start();
}
}
From 637e76683736eee6edcd5df8b8ac0d1e05b72067 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 29 Dec 2020 15:20:01 +0800
Subject: [PATCH 2/5] =?UTF-8?q?iscs=20=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=20=E6=B7=BB=E5=8A=A0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/iscs.js | 26 ++++++++++++++++++++++++++
src/i18n/langs/en/router.js | 3 ++-
src/i18n/langs/zh/router.js | 3 ++-
src/router/index_Common.js | 8 ++++++++
4 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/src/api/iscs.js b/src/api/iscs.js
index 2de26bfd3..0f15a31b9 100644
--- a/src/api/iscs.js
+++ b/src/api/iscs.js
@@ -15,3 +15,29 @@ export function getIscsData(params) {
params
});
}
+
+// 分页获取ISCS数据
+export function getIscsDataByPage(params) {
+ return request({
+ url: '/api/v1/iscs/pagedQuery',
+ method: 'get',
+ params
+ });
+}
+
+// 复制iscs数据
+export function copyIscsData(data) {
+ return request({
+ url: '/api/v1/iscs/copy',
+ method: 'post',
+ data
+ });
+}
+
+// 删除iscs数据绘图数据(发布的)
+export function deleteIscs(id) {
+ return request({
+ url: `/api/v1/iscs/${id}`,
+ method: 'delete'
+ });
+}
diff --git a/src/i18n/langs/en/router.js b/src/i18n/langs/en/router.js
index 542b1d872..774c025aa 100644
--- a/src/i18n/langs/en/router.js
+++ b/src/i18n/langs/en/router.js
@@ -88,5 +88,6 @@ export default {
questionsRuleManage: 'Question rule manage',
preTheoryData: 'Pre Theory Data',
boardManage: 'Message Board Manage',
- publishIBPManage:'publish IBP Manage'
+ publishIBPManage:'publish IBP Manage',
+ publishISCSManage:'publish ISCS Manage'
};
diff --git a/src/i18n/langs/zh/router.js b/src/i18n/langs/zh/router.js
index 4b0964ce8..96ece23b7 100644
--- a/src/i18n/langs/zh/router.js
+++ b/src/i18n/langs/zh/router.js
@@ -93,5 +93,6 @@ export default {
questionsRuleManage: '出题规则管理',
preTheoryData: '理论导入预处理',
boardManage: '留言板管理',
- publishIBPManage:'发布IBP盘管理'
+ publishIBPManage:'发布IBP盘管理',
+ publishISCSManage:'发布ISCS管理'
};
diff --git a/src/router/index_Common.js b/src/router/index_Common.js
index 84d337e8f..bf494bd87 100644
--- a/src/router/index_Common.js
+++ b/src/router/index_Common.js
@@ -108,6 +108,7 @@ const RunplanView = () => import('@/views/publish/runPlanEveryDay/runPlanView');
const PublishExamRule = () => import('@/views/publish/examRule/index');
const PublishExamRuleDraft = () => import('@/views/publish/examRule/draft/index');
const PublishIBP = () => import('@/views/publish/publishIBP/index');
+const PublishISCS = () => import('@/views/publish/publishISCS/index');
const TrainingPlatform = () => import('@/views/trainingPlatform/index');
@@ -673,6 +674,13 @@ export const asyncRouter = [
meta: {
i18n: 'router.publishIBPManage'
}
+ },
+ { // 发布ibp盘
+ path: 'iscs',
+ component: PublishISCS,
+ meta: {
+ i18n: 'router.publishISCSManage'
+ }
}
]
},
From 575895afe19025a24f55fbf1a69a4a48d5ab7ef6 Mon Sep 17 00:00:00 2001
From: joylink_cuiweidong <364937672@qq.com>
Date: Tue, 29 Dec 2020 15:53:20 +0800
Subject: [PATCH 3/5] =?UTF-8?q?ISCS=20=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../iscs/iscsSystem/config/canvas/iscsCanvas.vue | 3 ++-
src/views/iscs/iscsSystem/index.vue | 3 ++-
.../stationConfig/environment/index.vue | 3 ++-
.../stationConfig/powerMonitor/substation.vue | 3 ++-
.../iscsSystem/stationConfig/psdSystem/index.vue | 3 ++-
src/views/iscs/iscsSystem/stationNav.vue | 16 ++++++++++++----
src/views/iscsSystem/index.vue | 3 ++-
7 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/src/views/iscs/iscsSystem/config/canvas/iscsCanvas.vue b/src/views/iscs/iscsSystem/config/canvas/iscsCanvas.vue
index a59c34312..0070088bb 100644
--- a/src/views/iscs/iscsSystem/config/canvas/iscsCanvas.vue
+++ b/src/views/iscs/iscsSystem/config/canvas/iscsCanvas.vue
@@ -80,7 +80,8 @@ export default {
methods: {
async getDetail(mode, system, part) {
const params = {
- lineCode: this.$route.query.lineCode,
+ // lineCode: this.$route.query.lineCode,
+ mapId:this.$route.query.mapId,
totalSystem: mode,
system: system,
userInterface : part
diff --git a/src/views/iscs/iscsSystem/index.vue b/src/views/iscs/iscsSystem/index.vue
index bbc491cc4..f6a971c79 100644
--- a/src/views/iscs/iscsSystem/index.vue
+++ b/src/views/iscs/iscsSystem/index.vue
@@ -8,7 +8,8 @@