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