From 48a4ff3409804fc62139a9fa9fc05498cbc0a0ce Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期四, 05 九月 2024 17:41:02 +0800 Subject: [PATCH] feat:库管拼单 --- api/globalApi.js | 322 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 301 insertions(+), 21 deletions(-) diff --git a/api/globalApi.js b/api/globalApi.js index c076307..383a5f2 100644 --- a/api/globalApi.js +++ b/api/globalApi.js @@ -5,10 +5,10 @@ method: 'POST' }, - // 鎻愮叅鍗� + // 鏀跺彂鍗� // 鑾峰彇鍙戣繍璁″垝鍒楄〃 GetOrderPlan: { - url: '/wrzs/wx/getOrderPlan', + url: '/wrzs/customerSupplier/getOrderPlan', method: 'GET' }, //鑾峰彇鍙戣繍璁″垝璇︽儏 @@ -57,19 +57,19 @@ method: 'POST' }, /** - * @description 鑾峰彇鍘嗗彶鎻愮叅鍗� + * @description 鑾峰彇鍘嗗彶鏀跺彂鍗� */ getJhOrderPlanDataPage: { url: '/wrzs/userOperation/getJhOrderPlanDataPage', method: 'GET' }, - // 璐т唬棣栭〉鍒楄〃 + // 鎵胯繍鍟嗛椤靛垪琛� // huoDaiList: { // url: "/wrzs/wx/huoDaiList", // method: "GET" // }, /** - * @璐т唬棣栭〉鍒楄〃淇敼 + * @鎵胯繍鍟嗛椤靛垪琛ㄤ慨鏀� */ huoDaiList: { url: '/wrzs/userOperation/huoDaiList ', @@ -85,7 +85,7 @@ * @鍙告満棣栭〉鍒楄〃淇敼 */ qiangDanList: { - url: '/wrzs/userOperation/qiangDanList', + url: '/wrzs/app/driver/qiangDanList', method: 'GET' }, @@ -98,7 +98,7 @@ * @鎶㈠崟淇敼 */ qiangDan: { - url: '/wrzs/userOperation/qiangDan', + url: '/wrzs/app/driver/qiangDan', method: 'POST' }, @@ -119,6 +119,10 @@ url: '/wrzs/userOperation/yuYueList', method: 'GET' }, + driverYuYueList: { + url: '/wrzs/app/driver/yuYueAPPList', + method: 'GET' + }, //棰勭害 // yuYue: { @@ -129,17 +133,17 @@ * @棰勭害淇敼 */ yuYue: { - url: '/wrzs/userOperation/yuYue', + url: '/wrzs/app/driver/yuYue', method: 'POST' }, - //鑾峰彇鎻愮叅鍗曡鎯� + //鑾峰彇鏀跺彂鍗曡鎯� // getTakeCoal: { // url: "/wrzs/wx/getTakeCoal", // method: "GET" // }, /** - * @鑾峰彇鎻愮叅鍗曡鎯呬慨鏀瑰悗 + * @鑾峰彇鏀跺彂鍗曡鎯呬慨鏀瑰悗 */ getTakeCoal: { url: '/wrzs/userOperation/getTakeCoal', @@ -162,22 +166,22 @@ url: '/wrzs/wx/getUserById', method: 'POST' }, - //鑾峰彇璐т唬鍒楄〃 + //鑾峰彇鎵胯繍鍟嗗垪琛� getAllHuoDaiByCustomerId: { url: '/wrzs/wx/getAllHuoDaiByCustomerId', method: 'GET' }, - //閭�璇疯揣浠� + //閭�璇锋壙杩愬晢 bindHuoDai: { url: '/wrzs/wx/bindHuoDai', method: 'POST' }, - //鍒犻櫎璐т唬 + //鍒犻櫎鎵胯繍鍟� deleteHuoDai: { url: '/wrzs/wx/deleteHuoDai', method: 'POST' }, - //鑾峰彇璐т唬璇︽儏 + //鑾峰彇鎵胯繍鍟嗚鎯� getHuoDaiDetail: { url: '/wrzs/wx/getHuoDaiDetail', method: 'GET' @@ -260,7 +264,8 @@ * @绉伴噸 */ saveWeigh: { - url: '/wrzs/userOperation/saveWeigh', + // url: '/wrzs/userOperation/saveWeigh', + url:'/wrzs/app/driver/saveWeigh', method: 'POST' }, // 鑾峰彇绉伴噸淇℃伅 @@ -278,8 +283,11 @@ url: '/wrzs/jccoalweighhouse/getUpperPound', method: 'GET' }, - - // 鎻愮叅鍗曟棩蹇楁煡璇� + getWeighHouse1: { + url: '/wrzs/jccoalweighhouse/getWeighHouse', + method: 'GET' + }, + // 鏀跺彂鍗曟棩蹇楁煡璇� coalDayPage: { url: '/wrzs/tmtaskcoallog/getTmId', method: 'GET' @@ -356,14 +364,14 @@ method: 'GET' }, /** - @description 鍒ゆ柇鏄惁瑕佸畬鎴愬閿�鎻愮叅鍗� + @description 鍒ゆ柇鏄惁瑕佸畬鎴愬閿�鏀跺彂鍗� */ getTmTaskCoalOrderType: { url: '/wrzs/tmtaskcoal/getTmTaskCoalOrderType', method: 'GET' }, /** - @description 鏇存柊鎻愮叅鍗曠姸鎬� + @description 鏇存柊鏀跺彂鍗曠姸鎬� */ updateTmTaskCoalState: { url: '/wrzs/tmtaskcoal/updateTmTaskCoalState', @@ -431,13 +439,13 @@ method: 'GET' }, /** - * @description 瑁呭嵏鍛橀�氳繃璐熻矗鐨勫崟浣嶆煡璇㈢叅鍦�*/ + * @description 瑁呭嵏鍛橀�氳繃璐熻矗鐨勫崟浣嶆煡璇㈠満鍦�*/ getDeptIdFiled: { url: '/wrzs/jccoalfiled/getDeptIdFiled', method: 'GET' }, /** - * @description 瑁呭嵏鍛樻煡鐪嬬叅鍦轰笅鎵�鏈夌殑鐓ょ绫诲瀷 + * @description 瑁呭嵏鍛樻煡鐪嬪満鍦颁笅鎵�鏈夌殑鐓ょ绫诲瀷 */ getFiledIdCoalBunker: { url: '/wrzs/jccoalbunker/getFiledIdCoalBunker', @@ -456,5 +464,277 @@ phoneAndCard: { url: '/wrzs/userentity/phoneAndCard', method: 'GET' + }, + /** + * @description 璇锋眰閫�鍗� + */ + cancelAppoint: { + url: '/wrzs/userOperation/quXiaoQiangDan', + method: 'POST' + }, + /** + * @description 绉垎璇︽儏 + */ + scoreDetail: { + url: '/wrzs/userintegral/appPage', + method: 'GET' + }, + /** + * @description 鏍规嵁鍙告満鍘绘煡璇㈢浉鍏抽�佽揣瀹㈡埛鍒楄〃 + */ + getShipToList: { + url: '/wrzs/shipto/getShipToList', + method: 'GET' + }, + /** + * @description 淇濆瓨閫佽揣瀹㈡埛 + */ + saveShipTo: { + url: '/wrzs/shipto/saveShipTo', + method: 'POST' + }, + /** + * @description 鍒犻櫎閫佽揣瀹㈡埛 + */ + deleteShipTo: { + url: '/wrzs/shipto/deleteShipTo', + method: 'POST' + }, + /** + * @description 鏍规嵁杞︾墝鍙锋煡璇㈢浉鍏崇殑鍗曚綅 + */ + getCarNoByVarieties: { + url: '/wrzs/specialvarieties/getCarNoByVarieties', + method: 'GET' + }, + /** + * @description 鏍规嵁鍗曚綅鏌ヨ鐩稿叧鐨勪骇鍝� + */ + getDeptByProductName: { + url: '/wrzs/specialvarieties/getDeptByProductName', + method: 'GET' + }, + /** + * @description 鏍规嵁鍗曚綅鏌ヨ鍦哄湴 + */ + getDeptIdByFiledList: { + url: '/wrzs/jccoalfiled/getDeptIdByFiledList', + method: 'GET' + }, + /** + * @description 纭鑷富鍒涘缓 + */ + saveDeliveryNote: { + url: '/wrzs/tmtaskcoal/saveDeliveryNote', + method: 'POST' + }, + /** + * @description + */ + getDeptAndProductNameByCustomer: { + url: '/wrzs/specialvarieties/getDeptAndProductNameByCustomer', + method: 'GET' + }, + // 鍦哄唴鎺ュ崟 + insideConnect: { + url: '/wrzs/tmtaskcoal/insideConnect', + methods: 'POST' + }, + //"浠撳簱瑙嗛鍦板潃" + useEqCodeGetCameraUrl: { + url: '/wrzs/jcequipment/useEqCodeGetCameraUrl', + method: 'GET' + }, + //'鑾峰彇璺嚎鈥� + getRoute:{ + url: '/wrzs/guideroutemanage/getGuideRouteByType', + method: 'GET' + }, + + //搴撶鑾峰彇浠撳簱 + getWarehouseList:{ + url: '/wrzs/warehouse/getMyWarehouseList', + method: 'GET' + }, + //鑾峰彇浠撳簱涓嬬殑鏀跺彂鍗� + getTaskCoalListByBunkerId:{ + url: '/wrzs/warehouse/getMyTaskCoalListByBunkerId', + method: 'GET' + }, + + /** + * @description 鎴戞潵閫佽揣 + */ + myDelivery:{ + url: '/wrzs/jhorderplan', + method: 'GET' + }, + saveMyDelivery: { + url: '/wrzs/app/driver/saveMyDelivery', + methods: 'POST' + }, + getCheckTaskCoal:{ + url: '/wrzs/guard/getCheckTaskCoal', + method: 'GET' + }, + addCheckLog: { + url: '/wrzs/guard/addCheckLog', + methods: 'POST' + }, + saveDriverDocs: { + url: '/wrzs/userentity/saveDriverDocs', + methods: 'POST' + }, + // 鑾峰彇浜у搧琛� + getProductTree:{ + url: '/wrzs/jcproduct/getProductTree', + method: 'GET' + }, + getProductIsDanger:{ + url: '/wrzs/jcproduct/getProductIsDanger', + method: 'GET' + }, + + /** + * @description 璐拱璇� + */ + addBuycard: { + url: '/wrzs/buycard', + methods: 'POST' + }, + getBuyCardList: { + url: '/wrzs/buycard/getBuyCardList', + methods: 'GET' + }, + // 娉ㄥ唽 + registerDriver: { + url: '/wrzs/userentity/registerDriver', + methods: 'GET' + }, + //瀹㈡埛鏃ヨ鍒掕幏鍙栬鍗� + getOrderList: { + url: '/wrzs/tmorder/getOrderList', + methods: 'GET' + }, + //瀹㈡埛鑾峰彇鍒涘缓鏃ヨ鍒掕鍗� + getAppOrderList:{ + url: '/wrzs/customerSupplier/getAppOrderList', + methods: 'GET' + }, + //瀹㈡埛鍒涘缓鏃ヨ鍒� + addDeliveryPlan:{ + url: '/wrzs/customerSupplier/addDeliveryPlan', + methods: 'GET' + }, + // 鎻愪氦鍓ф瘨杩愯緭璇� + + addJcroadtransport: { + url: '/wrzs/jcroadtransport/add', + methods: 'POST' + }, + // 鑾峰彇鍓ф瘨杩愯緭璇� + getDriverListById: { + url: '/wrzs/jcroadtransport/getDriverListById', + methods: 'GET' + }, + // 鏍规嵁id鏌ユ壘鍓ф瘨杩愯緭璇� + getById: { + url: '/wrzs/jcroadtransport/getById', + methods: 'GET' + }, + //妫�鏌ュ墽姣掕繍杈撹瘉鍙� + checkNumber: { + url: '/wrzs/jcroadtransport/checkNumber', + methods: 'GET' + }, + //搴撶鑾峰彇鏃ヨ鍒� + getMyPlanListByBunkerId:{ + url:'/wrzs/warehouse/getMyPlanListByBunkerId', + methods:'GET' + }, + //鏌ョ湅璇︽儏 + getTmOrderById: { + url: '/wrzs/tmtaskcoal', + methods: 'GET' + }, + //纭瑁呭嵏 + confirmLoadAndUnload:{ + url: '/wrzs/warehouse/confirmLoadAndUnload', + methods: 'POST' + }, + //鏌ョ湅鍘熺洂閽欓晛 + getQualityResultEachCustomer:{ + url: '/wrzs/warehouse/getQualityResultEachCustomer', + methods: 'GET' + }, + + getMyEscortList: { + url: '/wrzs/app/driver/getMyEscortList', + methods: 'GET' + }, + saveMyEscort:{ + url: '/wrzs/app/driver/saveMyEscort', + methods: 'POST' + }, + //淇敼鏀跺彂鍗� + tmtaskCoalPut:{ + url: '/wrzs/tmtaskcoal', + methods: 'PUT' + }, + //濉啓闆嗚绠卞彿 + addContainer:{ + url: '/wrzs/app/driver/addContainer', + methods: 'PUT' + }, + //瀛楀吀 + dictFun:{ + url: '/admin/dict/type', + methods: 'GET' + }, + // 淇敼澶村儚 + faceEdit:{ + url: '/wrzs/userentity/updateImgPath', + methods: 'PUT' + }, + // 淇敼瀵嗙爜 + passwordEdit:{ + url: '/wrzs/userentity/appUpdatePassword', + methods: 'PUT' + }, + //鑾峰彇瀹㈡埛or渚涘簲鍟嗘爣璇� + getPersonnelType:{ + url: '/wrzs/yhcustomer', + methods: 'PUT' + }, + //杞彂鑾峰彇PVC鍚ㄦ暟鍒楄〃 + getBuildList:{ + url: '/wrzs/pvcforward/getBuildList', + methods: 'get' + }, + //PVC杞彂璁″垝鎻愪氦 + + allocation:{ + url: '/wrzs/pvcforward/allocation', + methods: 'PUT' + }, + //搴撶鑾峰彇鍘嗗彶閫氱煡鍗� + getHistoryTaskCoalList:{ + url: '/wrzs/warehouse/getHistoryTaskCoalList', + methods: 'GET' + }, + //鑾峰彇宸茬‘璁ゆ敹缃氬崟 + getTodayConfirmedTaskCoalList:{ + url: '/wrzs/warehouse/getTodayConfirmedTaskCoalList', + methods: 'GET' + }, + //鑾峰彇鍙嫾鍗曞徃鏈哄崟 + getUnclaimedList:{ + url: '/wrzs/warehouse/getUnclaimedList', + methods: 'GET' + }, + //鍙告満鎺ュ崟 + splicingOrders:{ + url: '/wrzs/warehouse/splicingOrders', + methods: 'POST' } } \ No newline at end of file -- Gitblit v1.9.1