jiangping
2024-06-18 8a3adc552ef87bd8453f6fde49157e66bd3220fd
提交一把
已修改4个文件
53 ■■■■ 文件已修改
company/src/components/business/OperaSolutionsDescWindow.vue 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaUnionChangeDetailWindow.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaUnionChangeUnitDetailWindow.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/detailsEntrustedInsurance.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
company/src/components/business/OperaSolutionsDescWindow.vue
@@ -87,7 +87,7 @@
                      <span>更换派遣单位 <i   :class="form.canChangeUnit ==1?'el-icon-circle-check':'el-icon-circle-close'" :style="form.canChangeUnit ==1?'color:green;font-weight:bold':'color:red;font-weight:bold'"></i></span>
                    </div>
                </div>
                <div class="info_list_item" v-if="(form.timeUnit===2 && (form.insureCycleUnit===2||form.insureCycleUnit===0)) || form.timeUnit===2 && (form.insureCycleUnit===2||form.insureCycleUnit===0))">
                <div class="info_list_item" v-if="form.insureCycleUnit===0 || (form.insureCycleUnit===form.timeUnit)">
                    <div class="info_list_item_label">批改仅支持替换:</div>
                    <div class="info_list_item_val" v-if="form.delOnlyReplace == 1">是</div>
                    <div class="info_list_item_val" v-else>否</div>
@@ -123,6 +123,7 @@
        </div>
        <!-- 修改 -->
        <OperaSolutionsWindow ref="operaSolutionsWindow" @success="callback"/>
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow"  />
    </GlobalWindow>
