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