diff --git a/src/views/trainingManage/editDetails.vue b/src/views/trainingManage/editDetails.vue index f4ce921f2..7f5078d50 100644 --- a/src/views/trainingManage/editDetails.vue +++ b/src/views/trainingManage/editDetails.vue @@ -28,7 +28,7 @@ @@ -156,7 +156,19 @@ export default { return name; }, getConditionName(row, key) { - const n = row[key] || ''; + const obj = row[key] || {}; + let n = ''; + switch (obj.t) { + case 'V': + n = `值为${obj.v}`; + break; + case 'S': + n = `${obj.elementCode}设备的${obj.filedName}属性`; + break; + case 'E': + n = ''; + break; + } return n; }, addStep() {