|  |  | 
 |  |  |                 <el-form-item label="身份证号" required> | 
 |  |  |                     <el-input v-model="item.idCard" maxlength="18" placeholder="请输入"></el-input> | 
 |  |  |                 </el-form-item> | 
 |  |  |               <el-form-item label="派遣单位" > | 
 |  |  |               <el-form-item label="派遣单位" v-if="!companyId"> | 
 |  |  |                 <el-select v-model="item.duId" @change="selectChange(index)" placeholder="请选择" clearable> | 
 |  |  |                   <el-option | 
 |  |  |                       v-for="item in dispatching" | 
 |  |  | 
 |  |  |       tempIndex: -1, | 
 |  |  |       dispatching: [], | 
 |  |  |       solutionId: null, | 
 |  |  |       companyId: null, | 
 |  |  |       list: [ | 
 |  |  |         { | 
 |  |  |           memberName: '', | 
 |  |  | 
 |  |  |       this.visible = true | 
 |  |  |       this.tempIndex = tempIndex | 
 |  |  |       this.solutionId = obj.solutionId | 
 |  |  |       this.companyId = obj.companyId | 
 |  |  |       this.dispatching = [] | 
 |  |  |       this.list = [ | 
 |  |  |         { | 
 |  |  | 
 |  |  |       ] | 
 |  |  |       this.arr = obj.arr | 
 |  |  |       this.price = obj.price | 
 |  |  |       this.getFindListByDTO() | 
 |  |  |       if (!obj.companyId) { | 
 |  |  |         this.getFindListByDTO() | 
 |  |  |       } else { | 
 |  |  |         worktype({ id: obj.solutionId, queryType: 0 }) | 
 |  |  |           .then(res => { | 
 |  |  |             this.list[0].options = res | 
 |  |  |           }) | 
 |  |  |       } | 
 |  |  |     }, | 
 |  |  |     getFindListByDTO () { | 
 |  |  |       findListByDTO({ | 
 |  |  | 
 |  |  |       }) | 
 |  |  |     }, | 
 |  |  |     add () { | 
 |  |  |       this.list.push({ | 
 |  |  |         memberName: '', | 
 |  |  |         idCard: '', | 
 |  |  |         workTypeName: '', | 
 |  |  |         worktypeId: '', | 
 |  |  |         duName: '', | 
 |  |  |         duId: '', | 
 |  |  |         options: [], | 
 |  |  |         fee: '', | 
 |  |  |         id: this.tempIndex - 1 | 
 |  |  |       }) | 
 |  |  |       if (!this.companyId) { | 
 |  |  |         this.list.push({ | 
 |  |  |           memberName: '', | 
 |  |  |           idCard: '', | 
 |  |  |           workTypeName: '', | 
 |  |  |           worktypeId: '', | 
 |  |  |           duName: '', | 
 |  |  |           duId: '', | 
 |  |  |           options: [], | 
 |  |  |           fee: '', | 
 |  |  |           id: this.tempIndex - 1 | 
 |  |  |         }) | 
 |  |  |       } else { | 
 |  |  |         this.list.push({ | 
 |  |  |           memberName: '', | 
 |  |  |           idCard: '', | 
 |  |  |           workTypeName: '', | 
 |  |  |           worktypeId: '', | 
 |  |  |           duName: '', | 
 |  |  |           duId: '', | 
 |  |  |           options: JSON.parse(JSON.stringify(this.list[0].options)), | 
 |  |  |           fee: '', | 
 |  |  |           id: this.tempIndex - 1 | 
 |  |  |         }) | 
 |  |  |       } | 
 |  |  |     }, | 
 |  |  |     dele (index) { | 
 |  |  |       this.list.splice(index, 1) |