| | |
| | | label: "操作", |
| | | align: "center", |
| | | fixed: 'right', |
| | | width: 180, |
| | | width: 130, |
| | | operation: [ |
| | | { |
| | | name: "详情", |
| | |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | openFilesFormDia(row); |
| | | }, |
| | | }, |
| | | { |
| | | name: "下载合同", |
| | | type: "text", |
| | | clickFun: (row) => { |
| | | handleDownloadContract(row); |
| | | }, |
| | | }, |
| | | ], |
| | |
| | | .catch(() => { |
| | | proxy.$modal.msg("已取消"); |
| | | }); |
| | | }; |
| | | // 下载合同 |
| | | const handleDownloadContract = (row) => { |
| | | const fileName = `${row.staffName}劳动合同.xlsx`; |
| | | proxy.download("/staff/staffOnJob/exportCopy", { ...row }, fileName); |
| | | }; |
| | | const upload = reactive({ |
| | | // 是否显示弹出层(合同导入) |