PMCORE-3793: First and Last buttons now working as expected

This commit is contained in:
Tincho
2022-08-02 16:48:30 +00:00
parent 6bd2537b23
commit fb9e4a4dbb
9 changed files with 63 additions and 18 deletions

View File

@@ -87,6 +87,11 @@ export default {
tableData: [],
options: {
filterable: true,
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
name: this.$i18n.t("ID_NAME"),
process: this.$i18n.t("ID_PROCESS"),
@@ -98,8 +103,8 @@ export default {
},
texts: {
count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

View File

@@ -163,6 +163,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
process_category: this.$i18n.t("ID_CATEGORY_PROCESS"),
@@ -178,8 +183,8 @@ export default {
},
texts: {
count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/CaseDetail.vue Normal file → Executable file
View File

@@ -170,6 +170,11 @@ export default {
showTable: true,
tableData: [],
options: {
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
task: this.$i18n.t("ID_TASK"),
thread_title: this.$i18n.t('ID_CASE_THREAD_TITLE'),
@@ -180,8 +185,8 @@ export default {
},
texts: {
count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

View File

@@ -338,10 +338,15 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
texts: {
count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/Draft/Draft.vue Normal file → Executable file
View File

@@ -311,6 +311,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
detail: this.$i18n.t("ID_DETAIL_CASE"),
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
@@ -336,8 +341,8 @@ export default {
},
texts: {
count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/Inbox/Inbox.vue Normal file → Executable file
View File

@@ -342,6 +342,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
detail: this.$i18n.t("ID_DETAIL_CASE"),
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
@@ -357,8 +362,8 @@ export default {
},
texts: {
count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/MyCases/MyCases.vue Normal file → Executable file
View File

@@ -165,6 +165,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
process_category: this.$i18n.t("ID_CATEGORY_PROCESS"),
@@ -179,8 +184,8 @@ export default {
},
texts: {
count: this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/Paused/Paused.vue Normal file → Executable file
View File

@@ -342,6 +342,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
detail: this.$i18n.t("ID_DETAIL_CASE"),
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
@@ -357,8 +362,8 @@ export default {
},
texts: {
count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",

9
resources/assets/js/home/Unassigned/Unassigned.vue Normal file → Executable file
View File

@@ -334,6 +334,11 @@ export default {
options: {
filterable: false,
perPageValues: [],
pagination: {
chunk: 3,
nav: 'scroll',
edge: true
},
headings: {
detail: this.$i18n.t("ID_DETAIL_CASE"),
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
@@ -349,8 +354,8 @@ export default {
},
texts: {
count:this.$i18n.t("ID_SHOWING_FROM_RECORDS_COUNT"),
first: this.$i18n.t("ID_FIRST"),
last: this.$i18n.t("ID_LAST"),
first: "<<",
last: ">>",
filter: this.$i18n.t("ID_FILTER") + ":",
limit: this.$i18n.t("ID_RECORDS") + ":",
page: this.$i18n.t("ID_PAGE") + ":",