2020-12-09 20:43:04 +00:00
|
|
|
<template>
|
|
|
|
|
<div class="card v-case-history">
|
|
|
|
|
<iframe
|
|
|
|
|
:width="width"
|
|
|
|
|
ref="IFrameCaseHistory"
|
2022-04-14 12:50:58 -04:00
|
|
|
title="IFrameCaseHistory"
|
2020-12-09 20:43:04 +00:00
|
|
|
frameborder="0"
|
2022-12-21 11:10:01 -04:00
|
|
|
:src="url"
|
2020-12-09 20:43:04 +00:00
|
|
|
:height="height"
|
|
|
|
|
allowfullscreen
|
|
|
|
|
></iframe>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "CaseHistory",
|
|
|
|
|
props: {
|
2022-12-21 11:10:01 -04:00
|
|
|
historyData: Object,
|
2020-12-09 20:43:04 +00:00
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
2022-12-21 11:10:01 -04:00
|
|
|
url: "",
|
2020-12-09 20:43:04 +00:00
|
|
|
height: "500px",
|
|
|
|
|
width: "100%",
|
|
|
|
|
diffHeight: 10,
|
|
|
|
|
};
|
|
|
|
|
},
|
2022-12-21 11:10:01 -04:00
|
|
|
computed: {},
|
|
|
|
|
mounted() {
|
|
|
|
|
this.url = window.config.SYS_SERVER_AJAX +
|
|
|
|
|
window.config.SYS_URI +
|
2023-01-06 12:37:04 -04:00
|
|
|
`cases/ajaxListener?action=caseHistory&appUid=` + this.historyData.APP_UID;
|
2020-12-09 20:43:04 +00:00
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
classBtn(cls) {
|
|
|
|
|
return "btn v-btn-request " + cls;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.v-case-history {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|