forked from gzzfw/frontEnd/gzDyh

dminyi
2024-08-09 978fffb207177420fec2f83eed1a3f87b12992d4
屏蔽ai
2 files modified
30 ■■■■ changed files
gz-customerSystem/src/views/disputeRegistration/casePerfection/index.jsx 10 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/mediationWindow/index.jsx 20 ●●●● patch | view | raw | blame | history
gz-customerSystem/src/views/disputeRegistration/casePerfection/index.jsx
@@ -2,8 +2,8 @@
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-03-04 11:27:15
 * @LastEditTime: 2024-01-24 16:55:32
 * @LastEditors: lwh
 * @LastEditTime: 2024-08-09 15:17:48
 * @LastEditors: dminyi 1301963064@qq.com
 * @Version: 1.0.0
 * @Description: 案件完善
 */
@@ -224,7 +224,7 @@
    // if (res.type) {
    //   $$.clearLocal(`cacheOpenAiCaseGuideList${submitData.caseId}`)
    // }
    const res = await getCacheOpenAiCaseGuideApi(submitData);
    // const res = await getCacheOpenAiCaseGuideApi(submitData);
  }
  // hh的兼容性修改0419
@@ -236,7 +236,7 @@
    //   $$.clearLocal(`cacheLatjCaseGuide${submitData.caseId}`)
    //   cacheLatjCaseFeatureList(submitData)
    // }
    const res = await getCacheLatjCaseGuideApi(submitData);
    // const res = await getCacheLatjCaseGuideApi(submitData);
  }
  // hh的兼容性修改0419
@@ -248,7 +248,7 @@
    //   $$.clearLocal(`cacheCaseFeature${submitData.caseId}`)
    // }
    const res = await cacheCaseFeatureApi(submitData);
    // const res = await cacheCaseFeatureApi(submitData);
  }
  // hh的兼容性修改0419
gz-customerSystem/src/views/mediationWindow/index.jsx
@@ -228,17 +228,17 @@
  // 获取数据
  async function getData() {
    global.setSpinning(true);
    const res = await getDataApi({ caseId });
    global.setSpinning(false);
    console.log(res);
    if (res.type) {
      let newData = res.data;
      setData(newData);
      // if (!newData?.find(i => i.guideName === '类案推荐')?.guideInfoList) {
      //   cacheOpenAiCaseGuideList();
    // global.setSpinning(true);
    // const res = await getDataApi({ caseId });
    // global.setSpinning(false);
    // console.log(res);
    // if (res.type) {
    //   let newData = res.data;
    //   setData(newData);
    //   // if (!newData?.find(i => i.guideName === '类案推荐')?.guideInfoList) {
    //   //   cacheOpenAiCaseGuideList();
    //   // }
      // }
    }
  }
  // 初始化