| | |
| | | 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') |
| | | } |