From f47ce70afac05ce941b5eafb2d9114c7a017f774 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期二, 06 九月 2022 20:01:27 +0800 Subject: [PATCH] 新增微信账号快捷登录、账号绑定、换绑功能,及页面更新。 --- utils/api.js | 87 ++++++++++++++++++++++++++++++++++++------- 1 files changed, 72 insertions(+), 15 deletions(-) diff --git a/utils/api.js b/utils/api.js index b1298e1..12c341e 100644 --- a/utils/api.js +++ b/utils/api.js @@ -1,19 +1,25 @@ export const api = { + // 寰俊缁戝畾瀹㈡埛 + bindWx:{ + url:'/admin/social/bind', + method:"POST" + }, + // 鑾峰彇鍗曚綅鏍� fetchCompTree:{ url:'/admin/dept/compTree', method:'GET' }, - - // 鎴戠殑鐢宠 + + // 鎴戠殑鐢宠 getProcessDataList:{ url:'/oa/actBusiness/getByCondition', name:'pig', method:'GET' }, - - + + // 鏂板鐢宠 getNewProcessDataList:{ url:'/oa/actProcess/getByCondition', @@ -60,8 +66,8 @@ name:'pig', method:'GET' }, - - + + // 閫夋嫨瀹㈡埛 // 鎼滅储 customer:{ @@ -78,8 +84,8 @@ // url:'/yunxiao/account/getAccountByCustmoerIdAndCompId', // method:'GET' // }, - - + + // 閫夋嫨鍚堝悓 contract:{ url:'/yunxiao/contract/page', @@ -98,8 +104,14 @@ url:"/yunxiao/trainFreight/find", mehtod:"GET" }, - - + + // 鍚堝悓璇︽儏 + getByContractId:{ + url:'/yunxiao/contractitem/getByContractId', + method:'GET' + }, + + // 娣诲姞鐢宠 xswaybill:{ url:'/yunxiao/xswaybill', @@ -110,10 +122,8 @@ url:'/yunxiao/coalpricemodifyinfo/getNewPrice', method:'GET' }, - // 鑾峰彇杩愯垂 - - - + + // 鎾ゅ洖 withDraw:{ url:'/oa/actBusiness/cancel', @@ -141,4 +151,51 @@ name:'pig', method:'GET' }, -} \ No newline at end of file + + // 琛ㄥ崟鏁版嵁 + formData:{ + url:'/yunxiao/xswaybill', + method:'GET' + }, + // 鏌ョ湅杩涘害 + historicFlow:{ + url:'/oa/actTask/historicFlow', + method:'GET' + }, + // 寰呭姙閫氳繃 + // getNextNode:{ + // url:'/oa/actProcess/getNextNode', + // method:'GET' + // }, + // 鎵归噺閫氳繃 + passAll:{ + url:'/oa/actTask/passAll', + method:'POST' + }, + // 鎵归噺椹冲洖 + backAll:{ + url:'/oa/actTask/backAll', + method:"POST" + }, + deleteHistoric:{ + url:'/oa/actTask/deleteHistoric', + method:"POST" + }, + // 淇敼椹冲洖鐢宠淇℃伅 + editXswaybill:{ + url:'/yunxiao/xswaybill', + method:'PUT' + }, + // 閫�鍑烘竻绌虹紦瀛� + // logout:{ + // url:'/auth/token/logout', + // method:'DELETE' + // } + + // 鐓や粨褰撳墠鍓╀綑閲� + coalbunker:{ + url:'/yunxiao/coalbunker/page', + method:'GET' + } + +} -- Gitblit v1.9.1