riku
2025-03-25 642d31285d7aff59415a5eb37f87a79f41d308a8
src/api/fysp/evaluateApi.js
@@ -65,11 +65,17 @@
  },
  /** 
   * 批量修改最小项得分
   */
  updateMultipleScore(evaVo) {
    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);
  },
  /** 
   * 获得所有规则父节点
@@ -80,7 +86,7 @@
  /** 根据父节点id获取子规则 */
  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);
  },
  /** 
   * 更新父节点规则