|  |  | 
 |  |  |     <div class="list"> | 
 |  |  |       <el-form :inline="true" ref="form" :model="form" :rules="rules" class="demo-form-inline"> | 
 |  |  |         <el-form-item label="保险方案" prop="solutionId"> | 
 |  |  |           <el-select v-model="form.solutionId" filterable @change="changeSolution" placeholder="请选择"> | 
 |  |  |           <el-select v-model="form.solutionId" :disabled="title === '续保'" filterable @change="changeSolution" placeholder="请选择"> | 
 |  |  |             <el-option | 
 |  |  |                 v-for="item in company" | 
 |  |  |                 :key="item.id" | 
 |  |  | 
 |  |  |     }, | 
 |  |  |     // 获取投保详情 | 
 |  |  |     getDetails () { | 
 |  |  |       findList({ applyId: this.form.id }) | 
 |  |  |       findList({ applyId: this.form.id, applyStatus: 1 }) | 
 |  |  |         .then(res => { | 
 |  |  |           res.forEach(item => { | 
 |  |  |             console.log(item) | 
 |  |  | 
 |  |  |             }).then(() => { | 
 |  |  |               if (!this.form.companyId) { | 
 |  |  |                 this.$refs.detailsPolicyholder.open('投保详情单', { | 
 |  |  |                   companyName: this.userInfo.company.name, | 
 |  |  |                   companyName: this.userInfo.showCompany.name, | 
 |  |  |                   solutionName: this.item.name, | 
 |  |  |                   solutionType: this.item.type, | 
 |  |  |                   applyStartTime: this.form.applyStartTime, | 
 |  |  | 
 |  |  |           } else { | 
 |  |  |             if (!this.form.companyId) { | 
 |  |  |               this.$refs.detailsPolicyholder.open('投保详情单', { | 
 |  |  |                 companyName: this.userInfo.company.name, | 
 |  |  |                 companyName: this.userInfo.showCompany.name, | 
 |  |  |                 solutionName: this.item.name, | 
 |  |  |                 solutionType: this.item.type, | 
 |  |  |                 applyStartTime: this.form.applyStartTime, | 
 |  |  | 
 |  |  |         this.$message.warning('请先选择保险方案') | 
 |  |  |         return | 
 |  |  |       } | 
 |  |  |       this.$refs.addEmployee.open('添加员工', { arr: this.tableData, price: this.price, solutionId: this.form.solutionId, companyId: this.form.companyId }) | 
 |  |  |       this.$refs.addEmployee.open('添加员工', { arr: this.tableData, price: this.price, solutionId: this.form.solutionId, hasDispatchUnit: this.item.hasDispatchUnit, companyId: this.userInfo.type === 1 ? this.userInfo.companyId : this.form.companyId }) | 
 |  |  |     }, | 
 |  |  |     uploadUser () { | 
 |  |  |       if (!this.form.solutionId) { | 
 |  |  |         this.$message.warning('请先选择保险方案') | 
 |  |  |         return | 
 |  |  |       } | 
 |  |  |       this.$refs.importEmployees.open('上传名单', { arr: this.tableData, solutionId: this.form.solutionId, type: 1, price: this.price }) | 
 |  |  |       this.$refs.importEmployees.open('上传名单', { arr: this.tableData, solutionId: this.form.solutionId, type: 1, hasDispatchUnit: this.item.hasDispatchUnit, price: this.price }) | 
 |  |  |     }, | 
 |  |  |     // 切换方案 | 
 |  |  |     changeSolution (e) { |