askbot-dragon 1.7.22-beta → 1.7.23-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 +2 -1
- package/public/index.html +8 -10
- package/src/assets/js/AliyunlssUtil.js +50 -26
- package/src/assets/js/hammer.js +13 -2
- package/src/assets/less/converSationContainer/common.less +7 -0
- package/src/components/ActionAlertIframe.vue +24 -1
- package/src/components/AiGuide.vue +121 -154
- package/src/components/AnswerDocknowledge.vue +108 -100
- package/src/components/ConversationContainer.vue +13 -220
- package/src/components/MyEditor.vue +2 -1
- package/src/components/actionSatisfaction.vue +3 -3
- package/src/components/answerRadio.vue +3 -3
- package/src/components/askVideo.vue +23 -0
- package/src/components/associationIntention.vue +11 -7
- package/src/components/formTemplate.vue +54 -50
- package/src/components/intelligentSummary.vue +8 -4
- package/src/components/message/TextMessage.vue +15 -11
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/newPdfPosition.vue +878 -0
- package/src/components/pdfPosition.vue +217 -37
- package/src/components/popup.vue +2 -2
- package/src/components/previewDoc.vue +6 -2
- package/src/components/previewPdf.vue +159 -134
- package/src/components/senderMessagePlatform.vue +4 -4
- package/src/components/utils/ckeditor.js +1 -1
- package/src/components/welcomeKnowledgeFile.vue +6 -2
- package/src/components/welcomeLlmCard.vue +5 -1
- package/src/components/welcomeSuggest.vue +1 -1
- package/src/locales/cn.json +72 -0
- package/src/locales/en.json +73 -0
- package/src/locales/jp.json +73 -0
- package/src/main.js +18 -0
- package/src/components/QwFeedback.vue +0 -302
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<template>
|
|
6
6
|
<div class="answer-docknowledge">
|
|
7
7
|
<div :class="['answer-docknowledge-header', msg.content.isKnowledgeSummary ? 'bgc' : '']">
|
|
8
|
-
<div v-if="msg.content.isKnowledgeSummary" class="tips">
|
|
8
|
+
<div v-if="msg.content.isKnowledgeSummary" class="tips">{{$t('answerDocKnowledge.title')}}</div>
|
|
9
9
|
<!-- <div v-if="msg.content.type == 0" class="answer-text">
|
|
10
10
|
<template v-if="msg.content.renderType == 1">
|
|
11
11
|
<p v-html="msg.content.text"></p>
|
|
@@ -16,22 +16,26 @@
|
|
|
16
16
|
<template v-if="msg.content.renderType == 1">
|
|
17
17
|
<p v-html="msg.content.text"></p>
|
|
18
18
|
</template>
|
|
19
|
+
<template v-if="msg.content.renderType == 2">
|
|
20
|
+
<markDownText :chainValues="msg.content.text" :isHistory="true"></markDownText>
|
|
21
|
+
</template>
|
|
19
22
|
<template v-else>{{ msg.content.text }}</template>
|
|
20
23
|
</div>
|
|
21
24
|
<div v-if="msg.content.images && msg.content.images.length != 0" class="answer-kn-image-box">
|
|
22
25
|
<img v-for="(imageItem, imageItemIndex) in msg.content.images"
|
|
23
|
-
style="max-width: 230px;border-radius:
|
|
26
|
+
style="max-width: 230px;border-radius: 25px;margin-bottom: 15px" :src="imageItem.url"
|
|
24
27
|
:key="imageItemIndex" alt @click="lookAttach(imageItem.url, imageItem, $event)" />
|
|
25
28
|
</div>
|
|
26
29
|
</div>
|
|
27
30
|
<template v-if="!isLiBang">
|
|
28
31
|
<div class="ad-list" :class="msg.content.type == 0 ? 'ad-list-recognition' : ''">
|
|
29
32
|
<template v-if="msg.content.type == 1">
|
|
30
|
-
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex"
|
|
33
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex"
|
|
34
|
+
:style="{ paddingBottom: itemIndex === msg.content.list.length - 1 ? 0 : '10px' }" class="ad-list-cell">
|
|
31
35
|
<div class="alc-title">
|
|
32
36
|
<div class="alc-box">
|
|
33
37
|
<div class="alc-source-left">
|
|
34
|
-
<span class="source-form"
|
|
38
|
+
<span class="source-form">{{$t('answerDocKnowledge.sourceFrom')}}</span>
|
|
35
39
|
<img class="alc-title-icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
36
40
|
srcset="">
|
|
37
41
|
<span class="alc-title-from">{{ item.from }}</span>
|
|
@@ -51,7 +55,7 @@
|
|
|
51
55
|
{{ docSource[item.source] }}
|
|
52
56
|
</div>
|
|
53
57
|
<div v-show="item.url" class="alc-content-text">
|
|
54
|
-
<span @click="lookAttach(item.url, item, $event)" class="aci-view"
|
|
58
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('answerDocKnowledge.view')}} ></span>
|
|
55
59
|
</div>
|
|
56
60
|
</div>
|
|
57
61
|
</div>
|
|
@@ -83,7 +87,7 @@
|
|
|
83
87
|
</div>
|
|
84
88
|
</div>
|
|
85
89
|
</template>
|
|
86
|
-
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList"
|
|
90
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('common.loadMore')}}</div>
|
|
87
91
|
</div>
|
|
88
92
|
</template>
|
|
89
93
|
<template v-if="isLiBang">
|
|
@@ -93,7 +97,7 @@
|
|
|
93
97
|
<div class="libang_title">
|
|
94
98
|
<div class="libang_box">
|
|
95
99
|
<div class="libang_source_left">
|
|
96
|
-
<span class="source-form"
|
|
100
|
+
<span class="source-form">{{$t('answerDocKnowledge.sourceFrom')}}</span>
|
|
97
101
|
<img class="libang_title_icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
98
102
|
srcset="">
|
|
99
103
|
<span class="libang_title_from">{{ item.from }}</span>
|
|
@@ -119,7 +123,7 @@
|
|
|
119
123
|
</div>
|
|
120
124
|
</div>
|
|
121
125
|
<div v-show="item.url" class="libang_content_text">
|
|
122
|
-
<span @click="lookAttach(item.url, item, $event)" class="aci-view"
|
|
126
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">{{$t('answerDocKnowledge.view')}} ></span>
|
|
123
127
|
</div>
|
|
124
128
|
</div>
|
|
125
129
|
</div>
|
|
@@ -158,7 +162,7 @@
|
|
|
158
162
|
<i class="iconfont guoran-right" @click="lookAttach(item.url, item, $event)"></i>
|
|
159
163
|
</div>
|
|
160
164
|
</template>
|
|
161
|
-
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList"
|
|
165
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">{{$t('common.loadMore')}}</div>
|
|
162
166
|
</div>
|
|
163
167
|
</template>
|
|
164
168
|
|
|
@@ -174,9 +178,10 @@
|
|
|
174
178
|
/* eslint-disable */
|
|
175
179
|
import previewPdf from "./previewPdf";
|
|
176
180
|
import { isMobile } from "../assets/js/common";
|
|
181
|
+
import markDownText from "./markDownText.vue";
|
|
177
182
|
export default {
|
|
178
183
|
name: "answerDocknowledge",
|
|
179
|
-
components: { previewPdf },
|
|
184
|
+
components: { previewPdf, markDownText },
|
|
180
185
|
data () {
|
|
181
186
|
return {
|
|
182
187
|
isPC: true,
|
|
@@ -263,14 +268,14 @@ export default {
|
|
|
263
268
|
allKnowledgeList: [],
|
|
264
269
|
loadMoreFlag: false,
|
|
265
270
|
title: '',
|
|
266
|
-
folderName:'',
|
|
267
|
-
folderUrl:'',
|
|
271
|
+
folderName: '',
|
|
272
|
+
folderUrl: '',
|
|
268
273
|
previewKnowledgeId: "",
|
|
269
274
|
previewKnowledge: {},
|
|
270
275
|
previewOssPath: ""
|
|
271
276
|
}
|
|
272
277
|
},
|
|
273
|
-
props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang"],
|
|
278
|
+
props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang","language"],
|
|
274
279
|
beforeMounted () {
|
|
275
280
|
},
|
|
276
281
|
watch: {
|
|
@@ -332,78 +337,78 @@ export default {
|
|
|
332
337
|
//预览图片
|
|
333
338
|
lookAttach (url, item, event) {
|
|
334
339
|
// console.log(item.knowledgeId);
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
340
|
+
// this.$http.get("/knowledge-api/internal/knowledgeBaseStructure/" + "642ffbccde420e2772f7787b")
|
|
341
|
+
// debugger
|
|
342
|
+
event.preventDefault();
|
|
343
|
+
if (this.isAskLightning == 1 && !this.isApp) {
|
|
344
|
+
window.parent.postMessage({
|
|
345
|
+
data: "bot_preview",
|
|
346
|
+
item: JSON.stringify(item),
|
|
347
|
+
url: url
|
|
348
|
+
}, "*");
|
|
349
|
+
} else {
|
|
350
|
+
// if (isMobile()) {
|
|
351
|
+
// this.$refs.previewPdf.drawer = true;
|
|
352
|
+
// this.$refs.previewPdf.previewShowPopup = false;
|
|
353
|
+
// } else {
|
|
354
|
+
// this.$refs.previewPdf.drawer = false;
|
|
355
|
+
// }
|
|
356
|
+
this.title = item.from || item.name
|
|
357
|
+
this.folderName = item.folderName
|
|
353
358
|
this.folderUrl = item.folderUrl
|
|
354
359
|
this.previewKnowledge = item;
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
} else {
|
|
366
|
-
type = this.fileType(url)
|
|
367
|
-
}
|
|
368
|
-
if (type === '' || type === 'OTHER') {
|
|
369
|
-
httpUrl = httpUrl += '?needEncrypt=true'
|
|
370
|
-
} else {
|
|
371
|
-
httpUrl = httpUrl += '?needEncrypt=false'
|
|
372
|
-
}
|
|
373
|
-
this.$http.post(httpUrl, {
|
|
374
|
-
"fileInOssPath":url
|
|
375
|
-
}).then(res =>{
|
|
376
|
-
if(res.data.code == '0') {
|
|
377
|
-
this.previewHref = res.data.data;
|
|
378
|
-
this.sourceFileType = url.substring(url.lastIndexOf('.'))
|
|
379
|
-
let isOhmPc = sessionStorage.getItem('isOhmPc')
|
|
380
|
-
if (isMobile() || isOhmPc == 'true'){
|
|
381
|
-
this.$refs.previewPdf.drawer = true;
|
|
382
|
-
this.$refs.previewPdf.previewShowPopup = true;
|
|
383
|
-
} else {
|
|
384
|
-
this.$refs.previewPdf.previewShowPopup = false;
|
|
385
|
-
this.$refs.previewPdf.drawer = true;
|
|
386
|
-
}
|
|
387
|
-
//聊一聊按钮的选中状态
|
|
388
|
-
if (this.activeKnowledgeId == item.knowledgeId){
|
|
389
|
-
this.$refs.previewPdf.previewKnowledgeId = this.activeKnowledgeId
|
|
360
|
+
this.previewKnowledgeId = item.knowledgeId
|
|
361
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
362
|
+
this.$refs.previewPdf.drawer = false;
|
|
363
|
+
this.previewOssPath = url;
|
|
364
|
+
let index = url.lastIndexOf('?')
|
|
365
|
+
let type = ''
|
|
366
|
+
let httpUrl = '/knowledge-api/knowledge/getTemporaryCertificate'
|
|
367
|
+
if (index !== -1) {
|
|
368
|
+
url = url.substring(0, index)
|
|
369
|
+
type = this.fileType(url)
|
|
390
370
|
} else {
|
|
391
|
-
|
|
371
|
+
type = this.fileType(url)
|
|
392
372
|
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
this.$refs.previewPdf.isMessageRecord = this.isMessageRecord ? true : false ;
|
|
396
|
-
let index = url.indexOf("?");
|
|
397
|
-
let newFileInOssPath = url;
|
|
398
|
-
if (index !== -1){
|
|
399
|
-
newFileInOssPath = url.substring(0, url.indexOf("?"))
|
|
400
|
-
}
|
|
401
|
-
let fileName = newFileInOssPath.substring(newFileInOssPath.lastIndexOf('.'))
|
|
402
|
-
if (fileName === '.doc' || fileName === '.docx' || fileName === '.txt'|| fileName === '.html'){
|
|
403
|
-
this.$refs.previewPdf.fileName = fileName;
|
|
373
|
+
if (type === '' || type === 'OTHER' || type == 'IMAGE') {
|
|
374
|
+
httpUrl = httpUrl += '?needEncrypt=true'
|
|
404
375
|
} else {
|
|
405
|
-
|
|
376
|
+
httpUrl = httpUrl += '?needEncrypt=false'
|
|
406
377
|
}
|
|
378
|
+
this.$http.post(httpUrl, {
|
|
379
|
+
"fileInOssPath": url
|
|
380
|
+
}).then(res => {
|
|
381
|
+
if (res.data.code == '0') {
|
|
382
|
+
this.previewHref = res.data.data;
|
|
383
|
+
this.sourceFileType = url.substring(url.lastIndexOf('.'))
|
|
384
|
+
let isOhmPc = sessionStorage.getItem('isOhmPc')
|
|
385
|
+
if (isMobile() || isOhmPc == 'true') {
|
|
386
|
+
this.$refs.previewPdf.drawer = true;
|
|
387
|
+
this.$refs.previewPdf.previewShowPopup = true;
|
|
388
|
+
} else {
|
|
389
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
390
|
+
this.$refs.previewPdf.drawer = true;
|
|
391
|
+
}
|
|
392
|
+
//聊一聊按钮的选中状态
|
|
393
|
+
if (this.activeKnowledgeId == item.knowledgeId) {
|
|
394
|
+
this.$refs.previewPdf.previewKnowledgeId = this.activeKnowledgeId
|
|
395
|
+
} else {
|
|
396
|
+
this.$refs.previewPdf.previewKnowledgeId = ""
|
|
397
|
+
}
|
|
398
|
+
this.$refs.previewPdf.fileType = type
|
|
399
|
+
this.$refs.previewPdf.tagIds = item.tagIds
|
|
400
|
+
this.$refs.previewPdf.isMessageRecord = this.isMessageRecord ? true : false;
|
|
401
|
+
let index = url.indexOf("?");
|
|
402
|
+
let newFileInOssPath = url;
|
|
403
|
+
if (index !== -1) {
|
|
404
|
+
newFileInOssPath = url.substring(0, url.indexOf("?"))
|
|
405
|
+
}
|
|
406
|
+
let fileName = newFileInOssPath.substring(newFileInOssPath.lastIndexOf('.'))
|
|
407
|
+
if (fileName === '.doc' || fileName === '.docx' || fileName === '.txt' || fileName === '.html') {
|
|
408
|
+
this.$refs.previewPdf.fileName = fileName;
|
|
409
|
+
} else {
|
|
410
|
+
this.$refs.previewPdf.fileName = '';
|
|
411
|
+
}
|
|
407
412
|
if (item.tagIds && item.tagIds.length != 0) {
|
|
408
413
|
this.$refs.previewPdf.loading = false
|
|
409
414
|
return
|
|
@@ -431,6 +436,8 @@ export default {
|
|
|
431
436
|
return 'VIDEO'
|
|
432
437
|
} else if (fileType === '.html') {
|
|
433
438
|
return 'HTML'
|
|
439
|
+
} else if (fileType === '.png' || fileType === '.jpg' || fileType === '.jpeg') {
|
|
440
|
+
return 'IMAGE'
|
|
434
441
|
} else {
|
|
435
442
|
return 'OTHER'
|
|
436
443
|
}
|
|
@@ -491,13 +498,13 @@ export default {
|
|
|
491
498
|
recommendQues (item, knowledgeId) {
|
|
492
499
|
this.$emit('recommendQues', item, knowledgeId)
|
|
493
500
|
},
|
|
494
|
-
clickFloder(item) {
|
|
501
|
+
clickFloder (item) {
|
|
495
502
|
this.$emit('clickFloder', item)
|
|
496
503
|
},
|
|
497
|
-
previewClickFloder() {
|
|
504
|
+
previewClickFloder () {
|
|
498
505
|
let item = null
|
|
499
506
|
this.msg.content.list.forEach(element => {
|
|
500
|
-
if(element.knowledgeId == this.previewKnowledgeId) {
|
|
507
|
+
if (element.knowledgeId == this.previewKnowledgeId) {
|
|
501
508
|
item = element
|
|
502
509
|
}
|
|
503
510
|
});
|
|
@@ -641,24 +648,25 @@ export default {
|
|
|
641
648
|
|
|
642
649
|
.alc-box-introduction-previewImage {
|
|
643
650
|
width: 100%;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
651
|
+
display: block;
|
|
652
|
+
overflow: hidden;
|
|
653
|
+
text-overflow: ellipsis;
|
|
654
|
+
display: -webkit-box;
|
|
655
|
+
-webkit-line-clamp: 3;
|
|
656
|
+
-webkit-box-orient: vertical;
|
|
657
|
+
margin-top: 10px;
|
|
658
|
+
color: #616161;
|
|
659
|
+
// font-size: 12px;
|
|
660
|
+
line-height: 24px;
|
|
661
|
+
text-align: left;
|
|
662
|
+
|
|
663
|
+
img {
|
|
664
|
+
max-width: 300px;
|
|
665
|
+
width: 100%;
|
|
666
|
+
max-height: 150px;
|
|
667
|
+
margin: 10px;
|
|
668
|
+
cursor: pointer;
|
|
669
|
+
}
|
|
662
670
|
}
|
|
663
671
|
|
|
664
672
|
.alc-updateTime {
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
<!-- 消息记录容器 -->
|
|
2
2
|
<template>
|
|
3
3
|
<div id="conversation">
|
|
4
|
-
<
|
|
5
|
-
<div v-for="(item, index) in processAction" :key="index">
|
|
4
|
+
<!-- <div v-for="(item, index) in processAction" :key="index">
|
|
6
5
|
<association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
|
|
7
|
-
</div>
|
|
6
|
+
</div> -->
|
|
8
7
|
<!-- <answer-radio :msg="answerRadiosPri"></answer-radio> -->
|
|
9
8
|
<answer-radio :msg="answerRadiosPri"></answer-radio>
|
|
10
9
|
<!-- <msg-loading v-if="inLoading"></msg-loading>
|
|
@@ -18,7 +17,7 @@
|
|
|
18
17
|
</div>
|
|
19
18
|
</div> -->
|
|
20
19
|
<!-- <MyEditor></MyEditor> -->
|
|
21
|
-
|
|
20
|
+
<form-template
|
|
22
21
|
:formList="formList2"
|
|
23
22
|
@submitClick="submitClick"
|
|
24
23
|
></form-template> -->
|
|
@@ -32,14 +31,14 @@
|
|
|
32
31
|
<form-template
|
|
33
32
|
:formList="formList4"
|
|
34
33
|
@submitClick="submitClick"
|
|
35
|
-
></form-template>
|
|
34
|
+
></form-template>
|
|
36
35
|
<!-- <div style="max-width: 450px;overflow-x: auto;">
|
|
37
36
|
<action-alert :actionAlertIframe="actionAlertIframeObj" :phoneWidth100="true"></action-alert>
|
|
38
37
|
</div> -->
|
|
39
38
|
|
|
40
39
|
<!-- <text-message :text="text" @submitClick="submitClick"></text-message> -->
|
|
41
|
-
<answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :isLiBang="false"></answer-docknowledge>
|
|
42
|
-
<welcomeSuggest :msg="welcomeSuggest"></welcomeSuggest>
|
|
40
|
+
<answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :language="'cn'" :isLiBang="false"></answer-docknowledge>
|
|
41
|
+
<welcomeSuggest :msg="welcomeSuggest" :language="'cn'"></welcomeSuggest>
|
|
43
42
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
44
43
|
<div slot="voiceTip">
|
|
45
44
|
松开发送
|
|
@@ -47,10 +46,10 @@
|
|
|
47
46
|
</voice-component>-->
|
|
48
47
|
<!-- 点选 -->
|
|
49
48
|
<!-- <div v-html="htmlContainer"></div> -->
|
|
50
|
-
<answer-radio :msg="answerRadios"></answer-radio>
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
<!--
|
|
49
|
+
<answer-radio :msg="answerRadios" :language="'cn'"></answer-radio>
|
|
50
|
+
<ticket-message :content="updateTicetmessageObj"></ticket-message>
|
|
51
|
+
<ticket-message :content="contents"></ticket-message>
|
|
52
|
+
<!--
|
|
54
53
|
<action-send-to-bot :msg="answerRadios"></action-send-to-bot>
|
|
55
54
|
<text-message :text="text" @submitClick="submitClick"></text-message>
|
|
56
55
|
<div v-for="(item,index) in processAction" :key="index">
|
|
@@ -122,7 +121,6 @@ import AnswerDocknowledge from "./AnswerDocknowledge.vue";
|
|
|
122
121
|
import WelcomeKnowledgeFile from "./welcomeKnowledgeFile";
|
|
123
122
|
import WelcomeLlmCard from "./welcomeLlmCard";
|
|
124
123
|
import welcomeSuggest from "./welcomeSuggest"
|
|
125
|
-
import QwFeedback from './QwFeedback';
|
|
126
124
|
export default {
|
|
127
125
|
name: 'ConversationContainer',
|
|
128
126
|
components: {
|
|
@@ -152,8 +150,7 @@ export default {
|
|
|
152
150
|
// ChatContent,
|
|
153
151
|
AnswerDocknowledge,
|
|
154
152
|
MyEditor,
|
|
155
|
-
welcomeSuggest
|
|
156
|
-
QwFeedback
|
|
153
|
+
welcomeSuggest
|
|
157
154
|
},
|
|
158
155
|
props: {
|
|
159
156
|
messages: Array
|
|
@@ -261,7 +258,7 @@ export default {
|
|
|
261
258
|
"knowledgeId": "658a93de63d378228271913a",
|
|
262
259
|
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
263
260
|
"from": "ppt_preview",
|
|
264
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API
|
|
261
|
+
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,。",
|
|
265
262
|
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
266
263
|
},
|
|
267
264
|
{
|
|
@@ -581,202 +578,6 @@ export default {
|
|
|
581
578
|
]
|
|
582
579
|
}
|
|
583
580
|
},
|
|
584
|
-
{
|
|
585
|
-
version: 1,
|
|
586
|
-
content: {
|
|
587
|
-
htmlList: [
|
|
588
|
-
{
|
|
589
|
-
"src": null,
|
|
590
|
-
"dynamic": null,
|
|
591
|
-
"style": [
|
|
592
|
-
{
|
|
593
|
-
"col": 1,
|
|
594
|
-
"colums": 3
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
"col": 2,
|
|
598
|
-
"colums": 3
|
|
599
|
-
}
|
|
600
|
-
],
|
|
601
|
-
"markdownList": null,
|
|
602
|
-
"list": [
|
|
603
|
-
"<p>1</p>",
|
|
604
|
-
"<p>2</p>"
|
|
605
|
-
],
|
|
606
|
-
"type": "DOUBLE"
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
"src": null,
|
|
610
|
-
"dynamic": null,
|
|
611
|
-
"style": [
|
|
612
|
-
{
|
|
613
|
-
"col": 1,
|
|
614
|
-
"colums": 4
|
|
615
|
-
},
|
|
616
|
-
{
|
|
617
|
-
"col": 1,
|
|
618
|
-
"colums": 4
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
"col": 1,
|
|
622
|
-
"colums": 4
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"col": 1,
|
|
626
|
-
"colums": 4
|
|
627
|
-
}
|
|
628
|
-
],
|
|
629
|
-
"markdownList": null,
|
|
630
|
-
"list": [
|
|
631
|
-
"<p>1</p>",
|
|
632
|
-
"<p>2</p>",
|
|
633
|
-
"<p>3</p>",
|
|
634
|
-
"<p>4</p>"
|
|
635
|
-
],
|
|
636
|
-
"type": "QUADRUPLE"
|
|
637
|
-
},
|
|
638
|
-
{
|
|
639
|
-
"src": null,
|
|
640
|
-
"dynamic": null,
|
|
641
|
-
"style": [
|
|
642
|
-
{
|
|
643
|
-
"col": 1,
|
|
644
|
-
"colums": 4
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
"col": 3,
|
|
648
|
-
"colums": 4
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"markdownList": null,
|
|
652
|
-
"list": [
|
|
653
|
-
"<p>1</p>",
|
|
654
|
-
"<p>3</p>"
|
|
655
|
-
],
|
|
656
|
-
"type": "DOUBLE"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
"src": null,
|
|
660
|
-
"dynamic": null,
|
|
661
|
-
"style": [
|
|
662
|
-
{
|
|
663
|
-
"col": 2,
|
|
664
|
-
"colums": 3
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"col": 1,
|
|
668
|
-
"colums": 3
|
|
669
|
-
}
|
|
670
|
-
],
|
|
671
|
-
"markdownList": null,
|
|
672
|
-
"list": [
|
|
673
|
-
"<p>2</p>",
|
|
674
|
-
"<p>1</p>"
|
|
675
|
-
],
|
|
676
|
-
"type": "DOUBLE"
|
|
677
|
-
}
|
|
678
|
-
],
|
|
679
|
-
buttonList: [{ name: '我是标签1', scope: '', test: '' }]
|
|
680
|
-
}
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
version: 1,
|
|
684
|
-
content: {
|
|
685
|
-
htmlList: [
|
|
686
|
-
{
|
|
687
|
-
"src": null,
|
|
688
|
-
"dynamic": null,
|
|
689
|
-
"style": [
|
|
690
|
-
{
|
|
691
|
-
"col": 1,
|
|
692
|
-
"colums": 3
|
|
693
|
-
},
|
|
694
|
-
{
|
|
695
|
-
"col": 2,
|
|
696
|
-
"colums": 3
|
|
697
|
-
}
|
|
698
|
-
],
|
|
699
|
-
"markdownList": null,
|
|
700
|
-
"list": [
|
|
701
|
-
"<p>1</p>",
|
|
702
|
-
"<p>2</p>"
|
|
703
|
-
],
|
|
704
|
-
"type": "DOUBLE"
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"src": null,
|
|
708
|
-
"dynamic": null,
|
|
709
|
-
"style": [
|
|
710
|
-
{
|
|
711
|
-
"col": 1,
|
|
712
|
-
"colums": 4
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
"col": 1,
|
|
716
|
-
"colums": 4
|
|
717
|
-
},
|
|
718
|
-
{
|
|
719
|
-
"col": 1,
|
|
720
|
-
"colums": 4
|
|
721
|
-
},
|
|
722
|
-
{
|
|
723
|
-
"col": 1,
|
|
724
|
-
"colums": 4
|
|
725
|
-
}
|
|
726
|
-
],
|
|
727
|
-
"markdownList": null,
|
|
728
|
-
"list": [
|
|
729
|
-
"<p>1</p>",
|
|
730
|
-
"<p>2</p>",
|
|
731
|
-
"<p>3</p>",
|
|
732
|
-
"<p>4</p>"
|
|
733
|
-
],
|
|
734
|
-
"type": "QUADRUPLE"
|
|
735
|
-
},
|
|
736
|
-
{
|
|
737
|
-
"src": null,
|
|
738
|
-
"dynamic": null,
|
|
739
|
-
"style": [
|
|
740
|
-
{
|
|
741
|
-
"col": 1,
|
|
742
|
-
"colums": 4
|
|
743
|
-
},
|
|
744
|
-
{
|
|
745
|
-
"col": 3,
|
|
746
|
-
"colums": 4
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"markdownList": null,
|
|
750
|
-
"list": [
|
|
751
|
-
"<p>1</p>",
|
|
752
|
-
"<p>3</p>"
|
|
753
|
-
],
|
|
754
|
-
"type": "DOUBLE"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"src": null,
|
|
758
|
-
"dynamic": null,
|
|
759
|
-
"style": [
|
|
760
|
-
{
|
|
761
|
-
"col": 2,
|
|
762
|
-
"colums": 3
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"col": 1,
|
|
766
|
-
"colums": 3
|
|
767
|
-
}
|
|
768
|
-
],
|
|
769
|
-
"markdownList": null,
|
|
770
|
-
"list": [
|
|
771
|
-
"<p>2</p>",
|
|
772
|
-
"<p>1</p>"
|
|
773
|
-
],
|
|
774
|
-
"type": "DOUBLE"
|
|
775
|
-
}
|
|
776
|
-
],
|
|
777
|
-
buttonList: [{ name: '我是标签1' }]
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
581
|
],
|
|
781
582
|
apiKey: '123456789'
|
|
782
583
|
},
|
|
@@ -10569,6 +10370,7 @@ export default {
|
|
|
10569
10370
|
url:
|
|
10570
10371
|
'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
|
|
10571
10372
|
videoFlag: false,
|
|
10373
|
+
nodownload: false,
|
|
10572
10374
|
videoUploadPercent: 0,
|
|
10573
10375
|
isShowUploadVideo: true,
|
|
10574
10376
|
recommend: {
|
|
@@ -10663,15 +10465,6 @@ export default {
|
|
|
10663
10465
|
}
|
|
10664
10466
|
},
|
|
10665
10467
|
answerRadios: { "content": { "options": [{ "scope": "KNOWLEDGE", "name": "本文提供了什么内容?", "value": "64915d6e098ec248701da267" }, { "scope": "KNOWLEDGE", "name": "什么是街舞穿搭指南?", "value": "64915d6e098ec248701da267" }, { "scope": "KNOWLEDGE", "name": "为什么街舞爱好者需要关注本文?", "value": "64915d6e098ec248701da267" }], "description": "了解更多", "isKnowledgeSummary": true }, "id": "knowledgeRecdNodeId", "type": "answer_radio", "sessionId": 1687251699065, "keyId": "139480f2-5af1-44fd-a7bd-a73dd7b566b7_________", "isKnowledgeSummary": true },
|
|
10666
|
-
qwFeedbackObj: {
|
|
10667
|
-
"content": {
|
|
10668
|
-
"guideText": "以下问题我已经学会了,感谢您提供的金点子,帮助我更好的成长:",
|
|
10669
|
-
"questionList": [
|
|
10670
|
-
"打印机卡纸怎么办", "打印机打印模糊", "SAP系统输入编码系统显示报错", "合同已经上传影像归档了,但是在CE中还是关联不到合同", "如何查询社保缴费基数", "如何查询公积金缴费基数"
|
|
10671
|
-
]
|
|
10672
|
-
},
|
|
10673
|
-
"type": "unidentified_feedback"
|
|
10674
|
-
},
|
|
10675
10468
|
answerRadiosPri: {
|
|
10676
10469
|
"refAttrId": null,
|
|
10677
10470
|
"createTime": null,
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
|
|
37
37
|
<script>
|
|
38
38
|
import { v4 as uuidv4 } from "uuid";
|
|
39
|
-
import { multipartUpload, ossFileUrl } from "
|
|
39
|
+
import { multipartUpload, ossFileUrl } from "../assets/js/AliyunlssUtil";
|
|
40
40
|
|
|
41
41
|
export default {
|
|
42
42
|
props: ["value", "placeholder", "havToolbar"],
|
|
@@ -80,6 +80,7 @@ export default {
|
|
|
80
80
|
inputObj.setAttribute('id', '_ef');
|
|
81
81
|
inputObj.setAttribute('type', 'file');
|
|
82
82
|
inputObj.setAttribute('accept', '*')
|
|
83
|
+
inputObj.setAttribute('capture', 'camcorder')
|
|
83
84
|
inputObj.setAttribute('multiple', true)
|
|
84
85
|
inputObj.setAttribute("style", 'visibility:hidden');
|
|
85
86
|
document.body.appendChild(inputObj);
|