File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 270270 />
271271 </b-col >
272272 </b-row >
273+ <!-- Modals -->
274+ <modal-pel-info :pel-data =" pelData" />
273275 </b-container >
274276</template >
275277
@@ -310,6 +312,7 @@ import TableRowExpandMixin, {
310312import SearchFilterMixin, {
311313 searchFilter ,
312314} from ' @/components/Mixins/SearchFilterMixin' ;
315+ import ModalPelInfo from ' ../Modals/ModalPelInfo' ;
313316
314317export default {
315318 components: {
@@ -318,6 +321,7 @@ export default {
318321 IconChevron,
319322 IconDownload,
320323 InfoTooltip,
324+ ModalPelInfo,
321325 PageTitle,
322326 Search,
323327 StatusIcon,
@@ -427,6 +431,7 @@ export default {
427431 selectedRows: selectedRows,
428432 tableHeaderCheckboxModel: tableHeaderCheckboxModel,
429433 tableHeaderCheckboxIndeterminate: tableHeaderCheckboxIndeterminate,
434+ pelData: [],
430435 };
431436 },
432437 computed: {
@@ -485,6 +490,8 @@ export default {
485490 },
486491 methods: {
487492 downloadFile (pelJsonInfo ) {
493+ this .pelData = pelJsonInfo;
494+ this .$bvModal .show (' modal-pel-info' );
488495 let date = new Date ();
489496 date =
490497 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