2020-12-09 20:43:04 +00:00
|
|
|
<template>
|
|
|
|
|
<div class="card v-case-history">
|
|
|
|
|
<iframe
|
|
|
|
|
:width="width"
|
|
|
|
|
ref="IFrameCaseHistory"
|
|
|
|
|
frameborder="0"
|
|
|
|
|
:src="path"
|
|
|
|
|
:height="height"
|
|
|
|
|
allowfullscreen
|
|
|
|
|
></iframe>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "CaseHistory",
|
|
|
|
|
props: {
|
|
|
|
|
data: Object,
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
height: "500px",
|
|
|
|
|
width: "100%",
|
|
|
|
|
diffHeight: 10,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
path() {
|
|
|
|
|
let url =
|
2021-03-24 14:56:11 +00:00
|
|
|
window.config.SYS_SERVER_AJAX +
|
2020-12-09 20:43:04 +00:00
|
|
|
window.config.SYS_URI +
|
|
|
|
|
`cases/ajaxListener?action=caseHistory`;
|
|
|
|
|
return url;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
|
methods: {
|
|
|
|
|
classBtn(cls) {
|
|
|
|
|
return "btn v-btn-request " + cls;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
.v-case-history {
|
|
|
|
|
font-size: 13px;
|
|
|
|
|
}
|
|
|
|
|
</style>
|