Browse Source

优化

master
陈裕财 4 years ago
parent
commit
3c8a2f9c5a
  1. 10
      src/views/xm/core/xmIteration/XmIterationMng.vue
  2. 2
      src/views/xm/core/xmProduct/XmProductInfo.vue

10
src/views/xm/core/xmIteration/XmIterationMng.vue

@ -92,7 +92,7 @@
<!--新增 XmIteration 迭代定义界面--> <!--新增 XmIteration 迭代定义界面-->
<el-drawer title="新增迭代定义" :visible.sync="addFormVisible" size="50%" append-to-body :close-on-click-modal="false"> <el-drawer title="新增迭代定义" :visible.sync="addFormVisible" size="50%" append-to-body :close-on-click-modal="false">
<xm-iteration-add :xm-iteration="addForm" :parent-iteration="parentIteration" :visible="addFormVisible" @cancel="addFormVisible=false" @submit="afterAddSubmit"></xm-iteration-add>
<xm-iteration-add :xm-product="xmProduct" :sel-project="selProject" :xm-iteration="addForm" :parent-iteration="parentIteration" :visible="addFormVisible" @cancel="addFormVisible=false" @submit="afterAddSubmit"></xm-iteration-add>
</el-drawer> </el-drawer>
<!--新增 XmIteration 迭代定义界面--> <!--新增 XmIteration 迭代定义界面-->
@ -320,12 +320,8 @@ import XmIterationSelect from '@/views/xm/core/components/XmIterationSelect.vue'
}, },
afterAddSubmit(xmIteration){ afterAddSubmit(xmIteration){
this.addFormVisible=false; this.addFormVisible=false;
this.pageInfo.count=true;
if(this.xmProduct){//
this.onXmIterationSelect(xmIteration);
}else{
this.getXmIterations();
}
this.pageInfo.count=true;
this.getXmIterations();
}, },
afterEditSubmit(){ afterEditSubmit(){
this.editFormVisible=false; this.editFormVisible=false;

2
src/views/xm/core/xmProduct/XmProductInfo.vue

@ -539,7 +539,7 @@ import xmEnvList from "../xmEnvList/XmEnvListMng";
import xmMenuWithPlan from "../xmMenu/XmMenuWithPlan"; import xmMenuWithPlan from "../xmMenu/XmMenuWithPlan";
import xmProjectStateMng from "../xmProjectState/XmProjectStateMng"; import xmProjectStateMng from "../xmProjectState/XmProjectStateMng";
import xmTestCaseExecMng from "../xmTestCaseExec/XmTestCaseExecMng"; import xmTestCaseExecMng from "../xmTestCaseExec/XmTestCaseExecMng";
import XmIterationForLinkComplex from "../xmIteration/XmIterationBox.vue";
import XmIterationForLinkComplex from "../xmIteration/XmIterationMng.vue";
import XmProductOverviewComplex from "../xmProduct/XmProductOverviewComplex.vue"; import XmProductOverviewComplex from "../xmProduct/XmProductOverviewComplex.vue";
import XmProductForLinkComplex from "./XmProductForLinkComplex.vue"; import XmProductForLinkComplex from "./XmProductForLinkComplex.vue";
import XmProjectForLink from "../xmProject/XmProjectForLink.vue"; import XmProjectForLink from "../xmProject/XmProjectForLink.vue";

Loading…
Cancel
Save