PMCORE-3352 The dynaform chosen in 'case summary' is not displayed

This commit is contained in:
Roly Rudy Gutierrez Pinto
2021-10-19 12:28:12 -04:00
parent 8adf7748ee
commit 2586706316
2 changed files with 9 additions and 2 deletions

View File

@@ -61,6 +61,7 @@
</v-server-table>
</div>
<TabsCaseDetail
ref="tabsCaseDetail"
:dataCaseStatus="dataCaseStatusTab"
:dataCase="dataCase"
></TabsCaseDetail>
@@ -222,6 +223,10 @@ export default {
mounted() {
let that = this;
//restore tab selected to initial state
let hash = this.$refs["tabsCaseDetail"].$refs["tabs"].getTabHash(0);
this.$refs["tabsCaseDetail"].$refs["tabs"].selectTab(hash);
//set dataCase
this.dataCase = this.$parent.dataCase;
this.$el.getElementsByClassName("VuePagination__count")[0].remove();
this.getDataCaseSummary();

View File

@@ -1,6 +1,8 @@
<template>
<div>
<tabs @changed="changed">
<tabs
ref="tabs"
@changed="changed">
<tab :name="$t('ID_STATUS')">
<CaseStatus :data="dataCaseStatus"> </CaseStatus>
</tab>