From f55d6c3c4f13e1564899d3c88cbe698537aefcf9 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期二, 18 六月 2024 10:21:42 +0800 Subject: [PATCH] sssssssssss --- company/src/components/business/OperaInsuranceApplyWindow.vue | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/company/src/components/business/OperaInsuranceApplyWindow.vue b/company/src/components/business/OperaInsuranceApplyWindow.vue index 08f97b1..8c7d0bb 100644 --- a/company/src/components/business/OperaInsuranceApplyWindow.vue +++ b/company/src/components/business/OperaInsuranceApplyWindow.vue @@ -466,6 +466,7 @@ <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="successEvent"/> <!-- 楠岃瘉鎵嬫満鍙� --> <operaverifyPhoneNumberWindew ref="operaverifyPhoneNumberWindew" @success="goSign" /> + <OperaPdfViewerWindow ref="OperaPdfViewerWindow" /> <template v-slot:footer> <el-button @click="visible=false">杩斿洖</el-button> </template> @@ -491,11 +492,13 @@ import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow' import { mapState } from 'vuex' +import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow' export default { name: 'OperaInsuranceApplyWindow1', extends: BaseOpera, components: { GlobalWindow, + OperaPdfViewerWindow, InsuranceDetails, OperaInsuranceApplyCheckWindow, applyReturn, @@ -782,18 +785,21 @@ viewToubaodan(){ if(this.model.toubaodanSignedFile && this.model.toubaodanSignedFile.fileurlFull){ setTimeout(() => { - window.open(this.model.toubaodanSignedFile.fileurlFull) + this.$refs.OperaPdfViewerWindow.open('鏌ョ湅鎶曚繚鍗�',this.model.toubaodanSignedFile.fileurlFull) + // window.open(this.model.toubaodanSignedFile.fileurlFull) }, 500); } else if(this.model.toubaodanFile && this.model.toubaodanFile.fileurlFull){ setTimeout(() => { - window.open(this.model.toubaodanFile.fileurlFull) + this.$refs.OperaPdfViewerWindow.open('鏌ョ湅鎶曚繚鍗�',this.model.toubaodanFile.fileurlFull) + // window.open(this.model.toubaodanFile.fileurlFull) },500) } }, viewBaoxiandan(){ if(this.model.baoxiandanFile && this.model.baoxiandanFile.fileurlFull){ - window.open(this.model.baoxiandanFile.fileurlFull) + this.$refs.OperaPdfViewerWindow.open('鏌ョ湅淇濋櫓鍗�',this.model.baoxiandanFile.fileurlFull) + // window.open(this.model.baoxiandanFile.fileurlFull) } }, handleSizeChange(val){ -- Gitblit v1.9.3