From d667fce729c223e885930bb8edb528ab501b8d6a Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期二, 26 十一月 2024 16:57:53 +0800 Subject: [PATCH] 1. 移动socket客户端类、新增socket/index.js文件(初始化) 2. socketMessage枚举类的完善(增加对每个类型的英文描述字段以及对类型筛选和判断是否为心跳消息的工具方法) 3. 在FYBgTaskCard.vue监听并处理如何刷后台任务状态逻辑 --- src/api/fysp/evaluateApi.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api/fysp/evaluateApi.js b/src/api/fysp/evaluateApi.js index 4ab4a94..3e804e5 100644 --- a/src/api/fysp/evaluateApi.js +++ b/src/api/fysp/evaluateApi.js @@ -68,14 +68,14 @@ * 鎵归噺淇敼鏈�灏忛」寰楀垎 */ updateMultipleScore(evaVo) { - return $fysp.post(`/itemevaluation/update/multiple`, evaVo).then((res) => res.data); + return $fysp.post(`itemevaluation/update/multiple`, evaVo).then((res) => res.data); }, /** * 淇敼鏈�灏忛」寰楀垎 */ updateScore({itemList, subTaskId}) { const param = `?subTaskId=${subTaskId}` - return $fysp.post(`/itemevaluation/update${param}`, itemList).then((res) => res.data); + return $fysp.post(`itemevaluation/update${param}`, itemList).then((res) => res.data); }, /** * 鑾峰緱鎵�鏈夎鍒欑埗鑺傜偣 @@ -86,7 +86,7 @@ /** 鏍规嵁鐖惰妭鐐筰d鑾峰彇瀛愯鍒� */ getSubRules(id) { const param = `?id=${id}` - return $fysp.get(`/evaluationsubrule/byRule${param}`).then((res) => res.data); + return $fysp.get(`evaluationsubrule/byRule${param}`).then((res) => res.data); }, /** * 鏇存柊鐖惰妭鐐硅鍒� -- Gitblit v1.9.3