Merged in bugfix/PMCORE-3352-B (pull request #8227)

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

Approved-by: Rodrigo Quelca
This commit is contained in:
Roly Gutierrez
2021-10-19 19:18:24 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 9 additions and 2 deletions

View File

@@ -60,7 +60,8 @@
</div>
</v-server-table>
</div>
<TabsCaseDetail
<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>