askbot-dragon 1.6.77-beta → 1.6.78-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -14,12 +14,11 @@
|
|
|
14
14
|
<div class="onload_btn" v-if="isDownload || true" @click="downLoad">
|
|
15
15
|
下载
|
|
16
16
|
</div>
|
|
17
|
-
<div class="summaryBtn" :class="showSummary ? 'summaryActiveBtn' : ''" @click="summaryFun"
|
|
18
|
-
v-if="isHasChat || true">
|
|
17
|
+
<div class="summaryBtn" :class="showSummary ? 'summaryActiveBtn' : ''" @click="summaryFun" v-if="isHasChat || formKnowledgeManagement">
|
|
19
18
|
<i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
|
|
20
19
|
<span>智能摘要</span>
|
|
21
20
|
</div>
|
|
22
|
-
<template v-if="isHasChat
|
|
21
|
+
<template v-if="isHasChat">
|
|
23
22
|
<div class="chat" @click="previewToDialog(true)" v-if="!previewKnowledgeId">
|
|
24
23
|
<i class="iconfont guoran-wendapingjia"></i>
|
|
25
24
|
聊一聊
|
|
@@ -85,7 +84,7 @@
|
|
|
85
84
|
</div>
|
|
86
85
|
<div id="drawer_content_pre" :class="isLiBang && folderName ? 'libang_content_pre' : ''">
|
|
87
86
|
<!-- :style="{marginTop:tagIds && tagIds.length != 0 && isPc ? '50px' : ''}" -->
|
|
88
|
-
<intelligent-summary v-show="showSummary && isHasChat" :tagIds="tagIds" :knowledgeId="knowledgeId"
|
|
87
|
+
<intelligent-summary v-show="showSummary && (isHasChat || formKnowledgeManagement)" :tagIds="tagIds" :knowledgeId="knowledgeId"
|
|
89
88
|
@closeSummary="closeSummary" @recommendQues="recommendQues"
|
|
90
89
|
@getSummarySuccess="getSummarySuccess"></intelligent-summary>
|
|
91
90
|
<div class="pdf_positon" :style="pdfStyle" v-if="tagIds && tagIds.length != 0 && drawer">
|
|
@@ -194,6 +193,10 @@ export default {
|
|
|
194
193
|
isLiBang: {
|
|
195
194
|
type: Boolean,
|
|
196
195
|
default: false
|
|
196
|
+
},
|
|
197
|
+
formKnowledgeManagement:{
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: false
|
|
197
200
|
}
|
|
198
201
|
},
|
|
199
202
|
components: {
|