Merged in feature/PMCORE-3267 (pull request #8092)
PMCORE-3267 Approved-by: Henry Jonathan Quispe Quispe
This commit is contained in:
@@ -6,8 +6,8 @@
|
|||||||
<ModalReassignCase ref="modal-reassign-case"></ModalReassignCase>
|
<ModalReassignCase ref="modal-reassign-case"></ModalReassignCase>
|
||||||
<CasesFilter
|
<CasesFilter
|
||||||
:filters="filters"
|
:filters="filters"
|
||||||
:title="data.pageName"
|
:title="titleMap[data.pageParent].label"
|
||||||
:icon="data.pageIcon"
|
:icon="titleMap[data.pageParent].icon"
|
||||||
@onRemoveFilter="onRemoveFilter"
|
@onRemoveFilter="onRemoveFilter"
|
||||||
@onUpdateFilters="onUpdateFilters"
|
@onUpdateFilters="onUpdateFilters"
|
||||||
/>
|
/>
|
||||||
@@ -347,6 +347,24 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
let that = this;
|
let that = this;
|
||||||
return {
|
return {
|
||||||
|
titleMap: {
|
||||||
|
inbox: {
|
||||||
|
icon:"fas fa-check-circle",
|
||||||
|
label: this.$i18n.t('ID_INBOX')
|
||||||
|
},
|
||||||
|
draft: {
|
||||||
|
icon:"fas fa-edit",
|
||||||
|
label: this.$i18n.t('ID_DRAFT')
|
||||||
|
},
|
||||||
|
paused: {
|
||||||
|
icon:"far fa-pause-circle",
|
||||||
|
label: this.$i18n.t('ID_PAUSED')
|
||||||
|
},
|
||||||
|
unassigned: {
|
||||||
|
icon:"fas fa-users",
|
||||||
|
label: this.$i18n.t('ID_UNASSIGNED')
|
||||||
|
}
|
||||||
|
},
|
||||||
columMap: {
|
columMap: {
|
||||||
case_number: "APP_NUMBER",
|
case_number: "APP_NUMBER",
|
||||||
case_title: "DEL_TITLE",
|
case_title: "DEL_TITLE",
|
||||||
@@ -448,7 +466,10 @@ export default {
|
|||||||
buttons: {},
|
buttons: {},
|
||||||
},
|
},
|
||||||
showEllipsis: false,
|
showEllipsis: false,
|
||||||
dataSubtitle: null,
|
dataSubtitle: {
|
||||||
|
subtitle: this.data.pageName,
|
||||||
|
icon: this.data.pageIcon
|
||||||
|
},
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -776,8 +797,14 @@ export default {
|
|||||||
this.isFistTime = true;
|
this.isFistTime = true;
|
||||||
this.typeView = "GRID";
|
this.typeView = "GRID";
|
||||||
// force to update component id
|
// force to update component id
|
||||||
if (newData && newData.customListId) {
|
if (newData){
|
||||||
this.data.customListId = newData.customListId;
|
if(newData.customListId) {
|
||||||
|
this.data.customListId = newData.customListId;
|
||||||
|
}
|
||||||
|
this.dataSubtitle = {
|
||||||
|
subtitle: newData.pageName,
|
||||||
|
icon: newData.pageIcon
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (this.typeView === "GRID" && this.$refs["vueTable"]) {
|
if (this.typeView === "GRID" && this.$refs["vueTable"]) {
|
||||||
this.$refs["vueTable"].getData();
|
this.$refs["vueTable"].getData();
|
||||||
|
|||||||
Reference in New Issue
Block a user