| | |
| | | return request({ |
| | | url: '/insOrder/rawAllInsOrderExport', |
| | | method: 'get', |
| | | data: query, |
| | | params: query, |
| | | responseType: "blob" |
| | | }) |
| | | } |
| | |
| | | // 删除部门 |
| | | export function delDepartmentLims(query) { |
| | | return request({ |
| | | url: "/department/delDepartmentLims", |
| | | url: "/personBasicInfo/delDepartmentLims", |
| | | method: "delete", |
| | | params: query |
| | | }); |
| | |
| | | // 添加部门 |
| | | export function addDepartmentLims(query) { |
| | | return request({ |
| | | url: "/department/addDepartmentLims", |
| | | url: "/personBasicInfo/addDepartmentLims", |
| | | method: "post", |
| | | data: query |
| | | }); |
| | |
| | | /* if (!row.tempUrlPdf) return this.$message.warning('文件未上传') |
| | | this.currentInfo = row |
| | | this.lookDialogVisible = true*/ |
| | | console.log(this.javaApi) |
| | | this.currentInfo = row; |
| | | let fileName = row.url |
| | | let fileType = "docx" |
| | |
| | | }, |
| | | // 导出记录 |
| | | downLoad() { |
| | | rawAllInsOrderExport({ ...this.entity }).then(res => { |
| | | const params = { ...this.entity, state: this.tabList[this.tabIndex].value } |
| | | rawAllInsOrderExport({ ...params }).then(res => { |
| | | const blob = new Blob([res], { type: 'application/octet-stream' }); |
| | | this.$download.saveAs(blob, '委托检测信息导出.xlsx'); |
| | | }).catch(err => { |