jiangping
2025-06-17 78a173f85f8a4666d83cf8d900f04dd9f8e3e127
company/src/views/business/insuranceApply.vue
@@ -68,11 +68,16 @@
                    <span>{{scope.$index + 1}}</span>
                  </template>
                </el-table-column>
                <el-table-column prop="statusInfo"   align="center"  fixed label="状态">
                <el-table-column prop="statusInfo" align="center"  fixed label="状态">
                  <template slot-scope="{row}">
                    <span :class="'apply-status'+row.status" >{{row.statusInfo}}</span>
                    <span style="color: #666;" v-if="[9,25,27,5].includes(row.status) && ['已关闭','已过期'].includes(row.statusInfo)">{{row.statusInfo}}</span>
                    <span style="color: red;" v-else-if="row.status === 4 && row.statusInfo === '已退回'">{{ row.statusInfo}}</span>
                    <span style="color: #f95601;" v-else-if="[5,27].includes(row.status) && row.statusInfo === '待生效'">{{ row.statusInfo}}</span>
                      <span style="color: #216EEE;" v-else-if="[12].includes(row.status) && row.statusInfo === '待审核'">{{ row.statusInfo}}</span>
                    <span :class="'apply-status'+row.status" v-else>{{row.statusInfo}}</span>
                  </template>
                </el-table-column>
                  <el-table-column prop="companyName" v-if="userInfo.type === 0" fixed label="企业名称" align="center" min-width="150"></el-table-column>
                <el-table-column prop="solutionsName" fixed label="保险方案" align="center" min-width="150"></el-table-column>
                <el-table-column label="类型" fixed  align="center">
                  <template slot-scope="{row}">
@@ -159,6 +164,7 @@
import OperaInsuranceApplyWindow from '@/components/business/OperaInsuranceApplyWindow'
import OperaInsuranceApplyAddWindow from '@/components/enterprise/OperaInsuranceApplyAddWindow'
import chooseCompany from '@/components/common/chooseCompany'
import { mapState } from 'vuex'
export default {
    name: 'InsuranceApply',
    extends: BaseTable,
@@ -192,6 +198,9 @@
          ]
        }
    },
    computed: {
        ...mapState(['userInfo'])
    },
    created () {
        this.config({
            module: '投保申请信息表',
@@ -208,6 +217,7 @@
          this.searchForm.timeOut = e.split(',')[1]
          this.searchForm.statusCollect = e.split(',')[0]
        } else {
          this.searchForm.timeOut = ''
          this.searchForm.statusCollect = e
        }
        this.search()
@@ -219,7 +229,8 @@
        reset () {
            this.$refs.searchForm.resetFields()
            this.statusCollect = ''
          this.searchForm.statusCollect = ''
            this.searchForm.timeOut = ''
            this.searchForm.statusCollect = ''
            this.searchForm.createTimeS = ''
            this.searchForm.createTimeE = ''
            this.search()