From 3569a90a9a4b31e6b3a690fdb60fd615e36f6f71 Mon Sep 17 00:00:00 2001 From: dong <58670809@qq.com> Date: Tue, 7 Feb 2023 18:27:16 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E8=96=84=E5=86=8C--=E9=98=B2=E6=B4=AA?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E4=B8=8A=E5=B2=97=E7=AD=BE=E5=88=B0=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/cmdPlugin/OperationHandler.js | 218 +++++++++- .../terminals/abnormalTrain/controlTable.vue | 41 +- .../display/terminals/abnormalTrain/index.vue | 19 +- .../terminals/floodControlSafetyTable.vue | 15 - .../floodControlSafetyTable/controlTable.vue | 376 ++++++++++++++++++ .../floodControlSafetyTable/index.vue | 110 +++++ .../newMap/display/terminals/registerBook.vue | 2 +- 7 files changed, 727 insertions(+), 54 deletions(-) delete mode 100644 src/views/newMap/display/terminals/floodControlSafetyTable.vue create mode 100644 src/views/newMap/display/terminals/floodControlSafetyTable/controlTable.vue create mode 100644 src/views/newMap/display/terminals/floodControlSafetyTable/index.vue diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js index c21485623..dd81f4901 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -4655,40 +4655,242 @@ export const OperationEvent = { } } }, + FloodSafetyRegister: { // 薄册--防洪安全上岗签到表 + tabType: { + typeChange: { + operation: 'd000', + domId: '_Tips-FloodSafetyRegister-tabType-typeChange' + } + }, + formInput: { + submit: { + operation: 'd001', + domId: '_Tips-FloodSafetyRegister-formInput-submit' + }, + update: { + operation: 'd002', + domId: '_Tips-FloodSafetyRegister-formInput-update' + }, + stationCode: { + operation: 'd003', + domId: '_Tips-FloodSafetyRegister-formInput-stationCode' + }, + supervisor: { + operation: 'd004', + domId: '_Tips-FloodSafetyRegister-formInput-supervisor' + }, + signDateStr: { + operation: 'd005', + domId: '_Tips-FloodSafetyRegister-formInput-signDateStr' + }, + supervisorNoticeInfoReporter: { + operation: 'd006', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoReporter' + }, + supervisorNoticeInfoNoticeStationTime: { + operation: 'd007', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoNoticeStationTime' + }, + supervisorNoticeInfoNoticeModel: { + operation: 'd008', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoNoticeModel' + }, + supervisorNoticeInfoHazardCategory: { + operation: 'd009', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoHazardCategory' + }, + supervisorNoticeInfoRainfallLevel: { + operation: 'd0010', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoRainfallLevel' + }, + supervisorNoticeInfoNoticeStationMasterTime: { + operation: 'd0011', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoNoticeStationMasterTime' + }, + supervisorNoticeInfoStationMasterArrivalTime: { + operation: 'd0012', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoStationMasterArrivalTime' + }, + supervisorNoticeInfoStationMasterSign: { + operation: 'd0013', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoStationMasterSign' + }, + supervisorNoticeInfoOccurredSite: { + operation: 'd0014', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoOccurredSite' + }, + supervisorNoticeInfoDrivingRequirement: { + operation: 'd0015', + domId: '_Tips-FloodSafetyRegister-formInput-supervisorNoticeInfoDrivingRequirement' + }, + stationMasterNoticeListDepartment0: { + operation: 'd0016', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListDepartment0' + }, + stationMasterNoticeListReceiver0: { + operation: 'd0017', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListReceiver0' + }, + stationMasterNoticeListNoticeTime0: { + operation: 'd0018', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeTime0' + }, + stationMasterNoticeListNoticeModel0: { + operation: 'd0019', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeModel0' + }, + stationMasterNoticeListRemark0: { + operation: 'd0020', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListRemark0' + }, + stationMasterNoticeListDepartment1: { + operation: 'd0021', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListDepartment1' + }, + stationMasterNoticeListReceiver1: { + operation: 'd0022', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListReceiver1' + }, + stationMasterNoticeListNoticeTime1: { + operation: 'd0023', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeTime1' + }, + stationMasterNoticeListNoticeModel1: { + operation: 'd0024', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeModel1' + }, + stationMasterNoticeListRemark1: { + operation: 'd0025', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListRemark1' + }, + stationMasterNoticeListDepartment2: { + operation: 'd0026', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListDepartment2' + }, + stationMasterNoticeListReceiver2: { + operation: 'd0027', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListReceiver2' + }, + stationMasterNoticeListNoticeTime2: { + operation: 'd0028', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeTime2' + }, + stationMasterNoticeListNoticeModel2: { + operation: 'd0029', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListNoticeModel2' + }, + stationMasterNoticeListRemark2: { + operation: 'd0030', + domId: '_Tips-FloodSafetyRegister-formInput-stationMasterNoticeListRemark2' + }, + workerSignInfoListDepartment0: { + operation: 'd0031', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListDepartment0' + }, + workerSignInfoListArriveTime0: { + operation: 'd0032', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListArriveTime0' + }, + workerSignInfoListAppointment0: { + operation: 'd0033', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListAppointment0' + }, + workerSignInfoListTelephone0: { + operation: 'd0034', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListTelephone0' + }, + workerSignInfoListSign0: { + operation: 'd0035', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListSign0' + }, + workerSignInfoListReturnTime0: { + operation: 'd0036', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListReturnTime0' + }, + workerSignInfoListDepartment1: { + operation: 'd0037', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListDepartment1' + }, + workerSignInfoListArriveTime1: { + operation: 'd0038', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListArriveTime1' + }, + workerSignInfoListAppointment1: { + operation: 'd0039', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListAppointment1' + }, + workerSignInfoListTelephone1: { + operation: 'd0040', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListTelephone1' + }, + workerSignInfoListSign1: { + operation: 'd0041', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListSign1' + }, + workerSignInfoListReturnTime1: { + operation: 'd0042', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListReturnTime1' + }, + workerSignInfoListDepartment2: { + operation: 'd0043', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListDepartment2' + }, + workerSignInfoListArriveTime2: { + operation: 'd0044', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListArriveTime2' + }, + workerSignInfoListAppointment2: { + operation: 'd0045', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListAppointment2' + }, + workerSignInfoListTelephone2: { + operation: 'd0046', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListTelephone2' + }, + workerSignInfoListSign2: { + operation: 'd0047', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListSign2' + }, + workerSignInfoListReturnTime2: { + operation: 'd0048', + domId: '_Tips-FloodSafetyRegister-formInput-workerSignInfoListReturnTime2' + } + } + }, Psl: { standChange: { change: { - operation: 'c001', + operation: 'e001', domId: '_Tips-Psl-standChange-Change' } }, pslOperation: { turn: { - operation: 'c002', + operation: 'e002', domId: '_Tips-Psl-pslOperation-Turn' } }, hsjcOperation: { turn: { - operation: 'c003', + operation: 'e003', domId: '_Tips-Psl-hsjcOperation-Turn' } }, openDoor: { button: { - operation: 'c004', + operation: 'e004', domId: '_Tips-Psl-openDoor-Button' } }, closeDoor: { button: { - operation: 'c005', + operation: 'e005', domId: '_Tips-Psl-closeDoor-Button' } }, testLamp: { button: { - operation: 'c006', + operation: 'e006', domId: '_Tips-Psl-testLamp-Button' } } @@ -4696,13 +4898,13 @@ export const OperationEvent = { Ibp: { buttonPressed: { button: { - operation: 'd001', + operation: 'f001', domId: '_Tips-Ibp-buttonPressed-Button' } }, buttonRelease: { button: { - operation: 'd002', + operation: 'f002', domId: '_Tips-Ibp-buttonRelease-Button' } } diff --git a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue index 758fe5b0f..775df7d6c 100644 --- a/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue +++ b/src/views/newMap/display/terminals/abnormalTrain/controlTable.vue @@ -158,6 +158,7 @@ + + diff --git a/src/views/newMap/display/terminals/floodControlSafetyTable/index.vue b/src/views/newMap/display/terminals/floodControlSafetyTable/index.vue new file mode 100644 index 000000000..9e43f8077 --- /dev/null +++ b/src/views/newMap/display/terminals/floodControlSafetyTable/index.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/views/newMap/display/terminals/registerBook.vue b/src/views/newMap/display/terminals/registerBook.vue index 906dccd83..6e5f4ac92 100644 --- a/src/views/newMap/display/terminals/registerBook.vue +++ b/src/views/newMap/display/terminals/registerBook.vue @@ -111,7 +111,7 @@