File tree 2 files changed +26
-0
lines changed
2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 270
270
/>
271
271
</b-col >
272
272
</b-row >
273
+ <!-- Modals -->
274
+ <modal-pel-info :pel-data =" pelData" />
273
275
</b-container >
274
276
</template >
275
277
@@ -310,6 +312,7 @@ import TableRowExpandMixin, {
310
312
import SearchFilterMixin, {
311
313
searchFilter ,
312
314
} from ' @/components/Mixins/SearchFilterMixin' ;
315
+ import ModalPelInfo from ' ../Modals/ModalPelInfo' ;
313
316
314
317
export default {
315
318
components: {
@@ -318,6 +321,7 @@ export default {
318
321
IconChevron,
319
322
IconDownload,
320
323
InfoTooltip,
324
+ ModalPelInfo,
321
325
PageTitle,
322
326
Search,
323
327
StatusIcon,
@@ -427,6 +431,7 @@ export default {
427
431
selectedRows: selectedRows,
428
432
tableHeaderCheckboxModel: tableHeaderCheckboxModel,
429
433
tableHeaderCheckboxIndeterminate: tableHeaderCheckboxIndeterminate,
434
+ pelData: [],
430
435
};
431
436
},
432
437
computed: {
@@ -485,6 +490,8 @@ export default {
485
490
},
486
491
methods: {
487
492
downloadFile (pelJsonInfo ) {
493
+ this .pelData = pelJsonInfo;
494
+ this .$bvModal .show (' modal-pel-info' );
488
495
let date = new Date ();
489
496
date =
490
497
date .toISOString ().slice (0 , 10 ) +
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <b-modal id =" modal-pel-info" >
3
+ <template #modal-title > PEL Information</template >
4
+ <div >{{ pelData.toString() }}</div >
5
+ </b-modal >
6
+ </template >
7
+
8
+ <script >
9
+ export default {
10
+ props: {
11
+ pelData: {
12
+ type: Array ,
13
+ default () {
14
+ return [];
15
+ },
16
+ },
17
+ },
18
+ };
19
+ </script >
You can’t perform that action at this time.
0 commit comments