import request from '../../utils/request' import {ElMessage, ElMessageBox} from "element-plus"; import {downloadExcel} from "@/utils/excel"; // 查询员工基本信息 export function selectEmployeeInfo(text) { return request({ url: '/technologyArchives/selectEmployeeInfo', method: 'get', params: { text }, }) } // 查询员工基本信息 export function selectDictInfo() { return request({ url: '/technologyArchives/selectDictInfo', method: 'get', params: { }, }) } // 保存技术文档基本信息 export function saveTechnologyArchivesMain(data) { return request({ url: '/technologyArchives/saveTechnologyArchivesMain', method: 'post', data, }) } // 查询技术文档1 export function selectTechnologyArchives1() { return request({ url: '/technologyArchives/selectTechnologyArchives1', method: 'get', params: { }, }) } // 查询技术文档1 // export function selectTa1(socialNo) { // return request({ // url: '/technologyArchives/selectTa1', // method: 'get', // params: { socialNo }, // }) // } export function setImage1(socialNo, getTime, url) { return request({ url: '/technologyArchives/setImage1', method: 'get', params: { socialNo, getTime, url }, }) } // 查询技术文档的图片 export function selectImage1(socialNo, getTime) { return request({ url: '/technologyArchives/selectImage1', method: 'get', params: { socialNo, getTime }, }) } // 删除技术文档的图片 // export function deleteImage1(socialNo, getTime) { // return request({ // url: '/technologyArchives/deleteImage1', // method: 'get', // params: { socialNo, getTime }, // }) // } // 保存技术文档1 export function saveTechnologyArchives1(data) { return request({ url: '/technologyArchives/saveTechnologyArchives1', method: 'post', data, }) } // 根据serialNo, getTime删除技术文档1 export function delTechnologyArchives1ByCode(socialNo, getTime) { return request({ url: '/technologyArchives/delTechnologyArchives1ByCode', method: 'get', params: { socialNo, getTime }, }) } // 查询技术文档2 export function selectTechnologyArchives2() { return request({ url: '/technologyArchives/selectTechnologyArchives2', method: 'get', params: { }, }) } // 查询技术文档2的图片 export function selectImage2(socialNo, no) { return request({ url: '/technologyArchives/selectImage2', method: 'get', params: { socialNo, no }, }) } export function setImage2(socialNo, no,url) { return request({ url: '/technologyArchives/setImage2', method: 'get', params: { socialNo, no, url }, }) } // 保存技术文档2 export function saveTechnologyArchives2(data) { return request({ url: '/technologyArchives/saveTechnologyArchives2', method: 'post', data, }) } // 根据serialNo, no删除技术文档2 export function delTechnologyArchives2ByCode(socialNo, no) { return request({ url: '/technologyArchives/delTechnologyArchives2ByCode', method: 'get', params: { socialNo, no }, }) } // 查询技术文档3 export function selectTechnologyArchives3() { return request({ url: '/technologyArchives/selectTechnologyArchives3', method: 'get', params: { }, }) } // 保存技术文档3 export function saveTechnologyArchives3(data) { return request({ url: '/technologyArchives/saveTechnologyArchives3', method: 'post', data, }) } // 根据serialNo, id删除技术文档3 export function delTechnologyArchives3ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives3ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档4 export function selectTechnologyArchives4() { return request({ url: '/technologyArchives/selectTechnologyArchives4', method: 'get', params: { }, }) } // 保存技术文档4 export function saveTechnologyArchives4(data) { return request({ url: '/technologyArchives/saveTechnologyArchives4', method: 'post', data, }) } // 根据serialNo, id删除技术文档4 export function delTechnologyArchives4ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives4ByCode', method: 'get', params: { socialNo, id }, }) } export function setTrainingImage(socialNo, beginTime, url) { return request({ url: '/technologyArchives/setTrainingImage', method: 'get', params: { socialNo, beginTime, url }, }) } // 查询培训证明图片 export function selectTrainingImage(socialNo, id) { return request({ url: '/technologyArchives/selectTrainingImage', method: 'get', params: { socialNo, id }, }) } // 查询技术文档5 export function selectTechnologyArchives5() { return request({ url: '/technologyArchives/selectTechnologyArchives5', method: 'get', params: { }, }) } // 保存技术文档5 export function saveTechnologyArchives5(data) { return request({ url: '/technologyArchives/saveTechnologyArchives5', method: 'post', data, }) } // 根据serialNo, time删除技术文档5 export function delTechnologyArchives5ByCode(socialNo, time) { return request({ url: '/technologyArchives/delTechnologyArchives5ByCode', method: 'get', params: { socialNo, time }, }) } // 查询技术文档6 export function selectTechnologyArchives6() { return request({ url: '/technologyArchives/selectTechnologyArchives6', method: 'get', params: { }, }) } // 保存技术文档6 export function saveTechnologyArchives6(data) { return request({ url: '/technologyArchives/saveTechnologyArchives6', method: 'post', data, }) } // 根据serialNo, id删除技术文档6 export function delTechnologyArchives6ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives6ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档7 export function selectTechnologyArchives7() { return request({ url: '/technologyArchives/selectTechnologyArchives7', method: 'get', params: { }, }) } // 保存技术文档7 export function saveTechnologyArchives7(data) { return request({ url: '/technologyArchives/saveTechnologyArchives7', method: 'post', data, }) } // 根据serialNo, id删除技术文档7 export function delTechnologyArchives7ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives7ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档9 export function selectTechnologyArchives9() { return request({ url: '/technologyArchives/selectTechnologyArchives9', method: 'get', params: { }, }) } export function setExamineImage(socialNo, time, url) { return request({ url: '/technologyArchives/setExamineImage', method: 'get', params: { socialNo, time, url }, }) } // 查询考核图片 export function selectExamineImage(socialNo, id) { return request({ url: '/technologyArchives/selectExamineImage', method: 'get', params: { socialNo, id }, }) } // 保存技术文档9 export function saveTechnologyArchives9(data) { return request({ url: '/technologyArchives/saveTechnologyArchives9', method: 'post', data, }) } // 根据serialNo, id删除技术文档9 export function delTechnologyArchives9ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives9ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档10 export function selectTechnologyArchives10() { return request({ url: '/technologyArchives/selectTechnologyArchives10', method: 'get', params: { }, }) } // 保存技术文档10 export function saveTechnologyArchives10(data) { return request({ url: '/technologyArchives/saveTechnologyArchives10', method: 'post', data, }) } // 根据serialNo, id删除技术文档10 export function delTechnologyArchives10ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives10ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档12 export function selectTechnologyArchives12() { return request({ url: '/technologyArchives/selectTechnologyArchives12', method: 'get', params: { }, }) } // 保存技术文档12 export function saveTechnologyArchives12(data) { return request({ url: '/technologyArchives/saveTechnologyArchives12', method: 'post', data, }) } // 根据serialNo, id删除技术文档12 export function delTechnologyArchives12ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives12ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档13 export function selectTechnologyArchives13() { return request({ url: '/technologyArchives/selectTechnologyArchives13', method: 'get', params: { }, }) } // 查询委任聘书图片 export function selectAppointmentImage(socialNo, name) { return request({ url: '/technologyArchives/selectAppointmentImage', method: 'get', params: { socialNo, name }, }) } export function setAppointmentImage(socialNo, name, url) { return request({ url: '/technologyArchives/setAppointmentImage', method: 'get', params: { socialNo, name, url }, }) } // 保存技术文档13 export function saveTechnologyArchives13(data) { return request({ url: '/technologyArchives/saveTechnologyArchives13', method: 'post', data, }) } // 根据serialNo, id删除技术文档13 export function delTechnologyArchives13ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives13ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档14 export function selectTechnologyArchives14() { return request({ url: '/technologyArchives/selectTechnologyArchives14', method: 'get', params: { }, }) } // 保存技术文档14 export function saveTechnologyArchives14(data) { return request({ url: '/technologyArchives/saveTechnologyArchives14', method: 'post', data, }) } // 根据serialNo, id删除技术文档14 export function delTechnologyArchives14ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives14ByCode', method: 'get', params: { socialNo, id }, }) } // 限制类医疗技术档案 // 查询技术文档8 export function selectTechnologyArchives8() { return request({ url: '/technologyArchives/selectTechnologyArchives8', method: 'get', params: { }, }) } // 保存技术文档8 export function saveTechnologyArchives8(data) { return request({ url: '/technologyArchives/saveTechnologyArchives8', method: 'post', data, }) } // 根据serialNo, id删除技术文档8 export function delTechnologyArchives8ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives8ByCode', method: 'get', params: { socialNo, id }, }) } // 医疗安全行为记录 // 查询技术文档11 export function selectTechnologyArchives11() { return request({ url: '/technologyArchives/selectTechnologyArchives11', method: 'get', params: { }, }) } // 保存技术文档11 export function saveTechnologyArchives11(data) { return request({ url: '/technologyArchives/saveTechnologyArchives11', method: 'post', data, }) } // 根据serialNo, id删除技术文档11 export function delTechnologyArchives11ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives11ByCode', method: 'get', params: { socialNo, id }, }) } // 应用医疗技术权限记录 // 查询技术文档15 export function selectTechnologyArchives15() { return request({ url: '/technologyArchives/selectTechnologyArchives15', method: 'get', params: { }, }) } // 保存技术文档15 export function saveTechnologyArchives15(data) { return request({ url: '/technologyArchives/saveTechnologyArchives15', method: 'post', data, }) } // 根据serialNo, id删除技术文档15 export function delTechnologyArchives15ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives15ByCode', method: 'get', params: { socialNo, id }, }) } //教育经历 // 查询技术文档16 export function selectTechnologyArchives16() { return request({ url: '/technologyArchives/selectTechnologyArchives16', method: 'get', params: { }, }) } // 保存技术文档16 export function saveTechnologyArchives16(data) { return request({ url: '/technologyArchives/saveTechnologyArchives16', method: 'post', data, }) } // 根据serialNo, id删除技术文档16 export function delTechnologyArchives16ByCode(socialNo, id) { return request({ url: '/technologyArchives/delTechnologyArchives16ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档类型 (type: 1 Ⅰ档案 2 Ⅱ档案) export function selectTechnologyArchivesType(type) { return request({ url: '/technologyArchives/selectTechnologyArchivesType', method: 'get', params: { type }, }) } // 根据档案类型查询技术档案信息(textType:档案类型) export function selectTechnologyArchivesInfo(data) { return request({ url: '/technologyArchives/selectTechnologyArchivesInfo', method: 'post', data, }) } // 根据档案类型导出技术档案信息 export function exportTechnologyArchivesInfo(params) { ElMessageBox.prompt('导出文件名字', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', inputPattern: /\S/, inputErrorMessage: '文件名不能为空 (∩•̀ω•́)⊃-*⋆', }).then(({ value }) => { const data = { param: params, url: '/technologyArchives/exportTechnologyArchivesInfo', fileName: value + '.xls', } setTimeout(() => { downloadExcel(data) }, 500) }).catch((res) => { if (res.code === '0') { ElMessage({ message: res.message, type: 'success', duration: 2000, showClose: true, }) } else { ElMessage({ message: res.message, type: 'warning', duration: 3000, showClose: true, }) } }) } //导出护理档案全部信息 export function exportMultiTechnologyArchives(params) { ElMessageBox.prompt('导出文件名字', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', inputPattern: /\S/, inputErrorMessage: '文件名不能为空 (∩•̀ω•́)⊃-*⋆', }).then(({ value }) => { const data = { param: params, url: '/technologyArchives/exportMultiTechnologyArchives', fileName: value + '.xls', } setTimeout(() => { downloadExcel(data) }, 500) }).catch((res) => { if (res.code === '0') { ElMessage({ message: res.message, type: 'success', duration: 2000, showClose: true, }) } else { ElMessage({ message: res.message, type: 'warning', duration: 3000, showClose: true, }) } }) } export function selectTechnologyArchivesMainDict(){ return request({ url: '/technologyArchives/selectTechnologyArchivesMainDict', method: 'get', params: { }, }) } // 查询护理基本信息 export function selectHLEmployeeInfo(text) { return request({ url: '/hltechnologyArchives/selectHLEmployeeInfo', method: 'get', params: { text }, }) } export function selectHLImage1(socialNo) { return request({ url: '/hltechnologyArchives/selectHLImage1', method: 'get', params: { socialNo}, }) } // 查询字典 export function selectHLDictInfo() { return request({ url: '/hltechnologyArchives/selectDictInfo', method: 'get', params: { }, }) } // 保存护理技术文档基本信息 export function saveTechnologyArchivesHLMain(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHLMain', method: 'post', data, }) } export function setHLImage(url, socialNo) { return request({ url: '/hltechnologyArchives/setHLImage', method: 'get', params: { url, socialNo }, }) } // 查询专业技术资格证书取得情况 export function selectTechnologyArchivesHL1() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL1', method: 'get', params: { }, }) } export function setHL1Image(socialNo, getTime, url) { return request({ url: '/hltechnologyArchives/setHL1Image', method: 'get', params: { socialNo, getTime, url }, }) } // 查询专业技术资格证书取得情况的图片 export function selectHL1Image(socialNo, getTime) { return request({ url: '/hltechnologyArchives/selectHL1Image', method: 'get', params: { socialNo, getTime }, }) } // 保存专业技术资格证书取得情况 export function saveTechnologyArchivesHL1(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL1', method: 'post', data, }) } // 根据serialNo, getTime删除专业技术资格证书取得情况 export function delTechnologyArchivesHL1ByCode(socialNo, getTime) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL1ByCode', method: 'get', params: { socialNo, getTime }, }) } export function selectTechnologyArchivesHLMainDict(){ return request({ url: '/technologyArchives/selectTechnologyArchivesHLMainDict', method: 'get', params: { }, }) } // 工作经历 // 查询工作经历 export function selectTechnologyArchivesHL2() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL2', method: 'get', params: { }, }) } // 保存工作经历 export function saveTechnologyArchivesHL2(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL2', method: 'post', data, }) } // 根据serialNo, id删除工作经历 export function delTechnologyArchivesHL2ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL2ByCode', method: 'get', params: { socialNo, id }, }) } // 教育经历 // 查询教育经历 export function selectTechnologyArchivesHL3() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL3', method: 'get', params: { }, }) } // 保存教育经历 export function saveTechnologyArchivesHL3(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL3', method: 'post', data, }) } // 根据serialNo, id删除教育经历 export function delTechnologyArchivesHL3ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL3ByCode', method: 'get', params: { socialNo, id }, }) } // 培训经历 // 查询培训经历 export function selectTechnologyArchivesHL4() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL4', method: 'get', params: { }, }) } export function setHL4Image(socialNo, beginTime, url) { return request({ url: '/hltechnologyArchives/setHL4Image', method: 'get', params: { socialNo, beginTime, url }, }) } // 查询培训证明图片 export function selectHL4Image(socialNo, id) { return request({ url: '/hltechnologyArchives/selectHL4Image', method: 'get', params: { socialNo, id }, }) } // 保存培训经历 export function saveTechnologyArchivesHL4(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL4', method: 'post', data, }) } // 根据serialNo, id删除培训经历 export function delTechnologyArchivesHL4ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL4ByCode', method: 'get', params: { socialNo, id }, }) } // 轮科记录 // 查询轮科记录 export function selectTechnologyArchivesHL5() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL5', method: 'get', params: { }, }) } // 保存轮科记录 export function saveTechnologyArchivesHL5(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL5', method: 'post', data, }) } // 根据serialNo, id删除轮科记录 export function delTechnologyArchivesHL5ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL5ByCode', method: 'get', params: { socialNo, id }, }) } // 科室调动记录 // 查询科室调动记录 export function selectTechnologyArchivesHL6() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL6', method: 'get', params: { }, }) } // 保存科室调动记录 export function saveTechnologyArchivesHL6(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL6', method: 'post', data, }) } // 根据serialNo, id删除科室调动记录 export function delTechnologyArchivesHL6ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL6ByCode', method: 'get', params: { socialNo, id }, }) } // 休假记录 // 查询休假记录 export function selectTechnologyArchivesHL7() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL7', method: 'get', params: { }, }) } export function setHL7Image(socialNo, approvalTime, url) { return request({ url: '/hltechnologyArchives/setHL7Image', method: 'get', params: { socialNo, approvalTime, url }, }) } // 查询请假证明图片 export function selectHL7Image(socialNo, id) { return request({ url: '/hltechnologyArchives/selectHL7Image', method: 'get', params: { socialNo, id }, }) } // 保存休假记录 export function saveTechnologyArchivesHL7(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL7', method: 'post', data, }) } // 根据serialNo, approvalTime删除休假记录 export function delTechnologyArchivesHL7ByCode(socialNo, approvalTime) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL7ByCode', method: 'get', params: { socialNo, approvalTime }, }) } // 查询培训考核情况 export function selectTechnologyArchivesHL9() { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHL9', method: 'get', params: { }, }) } // 保存培训考核情况 export function saveTechnologyArchivesHL9(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchivesHL9', method: 'post', data, }) } // 根据serialNo, id删除培训考核情况 export function delTechnologyArchivesHL9ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchivesHL9ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档5 export function hlselectTechnologyArchives5() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives5', method: 'get', params: { }, }) } // 保存技术文档5 export function hlsaveTechnologyArchives5(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives5', method: 'post', data, }) } // 根据serialNo, time删除技术文档5 export function hldelTechnologyArchives5ByCode(socialNo, time) { return request({ url: '/hltechnologyArchives/delTechnologyArchives5ByCode', method: 'get', params: { socialNo, time }, }) } // 查询技术文档7 export function hlselectTechnologyArchives7() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives7', method: 'get', params: { }, }) } // 保存技术文档7 export function hlsaveTechnologyArchives7(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives7', method: 'post', data, }) } // 根据serialNo, id删除技术文档7 export function hldelTechnologyArchives7ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchives7ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档10 export function selectTechnologyArchivesHL10() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives10', method: 'get', params: { }, }) } // 保存技术文档10 export function saveTechnologyArchivesHL10(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives10', method: 'post', data, }) } // 根据serialNo, id删除技术文档10 export function delTechnologyArchivesHL10ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchives10ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档12 export function selectTechnologyArchivesHL12() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives12', method: 'get', params: { }, }) } // 保存技术文档12 export function saveTechnologyArchivesHL12(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives12', method: 'post', data, }) } // 根据serialNo, id删除技术文档12 export function delTechnologyArchivesHL12ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchives12ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档13 export function selectTechnologyArchivesHL13() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives13', method: 'get', params: { }, }) } // 查询委任聘书图片 export function selectHL13Image(socialNo, name) { return request({ url: '/hltechnologyArchives/selectAppointmentImage', method: 'get', params: { socialNo, name }, }) } export function setHL13Image(socialNo, name, url) { return request({ url: '/hltechnologyArchives/setAppointmentImage', method: 'get', params: { socialNo, name, url }, }) } // 保存技术文档13 export function saveTechnologyArchivesHL13(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives13', method: 'post', data, }) } // 根据serialNo, id删除技术文档13 export function delTechnologyArchivesHL13ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchives13ByCode', method: 'get', params: { socialNo, id }, }) } // 查询技术文档14 export function selectTechnologyArchivesHL14() { return request({ url: '/hltechnologyArchives/selectTechnologyArchives14', method: 'get', params: { }, }) } // 保存技术文档14 export function saveTechnologyArchivesHL14(data) { return request({ url: '/hltechnologyArchives/saveTechnologyArchives14', method: 'post', data, }) } // 根据serialNo, id删除技术文档14 export function delTechnologyArchivesHL14ByCode(socialNo, id) { return request({ url: '/hltechnologyArchives/delTechnologyArchives14ByCode', method: 'get', params: { socialNo, id }, }) } // 查询护理技术文档类型 export function selectTechnologyArchivesHLType(type) { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHLType', method: 'get', params: { type }, }) } // 根据档案类型查询技术档案信息(textType:档案类型) export function selectTechnologyArchivesHLInfo(data) { return request({ url: '/hltechnologyArchives/selectTechnologyArchivesHLInfo', method: 'post', data, }) } //导出护理档案全部信息 export function exportHLMultiTechnologyArchives(params) { ElMessageBox.prompt('导出文件名字', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', inputPattern: /\S/, inputErrorMessage: '文件名不能为空 (∩•̀ω•́)⊃-*⋆', }).then(({ value }) => { const data = { param: params, url: '/hltechnologyArchives/exportMultiTechnologyArchives', fileName: value + '.xls', } setTimeout(() => { downloadExcel(data) }, 500) }).catch((res) => { if (res.code === '0') { ElMessage({ message: res.message, type: 'success', duration: 2000, showClose: true, }) } else { ElMessage({ message: res.message, type: 'warning', duration: 3000, showClose: true, }) } }) }