MrShi
2025-04-11 3a45da15c947c2d478a44a51bd0f926647b1b841
company/src/components/business/OperaApplyChangeUnitDetailWindow.vue
@@ -91,7 +91,7 @@
                      <el-table-column
                          prop="applyStartTime"
                          align="center"
                          label="批单生效起期">
                          :label="getChangApplyTimeTitle(2,model)">
                      </el-table-column>
                        <el-table-column
                            prop="changeNum"
@@ -118,7 +118,7 @@
                            label="性别">
                            <template slot-scope="{row}">
                                <span v-if="row.sex === 0">男</span>
                                <span v-else>女</span>
                              <span  v-if="row.sex === 1">女</span>
                            </template>
                        </el-table-column>
                        <el-table-column
@@ -225,6 +225,7 @@
        <editFactoryChange ref="editFactoryChange" @success="successEvent" />
        <!--    投保详情    -->
        <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" />
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
      <template v-slot:footer>
        <el-button @click="visible=false">返回</el-button>
      </template>
@@ -242,6 +243,7 @@
import applyReturn from '@/components/enterprise/applyReturn'
import add_subtract_return from '@/components/enterprise/add_subtract_return'
// import insuranceApplyDetails from '@/components/business/OperaInsuranceApplyWindow'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
import {
  getDetail,
  getChangeDetail,
@@ -258,6 +260,7 @@
  extends: BaseOpera,
  components: {
    GlobalWindow,
    OperaPdfViewerWindow,
    ApplyChangeUnitDetails,
    OperaApplyChangeUnitCheckWindow,
    applyReturn,
@@ -429,14 +432,16 @@
        this.$tip.apiFailed(err)
      })
    },
    viewApplyFile () {
      if (this.model.applyUnitFile && this.model.applyUnitFile.fileurlFull) {
        window.open(this.model.applyUnitFile.fileurlFull)
    viewApplyFile(){
      if(this.model.applyUnitFile && this.model.applyUnitFile.fileurlFull){
        this.$refs.OperaPdfViewerWindow.open('查看申请单',this.model.applyUnitFile.fileurlFull)
        // window.open(this.model.applyFile.fileurlFull)
      }
    },
    viewPidan () {
      if (this.model.pidanFile && this.model.pidanFile.fileurlFull) {
        window.open(this.model.pidanFile.fileurlFull)
    viewPidan(){
      if(this.model.pidanFile && this.model.pidanFile.fileurlFull){
        this.$refs.OperaPdfViewerWindow.open('查看批单',this.model.pidanFile.fileurlFull)
        // window.open(this.model.pidanFile.fileurlFull)
      }
    },
    handleSizeChange (val) {