diff --git a/src/api/trainingManage.js b/src/api/trainingManage.js index 0d14d3c95..97f016604 100644 --- a/src/api/trainingManage.js +++ b/src/api/trainingManage.js @@ -182,3 +182,10 @@ export function importTrainingData(data) { data }); } +/** 实训跳转到当前步骤*/ +export function jumpToTraining(group, stepId) { + return request({ + url: `/api/training2Simulation/${group}/jumpTo/${stepId}`, + method: 'put' + }); +} diff --git a/src/scripts/cmdPlugin/CommandEnum.js b/src/scripts/cmdPlugin/CommandEnum.js index ceca49be2..bda0a47b5 100644 --- a/src/scripts/cmdPlugin/CommandEnum.js +++ b/src/scripts/cmdPlugin/CommandEnum.js @@ -516,7 +516,9 @@ export default { CMD_Conversation_Group_Text_Chat: {value: 'Conversation_Group_Text_Chat', label: '发送会话群文字消息'}, CMD_Conversation_Group_Audio_Base64: {value: 'Conversation_Group_Audio_Base64', label: '发送会话群语音消息'}, CMD_Conversation_Group_Private_Text_Chat: {value: 'Conversation_Group_Private_Text_Chat', label: '发送私聊文字消息'}, - CMD_Conversation_Group_Private_Audio_Base64: {value: 'Conversation_Group_Private_Audio_Base64', label: '发送私聊语音消息'} + CMD_Conversation_Group_Private_Audio_Base64: {value: 'Conversation_Group_Private_Audio_Base64', label: '发送私聊语音消息'}, + CMD_Conversation_Group_Create: {value: 'Conversation_Group_Create', label: '创建会话群'}, + CMD_Conversation_Group_Invite_Member: {value: 'Conversation_Group_Invite_Member', label: '邀请人员入群'} }, PSL: { CMD_PSL_PRESS_BUTTON: {value: 'PSL_PRESS_BUTTON', label: 'PSL按钮操作'} diff --git a/src/scripts/cmdPlugin/OperationHandler.js b/src/scripts/cmdPlugin/OperationHandler.js index 99db76057..d6f5b18ae 100644 --- a/src/scripts/cmdPlugin/OperationHandler.js +++ b/src/scripts/cmdPlugin/OperationHandler.js @@ -4389,11 +4389,11 @@ export const OperationEvent = { }, moonDay: { operation: 'b101', - domId: '_Tips-TicketOrRegister-RegisterInput-MoonDay' + domId: '_Tips-TicketOrRegister-RegisterInput-MoonDay{BOTTOM}' }, hourMinute: { operation: 'b102', - domId: '_Tips-TicketOrRegister-RegisterInput-HourMinute' + domId: '_Tips-TicketOrRegister-RegisterInput-HourMinute{BOTTOM}' }, result: { operation: 'b103', @@ -4401,11 +4401,11 @@ export const OperationEvent = { }, noticeTimeMoonDay: { operation: 'b104', - domId: '_Tips-TicketOrRegister-RegisterInput-NoticeTimeMoonDay' + domId: '_Tips-TicketOrRegister-RegisterInput-NoticeTimeMoonDay{BOTTOM}' }, noticeTimeHourMinute: { operation: 'b105', - domId: '_Tips-TicketOrRegister-RegisterInput-NoticeTimeHourMinute' + domId: '_Tips-TicketOrRegister-RegisterInput-NoticeTimeHourMinute{BOTTOM}' }, noticeTimeInfo: { operation: 'b106', @@ -4413,11 +4413,11 @@ export const OperationEvent = { }, arriveTimeMoonDay: { operation: 'b107', - domId: '_Tips-TicketOrRegister-RegisterInput-ArriveTimeMoonDay' + domId: '_Tips-TicketOrRegister-RegisterInput-ArriveTimeMoonDay{BOTTOM}' }, arriveTimeHourMinute: { operation: 'b108', - domId: '_Tips-TicketOrRegister-RegisterInput-ArriveTimeHourMinute' + domId: '_Tips-TicketOrRegister-RegisterInput-ArriveTimeHourMinute{BOTTOM}' }, arriveTimeInfo: { operation: 'b109', @@ -4425,11 +4425,11 @@ export const OperationEvent = { }, endTimeMoonDay: { operation: 'b110', - domId: '_Tips-TicketOrRegister-RegisterInput-EndTimeMoonDay' + domId: '_Tips-TicketOrRegister-RegisterInput-EndTimeMoonDay{BOTTOM}' }, endTimeHourMinute: { operation: 'b111', - domId: '_Tips-TicketOrRegister-RegisterInput-EndTimeHourMinute' + domId: '_Tips-TicketOrRegister-RegisterInput-EndTimeHourMinute{BOTTOM}' }, endTimeInfo: { operation: 'b112', @@ -5027,7 +5027,7 @@ export const OperationEvent = { }, requestDate:{ operation: '120a', - domId: '_Tips-Rail-equipmentConstructionFill-requestDate' + domId: '_Tips-Rail-equipmentConstructionFill-requestDate{BOTTOM}' }, requestDetails:{ operation: '120b', @@ -5035,7 +5035,7 @@ export const OperationEvent = { }, planSpendTime:{ operation: '120c', - domId: '_Tips-Rail-equipmentConstructionFill-planSpendTime' + domId: '_Tips-Rail-equipmentConstructionFill-planSpendTime{BOTTOM}' }, acceptDetail:{ operation: '120d', @@ -5043,7 +5043,7 @@ export const OperationEvent = { }, confirmReviewDate:{ operation: '120e', - domId: '_Tips-Rail-equipmentConstructionFill-confirmReviewDate' + domId: '_Tips-Rail-equipmentConstructionFill-confirmReviewDate{BOTTOM}' }, confirmReviewDetail:{ operation: '120f', @@ -5165,6 +5165,14 @@ export const OperationEvent = { record: { operation: '1403', domId: '_Tips-Conversation-Chat-record' + }, + createGroup: { + operation: '1404', + domId: '_Tips-Conversation-Chat-createGroup' + }, + inviteToGroup: { + operation: '1405', + domId: '_Tips-Conversation-Chat-inviteToGroup' } } }, diff --git a/src/views/newMap/display/newChat/chatDialog.vue b/src/views/newMap/display/newChat/chatDialog.vue index 5199037ac..f009174eb 100644 --- a/src/views/newMap/display/newChat/chatDialog.vue +++ b/src/views/newMap/display/newChat/chatDialog.vue @@ -33,8 +33,8 @@
-