| | |
| | | <el-row> |
| | | <el-col span="24"> |
| | | <el-form-item label="员工模板下载" prop="region"> |
| | | <a href="http://120.24.23.155:8000/员工信息.xls" target="_blank" style="color: #3A8EE6;">员工信息.xlxs</a> |
| | | <a :href="downloadEmpExcel" target="_blank" style="color: #3A8EE6;">员工信息.xlxs</a> |
| | | <span style="margin-left: 100px;">点击下载</span> |
| | | </el-form-item> |
| | | <el-form-item label="导入员工"> |
| | | <el-upload |
| | | ref="upload" |
| | | class="upload-demo" |
| | | action="http://120.24.23.155:8301/hr/empBaseInfo/importEmp" |
| | | :action="uploadEmpExcel" |
| | | accept=".xls, .xlsx, .excel" |
| | | :headers="headers()" |
| | | :on-success="importHandleAvatarSuccess" |
| | |
| | | components: { Treeselect, Pagination }, |
| | | data() { |
| | | return { |
| | | downloadEmpExcel: pages.downloadEmpExcel, |
| | | uploadEmpExcel: pages.uploadEmpExcel, |
| | | defaultImg: require('../../assets/avatar/20180414165936.jpg'), |
| | | baseicInformationForm: {}, |
| | | dialogShowDryg: false, |
| | |
| | | } |
| | | break |
| | | case 11: |
| | | selected = this.$refs.occupationalTable.selection |
| | | selected = this.$refs.laborTroubleTable.selection |
| | | if (selected.length > 0) { |
| | | const delIds = [] |
| | | selected.forEach((j) => { |