-
-
-
-
-
+
{{formatDicts(dicts,'testStepTcode',editForm.execStatus)}}
@@ -132,7 +128,12 @@
-
+
+
+
+ {{item.name}}
+
+
@@ -142,7 +143,12 @@
-
+
+
+
+ {{item.name}}
+
+
@@ -283,11 +289,19 @@ TestStepResult,MyInput,
this.$notify({position:'bottom-left',showClose:true,message:tips.msg,type:tips.isOk?'success':'error'})
}
}).catch((e)=>Object.assign(this.editForm,this.editFormBak))
- },
+ },
+
+ getExecStatusIcon(execStatus){
+ var icons=['el-icon-arrow-up','el-icon-right','el-icon-check','el-icon-minus','el-icon-close'];
+ if(!execStatus){
+ return icons[0]
+ }
+ return icons[parseInt(execStatus)]
+ }
},//end method
mounted() {
this.$nextTick(() => {
- initDicts(this);
+ initDicts(this);
this.initData()
this.maxTableHeight = util.calcTableMaxHeight(this.$refs.table.$el)
});