This commit is contained in:
2019-10-31 19:18:08 +00:00
parent cf85aaa18e
commit 71b2cad7c1
2 changed files with 34 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
/* eslint-disable */
/* Xeslint-disable */
var devModeShowErrors = false;
@@ -15,7 +15,7 @@ function dealWithError(msg, vm) {
}
window.$gz.store.commit("logItem", msg);
if (devModeShowErrors) {
debugger;
//debugger;
var errMsg =
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
msg;

View File

@@ -49,35 +49,37 @@
itemsPerPageText: lt('RowsPerPage')
}"
>
<template slot="items" slot-scope="props">
<td>
<v-checkbox
v-model="props.selected"
primary
hide-details
></v-checkbox>
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.name | capitalize }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.serial }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.dollarAmount | currency }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.active | boolastext }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.roles }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.startDate | shortdate }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.endDate | shortdate }}
</td>
<template slot="item" slot-scope="props">
<tr>
<td>
<v-checkbox
v-model="props.selected"
primary
hide-details
></v-checkbox>
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.name | capitalize }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.serial }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.dollarAmount | currency }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.active | boolastext }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.roles }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.startDate | shortdate }}
</td>
<td class="text-xs-left" @click="editItem(props.item)">
{{ props.item.endDate | shortdate }}
</td>
</tr>
</template>
</v-data-table>
</div>
@@ -141,7 +143,7 @@ Actual in inspector browser code:
//set default values for form settings if they are not present yet
if (!formSettings.saved || !formSettings.saved.rowsPerPage) {
that.localFormSettings = {
pagination: {}
pagination: {}
};
} else {
that.localFormSettings.pagination = {
@@ -272,7 +274,6 @@ Actual in inspector browser code:
that.Items = res.data;
that.totalItems = res.paging.count;
});
},
editItem(item) {
this.$router.push({