fix(测试跟踪): 关联测试用例显示用例数问题
--bug=1023372 --user=宋昌昌 【测试跟踪】功能用例-编辑-关联测试用例-接口/场景/UI/性能用例-关联弹框-模块树和标题均未显示用例数量 https://www.tapd.cn/55049933/s/1338171
This commit is contained in:
parent
f7f42de756
commit
d770a8830f
|
@ -7,7 +7,6 @@
|
|||
>
|
||||
<template v-slot:aside>
|
||||
<ms-api-module
|
||||
:show-case-num="false"
|
||||
:relevance-project-id="projectId"
|
||||
@nodeSelectEvent="nodeChange"
|
||||
@protocolChange="handleProtocolChange"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<case-side-dialog-content :tableCount="total" :label="$t('case.all_api')">
|
||||
<case-side-dialog-content :total-count="total" :label="$t('case.all_api')">
|
||||
<template
|
||||
v-slot:simpleSearch
|
||||
v-if="
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<case-side-dialog-content :tableCount="total" :label="$t('case.all_case')">
|
||||
<case-side-dialog-content :total-count="total" :label="$t('case.all_case')">
|
||||
<template v-slot:simpleSearch>
|
||||
<!-- 简单搜索框 -->
|
||||
<ms-new-ui-search :condition.sync="condition" @search="initTable" />
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<case-side-dialog-content :tableCount="total" :label="$t('case.all_scenes')">
|
||||
<case-side-dialog-content :total-count="total" :label="$t('case.all_scenes')">
|
||||
<template v-slot:simpleSearch>
|
||||
<!-- 简单搜索框 -->
|
||||
<ms-new-ui-search :condition.sync="condition" @search="initTable" />
|
||||
|
@ -172,6 +172,7 @@ export default {
|
|||
},
|
||||
created: function () {
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
},
|
||||
watch: {
|
||||
selectNodeIds() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div>
|
||||
<case-side-dialog-content
|
||||
:tableCount="total"
|
||||
:total-count="total"
|
||||
:label="$t('case.all_scenes')"
|
||||
>
|
||||
<template
|
||||
|
@ -170,6 +170,7 @@ export default {
|
|||
},
|
||||
created: function () {
|
||||
this.getVersionOptions();
|
||||
this.initTable();
|
||||
},
|
||||
watch: {
|
||||
selectNodeIds() {
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
>
|
||||
<template v-slot:aside>
|
||||
<ms-api-scenario-module
|
||||
:show-case-num="false"
|
||||
:relevance-project-id="projectId"
|
||||
@nodeSelectEvent="nodeChange"
|
||||
@refreshTable="refresh"
|
||||
|
@ -90,11 +89,9 @@ export default {
|
|||
setProject(projectId) {
|
||||
this.projectId = projectId;
|
||||
},
|
||||
|
||||
refresh(data) {
|
||||
this.$refs.apiCaseList.initTable(data);
|
||||
},
|
||||
|
||||
nodeChange(node, nodeIds, pNodes) {
|
||||
this.selectNodeIds = nodeIds;
|
||||
},
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
>
|
||||
<template v-slot:aside>
|
||||
<ui-scenario-module
|
||||
:show-case-num="false"
|
||||
:relevance-project-id="projectId"
|
||||
@nodeSelectEvent="nodeChange"
|
||||
@refreshTable="refresh"
|
||||
|
|
Loading…
Reference in New Issue