diff --git a/src/views/scriptManage/scriptRecord/getActionNew.vue b/src/views/scriptManage/scriptRecord/getActionNew.vue index 3417f70ab..a01eac958 100644 --- a/src/views/scriptManage/scriptRecord/getActionNew.vue +++ b/src/views/scriptManage/scriptRecord/getActionNew.vue @@ -105,6 +105,7 @@ export default { return lastData; }, covertData(memberVOList, element) { + debugger; const member = memberVOList.find(elem=>{ return elem.id == element.memberId; }); const memberName = member.name; switch (element.type) { @@ -127,9 +128,10 @@ export default { } case 'Command': { - const command = CommandHandler.getScriptDefinition(element.operationType); - let operateType = command.operate.split('_')[0]; - const data = command.operate.toUpperCase(); + // const command = CommandHandler.getScriptDefinition(element.operationType); + const commandName = element.operationType; + let operateType = commandName.split('_')[0]; + const data = commandName.toUpperCase(); if (operateType == 'CM') { operateType = 'ControlConvertMenu'; }