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 | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 102 insertions(+), 13 deletions(-) diff --git a/utils/api.js b/utils/api.js index fc114a5..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', @@ -49,13 +55,19 @@ name:'pig', method:'GET' }, + // 鑾峰彇鍏ㄩ儴浼樻儬鏀跨瓥 + getFavouredPolicyItem:{ + url:'/yunxiao/jcfavouredpolicyitem/page', + method:'GET' + }, + // 鐓ゅ満 coalfiled:{ url:'/yunxiao/coalfiled/page', name:'pig', method:'GET' }, - - + + // 閫夋嫨瀹㈡埛 // 鎼滅储 customer:{ @@ -67,7 +79,13 @@ url:'/yunxiao/account/getAccount', method:'GET' }, - + // 閫夋嫨瀹㈡埛鍥炶皟 + // customerAccount:{ + // url:'/yunxiao/account/getAccountByCustmoerIdAndCompId', + // method:'GET' + // }, + + // 閫夋嫨鍚堝悓 contract:{ url:'/yunxiao/contract/page', @@ -82,19 +100,43 @@ url:'/admin/dict/type/contract_type', method:'GET' }, - - - + trainFreightFind:{ + url:"/yunxiao/trainFreight/find", + mehtod:"GET" + }, + + // 鍚堝悓璇︽儏 + getByContractId:{ + url:'/yunxiao/contractitem/getByContractId', + method:'GET' + }, + + + // 娣诲姞鐢宠 + xswaybill:{ + url:'/yunxiao/xswaybill', + method:'POST' + }, + // 鐓ょ浠锋牸淇敼淇℃伅 + getNewPrice:{ + url:'/yunxiao/coalpricemodifyinfo/getNewPrice', + method:'GET' + }, + + // 鎾ゅ洖 withDraw:{ url:'/oa/actBusiness/cancel', - name:'pig', method:'POST' + }, + // 鑾峰彇鎿嶄綔浜� + getFirstNode:{ + url:'/oa/actProcess/getFirstNode', + method:'GET' }, // 閲嶆柊鐢宠 apply:{ url:'/oa/actBusiness/apply', - name:'pig', method:'POST' }, // 鎴戠殑寰呭姙 @@ -109,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