diff --git a/src/assets/AlarmSoundUrgent.wav b/src/assets/AlarmSoundUrgent.wav
new file mode 100644
index 000000000..9327a8f9a
Binary files /dev/null and b/src/assets/AlarmSoundUrgent.wav differ
diff --git a/src/assets/icon/favicon_bjd.png b/src/assets/icon/favicon_bjd.png
index b2d5e932d..935c38c76 100644
Binary files a/src/assets/icon/favicon_bjd.png and b/src/assets/icon/favicon_bjd.png differ
diff --git a/src/assets/icon/link_bjd.png b/src/assets/icon/link_bjd.png
new file mode 100644
index 000000000..68e2801bd
Binary files /dev/null and b/src/assets/icon/link_bjd.png differ
diff --git a/src/iscs/shape/button.js b/src/iscs/shape/button.js
index 000eb663a..e18fd1896 100644
--- a/src/iscs/shape/button.js
+++ b/src/iscs/shape/button.js
@@ -152,6 +152,9 @@ export default class Button extends Group {
this.on('mouseout', (e) => { this.buttonText && this.buttonText.setStyle({textFill: model.textColor || '#FFF'}); });
this.on('mouseover', (e) => { this.buttonText && this.buttonText.setStyle({textFill: model.textColorActive || '#000'}); });
}
+ setState(model) {
+ this.textButtonRect.setStyle('fill', model.backgroundColor);
+ }
setModel(dx, dy) {
this.model.point.x += dx;
this.model.point.y += dy;
diff --git a/src/iscs/shape/line.js b/src/iscs/shape/line.js
index 7a84b3b90..e4e19e6fe 100644
--- a/src/iscs/shape/line.js
+++ b/src/iscs/shape/line.js
@@ -137,6 +137,9 @@ export default class line extends Group {
this.grouper.add(this.iscsLine);
this.add(this.grouper);
}
+ setState(model) {
+ this.iscsLine.setStyle('stroke', model.strokeColor);
+ }
setModel(dx, dy) {
this.model.points.forEach(item => {
item.x += dx;
diff --git a/src/jmapNew/config/skinCode/bejing_01.js b/src/jmapNew/config/skinCode/bejing_01.js
index 7020047f3..9a699baa8 100644
--- a/src/jmapNew/config/skinCode/bejing_01.js
+++ b/src/jmapNew/config/skinCode/bejing_01.js
@@ -270,8 +270,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080',
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/chengdu_01.js b/src/jmapNew/config/skinCode/chengdu_01.js
index e628cb1dd..aabdf1139 100644
--- a/src/jmapNew/config/skinCode/chengdu_01.js
+++ b/src/jmapNew/config/skinCode/chengdu_01.js
@@ -407,8 +407,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/chengdu_03.js b/src/jmapNew/config/skinCode/chengdu_03.js
index e0f8d37e6..e19e18cff 100644
--- a/src/jmapNew/config/skinCode/chengdu_03.js
+++ b/src/jmapNew/config/skinCode/chengdu_03.js
@@ -208,8 +208,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/foshan_01.js b/src/jmapNew/config/skinCode/foshan_01.js
index e8b94c833..8aed3e042 100644
--- a/src/jmapNew/config/skinCode/foshan_01.js
+++ b/src/jmapNew/config/skinCode/foshan_01.js
@@ -424,8 +424,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/fuzhou_01.js b/src/jmapNew/config/skinCode/fuzhou_01.js
index a4c9e1311..707fcedcf 100644
--- a/src/jmapNew/config/skinCode/fuzhou_01.js
+++ b/src/jmapNew/config/skinCode/fuzhou_01.js
@@ -464,8 +464,9 @@ class SkinCode extends defaultStyle {
};
// 供电线路
this[deviceType.Power] = {
- strokeColor: 'red', // 线条颜色
- extendLength: 8 // 延伸长度
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
+ extendLength: 10 // 延伸长度
};
// 延续保护计时
diff --git a/src/jmapNew/config/skinCode/haerbin_01.js b/src/jmapNew/config/skinCode/haerbin_01.js
index 258e96671..deeef91c9 100644
--- a/src/jmapNew/config/skinCode/haerbin_01.js
+++ b/src/jmapNew/config/skinCode/haerbin_01.js
@@ -448,8 +448,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
// 延续保护计时
diff --git a/src/jmapNew/config/skinCode/ningbo_01.js b/src/jmapNew/config/skinCode/ningbo_01.js
index f31865164..545004532 100644
--- a/src/jmapNew/config/skinCode/ningbo_01.js
+++ b/src/jmapNew/config/skinCode/ningbo_01.js
@@ -472,8 +472,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/ningbo_03.js b/src/jmapNew/config/skinCode/ningbo_03.js
index 7cc2e3bc6..ac71be77f 100644
--- a/src/jmapNew/config/skinCode/ningbo_03.js
+++ b/src/jmapNew/config/skinCode/ningbo_03.js
@@ -527,8 +527,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/race_01.js b/src/jmapNew/config/skinCode/race_01.js
index b03a1a6d8..21919afe6 100644
--- a/src/jmapNew/config/skinCode/race_01.js
+++ b/src/jmapNew/config/skinCode/race_01.js
@@ -282,8 +282,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/xian_01.js b/src/jmapNew/config/skinCode/xian_01.js
index 0cebb94a4..39f4aa916 100644
--- a/src/jmapNew/config/skinCode/xian_01.js
+++ b/src/jmapNew/config/skinCode/xian_01.js
@@ -440,8 +440,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/config/skinCode/xian_02.js b/src/jmapNew/config/skinCode/xian_02.js
index 56be9107e..97b63f7cc 100644
--- a/src/jmapNew/config/skinCode/xian_02.js
+++ b/src/jmapNew/config/skinCode/xian_02.js
@@ -564,8 +564,8 @@ class SkinCode extends defaultStyle {
// 供电线路
this[deviceType.Power] = {
- lineColor: '#FFFFFF', // 线条颜色
- strokeColor: 'red', // 线条颜色
+ noElectricStrokeColor:'#808080', // 无电颜色
+ defaultStrokeColor: '#F00', // 线条颜色
extendLength: 10 // 延伸长度
};
diff --git a/src/jmapNew/shape/Power/index.js b/src/jmapNew/shape/Power/index.js
index bf4b0114e..ea2d54f65 100644
--- a/src/jmapNew/shape/Power/index.js
+++ b/src/jmapNew/shape/Power/index.js
@@ -41,7 +41,7 @@ export default class Line2 extends Group {
},
style: {
lineWidth: model.width,
- stroke: style.Power.strokeColor
+ stroke: style.Power.defaultStrokeColor
}
});
this.add(this.line);
@@ -59,7 +59,7 @@ export default class Line2 extends Group {
z: this.z + 3,
traingle: traingle,
width: model.width,
- stroke: style.Power.strokeColor,
+ stroke: style.Power.noElectricStrokeColor,
point: {
x: model.points[0].x,
y: model.points[0].y
@@ -75,7 +75,7 @@ export default class Line2 extends Group {
z: this.z + 3,
traingle: traingle,
width: model.width,
- stroke: style.Power.strokeColor,
+ stroke: style.Power.noElectricStrokeColor,
point: {
x: model.points[model.points.length - 1].x,
y: model.points[model.points.length - 1].y
@@ -109,11 +109,22 @@ export default class Line2 extends Group {
break;
}
}
+ setCharged() {
+ // noElectricStrokeColor
+ this.line.setStyle('stroke', this.style.Power.defaultStrokeColor);
+ }
setState(model) {
if (!this.isShowShape) return;
+ this.recover();
this.setLineType(model.type);
+ model.on && this.setCharged();
}
+
+ recover() {
+ this.line.setStyle('stroke', this.style.Power.noElectricStrokeColor);
+ }
+
// 设置显示模式
setShowMode() {
const showMode = this.model.showMode;
diff --git a/src/router/index_Common.js b/src/router/index_Common.js
index 6114aa638..05bf07043 100644
--- a/src/router/index_Common.js
+++ b/src/router/index_Common.js
@@ -129,6 +129,7 @@ const Approval = () => import('@/views/approval/index');
const CompanyManage = () => import('@/views/system/companyManage/index');
const QuestionsRuleManage = () => import('@/views/system/questionsRuleManage/index');
const PreTheoryImport = () => import('@/views/competitionManage/bankList/preImport');
+const PlanScheduleWicket = () => import('@/views/newMap/displayNew/demon/planSchedule');
import { GenerateRouteProjectList } from '@/scripts/ProjectConfig';
// import { getSessionStorage } from '@/utils/auth';
@@ -368,6 +369,11 @@ export const publicAsyncRoute = [
path: '/device/result/:userExamId',
component: ExamResult,
hidden: true
+ },
+ {// 运行图预览
+ path: '/planSchedule/window',
+ component: PlanScheduleWicket,
+ hidden: true
}
];
// 城市轨道项目
diff --git a/src/scripts/ProjectConfig.js b/src/scripts/ProjectConfig.js
index b2ee27436..5c44e5b17 100644
--- a/src/scripts/ProjectConfig.js
+++ b/src/scripts/ProjectConfig.js
@@ -16,6 +16,7 @@ import FaviconBjd from '@/assets/icon/favicon_bjd.png';
import Link_Bxkc from '@/assets/icon/link_bxkc.png';
import Link_Crsc from '@/assets/icon/link_crsc.png';
import Link_Hls from '@/assets/icon/link_hls.png';
+import Link_Bjd from '@/assets/icon/link_bjd.png';
// title:页面title; loginPath:退出登录跳转路径; loginParam:登录接口参数project;loginTitle:登录页左上角title;logoWidth:登录页左上角logo宽度;
// homeTitle:导航栏title(没有采用title); browserTitle:浏览器窗口title;bottomColumn:底部栏描述;bottomIcon:底部栏Icon;linkIcon:浏览器窗口icon(没有采用ProjectIcon)
@@ -37,7 +38,7 @@ export const loginInfo = {
bottomIcon: FaviconBjd,
bottomColumn: '',
loginTitle: '空串',
- linkIcon: FaviconBjd,
+ linkIcon: Link_Bjd,
loginParam: 'BJD',
navigationLogoWidth: '160px',
navigationMarginLeft: '175px',
@@ -395,7 +396,9 @@ export const ProjectCode = {
drts: 'DRTS',
designdrts: 'DRTS',
nty: 'NTY',
- designnty: 'NTY'
+ designnty: 'NTY',
+ bjd: 'BJD',
+ designbjd: 'BJD'
};
export const BottomColumnOnlyConInfo = ['heb', 'designheb', 'jyd', 'designjyd', 'tky', 'designtky', 'bxkc', 'designbxkc', 'crsc', 'designcrsc', 'hls', 'designhls', 'hyd', 'designhyd']; // 底部栏仅展示公司信息不展示备案号
export const GetMapListByProjectList = ['xty', 'designxty', 'gzb', 'designgzb', 'xadt', 'designxadt', 'heb', 'designheb', 'designdrts', 'drts', 'nty', 'designnty']; // 实训设计平台通过项目code获取地图列表的项目
@@ -429,7 +432,9 @@ export const goOtherPlatformMenu = { // 导航栏快速切换平台
hyd: '/design/login?project=hyd',
designhyd: '/login?project=hyd',
nty: '/design/login?project=nty',
- designnty: '/login?project=nty'
+ designnty: '/login?project=nty',
+ bjd: '/design/login?project=bjd',
+ designbjd: '/login?project=bjd'
};
export const ProjectList = [
{value:'xty', label:'西铁院'},
@@ -437,5 +442,6 @@ export const ProjectList = [
{value: 'xadt', label: '西安地铁'},
{value: 'heb', label: '哈尔滨'},
{value: 'drts', label: '调度大赛'},
- {value: 'nty', label: '南铁院'}
+ {value: 'nty', label: '南铁院'},
+ {value: 'bjd', label: '北交大'}
];
diff --git a/src/store/modules/iscs.js b/src/store/modules/iscs.js
index b26e74f82..93e2d9b26 100644
--- a/src/store/modules/iscs.js
+++ b/src/store/modules/iscs.js
@@ -11,6 +11,8 @@ const iscs = {
rightClickCount: 0, // 右键点击设备
selected: '', // 左键选中设备
selectedCount: 0, // 左键选中
+ closeMusicNum: 0, // 关闭音乐标识
+ faultList: [], // 故障 元素状态
incidentList: [], // 事件列表
alarmList: [] // 报警列表
},
@@ -173,6 +175,12 @@ const iscs = {
},
setAddIncidentList: (state, device) => {
state.incidentList.unshift(device);
+ },
+ setFaultList: (state, list) => {
+ state.faultList = list;
+ },
+ setCloseMusic: (state, num) => {
+ state.closeMusicNum = num;
}
},
diff --git a/src/utils/baseUrl.js b/src/utils/baseUrl.js
index 408bf264a..89ce9ee58 100644
--- a/src/utils/baseUrl.js
+++ b/src/utils/baseUrl.js
@@ -4,7 +4,7 @@ export function getBaseUrl() {
// BASE_API = 'https://joylink.club/jlcloud';
BASE_API = 'https://test.joylink.club/jlcloud';
// BASE_API = 'http://192.168.8.107:9000'; // 袁琪
- // BASE_API = 'http://192.168.8.144:9000'; // 旭强
+ // BASE_API = 'http://192.168.8.114:9000'; // 旭强
// BASE_API = 'http://192.168.3.175:9000'; // 张赛
// BASE_API = 'http://192.168.8.110:9000'; // 杜康
// BASE_API = 'http://b29z135112.zicp.vip';
diff --git a/src/views/iscs/iscsDesign/demonList.vue b/src/views/iscs/iscsDesign/demonList.vue
index f1344c0d6..ad7d37808 100644
--- a/src/views/iscs/iscsDesign/demonList.vue
+++ b/src/views/iscs/iscsDesign/demonList.vue
@@ -89,7 +89,27 @@ export default {
name: '牵引降压混合变电所主接线图',
mode: 'powerMonitoring02',
id: 'combined',
- type: 'interface'
+ type: 'system',
+ children: [
+ {
+ name: '象峰站牵引降压混合变电所主接线图',
+ mode: 'powerMonitoring02',
+ id: 'combined01',
+ type: 'interface'
+ },
+ {
+ name: '罗汉山牵引降压混合变电所主接线图',
+ mode: 'powerMonitoring02',
+ id: 'combined02',
+ type: 'interface'
+ },
+ {
+ name: '树兜站牵引降压混合变电所主接线图',
+ mode: 'powerMonitoring02',
+ id: 'combined03',
+ type: 'interface'
+ }
+ ]
},
{
name: '停车场接触网图',
diff --git a/src/views/iscs/iscsDraw/group/tab-template.vue b/src/views/iscs/iscsDraw/group/tab-template.vue
index 0f2527af6..0db62438e 100644
--- a/src/views/iscs/iscsDraw/group/tab-template.vue
+++ b/src/views/iscs/iscsDraw/group/tab-template.vue
@@ -32,6 +32,9 @@