From 812c221e5175caffb175e4bc24f2cffe2470c7cb Mon Sep 17 00:00:00 2001 From: zmt Date: Wed, 23 Feb 2022 17:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E9=83=A8=E6=B5=8B=E8=AF=95=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- nxTemp/apis/userAPI.js | 29 ++++++++++++++++++++ pages/index/index.vue | 16 +++++++++--- pages/message/center_list.vue | 61 ++++++++++++++++++++++++++++++++++++------- pages/message/detail.vue | 35 ++++++++++++++++++------- 5 files changed, 120 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index abfc585..2ec8b7d 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,5 @@ B组件 触发($emit) ``` -{"id":148,"order_no":"SS20220209134238527851","member_id":290,"member_img":"https://thirdwx.qlogo.cn/mmopen/vi_32/0xr8AUjv3nia5XQpHpe8ibNoOe3GVuREbolOicnGBhWxxVWO0wFxjLjvPWEQehCLS5WEEyJYEWqKtNaxfbE7BDqjQ/132","member_name":"Kahing","member_phone":"13500071371","team_charge_man_name":"","score":"12","schedule_son_id":23,"is_set_score":true} -{"brand_id":63,"order_no":"SS20220209134238527851","member_id":290,"member_img":"https://thirdwx.qlogo.cn/mmopen/vi_32/0xr8AUjv3nia5XQpHpe8ibNoOe3GVuREbolOicnGBhWxxVWO0wFxjLjvPWEQehCLS5WEEyJYEWqKtNaxfbE7BDqjQ/132","member_name":"Kahing","member_phone":"13500071371","team_charge_man_name":"","score":23,"is_set_score":true,"match_id":80} ``` \ No newline at end of file diff --git a/nxTemp/apis/userAPI.js b/nxTemp/apis/userAPI.js index c2e3336..fbf1f10 100644 --- a/nxTemp/apis/userAPI.js +++ b/nxTemp/apis/userAPI.js @@ -113,3 +113,32 @@ export function rankOcondList(data) { export function rankSave(data) { return http.post(`${config.baseUrl}/gaMatchAssistant/rankData/save`,data); } + +/** +* @description: 消息中心-消息列表 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgList(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/list`,data); +} + +/** +* @description: 消息中心-未读消息数量 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgNum(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/notReadNum`,data); +} + +/** +* @description: 消息中心-消息详情 +* @param {*} +* brand_id, order_no , rank_data{id,val} +*/ +export function msgGet(data) { + return http.post(`${config.baseUrl}/matchAssistant/msgCenter/get`,data); +} + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 1c8e84d..1adb0a5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -14,7 +14,7 @@ 消息中心 - 99 + {{unReadNum}} @@ -33,11 +33,13 @@