Browse Source

优化

master
陈裕财 3 years ago
parent
commit
ffd53f85bc
  1. 2
      src/views/xm/core/xmQuestion/XmQuestionEdit.vue
  2. 5
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  3. 2
      src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue

2
src/views/xm/core/xmQuestion/XmQuestionEdit.vue

@ -126,7 +126,7 @@
</el-row>
</el-tab-pane>
<el-tab-pane label="意见" name="4" v-if="opType!='add'">
<el-tab-pane label="日志" name="4" v-if="opType!='add'">
<el-row>
<xm-question-handle-mng v-if="activateTabPaneName=='4'" :bug="editForm" :visible="activateTabPaneName=='4'"></xm-question-handle-mng>

5
src/views/xm/core/xmQuestion/XmQuestionMng.vue

@ -251,7 +251,7 @@
<!--新增 XmQuestion xm_question界面-->
<el-dialog title="新增缺陷" :visible.sync="addFormVisible" width="90%" top="20px" append-to-body :close-on-click-modal="false">
<xm-question-add op-type="add" :xm-product="filters.product" :xm-test-case="xmTestCase" :qtype="qtype" :sel-project=" filters.selProject " :xm-question="addForm" :visible="addFormVisible" @cancel="addFormVisible=false" @submit="afterAddSubmit"></xm-question-add>
<xm-question-add op-type="add" :xm-test-plan-case="xmTestPlanCase" :xm-test-plan="xmTestPlan" :xm-product="filters.product" :xm-test-case="xmTestCase" :qtype="qtype" :sel-project=" filters.selProject " :xm-question="addForm" :visible="addFormVisible" @cancel="addFormVisible=false" @submit="afterAddSubmit"></xm-question-add>
</el-dialog>
<xm-group-dialog ref="xmGroupDialog" :sel-project=" filters.selProject " :is-select-single-user="1" @user-confirm="onUserConfirm"></xm-group-dialog>
<el-drawer append-to-body title="需求选择" :visible.sync="menuVisible" size="60%" :close-on-click-modal="false">
@ -607,8 +607,7 @@
}
this.addFormVisible = true;
},
showAddAfterProjectSelect(project){
this.$refs.xmProjectSelect.editForm=project;
showAddAfterProjectSelect(project){
this.filters.selProject=project;
this.addFormVisible = true;
this.searchXmQuestions();

2
src/views/xm/core/xmTestPlanCase/XmTestPlanCaseEdit.vue

@ -122,7 +122,7 @@
</el-tab-pane>
<el-tab-pane name="3" label="缺陷">
<el-row v-if="activateName=='3'">
<xm-question-mng :xm-test-plan-case="editForm" :xm-product="{id:xmTestPlanCase.productId,productName:xmTestPlanCase.productName}" :sel-project="{id:xmTestPlanCase.projectId,name:xmTestPlanCase.projectName}"></xm-question-mng>
<xm-question-mng :xm-test-plan-case="editForm" :xm-product="{id:editForm.productId,productName:editForm.productName}" :sel-project="{id:editForm.projectId,name:editForm.projectName}"></xm-question-mng>
</el-row>
</el-tab-pane>
<el-tab-pane name="4" label="附件">

Loading…
Cancel
Save