|
@@ -225,7 +225,7 @@
|
|
|
:clickBackToPlanList="clickBackToPlanList" :selectRowPlan="selectRowPlan" :caseProject="caseProject"
|
|
|
:caseActive="caseActive" :caseFunction="caseFunction" caseContent="caseContent"
|
|
|
:caseSubFunction="caseSubFunction" :caseMarket="caseMarket" :caseLanguage="caseLanguage" v-if="renderBenchList"
|
|
|
- :selectRowCase="selectRowCase" :clickBackToAutoPlanList="clickBackToAutoPlanList" :tabClass="tabClass" :planBack="planBack"></TabList>
|
|
|
+ :selectRowCase="selectRowCase" :clickBackToAutoPlanList="clickBackToAutoPlanList" :tabClass="tabClass" :planBack="planBack" :clickBackToPlan="clickBackToPlan"></TabList>
|
|
|
</div>
|
|
|
|
|
|
<bench-detail :is-detail-visible="isDetailVisible" :is-remote-btn-visible="isRemoteBtnVisible" :closeDetail="closeDetail" ref="benchdetail" :bench="currentBench"/>
|
|
@@ -481,6 +481,14 @@
|
|
|
this.isShowTaskList = true;
|
|
|
// this.planList = [];
|
|
|
},
|
|
|
+ clickBackToPlan() {
|
|
|
+ this.isShowCaseDetail = false;
|
|
|
+ if (sessionStorage.getItem('autoCase') == 0) {
|
|
|
+ this.isShowCaseList = true;
|
|
|
+ } else {
|
|
|
+ this.isShowAutoCaseList = true;
|
|
|
+ }
|
|
|
+ },
|
|
|
selectRowPlan(id, auto, name){
|
|
|
console.log(id, 'selectrowdata')
|
|
|
if (!auto || auto == 'undefined' || auto == 'false') {
|
|
@@ -490,12 +498,14 @@
|
|
|
page_size: 100
|
|
|
})
|
|
|
this.isShowCaseList = true;
|
|
|
+ sessionStorage.setItem('autoCase', 0)
|
|
|
} else {
|
|
|
if (id == 109) id = 222;
|
|
|
this.$store.dispatch('caseList/fetchAutoCaseList', {
|
|
|
planId: id
|
|
|
})
|
|
|
this.isShowAutoCaseList = true;
|
|
|
+ sessionStorage.setItem('autoCase', 1)
|
|
|
}
|
|
|
|
|
|
this.isShowPlanList = false;
|
|
@@ -507,7 +517,7 @@
|
|
|
this.isShowCaseList = false;
|
|
|
this.isShowCaseDetail = true;
|
|
|
|
|
|
- this.caseName = '< ' + row.m_id;
|
|
|
+ this.caseName = row.m_id;
|
|
|
this.caseProject = row.precondition
|
|
|
//this.caseActive =,
|
|
|
this.caseFunction = row.action;
|