From 43ccabd8163bba887ba50cc5d029334672dcfa59 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期六, 09 九月 2023 11:47:31 +0800 Subject: [PATCH] 11 --- src/api/project/reimbursementpayeeshared.js | 8 src/api/project/relativesconfirmation.js | 8 src/api/project/funddetailshared.js | 8 src/api/system/config.js | 10 src/api/project/reimbursementdetailshared.js | 8 src/api/project/distributedetail.js | 8 src/api/system/notice.js | 8 src/api/system/dept.js | 8 src/api/project/expertexpense.js | 8 src/api/project/medicalevaluation.js | 8 src/api/monitor/jobLog.js | 6 src/api/project/ethicalreviewopinions.js | 8 src/api/project/donateannex.js | 8 src/api/system/dict/type.js | 10 src/api/project/externalperson.js | 4 src/api/project/expertfeetype.js | 8 src/api/project/reimbursementdetail.js | 4 src/api/project/donationwitness.js | 8 src/api/project/donateannexrequirement.js | 8 src/api/system/menu.js | 8 src/api/system/class.js | 8 src/api/system/dict/data.js | 8 src/api/system/grade.js | 8 src/api/project/itemexpense.js | 8 src/api/project/donateorgan.js | 8 src/api/project/donateconsolationfund.js | 8 src/api/project/fundshared.js | 2 src/api/tool/gen.js | 8 src/api/system/student.js | 8 src/api/project/fundflow.js | 8 src/api/monitor/online.js | 4 src/api/monitor/job.js | 12 src/api/system/role.js | 24 +- src/api/project/fundflowrule.js | 8 src/api/project/DonationEvaluation.js | 4 src/api/project/donatecompletioninfo.js | 8 src/api/monitor/logininfor.js | 6 src/api/project/donatebaseinfo.js | 8 src/api/monitor/operlog.js | 6 src/api/project/donatefollowup.js | 8 src/api/system/medicalevaluation.js | 2 src/api/system/user.js | 20 +- src/api/project/funddetail.js | 4 src/api/project/distributesummary.js | 8 src/api/project/organization.js | 8 src/api/project/VMedicalevaluation.js | 2 src/api/project/documentfiles.js | 8 src/api/project/organallocation.js | 8 src/api/project/message.js | 4 src/views/project/fund/applyDetail/index.vue | 150 ++++++++------ src/api/system/post.js | 8 src/api/project/financesubject.js | 8 src/api/project/reimbursementpayee.js | 4 src/api/system/travelexpensestandard.js | 8 54 files changed, 287 insertions(+), 271 deletions(-) diff --git a/src/api/monitor/job.js b/src/api/monitor/job.js index 58c4343..6e7136f 100644 --- a/src/api/monitor/job.js +++ b/src/api/monitor/job.js @@ -29,8 +29,8 @@ // 淇敼瀹氭椂浠诲姟璋冨害 export function updateJob(data) { return request({ - url: '/monitor/job', - method: 'put', + url: '/monitor/job/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎瀹氭椂浠诲姟璋冨害 export function delJob(jobId) { return request({ - url: '/monitor/job/' + jobId, - method: 'delete' + url: '/monitor/job/remove/' + jobId, + method: 'get' }) } @@ -60,7 +60,7 @@ } return request({ url: '/monitor/job/changeStatus', - method: 'put', + method: 'post', data: data }) } @@ -74,7 +74,7 @@ } return request({ url: '/monitor/job/run', - method: 'put', + method: 'post', data: data }) } \ No newline at end of file diff --git a/src/api/monitor/jobLog.js b/src/api/monitor/jobLog.js index be1fffd..fcb30e3 100644 --- a/src/api/monitor/jobLog.js +++ b/src/api/monitor/jobLog.js @@ -12,8 +12,8 @@ // 鍒犻櫎璋冨害鏃ュ織 export function delJobLog(jobLogId) { return request({ - url: '/monitor/jobLog/' + jobLogId, - method: 'delete' + url: '/monitor/jobLog/remove/' + jobLogId, + method: 'get' }) } @@ -21,7 +21,7 @@ export function cleanJobLog() { return request({ url: '/monitor/jobLog/clean', - method: 'delete' + method: 'get' }) } diff --git a/src/api/monitor/logininfor.js b/src/api/monitor/logininfor.js index 383d61f..f6e2de5 100644 --- a/src/api/monitor/logininfor.js +++ b/src/api/monitor/logininfor.js @@ -12,8 +12,8 @@ // 鍒犻櫎鐧诲綍鏃ュ織 export function delLogininfor(infoId) { return request({ - url: '/monitor/logininfor/' + infoId, - method: 'delete' + url: '/monitor/logininfor/remove/' + infoId, + method: 'get' }) } @@ -21,7 +21,7 @@ export function cleanLogininfor() { return request({ url: '/monitor/logininfor/clean', - method: 'delete' + method: 'get' }) } diff --git a/src/api/monitor/online.js b/src/api/monitor/online.js index bd22137..5495ed2 100644 --- a/src/api/monitor/online.js +++ b/src/api/monitor/online.js @@ -12,7 +12,7 @@ // 寮洪��鐢ㄦ埛 export function forceLogout(tokenId) { return request({ - url: '/monitor/online/' + tokenId, - method: 'delete' + url: '/monitor/online/forceLogout/' + tokenId, + method: 'get' }) } diff --git a/src/api/monitor/operlog.js b/src/api/monitor/operlog.js index f09b8ed..40d286d 100644 --- a/src/api/monitor/operlog.js +++ b/src/api/monitor/operlog.js @@ -12,8 +12,8 @@ // 鍒犻櫎鎿嶄綔鏃ュ織 export function delOperlog(operId) { return request({ - url: '/monitor/operlog/' + operId, - method: 'delete' + url: '/monitor/operlog/remove/' + operId, + method: 'get' }) } @@ -21,7 +21,7 @@ export function cleanOperlog() { return request({ url: '/monitor/operlog/clean', - method: 'delete' + method: 'get' }) } diff --git a/src/api/project/DonationEvaluation.js b/src/api/project/DonationEvaluation.js index a517d2b..5edeb06 100644 --- a/src/api/project/DonationEvaluation.js +++ b/src/api/project/DonationEvaluation.js @@ -21,8 +21,8 @@ // 淇敼鎹愮尞娴佺▼ export function updateDonateflowchart(data) { return request({ - url: '/project/donateflowchart', - method: 'put', + url: '/project/donateflowchart/edit', + method: 'post', data: data }) } diff --git a/src/api/project/VMedicalevaluation.js b/src/api/project/VMedicalevaluation.js index ead1a1e..742959e 100644 --- a/src/api/project/VMedicalevaluation.js +++ b/src/api/project/VMedicalevaluation.js @@ -39,7 +39,7 @@ export function delVMedicalevaluation(id) { return request({ url: '/project/VMedicalevaluation/' + id, - method: 'delete' + method: 'delete', }) } diff --git a/src/api/project/distributedetail.js b/src/api/project/distributedetail.js index d0486c3..344c620 100644 --- a/src/api/project/distributedetail.js +++ b/src/api/project/distributedetail.js @@ -29,8 +29,8 @@ // 淇敼涓撳璐圭敤鍒嗗彂姹囨�绘槑缁� export function updateDistributedetail(data) { return request({ - url: '/project/distributedetail', - method: 'put', + url: '/project/distributedetail/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎涓撳璐圭敤鍒嗗彂姹囨�绘槑缁� export function delDistributedetail(id) { return request({ - url: '/project/distributedetail/' + id, - method: 'delete' + url: '/project/distributedetail/remove/' + id, + method: 'get' }) } diff --git a/src/api/project/distributesummary.js b/src/api/project/distributesummary.js index 328d223..7601a44 100644 --- a/src/api/project/distributesummary.js +++ b/src/api/project/distributesummary.js @@ -37,8 +37,8 @@ // 淇敼涓撳璐圭敤鍒嗗彂姹囨�讳富 export function updateDistributesummary(data) { return request({ - url: '/project/distributesummary', - method: 'put', + url: '/project/distributesummary/edit', + method: 'post', data: data }) } @@ -46,8 +46,8 @@ // 鍒犻櫎涓撳璐圭敤鍒嗗彂姹囨�讳富 export function delDistributesummary(id) { return request({ - url: '/project/distributesummary/' + id, - method: 'delete' + url: '/project/distributesummary/remove/' + id, + method: 'get' }) } diff --git a/src/api/project/documentfiles.js b/src/api/project/documentfiles.js index 419dc4a..246e97e 100644 --- a/src/api/project/documentfiles.js +++ b/src/api/project/documentfiles.js @@ -29,8 +29,8 @@ // 淇敼鎹愮尞闄勪欢 export function updateDocumentfiles(data) { return request({ - url: '/project/documentfiles', - method: 'put', + url: '/project/documentfiles/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鎹愮尞闄勪欢 export function delDocumentfiles(id) { return request({ - url: '/project/documentfiles/' + id, - method: 'delete' + url: '/project/documentfiles/remove/' + id, + method: 'get' }) } diff --git a/src/api/project/donateannex.js b/src/api/project/donateannex.js index 32cef3b..597fc36 100644 --- a/src/api/project/donateannex.js +++ b/src/api/project/donateannex.js @@ -38,8 +38,8 @@ // 淇敼鎹愮尞闄勪欢 export function updateDonateannex(data) { return request({ - url: '/project/donateannex', - method: 'put', + url: '/project/donateannex/edit', + method: 'post', data: data }) } @@ -47,8 +47,8 @@ // 鍒犻櫎鎹愮尞闄勪欢 export function delDonateannex(id) { return request({ - url: '/project/donateannex/' + id, - method: 'delete' + url: '/project/donateannex/remove/' + id, + method: 'get' }) } diff --git a/src/api/project/donateannexrequirement.js b/src/api/project/donateannexrequirement.js index a0362ca..5b35e20 100644 --- a/src/api/project/donateannexrequirement.js +++ b/src/api/project/donateannexrequirement.js @@ -29,8 +29,8 @@ // 淇敼鎹愮尞闄勪欢瑕佹眰 export function updateDonateannexrequirement(data) { return request({ - url: '/project/donateannexrequirement', - method: 'put', + url: '/project/donateannexrequirement/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鎹愮尞闄勪欢瑕佹眰 export function delDonateannexrequirement(id) { return request({ - url: '/project/donateannexrequirement/' + id, - method: 'delete' + url: '/project/donateannexrequirement/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donatebaseinfo.js b/src/api/project/donatebaseinfo.js index 38abfae..6a89785 100644 --- a/src/api/project/donatebaseinfo.js +++ b/src/api/project/donatebaseinfo.js @@ -29,8 +29,8 @@ // 淇敼鎹愮尞鍩虹 export function updateDonatebaseinfo(data) { return request({ - url: '/project/donatebaseinfo', - method: 'put', + url: '/project/donatebaseinfo/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鎹愮尞鍩虹 export function delDonatebaseinfo(id) { return request({ - url: '/project/donatebaseinfo/' + id, - method: 'delete' + url: '/project/donatebaseinfo/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donatecompletioninfo.js b/src/api/project/donatecompletioninfo.js index 3a4bfff..dd4ca1d 100644 --- a/src/api/project/donatecompletioninfo.js +++ b/src/api/project/donatecompletioninfo.js @@ -38,8 +38,8 @@ // 淇敼鎹愮尞瀹屾垚 export function updateDonatecompletioninfo(data) { return request({ - url: '/project/donatecompletioninfo', - method: 'put', + url: '/project/donatecompletioninfo/edit', + method: 'post', data: data }) } @@ -47,8 +47,8 @@ // 鍒犻櫎鎹愮尞瀹屾垚 export function delDonatecompletioninfo(id) { return request({ - url: '/project/donatecompletioninfo/' + id, - method: 'delete' + url: '/project/donatecompletioninfo/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donateconsolationfund.js b/src/api/project/donateconsolationfund.js index 328cb74..1a44af2 100644 --- a/src/api/project/donateconsolationfund.js +++ b/src/api/project/donateconsolationfund.js @@ -29,8 +29,8 @@ // 淇敼鎹愮尞浜洪亾鎱伴棶閲� export function updateDonateconsolationfund(data) { return request({ - url: '/project/donateconsolationfund', - method: 'put', + url: '/project/donateconsolationfund/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鎹愮尞浜洪亾鎱伴棶閲� export function delDonateconsolationfund(id) { return request({ - url: '/project/donateconsolationfund/' + id, - method: 'delete' + url: '/project/donateconsolationfund/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donatefollowup.js b/src/api/project/donatefollowup.js index e275d6c..3549308 100644 --- a/src/api/project/donatefollowup.js +++ b/src/api/project/donatefollowup.js @@ -40,8 +40,8 @@ // 淇敼鎹愮尞闅忚 export function updateDonatefollowup(data) { return request({ - url: '/project/donatefollowup', - method: 'put', + url: '/project/donatefollowup/edit', + method: 'post', data: data }) } @@ -49,8 +49,8 @@ // 鍒犻櫎鎹愮尞闅忚 export function delDonatefollowup(id) { return request({ - url: '/project/donatefollowup/' + id, - method: 'delete' + url: '/project/donatefollowup/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donateorgan.js b/src/api/project/donateorgan.js index 5d6cc14..fb487ce 100644 --- a/src/api/project/donateorgan.js +++ b/src/api/project/donateorgan.js @@ -68,8 +68,8 @@ // 淇敼鎹愮尞鍣ㄥ畼绠$悊 export function updateDonateorgan(data) { return request({ - url: '/project/donateorgan', - method: 'put', + url: '/project/donateorgan/edit', + method: 'post', data: data }) } @@ -77,8 +77,8 @@ // 鍒犻櫎鎹愮尞鍣ㄥ畼绠$悊 export function delDonateorgan(id) { return request({ - url: '/project/donateorgan/' + id, - method: 'delete' + url: '/project/donateorgan/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/donationwitness.js b/src/api/project/donationwitness.js index 3616105..be7418a 100644 --- a/src/api/project/donationwitness.js +++ b/src/api/project/donationwitness.js @@ -53,8 +53,8 @@ // 淇敼鎹愮尞瑙佽瘉 export function updateDonationwitness(data) { return request({ - url: '/project/donationwitness', - method: 'put', + url: '/project/donationwitness/edit', + method: 'post', data: data }) } @@ -62,8 +62,8 @@ // 鍒犻櫎鎹愮尞瑙佽瘉 export function delDonationwitness(id) { return request({ - url: '/project/donationwitness/' + id, - method: 'delete' + url: '/project/donationwitness/remove/' + id, + method: 'get' }) } diff --git a/src/api/project/ethicalreviewopinions.js b/src/api/project/ethicalreviewopinions.js index 0ba1733..02b6142 100644 --- a/src/api/project/ethicalreviewopinions.js +++ b/src/api/project/ethicalreviewopinions.js @@ -37,8 +37,8 @@ // 淇敼浼︾悊瀹℃煡涓撳鎰忚 export function updateEthicalreviewopinions(data) { return request({ - url: '/project/ethicalreviewopinions', - method: 'put', + url: '/project/ethicalreviewopinions/edit', + method: 'post', data: data }) } @@ -46,8 +46,8 @@ // 鍒犻櫎浼︾悊瀹℃煡涓撳鎰忚 export function delEthicalreviewopinions(id) { return request({ - url: '/project/ethicalreviewopinions/' + id, - method: 'delete' + url: '/project/ethicalreviewopinions/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/expertexpense.js b/src/api/project/expertexpense.js index 06357e5..dbc9b8e 100644 --- a/src/api/project/expertexpense.js +++ b/src/api/project/expertexpense.js @@ -29,8 +29,8 @@ // 淇敼璐圭敤鐢宠涓� export function updateExpertexpense(data) { return request({ - url: '/project/expertexpense', - method: 'put', + url: '/project/expertexpense/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎璐圭敤鐢宠涓� export function delExpertexpense(id) { return request({ - url: '/project/expertexpense/' + id, - method: 'delete' + url: '/project/expertexpense/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/expertfeetype.js b/src/api/project/expertfeetype.js index d7555a5..423b806 100644 --- a/src/api/project/expertfeetype.js +++ b/src/api/project/expertfeetype.js @@ -29,8 +29,8 @@ // 淇敼涓撳璐圭敤 export function updateExpertfeetype(data) { return request({ - url: '/project/expertfeetype', - method: 'put', + url: '/project/expertfeetype/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎涓撳璐圭敤 export function delExpertfeetype(id) { return request({ - url: '/project/expertfeetype/' + id, - method: 'delete' + url: '/project/expertfeetype/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/externalperson.js b/src/api/project/externalperson.js index 0b96390..351a9eb 100644 --- a/src/api/project/externalperson.js +++ b/src/api/project/externalperson.js @@ -50,8 +50,8 @@ // 鍒犻櫎澶栧洿鍗曚綅浜哄憳 export function delExternalperson(id) { return request({ - url: '/project/externalperson/' + id, - method: 'delete' + url: '/project/externalperson/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/financesubject.js b/src/api/project/financesubject.js index 9a596a3..2e5439d 100644 --- a/src/api/project/financesubject.js +++ b/src/api/project/financesubject.js @@ -29,8 +29,8 @@ // 淇敼鏀跺叆璐圭敤绉戠洰 export function updateFinancesubject(data) { return request({ - url: '/project/financesubject', - method: 'put', + url: '/project/financesubject/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鏀跺叆璐圭敤绉戠洰 export function delFinancesubject(id) { return request({ - url: '/project/financesubject/' + id, - method: 'delete' + url: '/project/financesubject/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/funddetail.js b/src/api/project/funddetail.js index 9018030..c3e4eec 100644 --- a/src/api/project/funddetail.js +++ b/src/api/project/funddetail.js @@ -65,8 +65,8 @@ // 淇敼璐圭敤鐢宠鏄庣粏 export function updateFunddetail(data) { return request({ - url: '/project/funddetail', - method: 'put', + url: '/project/funddetail/edit', + method: 'post', data: data }) } diff --git a/src/api/project/funddetailshared.js b/src/api/project/funddetailshared.js index 0a96445..f5e8d60 100644 --- a/src/api/project/funddetailshared.js +++ b/src/api/project/funddetailshared.js @@ -29,8 +29,8 @@ // 淇敼璐圭敤鐢宠鏄庣粏 export function updateFunddetailshared(data) { return request({ - url: '/project/funddetailshared', - method: 'put', + url: '/project/funddetailshared/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎璐圭敤鐢宠鏄庣粏 export function delFunddetailshared(id) { return request({ - url: '/project/funddetailshared/' + id, - method: 'delete' + url: '/project/funddetailshared/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/fundflow.js b/src/api/project/fundflow.js index a67db61..a54d2a6 100644 --- a/src/api/project/fundflow.js +++ b/src/api/project/fundflow.js @@ -29,8 +29,8 @@ // 淇敼璐圭敤瀹℃壒娴佺▼ export function updateFundflow(data) { return request({ - url: '/project/fundflow', - method: 'put', + url: '/project/fundflow/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎璐圭敤瀹℃壒娴佺▼ export function delFundflow(id) { return request({ - url: '/project/fundflow/' + id, - method: 'delete' + url: '/project/fundflow/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/fundflowrule.js b/src/api/project/fundflowrule.js index 0ff77f7..3f3ee3d 100644 --- a/src/api/project/fundflowrule.js +++ b/src/api/project/fundflowrule.js @@ -29,8 +29,8 @@ // 淇敼璐圭敤瀹℃壒瑙勫垯 export function updateFundflowrule(data) { return request({ - url: '/project/fundflowrule', - method: 'put', + url: '/project/fundflowrule/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎璐圭敤瀹℃壒瑙勫垯 export function delFundflowrule(id) { return request({ - url: '/project/fundflowrule/' + id, - method: 'delete' + url: '/project/fundflowrule/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/fundshared.js b/src/api/project/fundshared.js index 3f3fb2c..b012070 100644 --- a/src/api/project/fundshared.js +++ b/src/api/project/fundshared.js @@ -39,7 +39,7 @@ export function delFundshared(id) { return request({ url: '/system/fundshared/' + id, - method: 'delete' + method: 'delete', }) } diff --git a/src/api/project/itemexpense.js b/src/api/project/itemexpense.js index f1bd446..cced4ff 100644 --- a/src/api/project/itemexpense.js +++ b/src/api/project/itemexpense.js @@ -29,8 +29,8 @@ // 淇敼鏀跺叆璐圭敤绉戠洰 export function updateItemexpense(data) { return request({ - url: '/project/itemexpense', - method: 'put', + url: '/project/itemexpense/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鏀跺叆璐圭敤绉戠洰 export function delItemexpense(id) { return request({ - url: '/project/itemexpense/' + id, - method: 'delete' + url: '/project/itemexpense/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/medicalevaluation.js b/src/api/project/medicalevaluation.js index 2910ce0..f66adbe 100644 --- a/src/api/project/medicalevaluation.js +++ b/src/api/project/medicalevaluation.js @@ -37,8 +37,8 @@ // 淇敼鍖诲璇勪及 export function updateMedicalevaluation(data) { return request({ - url: '/project/medicalevaluation', - method: 'put', + url: '/project/medicalevaluation/edit', + method: 'post', data: data }) } @@ -46,8 +46,8 @@ // 鍒犻櫎鍖诲璇勪及 export function delMedicalevaluation(id) { return request({ - url: '/project/medicalevaluation/' + id, - method: 'delete' + url: '/project/medicalevaluation/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/message.js b/src/api/project/message.js index 4033e81..d36d238 100644 --- a/src/api/project/message.js +++ b/src/api/project/message.js @@ -19,8 +19,8 @@ // 淇敼绯荤粺娑堟伅 export function updateSystemmessage(data) { return request({ - url: '/project/systemmessage', - method: 'put', + url: '/project/systemmessage/edit', + method: 'post', data: data }) } diff --git a/src/api/project/organallocation.js b/src/api/project/organallocation.js index c03b5a3..b57eb80 100644 --- a/src/api/project/organallocation.js +++ b/src/api/project/organallocation.js @@ -29,8 +29,8 @@ // 淇敼鍣ㄥ畼鍒嗛厤 export function updateOrganallocation(data) { return request({ - url: '/project/organallocation', - method: 'put', + url: '/project/organallocation/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鍣ㄥ畼鍒嗛厤 export function delOrganallocation(id) { return request({ - url: '/project/organallocation/' + id, - method: 'delete' + url: '/project/organallocation/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/organization.js b/src/api/project/organization.js index a7c26a8..38ab1b2 100644 --- a/src/api/project/organization.js +++ b/src/api/project/organization.js @@ -46,8 +46,8 @@ // 淇敼鏈烘瀯绠$悊 export function updateOrganization(data) { return request({ - url: '/project/organization', - method: 'put', + url: '/project/organization/edit', + method: 'post', data: data }) } @@ -55,8 +55,8 @@ // 鍒犻櫎鏈烘瀯绠$悊 export function delOrganization(id) { return request({ - url: '/project/organization/' + id, - method: 'delete' + url: '/project/organization/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/reimbursementdetail.js b/src/api/project/reimbursementdetail.js index e1c758f..c405256 100644 --- a/src/api/project/reimbursementdetail.js +++ b/src/api/project/reimbursementdetail.js @@ -78,7 +78,7 @@ export function delReimbursementdetail(id) { return request({ url: '/project/reimbursementdetail/deleteDetail/' + id, - method: 'delete' + method: 'get', }) } @@ -101,7 +101,7 @@ export function delReimbursementdetailrbid(rbid) { return request({ url: '/project/reimbursementdetail/deleteByRBId/' + rbid, - method: 'delete' + method: 'get', }) } diff --git a/src/api/project/reimbursementdetailshared.js b/src/api/project/reimbursementdetailshared.js index c143c63..ad99696 100644 --- a/src/api/project/reimbursementdetailshared.js +++ b/src/api/project/reimbursementdetailshared.js @@ -29,8 +29,8 @@ // 淇敼鎶ラ攢鐢宠鏄庣粏 export function updateReimbursementdetailshared(data) { return request({ - url: '/project/reimbursementdetailshared', - method: 'put', + url: '/project/reimbursementdetailshared/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鎶ラ攢鐢宠鏄庣粏 export function delReimbursementdetailshared(id) { return request({ - url: '/project/reimbursementdetailshared/' + id, - method: 'delete' + url: '/project/reimbursementdetailshared/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/reimbursementpayee.js b/src/api/project/reimbursementpayee.js index b86be99..f9cc7d4 100644 --- a/src/api/project/reimbursementpayee.js +++ b/src/api/project/reimbursementpayee.js @@ -45,8 +45,8 @@ // 鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅 export function delReimbursementpayee(id) { return request({ - url: '/project/reimbursementpayee/' + id, - method: 'delete' + url: '/project/reimbursementpayee/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/reimbursementpayeeshared.js b/src/api/project/reimbursementpayeeshared.js index 6cb00e6..bd3565c 100644 --- a/src/api/project/reimbursementpayeeshared.js +++ b/src/api/project/reimbursementpayeeshared.js @@ -29,8 +29,8 @@ // 淇敼宸梾鎶ラ攢浠樻淇℃伅 export function updateReimbursementpayeeshared(data) { return request({ - url: '/project/reimbursementpayeeshared', - method: 'put', + url: '/project/reimbursementpayeeshared/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅 export function delReimbursementpayeeshared(id) { return request({ - url: '/project/reimbursementpayeeshared/' + id, - method: 'delete' + url: '/project/reimbursementpayeeshared/remove/' + id, + method: 'get', }) } diff --git a/src/api/project/relativesconfirmation.js b/src/api/project/relativesconfirmation.js index 5db2f60..06a372a 100644 --- a/src/api/project/relativesconfirmation.js +++ b/src/api/project/relativesconfirmation.js @@ -38,8 +38,8 @@ // 淇敼鎹愮尞浜插睘纭 export function updateRelativesconfirmation(data) { return request({ - url: '/project/relativesconfirmation', - method: 'put', + url: '/project/relativesconfirmation/edit', + method: 'post', data: data }) } @@ -80,8 +80,8 @@ // 鍒犻櫎鎹愮尞浜插睘纭 export function delRelativesconfirmation(id) { return request({ - url: '/project/relativesconfirmation/' + id, - method: 'delete' + url: '/project/relativesconfirmation/remove/' + id, + method: 'get', }) } diff --git a/src/api/system/class.js b/src/api/system/class.js index 22e898d..3ea49d3 100644 --- a/src/api/system/class.js +++ b/src/api/system/class.js @@ -29,8 +29,8 @@ // 淇敼鐝骇淇℃伅 export function updateClass(data) { return request({ - url: '/system/class', - method: 'put', + url: '/system/class/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎鐝骇淇℃伅 export function delClass(classId) { return request({ - url: '/system/class/' + classId, - method: 'delete' + url: '/system/class/remove/' + classId, + method: 'get', }) } diff --git a/src/api/system/config.js b/src/api/system/config.js index 95af138..356d1bb 100644 --- a/src/api/system/config.js +++ b/src/api/system/config.js @@ -37,8 +37,8 @@ // 淇敼鍙傛暟閰嶇疆 export function updateConfig(data) { return request({ - url: '/system/config', - method: 'put', + url: '/system/config/edit', + method: 'post', data: data }) } @@ -46,8 +46,8 @@ // 鍒犻櫎鍙傛暟閰嶇疆 export function delConfig(configId) { return request({ - url: '/system/config/' + configId, - method: 'delete' + url: '/system/config/remove/' + configId, + method: 'get', }) } @@ -55,7 +55,7 @@ export function refreshCache() { return request({ url: '/system/config/refreshCache', - method: 'delete' + method: 'get', }) } diff --git a/src/api/system/dept.js b/src/api/system/dept.js index 2804676..7aab383 100644 --- a/src/api/system/dept.js +++ b/src/api/system/dept.js @@ -53,8 +53,8 @@ // 淇敼閮ㄩ棬 export function updateDept(data) { return request({ - url: '/system/dept', - method: 'put', + url: '/system/dept/edit', + method: 'post', data: data }) } @@ -62,7 +62,7 @@ // 鍒犻櫎閮ㄩ棬 export function delDept(deptId) { return request({ - url: '/system/dept/' + deptId, - method: 'delete' + url: '/system/dept/remove/' + deptId, + method: 'get', }) } \ No newline at end of file diff --git a/src/api/system/dict/data.js b/src/api/system/dict/data.js index d7aca89..d667723 100644 --- a/src/api/system/dict/data.js +++ b/src/api/system/dict/data.js @@ -37,8 +37,8 @@ // 淇敼瀛楀吀鏁版嵁 export function updateData(data) { return request({ - url: '/system/dict/data', - method: 'put', + url: '/system/dict/data/edit', + method: 'post', data: data }) } @@ -46,8 +46,8 @@ // 鍒犻櫎瀛楀吀鏁版嵁 export function delData(dictCode) { return request({ - url: '/system/dict/data/' + dictCode, - method: 'delete' + url: '/system/dict/data/remove/' + dictCode, + method: 'get', }) } diff --git a/src/api/system/dict/type.js b/src/api/system/dict/type.js index 947be41..07850d0 100644 --- a/src/api/system/dict/type.js +++ b/src/api/system/dict/type.js @@ -29,8 +29,8 @@ // 淇敼瀛楀吀绫诲瀷 export function updateType(data) { return request({ - url: '/system/dict/type', - method: 'put', + url: '/system/dict/type/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎瀛楀吀绫诲瀷 export function delType(dictId) { return request({ - url: '/system/dict/type/' + dictId, - method: 'delete' + url: '/system/dict/type/remove/' + dictId, + method: 'get', }) } @@ -47,7 +47,7 @@ export function refreshCache() { return request({ url: '/system/dict/type/refreshCache', - method: 'delete' + method: 'get', }) } diff --git a/src/api/system/grade.js b/src/api/system/grade.js index beb962d..4a5711e 100644 --- a/src/api/system/grade.js +++ b/src/api/system/grade.js @@ -29,8 +29,8 @@ // 淇敼骞寸骇淇℃伅 export function updateGrade(data) { return request({ - url: '/system/grade', - method: 'put', + url: '/system/grade/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎骞寸骇淇℃伅 export function delGrade(gradeId) { return request({ - url: '/system/grade/' + gradeId, - method: 'delete' + url: '/system/grade/remove/' + gradeId, + method: 'get', }) } diff --git a/src/api/system/medicalevaluation.js b/src/api/system/medicalevaluation.js index 689c4b8..4116ebe 100644 --- a/src/api/system/medicalevaluation.js +++ b/src/api/system/medicalevaluation.js @@ -39,7 +39,7 @@ export function delMedicalevaluation(id) { return request({ url: '/system/medicalevaluation/' + id, - method: 'delete' + method: 'delete', }) } diff --git a/src/api/system/menu.js b/src/api/system/menu.js index f6415c6..f859dbd 100644 --- a/src/api/system/menu.js +++ b/src/api/system/menu.js @@ -45,8 +45,8 @@ // 淇敼鑿滃崟 export function updateMenu(data) { return request({ - url: '/system/menu', - method: 'put', + url: '/system/menu/edit', + method: 'post', data: data }) } @@ -54,7 +54,7 @@ // 鍒犻櫎鑿滃崟 export function delMenu(menuId) { return request({ - url: '/system/menu/' + menuId, - method: 'delete' + url: '/system/menu/remove/' + menuId, + method: 'get', }) } \ No newline at end of file diff --git a/src/api/system/notice.js b/src/api/system/notice.js index c274ea5..02d0a63 100644 --- a/src/api/system/notice.js +++ b/src/api/system/notice.js @@ -29,8 +29,8 @@ // 淇敼鍏憡 export function updateNotice(data) { return request({ - url: '/system/notice', - method: 'put', + url: '/system/notice/edit', + method: 'post', data: data }) } @@ -38,7 +38,7 @@ // 鍒犻櫎鍏憡 export function delNotice(noticeId) { return request({ - url: '/system/notice/' + noticeId, - method: 'delete' + url: '/system/notice/remove/' + noticeId, + method: 'get', }) } \ No newline at end of file diff --git a/src/api/system/post.js b/src/api/system/post.js index 434cd35..bbb5541 100644 --- a/src/api/system/post.js +++ b/src/api/system/post.js @@ -29,8 +29,8 @@ // 淇敼宀椾綅 export function updatePost(data) { return request({ - url: '/system/post', - method: 'put', + url: '/system/post/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎宀椾綅 export function delPost(postId) { return request({ - url: '/system/post/' + postId, - method: 'delete' + url: '/system/post/remove/' + postId, + method: 'get', }) } diff --git a/src/api/system/role.js b/src/api/system/role.js index 0a4157d..6f3977e 100644 --- a/src/api/system/role.js +++ b/src/api/system/role.js @@ -29,8 +29,8 @@ // 淇敼瑙掕壊 export function updateRole(data) { return request({ - url: '/system/role', - method: 'put', + url: '/system/role/edit', + method: 'post', data: data }) } @@ -39,7 +39,7 @@ export function dataScope(data) { return request({ url: '/system/role/dataScope', - method: 'put', + method: 'post', data: data }) } @@ -52,7 +52,7 @@ } return request({ url: '/system/role/changeStatus', - method: 'put', + method: 'post', data: data }) } @@ -60,8 +60,8 @@ // 鍒犻櫎瑙掕壊 export function delRole(roleId) { return request({ - url: '/system/role/' + roleId, - method: 'delete' + url: '/system/role/remove/' + roleId, + method: 'get', }) } @@ -95,8 +95,8 @@ // 鍙栨秷鐢ㄦ埛鎺堟潈瑙掕壊 export function authUserCancel(data) { return request({ - url: '/system/role/authUser/cancel', - method: 'put', + url: '/system/role/authUser/cancel/cancelAuthUser', + method: 'post', data: data }) } @@ -104,8 +104,8 @@ // 鎵归噺鍙栨秷鐢ㄦ埛鎺堟潈瑙掕壊 export function authUserCancelAll(data) { return request({ - url: '/system/role/authUser/cancelAll', - method: 'put', + url: '/system/role/authUser/cancelAll/cancelAuthUserAll', + method: 'post', params: data }) } @@ -113,8 +113,8 @@ // 鎺堟潈鐢ㄦ埛閫夋嫨 export function authUserSelectAll(data) { return request({ - url: '/system/role/authUser/selectAll', - method: 'put', + url: '/system/role/authUser/selectAll/selectAuthUserAll', + method: 'post', params: data }) } \ No newline at end of file diff --git a/src/api/system/student.js b/src/api/system/student.js index 1c4c3f0..507e03b 100644 --- a/src/api/system/student.js +++ b/src/api/system/student.js @@ -29,8 +29,8 @@ // 淇敼瀛︾敓淇℃伅 export function updateStudent(data) { return request({ - url: '/system/student', - method: 'put', + url: '/system/student/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎瀛︾敓淇℃伅 export function delStudent(studentId) { return request({ - url: '/system/student/' + studentId, - method: 'delete' + url: '/system/student/remove/' + studentId, + method: 'get', }) } diff --git a/src/api/system/travelexpensestandard.js b/src/api/system/travelexpensestandard.js index e77a48e..2c7a45a 100644 --- a/src/api/system/travelexpensestandard.js +++ b/src/api/system/travelexpensestandard.js @@ -29,8 +29,8 @@ // 淇敼浣忓璐归檺棰濇爣鍑� export function updateTravelexpensestandard(data) { return request({ - url: '/system/travelexpensestandard', - method: 'put', + url: '/system/travelexpensestandard/edit', + method: 'post', data: data }) } @@ -38,8 +38,8 @@ // 鍒犻櫎浣忓璐归檺棰濇爣鍑� export function delTravelexpensestandard(id) { return request({ - url: '/system/travelexpensestandard/' + id, - method: 'delete' + url: '/system/travelexpensestandard/remove/' + id, + method: 'get', }) } diff --git a/src/api/system/user.js b/src/api/system/user.js index 1965476..c012a1c 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -30,8 +30,8 @@ // 淇敼鐢ㄦ埛 export function updateUser(data) { return request({ - url: '/system/user', - method: 'put', + url: '/system/user/edit', + method: 'post', data: data }) } @@ -39,8 +39,8 @@ // 鍒犻櫎鐢ㄦ埛 export function delUser(userId) { return request({ - url: '/system/user/' + userId, - method: 'delete' + url: '/system/user/remove/' + userId, + method: 'get', }) } @@ -61,7 +61,7 @@ } return request({ url: '/system/user/resetPwd', - method: 'put', + method: 'post', data: data }) } @@ -74,7 +74,7 @@ } return request({ url: '/system/user/changeStatus', - method: 'put', + method: 'post', data: data }) } @@ -90,8 +90,8 @@ // 淇敼鐢ㄦ埛涓汉淇℃伅 export function updateUserProfile(data) { return request({ - url: '/system/user/profile', - method: 'put', + url: '/system/user/profile/updateProfile', + method: 'post', data: data }) } @@ -137,8 +137,8 @@ // 淇濆瓨鎺堟潈瑙掕壊 export function updateAuthRole(data) { return request({ - url: '/system/user/authRole', - method: 'put', + url: '/system/user/authRole/insertAuthRole', + method: 'post', params: data }) } diff --git a/src/api/tool/gen.js b/src/api/tool/gen.js index 4506927..b7d5196 100644 --- a/src/api/tool/gen.js +++ b/src/api/tool/gen.js @@ -28,8 +28,8 @@ // 淇敼浠g爜鐢熸垚淇℃伅 export function updateGenTable(data) { return request({ - url: '/tool/gen', - method: 'put', + url: '/tool/gen/edit', + method: 'post', data: data }) } @@ -54,8 +54,8 @@ // 鍒犻櫎琛ㄦ暟鎹� export function delTable(tableId) { return request({ - url: '/tool/gen/' + tableId, - method: 'delete' + url: '/tool/gen/remove/' + tableId, + method: 'get', }) } diff --git a/src/views/project/fund/applyDetail/index.vue b/src/views/project/fund/applyDetail/index.vue index 649ca6f..c9a45de 100644 --- a/src/views/project/fund/applyDetail/index.vue +++ b/src/views/project/fund/applyDetail/index.vue @@ -402,20 +402,6 @@ @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 @@ -1162,7 +1148,11 @@ </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" @@ -1179,17 +1169,15 @@ 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> @@ -1336,49 +1324,9 @@ Networkheader: null, batchdialogVisible: false, itemlist: [], - cityOptions: [ - "涓婃捣", - "鍖椾含", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "骞垮窞", - "娣卞湷", - "鏉窞", - "娓╁窞", - "娌冲崡", - "鑾嗙敯", - "绂忓窞" - ], + cityOptions: [], checkAll: false, - checkedCities: ["涓婃捣", "鍖椾含"], + checkedCities: [], isIndeterminate: true, @@ -2844,21 +2792,85 @@ }); }, 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 = { @@ -2928,6 +2940,11 @@ 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) { @@ -2961,9 +2978,6 @@ }); //鍏ㄩ儴鍒犻櫎鍚庢坊鍔犱竴鏉℃柊琛� - if (this.rbDetails.length == 1) { - this.addRow(0); - } }, //璁$畻鎬婚噾棰� @@ -3333,7 +3347,9 @@ // 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; -- Gitblit v1.9.3