|
|
@@ -34,6 +34,8 @@
|
|
|
<DocumentAnswer v-if="navId === 3 && !showDialog" :agentId="selectId" />
|
|
|
<!-- 智能问答 -->
|
|
|
<Answer v-if="navId === 4 && !showDialog" />
|
|
|
+ <!-- 智能数据 -->
|
|
|
+ <DocumentsmartData v-if="navId === 5 && !showDialog" :agentId="selectId" />
|
|
|
<!-- 文库详情 -->
|
|
|
<DocumentDetail v-if="navId === -2" @go-back="goBack" />
|
|
|
<dialog-wrap v-if="showDialog && initDialog" v-show="!hideDialog" :type="dialogType[navId]"
|
|
|
@@ -151,6 +153,7 @@ import Answer from "./Answer.vue";
|
|
|
import Document from "./Document.vue";
|
|
|
import PicArticle from "./PicArticle.vue";
|
|
|
import DocumentAnswer from "./DocumentAnswer.vue";
|
|
|
+import DocumentsmartData from "./DocumentsmartData.vue";
|
|
|
import DocumentQuestion from "./DocumentQuestion.vue";
|
|
|
import Analysis from "./Analysis.vue";
|
|
|
import { defineComponent, ref, onMounted, inject, onBeforeUnmount } from "vue";
|
|
|
@@ -169,13 +172,13 @@ export default defineComponent({
|
|
|
Document,
|
|
|
PicArticle,
|
|
|
DocumentAnswer,
|
|
|
+ DocumentsmartData,
|
|
|
DocumentQuestion,
|
|
|
Analysis,
|
|
|
DocumentDetail,
|
|
|
DocumentCombine
|
|
|
},
|
|
|
setup() {
|
|
|
- // nav对应的问答类型,4文库问答,对应的是knowledge类型
|
|
|
// NOTE: 先把4文库问答的类型改成report类型,后续再改回来
|
|
|
const dialogType = ["report", "excel", "knowledgeQuiz", "report", "normal", "normal", "normal", "normal"];
|
|
|
const { config, helper, ajax } = inject("$global");
|