From c56e67c77e2a36c894346830c1ab1e6df36fe935 Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 01 十二月 2023 16:55:02 +0800 Subject: [PATCH] 测试bug调整 --- utils/api.js | 291 +++++++++++++++++++++++++++++++++++----------------------- 1 files changed, 175 insertions(+), 116 deletions(-) diff --git a/utils/api.js b/utils/api.js index 86a38e7..27a940a 100644 --- a/utils/api.js +++ b/utils/api.js @@ -1,160 +1,190 @@ 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' }, + //鏂板鏀舵鏄庣粏 + //璐﹀鎺ュ彛鏌ヨ + getLedgerList: { + url: '/yunxiao/zhaccountledger/page', + 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' + 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' }, - + // 琛ㄥ崟鏁版嵁 - formData:{ - url:'/yunxiao/xswaybill', - method:'GET' + formData: { + url: '/yunxiao/xswaybill', + method: 'GET' }, // 鏌ョ湅杩涘害 - historicFlow:{ - url:'/oa/actTask/historicFlow', - method:'GET' + historicFlow: { + url: '/oa/actTask/historicFlow', + method: 'GET' }, // 寰呭姙閫氳繃 // getNextNode:{ @@ -162,27 +192,56 @@ // method:'GET' // }, // 鎵归噺閫氳繃 - passAll:{ - url:'/oa/actTask/passAll', - method:'POST' + passAll: { + url: '/oa/actTask/passAll', + method: 'POST' }, // 鎵归噺椹冲洖 - backAll:{ - url:'/oa/actTask/backAll', - method:"POST" + backAll: { + url: '/oa/actTask/backAll', + method: "POST" }, - deleteHistoric:{ - url:'/oa/actTask/deleteHistoric', - method:"POST" + back: { + url: '/oa/actTask/back', + method: "POST" + }, + deleteHistoric: { + url: '/oa/actTask/deleteHistoric', + method: "POST" }, // 淇敼椹冲洖鐢宠淇℃伅 - editXswaybill:{ - url:'/yunxiao/xswaybill', - method:'PUT' + editXswaybill: { + url: '/yunxiao/xswaybill', + method: 'PUT' }, // 閫�鍑烘竻绌虹紦瀛� // logout:{ // url:'/auth/token/logout', // method:'DELETE' // } -} \ No newline at end of file + + // 鐓や粨褰撳墠鍓╀綑閲� + coalbunker: { + url: '/yunxiao/coalbunker/page', + method: 'GET' + }, + //鏂板鏀舵鏄庣粏 + addObj: { + url: '/yunxiao/gatheringbill', + method: 'post', + }, + putObj: { + url: '/yunxiao/gatheringbill', + method: 'PUT', + }, + //鏀舵鏄庣粏璇︽儏 + getObj: { + url: '/yunxiao/gatheringbill', + method: 'GET', + }, + getListByComp: { + url: '/yunxiao/jcncskuser/getListByComp', + method: 'GET', + } + +} -- Gitblit v1.9.1