diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue index f2a3ab0a..9e7068da 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue @@ -150,11 +150,8 @@ - - - 继续下一条执行用例 - - + +
@@ -162,13 +159,14 @@ {{formatDicts(dicts,'testStepTcode',editForm.execStatus)}} - - - - {{item.name}} - - - + + + + {{item.name}} + + + + 下一条
diff --git a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue index 9aba0f43..457921c1 100644 --- a/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue +++ b/src/views/xm/core/xmTestPlanCase/XmTestPlanCaseMng.vue @@ -70,7 +70,7 @@ - + @@ -330,18 +330,18 @@ export default { }, onEditFields(row){ Object.assign(this.editForm,row) - this.editFormBak={...this.editForm} - if(row.execStatus && row.next){ - var index=this.xmTestPlanCases.findIndex(k=>k.caseId==this.editForm.caseId) - if(index==this.xmTestPlanCases.length-1){ - this.editFormVisible=false; - this.$notify({position:'bottom-left',showClose:true,message:"已是最后一条数据",type:'error'}) - return; - } - this.editForm=this.xmTestPlanCases[index+1] - this.$refs.xmTestPlanCaseTable.setCurrentRow(this.editForm) - this.editFormBak={...this.editForm} + this.editFormBak={...this.editForm} + }, + nextEdit(){ + var index=this.xmTestPlanCases.findIndex(k=>k.caseId==this.editForm.caseId) + if(index==this.xmTestPlanCases.length-1){ + this.editFormVisible=false; + this.$notify({position:'bottom-left',showClose:true,message:"已是最后一条数据",type:'error'}) + return; } + this.editForm=this.xmTestPlanCases[index+1] + this.$refs.xmTestPlanCaseTable.setCurrentRow(this.editForm) + this.editFormBak={...this.editForm} } },//end methods mounted() {