Squashed commit of the following:
All checks were successful
local-test分支构建发布 / Docker-Build (push) Successful in 1m55s
All checks were successful
local-test分支构建发布 / Docker-Build (push) Successful in 1m55s
commitae81b3f4f8
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Mon Nov 4 10:49:37 2024 +0800 新建决策信息调整 commit586e920216
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Fri Nov 1 11:23:40 2024 +0800 应急触发 commit25b89e8d34
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Fri Nov 1 09:46:21 2024 +0800 增加设备类型 commit3fc1f4deb7
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Fri Nov 1 09:25:39 2024 +0800 故障测试加应急触发 commitd75c48a011
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Thu Oct 31 17:27:00 2024 +0800 应急触发 commit26f8581f55
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Thu Oct 31 16:20:21 2024 +0800 增加应急触发 commitf0495153e6
Author: joylink_zhaoerwei <Bob_Engineer@163.com> Date: Wed Oct 30 13:45:15 2024 +0800 计轴配置
This commit is contained in:
parent
5181c897e7
commit
a04ca22f4f
@ -23,6 +23,7 @@ export enum showAlertTypeData {
|
||||
'联锁区橙光带',
|
||||
'联锁区失表',
|
||||
'一级联锁',
|
||||
'应急触发',
|
||||
I = 'I类信息',
|
||||
II = 'II类信息',
|
||||
III = 'III类信息',
|
||||
|
@ -103,6 +103,7 @@ const optionsAlertType = [
|
||||
'计轴橙光带',
|
||||
'计轴大面积橙光带',
|
||||
'列车信号故障',
|
||||
'应急触发',
|
||||
];
|
||||
const mapAlertType = new Map([
|
||||
['蓝显', ['station']],
|
||||
@ -115,6 +116,7 @@ const mapAlertType = new Map([
|
||||
['计轴橙光带', ['Section']],
|
||||
['计轴大面积橙光带', ['Section']],
|
||||
['列车信号故障', ['LogicSection', 'Turnout']],
|
||||
['应急触发', ['Platform']],
|
||||
]);
|
||||
let selectGraphic: JlGraphic[] = [];
|
||||
|
||||
|
@ -158,6 +158,7 @@ const optionsAlertType = [
|
||||
'计轴红光带',
|
||||
'计轴橙光带',
|
||||
'列车信号故障',
|
||||
'应急触发',
|
||||
];
|
||||
const mapAlertType = new Map([
|
||||
['蓝显', ['station']],
|
||||
@ -165,11 +166,13 @@ const mapAlertType = new Map([
|
||||
['计轴红光带', ['LogicSection', 'Turnout']],
|
||||
['计轴橙光带', ['LogicSection', 'Turnout']],
|
||||
['列车信号故障', ['LogicSection', 'Turnout']],
|
||||
['应急触发', ['Platform']],
|
||||
]);
|
||||
enum DeviceType {
|
||||
station = 'DEVICE_TYPE_RTU',
|
||||
Turnout = 'DEVICE_TYPE_SWITCH',
|
||||
LogicSection = 'DEVICE_TYPE_TRACK',
|
||||
Platform = 'DEVICE_TYPE_PLATFORM',
|
||||
}
|
||||
const optionsStatus = [
|
||||
{ label: '正常', value: 'NORMAL' },
|
||||
|
@ -411,6 +411,7 @@ const optionsAlertType = [
|
||||
'联锁区红光带',
|
||||
'联锁区橙光带',
|
||||
'联锁区失表',
|
||||
'应急触发',
|
||||
];
|
||||
const searchOptionsAlertType = ['全部', ...optionsAlertType];
|
||||
let optionsLocationType = ref<string[]>([]);
|
||||
@ -418,7 +419,7 @@ let optionsLocationList: AreaConfigItem[] = [];
|
||||
async function searchLocationType() {
|
||||
try {
|
||||
const alertType = (saveAlertTypeData as never)[creatForm.alertType];
|
||||
optionsLocationList = await getDeviceAreaByAlarmType(3, alertType);
|
||||
optionsLocationList = await getDeviceAreaByAlarmType(+creatForm.lineId, alertType);
|
||||
optionsLocationType.value = optionsLocationList.map(
|
||||
(item) => item.areaName
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user