| | |
| | | val: '', |
| | | list: [], |
| | | price: '', |
| | | insuranceApplyId: '', |
| | | notInInsuranceApplyId: '', |
| | | seleData: [], |
| | | oldList: [] |
| | | } |
| | |
| | | }, |
| | | methods: { |
| | | open (title, obj) { |
| | | this.insuranceApplyId = '' |
| | | this.notInInsuranceApplyId = '' |
| | | this.price = obj.price |
| | | this.oldList = obj.arr |
| | | this.list = [] |
| | | if (obj.insuranceApplyId) { |
| | | this.insuranceApplyId = obj.insuranceApplyId |
| | | } |
| | | if (obj.notInInsuranceApplyId) { |
| | | this.notInInsuranceApplyId = obj.notInInsuranceApplyId |
| | | } |
| | | this.title = title |
| | | this.visible = true |
| | | this.getList() |
| | |
| | | this.seleData.forEach(item => { |
| | | item.idCard = item.idcardNo |
| | | item.memberName = item.name |
| | | item.workTypeName = '' |
| | | item.worktypeId = '' |
| | | item.duId = '' |
| | | item.duName = '' |
| | | item.memberId = item.id |
| | | if (this.notInInsuranceApplyId) { |
| | | item.workTypeName = '' |
| | | item.worktypeId = '' |
| | | item.duId = '' |
| | | item.duName = '' |
| | | } |
| | | item.fee = this.price |
| | | }) |
| | | this.$emit('result', this.seleData) |
| | |
| | | }, |
| | | getList() { |
| | | findListByDTO({ |
| | | name: this.val |
| | | name: this.val, |
| | | insuranceApplyId: this.insuranceApplyId, |
| | | notInInsuranceApplyId: this.notInInsuranceApplyId |
| | | }).then(res => { |
| | | res.forEach(item => { |
| | | item.fee = '' |