This commit is contained in:
2020-02-08 00:44:05 +00:00
parent e8d2bcc299
commit 6cd78d6788
3 changed files with 0 additions and 74 deletions

View File

@@ -1,5 +1,3 @@
//import reportChooser from "../components/report-chooser.vue";
/* Xeslint-disable */
var VM_LOCAL = null;

View File

@@ -1,71 +0,0 @@
<template>
<DialogCard :title="title" :actions="actions" :handle="handleClick">
<v-select
v-model="selected"
:items="reports"
hide-details
single-line
prepend-icon="fa-print"
autofocus
full-width
solo
></v-select>
</DialogCard>
</template>
<script>
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
/* Xeslint-disable */
////////////////////////////////////////////////////////////////////////////////////////////////////////////
export default {
// overlay: 'default',
// asyncData () {
// return new Promise(resolve => {
// setTimeout(resolve, 3000)
// })
// },
created() {
if (this.selectedvalue) {
this.selected = this.selectedvalue;
}
},
data() {
return {
selected: {}
};
},
props: {
title: String,
oktext: String,
canceltext: String,
reports: Array,
selectedvalue: Number
},
computed: {
actions() {
// debugger;
return {
cancel: {
flat: true,
text: this.canceltext,
key: "false",
handle: () => {
// debugger;
return 0;
}
},
ok: {
flat: true,
text: this.oktext
}
};
}
},
methods: {
handleClick() {
this.$emit("submit", this.selected);
return false;
}
}
};
</script>

View File

@@ -146,7 +146,6 @@ document.addEventListener("fetchEnd", function() {
// return value.charAt(0).toUpperCase() + value.slice(1);
// });
/////////////////////////////////////////////////////////////
//GZ COMPONENTS
//