From 2c11814ecf148a5fe5a80d03e29481476e47f34d Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期一, 19 十二月 2022 16:13:34 +0800
Subject: [PATCH] test push two
---
utils/api.js | 262 +++++++++++++++++++++++++++++++++-------------------
1 files changed, 167 insertions(+), 95 deletions(-)
diff --git a/utils/api.js b/utils/api.js
index b1298e1..9f61e06 100644
--- a/utils/api.js
+++ b/utils/api.js
@@ -1,144 +1,216 @@
export const api = {
- // 鑾峰彇鍗曚綅鏍�
- fetchCompTree:{
- url:'/admin/dept/compTree',
- method:'GET'
+ // 寰俊缁戝畾瀹㈡埛
+ bindWx: {
+ url: '/admin/social/bind',
+ method: "POST"
},
-
- // 鎴戠殑鐢宠
- getProcessDataList:{
- url:'/oa/actBusiness/getByCondition',
- name:'pig',
- method:'GET'
+ // 鑾峰彇鍗曚綅鏍�
+ fetchCompTree: {
+ url: '/admin/dept/compTree',
+ method: 'GET'
},
-
-
+
+
+ // 鎴戠殑鐢宠
+ getProcessDataList: {
+ url: '/oa/actBusiness/getByCondition',
+ name: 'pig',
+ method: 'GET'
+ },
+
+
// 鏂板鐢宠
- getNewProcessDataList:{
- url:'/oa/actProcess/getByCondition',
- name:'pig',
- mehtod:'GET'
+ getNewProcessDataList: {
+ url: '/oa/actProcess/getByCondition',
+ name: 'pig',
+ mehtod: 'GET'
},
// 鎿嶄綔浜哄憳
- operator:{
- url:'/admin/dict/type/operator',
- name:'pig',
- method:'GET'
+ operator: {
+ url: '/admin/dict/type/operator',
+ name: 'pig',
+ method: 'GET'
},
// 浠樻绫诲瀷
- pay_type:{
- url:'/admin/dict/type/pay_type',
- name:'pig',
- method:'GET'
+ pay_type: {
+ url: '/admin/dict/type/pay_type',
+ name: 'pig',
+ method: 'GET'
},
// 鍏朵粬鍙傛暟
- others_params:{
- url:'/admin/dict/type/others_params',
- name:'pig',
- method:'GET'
+ others_params: {
+ url: '/admin/dict/type/others_params',
+ name: 'pig',
+ method: 'GET'
},
// 椤甸潰鍙傛暟
- coalprice:{
- url:'/yunxiao/coalprice/page',
- name:'pig',
- method:'GET'
+ coalprice: {
+ url: '/yunxiao/coalprice/page',
+ name: 'pig',
+ method: 'GET'
},
- jcfavouredpolicyitem:{
- url:'/yunxiao/jcfavouredpolicyitem/page',
- name:'pig',
- method:'GET'
+ jcfavouredpolicyitem: {
+ url: '/yunxiao/jcfavouredpolicyitem/page',
+ name: 'pig',
+ method: 'GET'
},
// 鑾峰彇鍏ㄩ儴浼樻儬鏀跨瓥
- getFavouredPolicyItem:{
- url:'/yunxiao/jcfavouredpolicyitem/page',
- method:'GET'
+ getFavouredPolicyItem: {
+ url: '/yunxiao/jcfavouredpolicyitem/page',
+ method: 'GET'
},
// 鐓ゅ満
- coalfiled:{
- url:'/yunxiao/coalfiled/page',
- name:'pig',
- method:'GET'
+ coalfiled: {
+ url: '/yunxiao/coalfiled/page',
+ name: 'pig',
+ method: 'GET'
},
-
-
- // 閫夋嫨瀹㈡埛
+
+ /**
+ * @Ledger 鍒嗙被璐﹀
+ */
+ zhaccountledger: {
+ url: '/yunxiao/zhaccountledger/page',
+ method: 'GET'
+ },
+
+
+ /**
+ * @閫夋嫨瀹㈡埛
+ */
// 鎼滅储
- customer:{
- url:'/yunxiao/customer/page',
- method:'GET'
+ customer: {
+ url: '/yunxiao/customer/page',
+ method: 'GET'
},
// 鑾峰彇璐︽埛
- getAccount:{
- url:'/yunxiao/account/getAccount',
- method:'GET'
+ getAccount: {
+ url: '/yunxiao/account/getAccount',
+ method: 'GET'
},
// 閫夋嫨瀹㈡埛鍥炶皟
// customerAccount:{
// url:'/yunxiao/account/getAccountByCustmoerIdAndCompId',
// method:'GET'
// },
-
-
+
+
// 閫夋嫨鍚堝悓
- contract:{
- url:'/yunxiao/contract/page',
- method:'GET'
+ contract: {
+ url: '/yunxiao/contract/page',
+ method: 'GET'
},
// 鍚堝悓绫诲瀷&鐘舵��
- contract_status:{
- url:'/admin/dict/type/contract_status',
- method:'GET'
+ contract_status: {
+ url: '/admin/dict/type/contract_status',
+ method: 'GET'
},
- contract_type:{
- url:'/admin/dict/type/contract_type',
- method:'GET'
+ contract_type: {
+ url: '/admin/dict/type/contract_type',
+ method: 'GET'
},
- trainFreightFind:{
- url:"/yunxiao/trainFreight/find",
- mehtod:"GET"
+ trainFreightFind: {
+ url: "/yunxiao/trainFreight/find",
+ mehtod: "GET"
},
-
-
+
+ // 鍚堝悓璇︽儏
+ getByContractId: {
+ url: '/yunxiao/contractitem/getByContractId',
+ method: 'GET'
+ },
+
+
// 娣诲姞鐢宠
- xswaybill:{
- url:'/yunxiao/xswaybill',
- method:'POST'
+ xswaybill: {
+ url: '/yunxiao/xswaybill',
+ method: 'POST'
},
// 鐓ょ浠锋牸淇敼淇℃伅
- getNewPrice:{
- url:'/yunxiao/coalpricemodifyinfo/getNewPrice',
- method:'GET'
+ getNewPrice: {
+ url: '/yunxiao/coalpricemodifyinfo/getNewPrice',
+ method: 'GET'
},
- // 鑾峰彇杩愯垂
-
-
-
+
+
// 鎾ゅ洖
- withDraw:{
- url:'/oa/actBusiness/cancel',
+ // withDraw: {
+ // url: '/oa/actBusiness/cancel',
+ // method: 'POST'
+ // },
+ // 淇敼杩囩殑鎾ゅ洖
+ cancel:{
+ url:'/oa/actRemote/cancel',
method:'POST'
},
// 鑾峰彇鎿嶄綔浜�
- getFirstNode:{
- url:'/oa/actProcess/getFirstNode',
- method:'GET'
+ getFirstNode: {
+ url: '/oa/actProcess/getFirstNode',
+ method: 'GET'
},
// 閲嶆柊鐢宠
- apply:{
- url:'/oa/actBusiness/apply',
- method:'POST'
+ apply: {
+ url: '/oa/actBusiness/apply',
+ method: 'POST'
},
// 鎴戠殑寰呭姙
- todoList:{
- url:'/oa/actTask/todoList',
- name:'pig',
- method:'GET'
+ todoList: {
+ url: '/oa/actTask/todoList',
+ name: 'pig',
+ method: 'GET'
},
// 鎴戠殑宸插姙
- doneList:{
- url:'/oa/actTask/doneList',
- name:'pig',
- method:'GET'
+ doneList: {
+ url: '/oa/actTask/doneList',
+ 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