This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
<v-card elevation="24">
|
<v-card elevation="24">
|
||||||
<v-card-title class="headline lighten-2" primary-title>
|
<v-card-title class="headline lighten-2" primary-title>
|
||||||
<span> {{ $ay.t("Report") }} </span>
|
<span> {{ $ay.t("Report") }} </span>
|
||||||
|
TYPE: {{ ayaType }}, idList:{{ idList }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
||||||
<v-card-text style="height: 500px;">
|
<v-card-text style="height: 500px;">
|
||||||
@@ -53,6 +54,8 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data: () => ({
|
data: () => ({
|
||||||
|
ayaType: null,
|
||||||
|
idList: [],
|
||||||
isVisible: false,
|
isVisible: false,
|
||||||
resolve: null,
|
resolve: null,
|
||||||
reject: null,
|
reject: null,
|
||||||
@@ -63,14 +66,14 @@ export default {
|
|||||||
reportList: [],
|
reportList: [],
|
||||||
selectedReport: null
|
selectedReport: null
|
||||||
}),
|
}),
|
||||||
props: {
|
|
||||||
ayaType: {
|
|
||||||
type: Number,
|
|
||||||
default: 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
open() {
|
open(ayaType, idList) {
|
||||||
|
let vm=this;
|
||||||
|
if (ayaType == null || idList == null || idList.length == 0) {
|
||||||
|
throw "report-selector:Open missing type and or idList";
|
||||||
|
}
|
||||||
|
this.ayaType=ayaType;
|
||||||
|
this.idList=idList;
|
||||||
//get report list from server
|
//get report list from server
|
||||||
//for now we'll fake it
|
//for now we'll fake it
|
||||||
let fakeReportList = [];
|
let fakeReportList = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user