From a81840024760c5919cbb49eb9f21a91b5f10bf99 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期三, 24 一月 2024 09:07:07 +0800 Subject: [PATCH] feat:司机端首页更新 --- api/globalApi.js | 180 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 155 insertions(+), 25 deletions(-) diff --git a/api/globalApi.js b/api/globalApi.js index 7354daa..096e32f 100644 --- a/api/globalApi.js +++ b/api/globalApi.js @@ -5,7 +5,7 @@ method: 'POST' }, - // 鎻愮叅鍗� + // 閫氱煡鍗� // 鑾峰彇鍙戣繍璁″垝鍒楄〃 GetOrderPlan: { url: '/wrzs/wx/getOrderPlan', @@ -57,7 +57,7 @@ method: 'POST' }, /** - * @description 鑾峰彇鍘嗗彶鎻愮叅鍗� + * @description 鑾峰彇鍘嗗彶閫氱煡鍗� */ getJhOrderPlanDataPage: { url: '/wrzs/userOperation/getJhOrderPlanDataPage', @@ -75,14 +75,8 @@ url: '/wrzs/userOperation/huoDaiList ', method: 'GET' }, - - //鍙告満棣栭〉鍒楄〃 - // qiangDanList: { - // url: "/wrzs/wx/qiangDanList", - // method: "GET" - // }, /** - * @鍙告満棣栭〉鍒楄〃淇敼 + * @description 鍙告満棣栭〉鍒楄〃淇敼 娌抽挗 */ qiangDanList: { url: '/wrzs/userOperation/qiangDanList', @@ -132,20 +126,41 @@ url: '/wrzs/userOperation/yuYue', method: 'POST' }, - - //鑾峰彇鎻愮叅鍗曡鎯� - // getTakeCoal: { - // url: "/wrzs/wx/getTakeCoal", - // method: "GET" - // }, /** - * @鑾峰彇鎻愮叅鍗曡鎯呬慨鏀瑰悗 + * @description 鑾峰彇閫氱煡鍗曡鎯� 娌抽挗 */ getTakeCoal: { 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: { @@ -217,14 +232,14 @@ }, /** - * @绛惧埌 + * @description 绛惧埌 */ arrive: { url: '/wrzs/userOperation/arrive', method: 'POST' }, /** - * @鍏ュ満鐢宠 + * @description 鍏ュ満鐢宠 */ // 鏂板 saveRCSQ: { @@ -257,20 +272,34 @@ method: 'POST' }, /** - * @绉伴噸 + * @description 绉伴噸 娌抽挗 */ saveWeigh: { url: '/wrzs/userOperation/saveWeigh', method: 'POST' }, - // 鑾峰彇绉伴噸淇℃伅 + /** + * @description 澶嶇О 娌抽挗 + */ + repeatCheck: { + url: '/wrzs/jcgatestate/repeatCheck', + method: 'POST' + }, + /** + * @description 鑾峰彇绉伴噸淇℃伅 娌抽挗 + */ weighList: { url: '/wrzs/userOperation/weighList', method: 'GET' }, - // 鍔犲噺鐓� + // 鍔犲噺鐓� 娌抽挗 addAndSubtractCoal: { url: '/wrzs/jcgatestate/repeatCheck', + method: 'POST' + }, + // 缁х画绉伴噸 + continueWeigh: { + url: '/wrzs/jcgatestate/continueWeigh', method: 'POST' }, // 鑾峰彇鎵�鍦ㄧ鎴� @@ -279,7 +308,7 @@ method: 'GET' }, - // 鎻愮叅鍗曟棩蹇楁煡璇� + // 閫氱煡鍗曟棩蹇楁煡璇� coalDayPage: { url: '/wrzs/tmtaskcoallog/getTmId', method: 'GET' @@ -318,5 +347,106 @@ 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/notice/page', + method: 'GET' + } + +} \ No newline at end of file -- Gitblit v1.9.1