| | |
| | | // 修改定时任务调度 |
| | | export function updateJob(data) { |
| | | return request({ |
| | | url: '/monitor/job', |
| | | method: 'put', |
| | | url: '/monitor/job/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除定时任务调度 |
| | | export function delJob(jobId) { |
| | | return request({ |
| | | url: '/monitor/job/' + jobId, |
| | | method: 'delete' |
| | | url: '/monitor/job/remove/' + jobId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | return request({ |
| | | url: '/monitor/job/changeStatus', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | } |
| | | return request({ |
| | | url: '/monitor/job/run', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除调度日志 |
| | | export function delJobLog(jobLogId) { |
| | | return request({ |
| | | url: '/monitor/jobLog/' + jobLogId, |
| | | method: 'delete' |
| | | url: '/monitor/jobLog/remove/' + jobLogId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | export function cleanJobLog() { |
| | | return request({ |
| | | url: '/monitor/jobLog/clean', |
| | | method: 'delete' |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 删除登录日志 |
| | | export function delLogininfor(infoId) { |
| | | return request({ |
| | | url: '/monitor/logininfor/' + infoId, |
| | | method: 'delete' |
| | | url: '/monitor/logininfor/remove/' + infoId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | export function cleanLogininfor() { |
| | | return request({ |
| | | url: '/monitor/logininfor/clean', |
| | | method: 'delete' |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 强退用户 |
| | | export function forceLogout(tokenId) { |
| | | return request({ |
| | | url: '/monitor/online/' + tokenId, |
| | | method: 'delete' |
| | | url: '/monitor/online/forceLogout/' + tokenId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | // 删除操作日志 |
| | | export function delOperlog(operId) { |
| | | return request({ |
| | | url: '/monitor/operlog/' + operId, |
| | | method: 'delete' |
| | | url: '/monitor/operlog/remove/' + operId, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | export function cleanOperlog() { |
| | | return request({ |
| | | url: '/monitor/operlog/clean', |
| | | method: 'delete' |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献流程 |
| | | export function updateDonateflowchart(data) { |
| | | return request({ |
| | | url: '/project/donateflowchart', |
| | | method: 'put', |
| | | url: '/project/donateflowchart/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | export function delVMedicalevaluation(id) { |
| | | return request({ |
| | | url: '/project/VMedicalevaluation/' + id, |
| | | method: 'delete' |
| | | method: 'delete', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改专家费用分发汇总明细 |
| | | export function updateDistributedetail(data) { |
| | | return request({ |
| | | url: '/project/distributedetail', |
| | | method: 'put', |
| | | url: '/project/distributedetail/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除专家费用分发汇总明细 |
| | | export function delDistributedetail(id) { |
| | | return request({ |
| | | url: '/project/distributedetail/' + id, |
| | | method: 'delete' |
| | | url: '/project/distributedetail/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改专家费用分发汇总主 |
| | | export function updateDistributesummary(data) { |
| | | return request({ |
| | | url: '/project/distributesummary', |
| | | method: 'put', |
| | | url: '/project/distributesummary/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除专家费用分发汇总主 |
| | | export function delDistributesummary(id) { |
| | | return request({ |
| | | url: '/project/distributesummary/' + id, |
| | | method: 'delete' |
| | | url: '/project/distributesummary/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献附件 |
| | | export function updateDocumentfiles(data) { |
| | | return request({ |
| | | url: '/project/documentfiles', |
| | | method: 'put', |
| | | url: '/project/documentfiles/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献附件 |
| | | export function delDocumentfiles(id) { |
| | | return request({ |
| | | url: '/project/documentfiles/' + id, |
| | | method: 'delete' |
| | | url: '/project/documentfiles/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献附件 |
| | | export function updateDonateannex(data) { |
| | | return request({ |
| | | url: '/project/donateannex', |
| | | method: 'put', |
| | | url: '/project/donateannex/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献附件 |
| | | export function delDonateannex(id) { |
| | | return request({ |
| | | url: '/project/donateannex/' + id, |
| | | method: 'delete' |
| | | url: '/project/donateannex/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献附件要求 |
| | | export function updateDonateannexrequirement(data) { |
| | | return request({ |
| | | url: '/project/donateannexrequirement', |
| | | method: 'put', |
| | | url: '/project/donateannexrequirement/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献附件要求 |
| | | export function delDonateannexrequirement(id) { |
| | | return request({ |
| | | url: '/project/donateannexrequirement/' + id, |
| | | method: 'delete' |
| | | url: '/project/donateannexrequirement/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献基础 |
| | | export function updateDonatebaseinfo(data) { |
| | | return request({ |
| | | url: '/project/donatebaseinfo', |
| | | method: 'put', |
| | | url: '/project/donatebaseinfo/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献基础 |
| | | export function delDonatebaseinfo(id) { |
| | | return request({ |
| | | url: '/project/donatebaseinfo/' + id, |
| | | method: 'delete' |
| | | url: '/project/donatebaseinfo/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献完成 |
| | | export function updateDonatecompletioninfo(data) { |
| | | return request({ |
| | | url: '/project/donatecompletioninfo', |
| | | method: 'put', |
| | | url: '/project/donatecompletioninfo/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献完成 |
| | | export function delDonatecompletioninfo(id) { |
| | | return request({ |
| | | url: '/project/donatecompletioninfo/' + id, |
| | | method: 'delete' |
| | | url: '/project/donatecompletioninfo/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献人道慰问金 |
| | | export function updateDonateconsolationfund(data) { |
| | | return request({ |
| | | url: '/project/donateconsolationfund', |
| | | method: 'put', |
| | | url: '/project/donateconsolationfund/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献人道慰问金 |
| | | export function delDonateconsolationfund(id) { |
| | | return request({ |
| | | url: '/project/donateconsolationfund/' + id, |
| | | method: 'delete' |
| | | url: '/project/donateconsolationfund/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献随访 |
| | | export function updateDonatefollowup(data) { |
| | | return request({ |
| | | url: '/project/donatefollowup', |
| | | method: 'put', |
| | | url: '/project/donatefollowup/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献随访 |
| | | export function delDonatefollowup(id) { |
| | | return request({ |
| | | url: '/project/donatefollowup/' + id, |
| | | method: 'delete' |
| | | url: '/project/donatefollowup/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献器官管理 |
| | | export function updateDonateorgan(data) { |
| | | return request({ |
| | | url: '/project/donateorgan', |
| | | method: 'put', |
| | | url: '/project/donateorgan/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献器官管理 |
| | | export function delDonateorgan(id) { |
| | | return request({ |
| | | url: '/project/donateorgan/' + id, |
| | | method: 'delete' |
| | | url: '/project/donateorgan/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献见证 |
| | | export function updateDonationwitness(data) { |
| | | return request({ |
| | | url: '/project/donationwitness', |
| | | method: 'put', |
| | | url: '/project/donationwitness/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献见证 |
| | | export function delDonationwitness(id) { |
| | | return request({ |
| | | url: '/project/donationwitness/' + id, |
| | | method: 'delete' |
| | | url: '/project/donationwitness/remove/' + id, |
| | | method: 'get' |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改伦理审查专家意见 |
| | | export function updateEthicalreviewopinions(data) { |
| | | return request({ |
| | | url: '/project/ethicalreviewopinions', |
| | | method: 'put', |
| | | url: '/project/ethicalreviewopinions/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除伦理审查专家意见 |
| | | export function delEthicalreviewopinions(id) { |
| | | return request({ |
| | | url: '/project/ethicalreviewopinions/' + id, |
| | | method: 'delete' |
| | | url: '/project/ethicalreviewopinions/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改费用申请主 |
| | | export function updateExpertexpense(data) { |
| | | return request({ |
| | | url: '/project/expertexpense', |
| | | method: 'put', |
| | | url: '/project/expertexpense/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除费用申请主 |
| | | export function delExpertexpense(id) { |
| | | return request({ |
| | | url: '/project/expertexpense/' + id, |
| | | method: 'delete' |
| | | url: '/project/expertexpense/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改专家费用 |
| | | export function updateExpertfeetype(data) { |
| | | return request({ |
| | | url: '/project/expertfeetype', |
| | | method: 'put', |
| | | url: '/project/expertfeetype/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除专家费用 |
| | | export function delExpertfeetype(id) { |
| | | return request({ |
| | | url: '/project/expertfeetype/' + id, |
| | | method: 'delete' |
| | | url: '/project/expertfeetype/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 删除外围单位人员 |
| | | export function delExternalperson(id) { |
| | | return request({ |
| | | url: '/project/externalperson/' + id, |
| | | method: 'delete' |
| | | url: '/project/externalperson/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改收入费用科目 |
| | | export function updateFinancesubject(data) { |
| | | return request({ |
| | | url: '/project/financesubject', |
| | | method: 'put', |
| | | url: '/project/financesubject/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除收入费用科目 |
| | | export function delFinancesubject(id) { |
| | | return request({ |
| | | url: '/project/financesubject/' + id, |
| | | method: 'delete' |
| | | url: '/project/financesubject/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改费用申请明细 |
| | | export function updateFunddetail(data) { |
| | | return request({ |
| | | url: '/project/funddetail', |
| | | method: 'put', |
| | | url: '/project/funddetail/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 修改费用申请明细 |
| | | export function updateFunddetailshared(data) { |
| | | return request({ |
| | | url: '/project/funddetailshared', |
| | | method: 'put', |
| | | url: '/project/funddetailshared/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除费用申请明细 |
| | | export function delFunddetailshared(id) { |
| | | return request({ |
| | | url: '/project/funddetailshared/' + id, |
| | | method: 'delete' |
| | | url: '/project/funddetailshared/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改费用审批流程 |
| | | export function updateFundflow(data) { |
| | | return request({ |
| | | url: '/project/fundflow', |
| | | method: 'put', |
| | | url: '/project/fundflow/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除费用审批流程 |
| | | export function delFundflow(id) { |
| | | return request({ |
| | | url: '/project/fundflow/' + id, |
| | | method: 'delete' |
| | | url: '/project/fundflow/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改费用审批规则 |
| | | export function updateFundflowrule(data) { |
| | | return request({ |
| | | url: '/project/fundflowrule', |
| | | method: 'put', |
| | | url: '/project/fundflowrule/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除费用审批规则 |
| | | export function delFundflowrule(id) { |
| | | return request({ |
| | | url: '/project/fundflowrule/' + id, |
| | | method: 'delete' |
| | | url: '/project/fundflowrule/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function delFundshared(id) { |
| | | return request({ |
| | | url: '/system/fundshared/' + id, |
| | | method: 'delete' |
| | | method: 'delete', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改收入费用科目 |
| | | export function updateItemexpense(data) { |
| | | return request({ |
| | | url: '/project/itemexpense', |
| | | method: 'put', |
| | | url: '/project/itemexpense/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除收入费用科目 |
| | | export function delItemexpense(id) { |
| | | return request({ |
| | | url: '/project/itemexpense/' + id, |
| | | method: 'delete' |
| | | url: '/project/itemexpense/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改医学评估 |
| | | export function updateMedicalevaluation(data) { |
| | | return request({ |
| | | url: '/project/medicalevaluation', |
| | | method: 'put', |
| | | url: '/project/medicalevaluation/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除医学评估 |
| | | export function delMedicalevaluation(id) { |
| | | return request({ |
| | | url: '/project/medicalevaluation/' + id, |
| | | method: 'delete' |
| | | url: '/project/medicalevaluation/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改系统消息 |
| | | export function updateSystemmessage(data) { |
| | | return request({ |
| | | url: '/project/systemmessage', |
| | | method: 'put', |
| | | url: '/project/systemmessage/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 修改器官分配 |
| | | export function updateOrganallocation(data) { |
| | | return request({ |
| | | url: '/project/organallocation', |
| | | method: 'put', |
| | | url: '/project/organallocation/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除器官分配 |
| | | export function delOrganallocation(id) { |
| | | return request({ |
| | | url: '/project/organallocation/' + id, |
| | | method: 'delete' |
| | | url: '/project/organallocation/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改机构管理 |
| | | export function updateOrganization(data) { |
| | | return request({ |
| | | url: '/project/organization', |
| | | method: 'put', |
| | | url: '/project/organization/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除机构管理 |
| | | export function delOrganization(id) { |
| | | return request({ |
| | | url: '/project/organization/' + id, |
| | | method: 'delete' |
| | | url: '/project/organization/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function delReimbursementdetail(id) { |
| | | return request({ |
| | | url: '/project/reimbursementdetail/deleteDetail/' + id, |
| | | method: 'delete' |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function delReimbursementdetailrbid(rbid) { |
| | | return request({ |
| | | url: '/project/reimbursementdetail/deleteByRBId/' + rbid, |
| | | method: 'delete' |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改报销申请明细 |
| | | export function updateReimbursementdetailshared(data) { |
| | | return request({ |
| | | url: '/project/reimbursementdetailshared', |
| | | method: 'put', |
| | | url: '/project/reimbursementdetailshared/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除报销申请明细 |
| | | export function delReimbursementdetailshared(id) { |
| | | return request({ |
| | | url: '/project/reimbursementdetailshared/' + id, |
| | | method: 'delete' |
| | | url: '/project/reimbursementdetailshared/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 删除差旅报销付款信息 |
| | | export function delReimbursementpayee(id) { |
| | | return request({ |
| | | url: '/project/reimbursementpayee/' + id, |
| | | method: 'delete' |
| | | url: '/project/reimbursementpayee/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改差旅报销付款信息 |
| | | export function updateReimbursementpayeeshared(data) { |
| | | return request({ |
| | | url: '/project/reimbursementpayeeshared', |
| | | method: 'put', |
| | | url: '/project/reimbursementpayeeshared/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除差旅报销付款信息 |
| | | export function delReimbursementpayeeshared(id) { |
| | | return request({ |
| | | url: '/project/reimbursementpayeeshared/' + id, |
| | | method: 'delete' |
| | | url: '/project/reimbursementpayeeshared/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改捐献亲属确认 |
| | | export function updateRelativesconfirmation(data) { |
| | | return request({ |
| | | url: '/project/relativesconfirmation', |
| | | method: 'put', |
| | | url: '/project/relativesconfirmation/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除捐献亲属确认 |
| | | export function delRelativesconfirmation(id) { |
| | | return request({ |
| | | url: '/project/relativesconfirmation/' + id, |
| | | method: 'delete' |
| | | url: '/project/relativesconfirmation/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改班级信息 |
| | | export function updateClass(data) { |
| | | return request({ |
| | | url: '/system/class', |
| | | method: 'put', |
| | | url: '/system/class/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除班级信息 |
| | | export function delClass(classId) { |
| | | return request({ |
| | | url: '/system/class/' + classId, |
| | | method: 'delete' |
| | | url: '/system/class/remove/' + classId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改参数配置 |
| | | export function updateConfig(data) { |
| | | return request({ |
| | | url: '/system/config', |
| | | method: 'put', |
| | | url: '/system/config/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除参数配置 |
| | | export function delConfig(configId) { |
| | | return request({ |
| | | url: '/system/config/' + configId, |
| | | method: 'delete' |
| | | url: '/system/config/remove/' + configId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function refreshCache() { |
| | | return request({ |
| | | url: '/system/config/refreshCache', |
| | | method: 'delete' |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改部门 |
| | | export function updateDept(data) { |
| | | return request({ |
| | | url: '/system/dept', |
| | | method: 'put', |
| | | url: '/system/dept/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除部门 |
| | | export function delDept(deptId) { |
| | | return request({ |
| | | url: '/system/dept/' + deptId, |
| | | method: 'delete' |
| | | url: '/system/dept/remove/' + deptId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | // 修改字典数据 |
| | | export function updateData(data) { |
| | | return request({ |
| | | url: '/system/dict/data', |
| | | method: 'put', |
| | | url: '/system/dict/data/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除字典数据 |
| | | export function delData(dictCode) { |
| | | return request({ |
| | | url: '/system/dict/data/' + dictCode, |
| | | method: 'delete' |
| | | url: '/system/dict/data/remove/' + dictCode, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改字典类型 |
| | | export function updateType(data) { |
| | | return request({ |
| | | url: '/system/dict/type', |
| | | method: 'put', |
| | | url: '/system/dict/type/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除字典类型 |
| | | export function delType(dictId) { |
| | | return request({ |
| | | url: '/system/dict/type/' + dictId, |
| | | method: 'delete' |
| | | url: '/system/dict/type/remove/' + dictId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function refreshCache() { |
| | | return request({ |
| | | url: '/system/dict/type/refreshCache', |
| | | method: 'delete' |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改年级信息 |
| | | export function updateGrade(data) { |
| | | return request({ |
| | | url: '/system/grade', |
| | | method: 'put', |
| | | url: '/system/grade/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除年级信息 |
| | | export function delGrade(gradeId) { |
| | | return request({ |
| | | url: '/system/grade/' + gradeId, |
| | | method: 'delete' |
| | | url: '/system/grade/remove/' + gradeId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | export function delMedicalevaluation(id) { |
| | | return request({ |
| | | url: '/system/medicalevaluation/' + id, |
| | | method: 'delete' |
| | | method: 'delete', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改菜单 |
| | | export function updateMenu(data) { |
| | | return request({ |
| | | url: '/system/menu', |
| | | method: 'put', |
| | | url: '/system/menu/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除菜单 |
| | | export function delMenu(menuId) { |
| | | return request({ |
| | | url: '/system/menu/' + menuId, |
| | | method: 'delete' |
| | | url: '/system/menu/remove/' + menuId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | // 修改公告 |
| | | export function updateNotice(data) { |
| | | return request({ |
| | | url: '/system/notice', |
| | | method: 'put', |
| | | url: '/system/notice/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除公告 |
| | | export function delNotice(noticeId) { |
| | | return request({ |
| | | url: '/system/notice/' + noticeId, |
| | | method: 'delete' |
| | | url: '/system/notice/remove/' + noticeId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | |
| | | // 修改岗位 |
| | | export function updatePost(data) { |
| | | return request({ |
| | | url: '/system/post', |
| | | method: 'put', |
| | | url: '/system/post/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除岗位 |
| | | export function delPost(postId) { |
| | | return request({ |
| | | url: '/system/post/' + postId, |
| | | method: 'delete' |
| | | url: '/system/post/remove/' + postId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改角色 |
| | | export function updateRole(data) { |
| | | return request({ |
| | | url: '/system/role', |
| | | method: 'put', |
| | | url: '/system/role/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | export function dataScope(data) { |
| | | return request({ |
| | | url: '/system/role/dataScope', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | } |
| | | return request({ |
| | | url: '/system/role/changeStatus', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除角色 |
| | | export function delRole(roleId) { |
| | | return request({ |
| | | url: '/system/role/' + roleId, |
| | | method: 'delete' |
| | | url: '/system/role/remove/' + roleId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 取消用户授权角色 |
| | | export function authUserCancel(data) { |
| | | return request({ |
| | | url: '/system/role/authUser/cancel', |
| | | method: 'put', |
| | | url: '/system/role/authUser/cancel/cancelAuthUser', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 批量取消用户授权角色 |
| | | export function authUserCancelAll(data) { |
| | | return request({ |
| | | url: '/system/role/authUser/cancelAll', |
| | | method: 'put', |
| | | url: '/system/role/authUser/cancelAll/cancelAuthUserAll', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | // 授权用户选择 |
| | | export function authUserSelectAll(data) { |
| | | return request({ |
| | | url: '/system/role/authUser/selectAll', |
| | | method: 'put', |
| | | url: '/system/role/authUser/selectAll/selectAuthUserAll', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | // 修改学生信息 |
| | | export function updateStudent(data) { |
| | | return request({ |
| | | url: '/system/student', |
| | | method: 'put', |
| | | url: '/system/student/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除学生信息 |
| | | export function delStudent(studentId) { |
| | | return request({ |
| | | url: '/system/student/' + studentId, |
| | | method: 'delete' |
| | | url: '/system/student/remove/' + studentId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改住宿费限额标准 |
| | | export function updateTravelexpensestandard(data) { |
| | | return request({ |
| | | url: '/system/travelexpensestandard', |
| | | method: 'put', |
| | | url: '/system/travelexpensestandard/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除住宿费限额标准 |
| | | export function delTravelexpensestandard(id) { |
| | | return request({ |
| | | url: '/system/travelexpensestandard/' + id, |
| | | method: 'delete' |
| | | url: '/system/travelexpensestandard/remove/' + id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | // 修改用户 |
| | | export function updateUser(data) { |
| | | return request({ |
| | | url: '/system/user', |
| | | method: 'put', |
| | | url: '/system/user/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除用户 |
| | | export function delUser(userId) { |
| | | return request({ |
| | | url: '/system/user/' + userId, |
| | | method: 'delete' |
| | | url: '/system/user/remove/' + userId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | } |
| | | return request({ |
| | | url: '/system/user/resetPwd', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | } |
| | | return request({ |
| | | url: '/system/user/changeStatus', |
| | | method: 'put', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 修改用户个人信息 |
| | | export function updateUserProfile(data) { |
| | | return request({ |
| | | url: '/system/user/profile', |
| | | method: 'put', |
| | | url: '/system/user/profile/updateProfile', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 保存授权角色 |
| | | export function updateAuthRole(data) { |
| | | return request({ |
| | | url: '/system/user/authRole', |
| | | method: 'put', |
| | | url: '/system/user/authRole/insertAuthRole', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | | } |
| | |
| | | // 修改代码生成信息 |
| | | export function updateGenTable(data) { |
| | | return request({ |
| | | url: '/tool/gen', |
| | | method: 'put', |
| | | url: '/tool/gen/edit', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |
| | |
| | | // 删除表数据 |
| | | export function delTable(tableId) { |
| | | return request({ |
| | | url: '/tool/gen/' + tableId, |
| | | method: 'delete' |
| | | url: '/tool/gen/remove/' + tableId, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | |
| | | @click="ShowDetailDialog(scope, 'unit')" |
| | | >{{ scope.row.unitname }}</el-button |
| | | > |
| | | <!-- <el-select |
| | | v-model="scope.row.unitno" |
| | | placeholder="单位" |
| | | clearable |
| | | filterable |
| | | allow-create |
| | | > |
| | | <el-option |
| | | v-for="(spec, index) in unitList" |
| | | :key="index" |
| | | :label="spec.organizationname" |
| | | :value="spec.organizationid" |
| | | ></el-option> |
| | | </el-select> --> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | </el-dialog> |
| | | |
| | | <!-- 批量选取 --> |
| | | <el-dialog title="批量生成明细信息" :visible.sync="batchdialogVisible" width="30%"> |
| | | <el-dialog |
| | | title="批量生成明细信息" |
| | | :visible.sync="batchdialogVisible" |
| | | width="30%" |
| | | > |
| | | <div style="max-height: 300px; overflow-y: auto"> |
| | | <el-checkbox |
| | | :indeterminate="isIndeterminate" |
| | |
| | | border |
| | | v-for="city in cityOptions" |
| | | :label="city" |
| | | :key="city" |
| | | >{{ city }}</el-checkbox |
| | | :key="city.reportNo" |
| | | >{{ city.reportName }}</el-checkbox |
| | | > |
| | | </el-checkbox-group> |
| | | </div> |
| | | |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button @click="dialogVisible = false">取 消</el-button> |
| | | <el-button type="primary" @click="dialogVisible = false" |
| | | >确 定</el-button |
| | | > |
| | | <el-button type="primary" @click="BatchentryFn">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | </div> |
| | |
| | | Networkheader: null, |
| | | batchdialogVisible: false, |
| | | itemlist: [], |
| | | cityOptions: [ |
| | | "上海", |
| | | "北京", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "广州", |
| | | "深圳", |
| | | "杭州", |
| | | "温州", |
| | | "河南", |
| | | "莆田", |
| | | "福州" |
| | | ], |
| | | cityOptions: [], |
| | | checkAll: false, |
| | | checkedCities: ["上海", "北京"], |
| | | checkedCities: [], |
| | | |
| | | isIndeterminate: true, |
| | | |
| | |
| | | }); |
| | | }, |
| | | handleCheckAllChange(val) { |
| | | console.log(val); |
| | | this.checkedCities = val ? this.cityOptions : []; |
| | | this.isIndeterminate = false; |
| | | }, |
| | | handleCheckedCitiesChange(value) { |
| | | console.log(value); |
| | | console.log(this.checkedCities); |
| | | let checkedCount = value.length; |
| | | console.log(checkedCount); |
| | | this.checkAll = checkedCount === this.cityOptions.length; |
| | | this.isIndeterminate = |
| | | checkedCount > 0 && checkedCount < this.cityOptions.length; |
| | | }, |
| | | // 批量录入点击 |
| | | Batchentry() { |
| | | // ethical |
| | | listReportname("ethical").then(res => { |
| | | console.log(res); |
| | | this.cityOptions = res.data; |
| | | }); |
| | | this.batchdialogVisible = true; |
| | | }, |
| | | // 确认录入 |
| | | BatchentryFn() {}, |
| | | BatchentryFn() { |
| | | this.checkedCities.forEach(item => { |
| | | console.log(item); |
| | | let rowData = { |
| | | orderno: null, |
| | | id: item.id, |
| | | fundid: null, |
| | | beneficiaryname: item.reportName, |
| | | beneficiaryno: null, |
| | | unitname: item.unitname, |
| | | unitno: null, |
| | | uintuserno: null, |
| | | title: item.title, |
| | | idcardtype: null, |
| | | idcardno: item.idcrad, |
| | | sex: null, |
| | | familyrelations: null, |
| | | phone: null, |
| | | depositbank: item.depositbank, |
| | | bankcardno: item.bankcardno, |
| | | branchbankname: item.branchbankname, |
| | | annexbankcard: null, |
| | | annexregistform: null, |
| | | applytype: "伦理审核专家费", |
| | | itemid: "器官捐献伦理审核专家费", |
| | | itemname: null, |
| | | itemtype: null, |
| | | amount: null, |
| | | prepaidamount: null, |
| | | taxamount: null, |
| | | invoicecount: null, |
| | | taxedamount: null, |
| | | attachcount: null, |
| | | remark: null, |
| | | recordstatus: "-1", |
| | | delFlag: null, |
| | | createBy: null, |
| | | createTime: null, |
| | | updateBy: null, |
| | | updateTime: null, |
| | | uploadflag: null, |
| | | uploadtime: null, |
| | | itemlist: [], |
| | | servicesscope: null, |
| | | rowfeeblocks: [], |
| | | annexfiles: null |
| | | }; |
| | | |
| | | console.log(rowData); |
| | | this.rbDetails.push(rowData); |
| | | }); |
| | | for (let i = 0; i < this.checkedCities.length + 1; i++) { |
| | | this.rbDetails[i].orderno = i + 1; |
| | | } |
| | | this.batchdialogVisible = false; |
| | | }, |
| | | //新增一行 |
| | | addRow(rowIndex) { |
| | | let rowData = { |
| | |
| | | type: "success" |
| | | }) |
| | | .then(() => { |
| | | console.log(this.rbDetails.length); |
| | | if (this.rbDetails.length == 1) { |
| | | console.log("新增"); |
| | | this.addRow(0); |
| | | } |
| | | if (row.id !== null) { |
| | | delFunddetail(row.id).then(res => { |
| | | if (res.code === 200) { |
| | |
| | | }); |
| | | |
| | | //全部删除后添加一条新行 |
| | | if (this.rbDetails.length == 1) { |
| | | this.addRow(0); |
| | | } |
| | | }, |
| | | |
| | | //计算总金额 |
| | |
| | | // if (this.experthear == "unit") { |
| | | // singleDetail.unitname = ""; |
| | | // } |
| | | singleDetail.unitname = this.funddetailForm.unitname; |
| | | if (this.businessType == 4) { |
| | | singleDetail.unitname = this.funddetailForm.unitname; |
| | | } |
| | | console.log(this.funddetailForm); |
| | | this.rbDetails[tempIndex] = singleDetail; |
| | | this.showSelectionDialog = false; |