| | |
| | | applyId: null, |
| | | addList: [], |
| | | delList: [], |
| | | fileName: '' |
| | | fileName: '', |
| | | hasDispatchUnit: null |
| | | } |
| | | }, |
| | | methods: { |
| | |
| | | this.applyId = obj.insuranceApplyId |
| | | this.list = obj.arr |
| | | this.price = obj.price |
| | | this.hasDispatchUnit = obj.hasDispatchUnit |
| | | this.importing= false |
| | | this.confirming= false |
| | | }, |
| | |
| | | exportTemplate () { |
| | | // 投保申请 |
| | | if (this.type === 1) { |
| | | window.open('/template/personnel_add.xlsx') |
| | | if (this.hasDispatchUnit === 1) { |
| | | window.open('/template/personnel_no.xlsx') |
| | | } else { |
| | | window.open('/template/personnel_add.xlsx') |
| | | } |
| | | } else { |
| | | window.open('/template/personnel_reduce.xlsx') |
| | | } |
| | |
| | | .then(res => { |
| | | res.forEach(item => { |
| | | item.memberName = item.name |
| | | item.reducePrice = item.fee |
| | | }) |
| | | this.delList = res |
| | | this.fileName = e.target.files[0].name |