tangning пре 14 часа
родитељ
комит
578df06036
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      src/view/case/records/index.vue

+ 4 - 2
src/view/case/records/index.vue

@@ -24,8 +24,9 @@
         > -->
       </div>
       <div class="headerRight flex" style="align-items: center">
-        <!-- <div
+        <div
           @click="handleShowAi"
+          v-if="showAI"
           style="
             color: #26559b;
             cursor: pointer;
@@ -34,7 +35,7 @@
             margin-right: 20px;
           "
           >AI</div
-        > -->
+        >
         <el-icon title="下载" v-if="!isDisableExport" @click="handleExport" style="cursor: pointer; margin: 0 40px" size="24px"><Download /></el-icon>
         <el-button style="margin: 0px 10px  0px 0px" type="primary" @click="handleSave"
           >保存</el-button
@@ -653,6 +654,7 @@ let sseClient = null;
 console.log("router.currentRoute", router.currentRoute.value?.params);
 const fileId = computed(() => router.currentRoute.value?.params?.fileId);
 const caseId = computed(() => router.currentRoute.value?.params?.caseId);
+const showAI = computed(() => router.currentRoute.value?.query?.show);
 const isDisableExport = ref(false);
 const aiImgShow = ref(false);
 const isOption = ref(false);