From 37d58d5f73f17fcca7dd171e3f92572679e74ffd Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 27 八月 2024 17:35:26 +0800 Subject: [PATCH] feat:8.27 再生发版 --- api/globalApi.js | 432 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 358 insertions(+), 74 deletions(-) diff --git a/api/globalApi.js b/api/globalApi.js index 4dbc45f..b2ebcfe 100644 --- a/api/globalApi.js +++ b/api/globalApi.js @@ -1,11 +1,11 @@ export const globalApi = { // 缁戝畾寰俊 - wxBind:{ - url:'/wrzs/social/bind', - method:"POST" + wxBind: { + url: '/wrzs/social/bind', + method: 'POST' }, - - // 鎻愮叅鍗� + + // 閫氱煡鍗� // 鑾峰彇鍙戣繍璁″垝鍒楄〃 GetOrderPlan: { url: '/wrzs/wx/getOrderPlan', @@ -27,8 +27,8 @@ // 瀹㈡埛棰嗗彇 customerGet: { - url: "/wrzs/wx/customerGet", - method: "POST" + url: '/wrzs/wx/customerGet', + method: 'POST' }, // 杞彂 // forward: { @@ -36,13 +36,33 @@ // method: "POST" // }, /** - * @杞彂淇敼 + * @description 杞彂淇敼 */ forward: { - url: "/wrzs/userOperation/forward", - method: "POST" + url: '/wrzs/userOperation/forwardList', + method: 'POST' }, - + /** + * @description 杞彂淇敼鍥炴樉 + */ + forwardList: { + url: '/wrzs/userOperation/forwardListData', + method: 'GET' + }, + /** + * @description 鍒犻櫎涓�缁勮浆鍙� + */ + deleteForward: { + url: '/wrzs/userOperation/deleteForward', + method: 'POST' + }, + /** + * @description 鑾峰彇鍘嗗彶閫氱煡鍗� + */ + getJhOrderPlanDataPage: { + url: '/wrzs/userOperation/getJhOrderPlanDataPage', + method: 'GET' + }, // 璐т唬棣栭〉鍒楄〃 // huoDaiList: { // url: "/wrzs/wx/huoDaiList", @@ -52,21 +72,15 @@ * @璐т唬棣栭〉鍒楄〃淇敼 */ huoDaiList: { - url: "/wrzs/userOperation/huoDaiList", - method: "GET" + url: '/wrzs/userOperation/huoDaiList ', + method: 'GET' }, - - //鍙告満棣栭〉鍒楄〃 - // qiangDanList: { - // url: "/wrzs/wx/qiangDanList", - // method: "GET" - // }, /** - * @鍙告満棣栭〉鍒楄〃淇敼 + * @description 鍙告満棣栭〉鍒楄〃淇敼 娌抽挗 */ qiangDanList: { - url: "/wrzs/userOperation/qiangDanList", - method: "GET" + url: '/wrzs/userOperation/qiangDanList', + method: 'GET' }, //鎶㈠崟 @@ -78,14 +92,14 @@ * @鎶㈠崟淇敼 */ qiangDan: { - url: "/wrzs/userOperation/qiangDan", - method: "POST" + url: '/wrzs/userOperation/qiangDan', + method: 'POST' }, //鍙栨秷鎶㈠崟 quXiaoQiangDan: { - url: "/wrzs/wx/quXiaoQiangDan", - method: "POST" + url: '/wrzs/wx/quXiaoQiangDan', + method: 'POST' }, //棰勭害鍒楄〃 // yuYueList: { @@ -96,8 +110,8 @@ * @棰勭害鍒楄〃淇敼 */ yuYueList: { - url: "/wrzs/userOperation/yuYueList", - method: "GET" + url: '/wrzs/userOperation/yuYueList', + method: 'GET' }, //棰勭害 @@ -109,24 +123,44 @@ * @棰勭害淇敼 */ yuYue: { - url: "/wrzs/userOperation/yuYue", - method: "POST" + url: '/wrzs/userOperation/yuYue', + method: 'POST' }, - - //鑾峰彇鎻愮叅鍗曡鎯� - // getTakeCoal: { - // url: "/wrzs/wx/getTakeCoal", - // method: "GET" - // }, /** - * @鑾峰彇鎻愮叅鍗曡鎯呬慨鏀瑰悗 + * @description 鑾峰彇閫氱煡鍗曡鎯� 娌抽挗 */ getTakeCoal: { - url: "/wrzs/userOperation/getTakeCoal", - method: "GET" + url: '/wrzs/userOperation/getTakeCoal', + method: 'GET' }, - - + /** + * @description 鏌ヨ浜у搧 娌抽挗 + */ + getJcProductList: { + url: '/wrzs/jcproduct/getJcProductList', + method: 'GET' + }, + /** + * @description 楠岃川浜у搧 娌抽挗 */ + qualityInspection: { + url: '/wrzs/userOperation/qualityInspection', + method: 'GET' + }, + /** + * @description 楠岃川浜у搧鍘嗗彶 娌抽挗 */ + qualityInspectionHistory: { + url: '/wrzs/userOperation/qualityInspectionHistory', + method: 'GET' + }, + // 鑾峰彇appid鍜宻ecret + getAppidAndSercet: { + url: '/wrzs/wx/getAppidAndSercet', + method: 'GET' + }, + getMaterialDetailByOrderCode: { + url: '/wrzs/materialdetail/getMaterialDetailByOrderCode', + method: 'GET' + }, // 鐢ㄦ埛 // 鑾峰彇鐢ㄦ埛淇℃伅 getUserEntity: { @@ -135,8 +169,8 @@ }, // 淇敼鐢ㄦ埛淇℃伅 updateUser: { - url: "/wrzs/wx/updateUser", - method: "POST" + url: '/wrzs/wx/updateUser', + method: 'POST' }, // 鑾峰彇鐢ㄦ埛淇℃伅 getUserById: { @@ -145,100 +179,350 @@ }, //鑾峰彇璐т唬鍒楄〃 getAllHuoDaiByCustomerId: { - url: "/wrzs/wx/getAllHuoDaiByCustomerId", - method: "GET" + url: '/wrzs/wx/getAllHuoDaiByCustomerId', + method: 'GET' }, //閭�璇疯揣浠� bindHuoDai: { - url: "/wrzs/wx/bindHuoDai", - method: "POST" + url: '/wrzs/wx/bindHuoDai', + method: 'POST' }, //鍒犻櫎璐т唬 deleteHuoDai: { - url: "/wrzs/wx/deleteHuoDai", - method: "POST" + url: '/wrzs/wx/deleteHuoDai', + method: 'POST' }, //鑾峰彇璐т唬璇︽儏 getHuoDaiDetail: { - url: "/wrzs/wx/getHuoDaiDetail", - method: "GET" + url: '/wrzs/wx/getHuoDaiDetail', + method: 'GET' }, //鑾峰彇鍙告満鍒楄〃 GetUserFleet: { - url: "/wrzs/wx/getUserFleet", - method: "GET" + url: '/wrzs/wx/getUserFleet', + method: 'GET' }, //閭�璇峰徃鏈� bindUserFleet: { - url: "/wrzs/wx/bindUserFleet", - method: "POST" + url: '/wrzs/wx/bindUserFleet', + method: 'POST' }, //鍒犻櫎鍙告満 deleteSiJi: { - url: "/wrzs/wx/deleteSiJi", - method: "POST", + url: '/wrzs/wx/deleteSiJi', + method: 'POST', }, // 杞﹁締 // 鑾峰彇杞﹂槦鍒楄〃 getFleet: { - url: "/wrzs/wx/getFleet", - method: "GET" + url: '/wrzs/wx/getFleet', + method: 'GET' }, //鏂板杞﹂槦 saveFleet: { - url: "/wrzs/wx/saveFleet", - method: "POST" + url: '/wrzs/wx/saveFleet', + method: 'POST' }, // 鍒犻櫎杞﹂槦 deleteFleet: { - url: "/wrzs/wx/deleteFleet", - method: "POST" + url: '/wrzs/wx/deleteFleet', + method: 'POST' }, /** - * @绛惧埌 + * @description 绛惧埌 */ arrive: { url: '/wrzs/userOperation/arrive', method: 'POST' }, /** - * @鍏ュ満鐢宠 + * @description 鍏ュ満鐢宠 */ // 鏂板 saveRCSQ: { - url: "/wrzs/tminapply/save", + url: '/wrzs/tminapply/save', method: 'POST' }, // 淇敼 updateByIdRCSQ: { - url: "/wrzs/tminapply/updateById", + url: '/wrzs/tminapply/updateById', method: 'PUT' }, // 鏌ヨ pageRCSQ: { - url: "/wrzs/tminapply/page", + url: '/wrzs/tminapply/page', method: 'GET' }, /** - * @绉伴噸 + * @description 绗竴娆℃斁绌� + */ + getOneEvacuation: { + url: '/wrzs/userOperation/getOneEvacuation', + method: 'POST' + }, + /** + * @description 绗簩娆℃斁绌� + */ + getTwoEvacuation: { + url: '/wrzs/userOperation/getTwoEvacuation', + method: 'POST' + }, + /** + * @description 绉伴噸 娌抽挗 */ saveWeigh: { url: '/wrzs/userOperation/saveWeigh', method: 'POST' }, - // 鑾峰彇绉伴噸淇℃伅 + /** + * @description 澶嶇О 娌抽挗 + */ + repeatCheck: { + url: '/wrzs/jcgatestate/repeatCheck', + method: 'POST' + }, + /** + * @description 鑾峰彇绉伴噸淇℃伅 娌抽挗 + */ weighList: { - url: "/wrzs/userOperation/weighList", + url: '/wrzs/userOperation/weighList', + method: 'GET' + }, + // 鍔犲噺鐓� 娌抽挗 + addAndSubtractCoal: { + url: '/wrzs/jcgatestate/repeatCheck', + method: 'POST' + }, + // 缁х画绉伴噸 + continueWeigh: { + url: '/wrzs/jcgatestate/continueWeigh', + method: 'POST' + }, + // 鑾峰彇鎵�鍦ㄧ鎴� + getWeighHouse: { + url: '/wrzs/jccoalweighhouse/getWeighHouse', method: 'GET' }, - // 鎻愮叅鍗曟棩蹇楁煡璇� + // 閫氱煡鍗曟棩蹇楁煡璇� coalDayPage: { - url: "/wrzs/tmtaskcoallog/page", + url: '/wrzs/tmtaskcoallog/getTmId', method: 'GET' - } + }, + + // 鑾峰彇openId + getCallOutList: { + url: '/wrzs/callout/getCallOutList', + method: 'GET' + }, + // 鑾峰彇娑堟伅鍒楄〃 + getMessageByUser: { + url: '/wrzs/appMessage/getMessageByUser', + method: 'GET' + }, + // 宸茶娑堟伅 + readMessage: { url: '/wrzs/appMessage/readMessage' }, + // 鍒犻櫎娑堟伅 + delteMessage: { url: '/wrzs/appMessage/deleteMessage', method: 'GET' }, + // 娑堟伅璇︽儏 + getMsgDetail: { + url: '/wrzs/appMessage/getMsgById', + method: 'GET' + }, + // 鍙戣繍缁熻绛涢�夋潯浠� + getShippingCondition: { + url: '/wrzs/tmtaskcoal/getShippingCondition', + method: 'GET' + }, + // 鍙戣繍缁熻鏁版嵁 + getTmTaskCoalData: { + url: '/wrzs/tmtaskcoal/getTmTaskCoalData', + method: 'GET' + }, + //鏍规嵁id鎷垮埌杞彂涓殑鍘熷鏁伴噺 + jhorderplanforward: { + url: '/wrzs/jhorderplanforward/getAppById', + method: 'GET' + }, + /** + @description 绠$悊鐢ㄦ埛椤甸潰鑾峰彇鐢ㄦ埛鍒楄〃淇℃伅 + */ + appUserPage: { + url: '/wrzs/userentity/appUserPage', + method: 'GET' + }, + /** + @description 鏍规嵁鐢ㄦ埛鍒楄〃淇℃伅鐨剈serid鏌ユ壘 + */ + getAppById: { + url: '/wrzs/userentity/getAppById', + method: 'GET' + }, + /** + @description 鏍规嵁鐢ㄦ埛鍒楄〃淇℃伅鐨剈serid缂栬緫 + */ + appUpdateById: { url: '/wrzs/userentity/appUpdateById', }, + /** + @description 鏍规嵁鐢ㄦ埛鍒楄〃淇℃伅鐨剈serid鍒犻櫎 + */ + appRemoveById: { url: '/wrzs/userentity/appRemoveById' }, + /** + @description 鏂板鐢ㄦ埛淇℃伅 + */ + appSave: { + url: '/wrzs/userentity/appSave', + method: 'POST' + }, + /** + @description 鍙告満棣栭〉鐐瑰嚮鍦板浘icon鑾峰彇缁忕含搴� + */ + getAppLocation: { + url: '/wrzs/userOperation/getAppLocation', + method: 'GET' + }, + /** + @description 鍒ゆ柇鏄惁瑕佸畬鎴愬閿�閫氱煡鍗� + */ + getTmTaskCoalOrderType: { + url: '/wrzs/tmtaskcoal/getTmTaskCoalOrderType', + method: 'GET' + }, + /** + @description 鏇存柊閫氱煡鍗曠姸鎬� + */ + updateTmTaskCoalState: { + url: '/wrzs/tmtaskcoal/updateTmTaskCoalState', + method: 'POST' + }, + /** + @description 鍚庡彴鐢ㄦ埛缁戝畾 + */ + setUpWxOpenid: { + url: '/admin/user/setUpWxOpenid', + method: 'POST' + }, + /** + * @description 鏍规嵁id鏇存柊鎶樻墸鐜� 娌抽挗*/ + updateTmTaskCoalItem: { + url: '/wrzs/tmtaskcoalitem/updateTmTaskCoalItem', + method: 'POST' + }, + /** + *@description 鏌ヨ涓�绾у搧绫� */ + getFirstCategoryName: { + url: '/wrzs/jcproduct/getFirstCategoryName', + method: 'GET' + }, + /** + *@description 鏌ヨ浜岀骇鍝佺被 */ + getSecondCategoryName: { + url: '/wrzs/jcproduct/getSecondCategoryName', + method: 'GET' + }, + /** + *@description 鏍规嵁涓�绾у搧绫� 浜岀骇鍝佺被鏌ヨ瑙勬牸*/ + getSpec: { + url: '/wrzs/jcproduct/getSpec', + method: 'GET' + }, + /** + * @description 鑾峰彇鐧诲綍鏃ュ織 濡傛灉绗竴娆$櫥褰� 灏卞己鍒舵墦寮�鏂版墜鎸囧紩 */ + getLogOn: { + url: 'admin/log/getLogOn', + method: 'GET' + }, + /** + * @description 鎵撳嵃纾呭崟 */ + // handler + printerHandler:{ + url: '/wrzs/printer/handler1', + method: 'GET' + }, + /** + * @description 閫氱煡鍒楄〃 */ + noticeList:{ + url: '/wrzs/message/page', + method: 'GET' + }, + /** + *@description 鍚堜綔鍩哄湴 */ + getCoalFiled:{ + url:'/wrzs/tmtaskcoal/getCoalFiled', + method: 'POST' + }, + /** + *@description 鏁版嵁缁熻 */ + getStatistics:{ + url:'/wrzs/tmtaskcoal/getStatistics', + method: 'GET' + }, + /** + *@description 纾呮埧鍒楄〃 */ + getPoundRoomByList:{ + url:'/wrzs/jccoalweighhouse/getPoundRoomByList', + method: 'GET' + }, + // wrzs/userOperation/applyWeight + /** + *@description 鏃犺溅鐗岀殑闇�瑕佺敵璇风鎴胯閲� */ + applyWeight:{ + url:'/wrzs/userOperation/applyWeight', + method: 'POST' + }, + /** + * @description 鏃犺溅鐗岀殑闇�瑕佺敵璇风鎴胯閲忕殑鈥斺�旂О閲� + */ + saveWeighYZY: { + url: '/wrzs/userOperation/saveWeighYZY', + method: 'POST' + }, + /** + * @description 鏃犺溅鐗岀殑闇�瑕佺敵璇风鎴胯閲忕殑鈥斺�斿纾� + */ + reWeighYZY: { + url: '/wrzs/userOperation/reWeighYZY', + method: 'POST' + }, + /** + * @description 璐ㄦ鍛樿幏鍙栫鎴垮垪琛紝鏃犱紶鍙� + */ + getPoundRoomsByZJY: { + url: '/wrzs/jccoalweighhouse/getPoundRoomsByZJY', + method: 'POST' + }, + /** + * @description 璐ㄦ鍛樿幏鍙栫偣鍑荤鎴� + */ + getTmTaskCoalNoCar: { + url: '/wrzs/jccoalweighhouse/getTmTaskCoalNoCar', + method: 'get' + }, + applyForRepeatedCar: { //鍙告満鐢宠澶嶇鎸夐挳 + url: '/wrzs/jcgatelog/applyForRepeatedCar', + method: 'POST' + }, + applyForRepeatedCarNew: { //鍙告満鐢宠澶嶇鎸夐挳鏂� + url: '/wrzs/jcgatelog/applyForRepeatedCarNew', + method: 'POST' + }, + getReWeighList: { //璐ㄦ鍛樿幏鍙栧纾呮彁鐓ゅ崟鍒楄〃 + url: '/wrzs/tmtaskcoal/getReWeighList', + method: 'GET' + }, + agreeWeigh: { //鍙告満鍚屾剰澶嶇 + url: '/wrzs/userOperation/agreeWeigh', + method: 'POST' + }, + disAgreeWeigh: { //鍙告満鍚屾剰澶嶇 + url: '/wrzs/userOperation/disAgreeWeigh', + method: 'POST' + }, + reSendErp: { //鍙告満鍚屾剰澶嶇 + url: '/wrzs/userOperation/reSendErp', + method: 'POST' + }, } -- Gitblit v1.9.1