|
@@ -247,8 +247,8 @@
|
|
|
</el-container>
|
|
|
<!-- 任务 -->
|
|
|
<!-- 测试 -->
|
|
|
- <el-container v-show="activeName === '7'">
|
|
|
- <testPlan />
|
|
|
+ <el-container v-if="activeName === '7'">
|
|
|
+ <testPlan :id="form_query.id" :bizid="bizId" type="requirement" />
|
|
|
</el-container>
|
|
|
<!-- 测试 -->
|
|
|
<!-- 缺陷 -->
|
|
@@ -392,6 +392,7 @@ export default {
|
|
|
showunlock: true,
|
|
|
textarea2: '',
|
|
|
HoldTask: '',
|
|
|
+ bizId: '',
|
|
|
dialogVisible: false,
|
|
|
status_dialong: {}, // 切换状态
|
|
|
toilp: '',
|
|
@@ -461,6 +462,7 @@ export default {
|
|
|
analysisBizId_id() { // 解析路由中的bizId_id
|
|
|
if (!this.$route.query.bizId_id) return
|
|
|
const bizId_id = analysisBizId_id(this.$route.query.bizId_id)
|
|
|
+ this.bizId = bizId_id[0]
|
|
|
this.requirementId = bizId_id[1]
|
|
|
this.bugListQuery = { requireId: this.requirementId }
|
|
|
this.getRequirementById()
|