diff --git a/resources/assets/js/components/home/caseDetail/CaseHistory.vue b/resources/assets/js/components/home/caseDetail/CaseHistory.vue index 27ce8b258..b4c6475e7 100644 --- a/resources/assets/js/components/home/caseDetail/CaseHistory.vue +++ b/resources/assets/js/components/home/caseDetail/CaseHistory.vue @@ -5,7 +5,7 @@ ref="IFrameCaseHistory" title="IFrameCaseHistory" frameborder="0" - :src="path" + :src="url" :height="height" allowfullscreen > @@ -16,25 +16,22 @@ export default { name: "CaseHistory", props: { - data: Object, + historyData: Object, }, data() { return { + url: "", height: "500px", width: "100%", diffHeight: 10, }; }, - computed: { - path() { - let url = - window.config.SYS_SERVER_AJAX + - window.config.SYS_URI + - `cases/ajaxListener?action=caseHistory`; - return url; - }, + computed: {}, + mounted() { + this.url = window.config.SYS_SERVER_AJAX + + window.config.SYS_URI + + `cases/ajaxListener?action=caseHistory&appUid=` + this.data.APP_UID; }, - mounted() {}, methods: { classBtn(cls) { return "btn v-btn-request " + cls; diff --git a/resources/assets/js/components/tabs/Tab.vue b/resources/assets/js/components/tabs/Tab.vue index 5adedfabf..68e8d44be 100644 --- a/resources/assets/js/components/tabs/Tab.vue +++ b/resources/assets/js/components/tabs/Tab.vue @@ -1,6 +1,6 @@