</template>
@@ -130,12 +131,13 @@
import BaseOpera from '@/components/base/BaseOpera'
import GlobalWindow from '@/components/common/GlobalWindow'
import OperaSolutionsWindow from '@/components/business/OperaSolutionsWindow'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
import { solutionsId } from '@/api/business/solutions'
import { mapState } from 'vuex'
export default {
  name: 'OperaSolutionsDescWindow',
  extends: BaseOpera,
  components: { GlobalWindow, OperaSolutionsWindow },
  components: { GlobalWindow, OperaPdfViewerWindow,OperaSolutionsWindow },
  data () {
    return {
      // 表单数据
@@ -225,7 +227,8 @@
    },
    openFile (url) {
      setTimeout(() => {
        window.open(url)
        this.$refs.OperaPdfViewerWindow.open('方案确认书',url)
        // window.open(url)
      }, 500)
    },
    getDetails () {
company/src/components/business/OperaUnionChangeDetailWindow.vue
@@ -206,6 +206,7 @@
        <!--    投保详情    -->
        <insuranceApplyDetails ref="insuranceApplyDetails" @success="successEvent" />
        <!-- 详情 -->
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
        <detailsEntrustedInsurance ref="detailsEntrustedInsurance" />
      <!-- 修改手机号 -->
      <el-dialog
@@ -245,7 +246,9 @@
        <div class="desc_item_from" v-for="(item, index) in pidanFileData" :key="index"  style="margin-bottom: 15px">
          <span v-if="index ==0">{{item.name}}:</span>
          <span v-if="index >0">被保险人({{item.name}})保险单:</span>
          <a style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl" @click="openFile(item.file.fileurlFull)">在线预览</a><span v-if="!item.file || !item.file.fileurl">未上传</span>
          <a  style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index ==0" @click="openFile(item.file.fileurlFull,item.name)">在线预览</a>
          <a   style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index !=0 " @click="openFile(item.file.fileurlFull,'被保险人('+item.name+')保险单')">在线预览</a>
          <span v-if="!item.file || !item.file.fileurl">未上传</span>
        </div>
        <span slot="footer" class="dialog-footer">
                <el-button @click="visibleFile=false">关 闭</el-button>
@@ -280,6 +283,7 @@
import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyAddWindow'
import { mapState } from 'vuex'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
export default {
  name: 'OperaUnionChangeDetailWindow',
  extends: BaseOpera,
@@ -288,6 +292,7 @@
    UnionChangeDetails,
    OperaUnionChangeCheckWindow,
      add_subtract_return,
    OperaPdfViewerWindow,
      OperaInsuranceApply,
      reinsurance,
      factoryChange,
@@ -367,9 +372,11 @@
        this.setTime()
      })
    },
    openFile (url) {
    openFile (url,title) {
      setTimeout(() => {
        window.open(url)
        this.$refs.OperaPdfViewerWindow.open(title || '在线预览',url)
        // window.open(url)
      }, 500)
    },
    setTime () {
@@ -462,7 +469,8 @@
      },
    viewApplyFile(){
       if(this.model.applyFile && this.model.applyFile.fileurlFull){
        window.open(this.model.applyFile.fileurlFull)
         this.$refs.OperaPdfViewerWindow.open('查看申请单',this.model.applyFile.fileurlFull)
        // window.open(this.model.applyFile.fileurlFull)
       }
    },
    viewPidan(){
company/src/components/business/OperaUnionChangeUnitDetailWindow.vue
@@ -171,6 +171,7 @@
        <OperaInsuranceApply ref="OperaInsuranceApply" @success="successEvent" />
        <!--    更换派遣单位申请    -->
        <reinsurance ref="reinsurance" @success="successEvent" />
        <OperaPdfViewerWindow ref="OperaPdfViewerWindow" @success="successEvent" />
        <!--    更换派遣单位申请    -->
        <factoryChange ref="factoryChange" @success="successEvent" />
        <!--    投保详情    -->
@@ -213,8 +214,16 @@
        <div class="desc_item_from" v-for="(item, index) in pidanFileData" :key="index"  style="margin-bottom: 15px">
          <span v-if="index ==0">{{item.name}}:</span>
          <span v-if="index >0">被保险人({{item.name}})保险单:</span>
          <a style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl" @click="openFile(item.file.fileurlFull)">在线预览</a><span v-if="!item.file || !item.file.fileurl">未上传</span>
          <a  style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index ==0" @click="openFile(item.file.fileurlFull,item.name)">在线预览</a>
          <a  style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl && index !=0 " @click="openFile(item.file.fileurlFull,'被保险人('+item.name+')保险单')">在线预览</a>
          <span v-if="!item.file || !item.file.fileurl">未上传</span>
        </div>
<!--
        <div class="desc_item_from" v-for="(item, index) in pidanFileData" :key="index"  style="margin-bottom: 15px">
          <span v-if="index ==0">{{item.name}}:</span>
          <span v-if="index >0">被保险人({{item.name}})保险单:</span>
          <a style="cursor: pointer;color: #2E68EC" v-if="item.file && item.file.fileurl" @click="openFile(item.file.fileurlFull)">在线预览</a><span v-if="!item.file || !item.file.fileurl">未上传</span>
        </div>-->
        <span slot="footer" class="dialog-footer">
                <el-button @click="visibleFile=false">关 闭</el-button>
            </span>
@@ -247,11 +256,13 @@
import OperaInsuranceApply from '@/components/enterprise/OperaInsuranceApplyAddWindow'
import { mapState } from 'vuex'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
export default {
  name: 'OperaUnionChangeDetailWindow',
  extends: BaseOpera,
  components: {
      GlobalWindow,
    OperaPdfViewerWindow,
    UnionChangeUnitDetails,
    OperaUnionChangeCheckWindow,
      add_subtract_return,
@@ -333,9 +344,11 @@
        this.setTime()
      })
    },
    openFile (url) {
    openFile (url,title) {
      setTimeout(() => {
        window.open(url)
        this.$refs.OperaPdfViewerWindow.open(title || '在线预览',url)
        // window.open(url)
      }, 500)
    },
    setTime () {
@@ -427,7 +440,8 @@
      },
    viewApplyFile(){
       if(this.model.applyFile && this.model.applyFile.fileurlFull){
        window.open(this.model.applyFile.fileurlFull)
         this.$refs.OperaPdfViewerWindow.open('查看申请单',this.model.applyFile.fileurlFull)
        // window.open(this.model.applyFile.fileurlFull)
       }
    },
    viewPidan(){
company/src/components/business/detailsEntrustedInsurance.vue
@@ -367,6 +367,7 @@
    <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" @success="successEvent"/>
    <!-- 更换派遣单位详情 -->
    <OperaApplyChangeUnitDetailWindow ref="OperaApplyChangeUnitDetailWindow" @success="successEvent"/>
    <OperaPdfViewerWindow ref="OperaPdfViewerWindow" />
    <!-- 加减保详情 -->
    <template v-slot:footer>
      <el-button @click="visible=false">返回</el-button>
@@ -444,11 +445,13 @@
import { mapState } from 'vuex'
import { sendSms } from '@/api/business/smsEmail'
import OperaPdfViewerWindow from '@/components/business/OperaPdfViewerWindow'
export default {
  name: 'OperaWtbApplyShopWindow1',
  extends: BaseOpera,
  components: {
    GlobalWindow,
    OperaPdfViewerWindow,
    OperaApplyChangeUnitDetailWindow,
    OperaApplyChangeDetailWindow,
    InsuranceDetailsWtb,
@@ -786,7 +789,8 @@
    },
    openFile (url) {
      setTimeout(() => {
        window.open(url)
        this.$refs.OperaPdfViewerWindow.open('商户投保单',url)
        // window.open(url)
      }, 500)
    },
    viewToubaodan () {