This commit is contained in:
2020-01-30 21:30:59 +00:00
parent 1b0a98095c
commit e028b609ac
3 changed files with 98 additions and 9 deletions

View File

@@ -64,10 +64,10 @@
</tbody>
</template>
</v-data-table>
<hr />
<!-- <hr />
<div>Headers: {{ headers }}</div>
<div>Records: {{ records }}</div>
<!-- <div>TotalRecords: {{ totalRecords }}</div>
<div>TotalRecords: {{ totalRecords }}</div>
<div>caption: {{ caption }}</div>
<div>apiBaseUrl: {{ apiBaseUrl }}</div>
<div>formKey: {{ formKey }}</div>
@@ -82,9 +82,6 @@
/* Xeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
export default {
created() {
//console.log("gz-data-table viewport is XS = " + this.mini());
},
data() {
return {
loading: true,
@@ -134,7 +131,9 @@ export default {
var typeToOpen = this.serverColumns[key.split("-")[1]].ay;
//i is the actual AyaNova index of that record so we have all we need to open that object
alert("STUB: Open object type " + typeToOpen + " with record id of " + i);
window.$gz.eventBus.$emit("openobject", { type: typeToOpen, id: i });
// this.$emit("OPENOBJECT", { type: typeToOpen, id: i });
// alert("STUB: Open object type " + typeToOpen + " with record id of " + i);
},
lt(ltKey) {
return window.$gz.locale.get(ltKey);