MrShi
2024-02-23 1e72942aa4848ae4835e7f30bb4adc01f9ce5bdc
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -35,6 +35,9 @@
                    <template v-else>
                      <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单',model,0)">导出详单</el-button>
                      <el-button v-if="[2, 3, 5, 7, 8].includes(model.status)" type="primary" @click="viewToubaodan">查看投保单</el-button>
<!--
                      <el-button v-if="model.status == 2" type="primary" @click="goSign">签署投保单</el-button>
-->
                      <el-button v-if="model.status == 5" type="primary" @click="viewBaoxiandan">查看保险单</el-button>
                      <el-button v-if="model.status == 10" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传投保单',model,2)">上传投保单</el-button>
                      <el-button v-if="model.status == 3" type="primary" @click="$refs.OperaInsuranceApplyCheckWindow.open('上传保险单',model,3)">上传保险单</el-button>
@@ -264,6 +267,7 @@
                                <span :class="'change-status'+row.status" v-if="row.status === 2">已生效</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 3 || row.status === 4">申请退回</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 5 || row.status === 8">已退回</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 6">已关闭</span>
                            </template>
                        </el-table-column>
                        <el-table-column
@@ -288,7 +292,7 @@
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
                            prop="startTime"
                            prop="applyStartTime"
                            label="批单生效起期">
                        </el-table-column>
                        <el-table-column
@@ -317,6 +321,7 @@
                                <span :class="'change-status'+row.status" v-if="row.status === 2">已生效</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 3 || row.status === 4">申请退回</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 5 || row.status === 8">已退回</span>
                                <span :class="'change-status'+row.status" v-if="row.status === 6">已关闭</span>
                            </template>
                        </el-table-column>
                        <el-table-column
@@ -336,7 +341,7 @@
                        </el-table-column>
                        <el-table-column
                            :key="Math.random()"
                            prop="startTime"
                            prop="applyStartTime"
                            label="批单生效起期">
                        </el-table-column>
                        <el-table-column
@@ -418,7 +423,7 @@
import { mapState } from 'vuex'
export default {
  name: 'OperaInsuranceApplyWindow',
  name: 'OperaInsuranceApplyWindow1',
  extends: BaseOpera,
  components: {
      GlobalWindow,
@@ -454,7 +459,7 @@
          endTimeS: '',
          startTimeE: '',
          startTimeS: '',
          types: ''
          type: ''
      },
      visible1: false,
      visible2: false,
@@ -501,7 +506,7 @@
        this.formInline.endTimeS = ''
        this.formInline.startTimeE = ''
        this.formInline.startTimeS = ''
        this.formInline.types = ''
        this.formInline.type = ''
        this.activeName = '0'
        this.getDetail()
        this.getList()
@@ -619,7 +624,7 @@
                      endTimeS: this.formInline.endTimeS,
                      startTimeE: this.formInline.startTimeE,
                      startTimeS: this.formInline.startTimeS,
                      types: this.formInline.types
                      type: this.formInline.type
                  }
              }).then(response => {
                  this.download(response)
@@ -661,7 +666,7 @@
                     status: this.formInline.applyStatus,
                     endTimeE: this.formInline.endTimeS,
                     endTimeS: this.formInline.startTimeS,
                     types: this.formInline.types
                     type: this.formInline.type
                 }
             }).then(res => {
                 if (this.activeName === '1') {
@@ -682,9 +687,9 @@
      handleClick(e) {
            this.activeName = e.index
            if (e.index === '1') {
                this.formInline.types = 0
                this.formInline.type = 0
            } else if (e.index === '2') {
                this.formInline.types = 1
                this.formInline.type = 1
            }
            this.resetting()
      },