jiangping
2024-01-26 0afc0d40e019c168d47a79e90bdff2aba29ad553
company/src/components/business/OperaInsuranceApplyWindow.vue
@@ -16,12 +16,12 @@
                    </div>
                    <div class="desc_item_label_right">
                        <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单')">导出详单</el-button>
                        <el-button type="primary" @click="visible2 = true">上传投保单</el-button>
                        <el-button type="primary" @click="visible3 = true">上传保险单</el-button>
                        <el-button type="primary" @click="visible5 = true">驳回退回申请</el-button>
                        <el-button type="primary" @click="$refs.InsuranceDetails.open('投保详情单')">投保审核</el-button>
                        <el-button type="danger" @click="visible1 = true">退回投保</el-button>
                        <el-button type="danger" @click="visible4 = true">修改保险单</el-button>
                        <el-button v-if="model.status == 0 " type="primary" @click="visible2 = true">上传投保单</el-button>
                        <el-button v-if="model.status == 3 "  type="primary" @click="visible3 = true">上传保险单</el-button>
                        <el-button  v-if="model.status == 6 || model.status == 7|| model.status == 8" type="primary" @click="visible5 = true">处理退回申请</el-button>
                        <el-button v-if="model.status == 0 "  type="primary" @click="$refs.InsuranceDetails.open('投保详情单')">投保审核</el-button>
                        <el-button v-if="model.status != 5 " type="danger" @click="visible1 = true">退回投保</el-button>
                        <el-button v-if="model.status == 5 "  type="danger" @click="visible4 = true">修改保险单</el-button>
                    </div>
                </div>
                <div class="desc_item_from">
@@ -181,8 +181,8 @@
                        <el-timeline-item
                            v-for="(activity, index) in activities"
                            :key="index"
                            :timestamp="activity.timestamp">
                            {{activity.content}}
                            :timestamp="activity.createDate">
                            {{activity.title}}
                        </el-timeline-item>
                    </el-timeline>
                </div>
@@ -454,8 +454,9 @@
    getDetail(){
      getDetail(this.dataId).then(res => {
        this.model = res
        this.tableData = new Array();
        this.tableData.push(res);
        this.tableData = new Array()
        this.tableData.push(res)
        this.activities=res.applyLogList
      }).catch(err => {
      })
    },