123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221 |
- 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,
- })
- }
- })
- }
|