riku
2024-10-14 89292199af8b4db3a6333b9941ef277f26490f6d
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 @@
  /** 根据父节点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);
  },
  /** 
   * 更新父节点规则