askbot-dragon 1.7.25-beta → 1.7.26-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 +12 -14
- package/public/index.html +10 -8
- package/src/assets/js/AliyunlssUtil.js +26 -50
- package/src/assets/js/hammer.js +2 -13
- package/src/assets/less/converSationContainer/common.less +0 -7
- package/src/components/ActionAlertIframe.vue +1 -24
- package/src/components/AiGuide.vue +154 -121
- package/src/components/AnswerDocknowledge.vue +100 -108
- package/src/components/ConversationContainer.vue +220 -13
- package/src/components/MyEditor.vue +1 -2
- package/src/components/QwFeedback.vue +301 -0
- package/src/components/actionSatisfaction.vue +3 -3
- package/src/components/answerRadio.vue +3 -3
- package/src/components/askVideo.vue +0 -23
- package/src/components/associationIntention.vue +7 -11
- package/src/components/formTemplate.vue +50 -54
- package/src/components/intelligentSummary.vue +4 -8
- package/src/components/message/TextMessage.vue +11 -15
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/pdfPosition.vue +37 -217
- package/src/components/popup.vue +2 -2
- package/src/components/previewDoc.vue +2 -6
- package/src/components/previewPdf.vue +134 -159
- package/src/components/senderMessagePlatform.vue +4 -4
- package/src/components/utils/ckeditor.js +1 -1
- package/src/components/welcomeKnowledgeFile.vue +2 -6
- package/src/components/welcomeLlmCard.vue +1 -5
- package/src/components/welcomeSuggest.vue +1 -1
- package/src/main.js +0 -18
- package/src/components/imgView.vue +0 -32
- package/src/components/markDownText.vue +0 -128
- package/src/components/newPdfPosition.vue +0 -878
- package/src/locales/cn.json +0 -72
- package/src/locales/en.json +0 -73
- package/src/locales/jp.json +0 -73
|
@@ -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">AI为您总结生成了以下摘要</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,26 +16,22 @@
|
|
|
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="isHistory"></markDownText>
|
|
21
|
-
</template>
|
|
22
19
|
<template v-else>{{ msg.content.text }}</template>
|
|
23
20
|
</div>
|
|
24
21
|
<div v-if="msg.content.images && msg.content.images.length != 0" class="answer-kn-image-box">
|
|
25
22
|
<img v-for="(imageItem, imageItemIndex) in msg.content.images"
|
|
26
|
-
style="max-width: 230px;border-radius:
|
|
23
|
+
style="max-width: 230px;border-radius: 10px;margin-bottom: 15px" :src="imageItem.url"
|
|
27
24
|
:key="imageItemIndex" alt @click="lookAttach(imageItem.url, imageItem, $event)" />
|
|
28
25
|
</div>
|
|
29
26
|
</div>
|
|
30
27
|
<template v-if="!isLiBang">
|
|
31
28
|
<div class="ad-list" :class="msg.content.type == 0 ? 'ad-list-recognition' : ''">
|
|
32
29
|
<template v-if="msg.content.type == 1">
|
|
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">
|
|
30
|
+
<div v-for="(item, itemIndex) in msg.content.list" :key="itemIndex" class="ad-list-cell">
|
|
35
31
|
<div class="alc-title">
|
|
36
32
|
<div class="alc-box">
|
|
37
33
|
<div class="alc-source-left">
|
|
38
|
-
<span class="source-form"
|
|
34
|
+
<span class="source-form">出自</span>
|
|
39
35
|
<img class="alc-title-icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
40
36
|
srcset="">
|
|
41
37
|
<span class="alc-title-from">{{ item.from }}</span>
|
|
@@ -55,7 +51,7 @@
|
|
|
55
51
|
{{ docSource[item.source] }}
|
|
56
52
|
</div>
|
|
57
53
|
<div v-show="item.url" class="alc-content-text">
|
|
58
|
-
<span @click="lookAttach(item.url, item, $event)" class="aci-view"
|
|
54
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">查看 ></span>
|
|
59
55
|
</div>
|
|
60
56
|
</div>
|
|
61
57
|
</div>
|
|
@@ -87,7 +83,7 @@
|
|
|
87
83
|
</div>
|
|
88
84
|
</div>
|
|
89
85
|
</template>
|
|
90
|
-
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList"
|
|
86
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">查看更多</div>
|
|
91
87
|
</div>
|
|
92
88
|
</template>
|
|
93
89
|
<template v-if="isLiBang">
|
|
@@ -97,7 +93,7 @@
|
|
|
97
93
|
<div class="libang_title">
|
|
98
94
|
<div class="libang_box">
|
|
99
95
|
<div class="libang_source_left">
|
|
100
|
-
<span class="source-form"
|
|
96
|
+
<span class="source-form">出自</span>
|
|
101
97
|
<img class="libang_title_icon" height="24px" width="24px" :src="getIconSrc(item)" alt=""
|
|
102
98
|
srcset="">
|
|
103
99
|
<span class="libang_title_from">{{ item.from }}</span>
|
|
@@ -123,7 +119,7 @@
|
|
|
123
119
|
</div>
|
|
124
120
|
</div>
|
|
125
121
|
<div v-show="item.url" class="libang_content_text">
|
|
126
|
-
<span @click="lookAttach(item.url, item, $event)" class="aci-view"
|
|
122
|
+
<span @click="lookAttach(item.url, item, $event)" class="aci-view">查看 ></span>
|
|
127
123
|
</div>
|
|
128
124
|
</div>
|
|
129
125
|
</div>
|
|
@@ -162,7 +158,7 @@
|
|
|
162
158
|
<i class="iconfont guoran-right" @click="lookAttach(item.url, item, $event)"></i>
|
|
163
159
|
</div>
|
|
164
160
|
</template>
|
|
165
|
-
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList"
|
|
161
|
+
<div class="ad-loadmore" v-if="loadMoreFlag" @click="lazyLoadKnowledegList">查看更多</div>
|
|
166
162
|
</div>
|
|
167
163
|
</template>
|
|
168
164
|
|
|
@@ -178,10 +174,9 @@
|
|
|
178
174
|
/* eslint-disable */
|
|
179
175
|
import previewPdf from "./previewPdf";
|
|
180
176
|
import { isMobile } from "../assets/js/common";
|
|
181
|
-
import markDownText from "./markDownText.vue";
|
|
182
177
|
export default {
|
|
183
178
|
name: "answerDocknowledge",
|
|
184
|
-
components: { previewPdf
|
|
179
|
+
components: { previewPdf },
|
|
185
180
|
data () {
|
|
186
181
|
return {
|
|
187
182
|
isPC: true,
|
|
@@ -268,14 +263,14 @@ export default {
|
|
|
268
263
|
allKnowledgeList: [],
|
|
269
264
|
loadMoreFlag: false,
|
|
270
265
|
title: '',
|
|
271
|
-
folderName:
|
|
272
|
-
folderUrl:
|
|
266
|
+
folderName:'',
|
|
267
|
+
folderUrl:'',
|
|
273
268
|
previewKnowledgeId: "",
|
|
274
269
|
previewKnowledge: {},
|
|
275
270
|
previewOssPath: ""
|
|
276
271
|
}
|
|
277
272
|
},
|
|
278
|
-
props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang"
|
|
273
|
+
props: ['msg', 'isAskLightning', 'isMessageRecord', "isApp", "isHasChat", "activeKnowledgeId", "isLiBang"],
|
|
279
274
|
beforeMounted () {
|
|
280
275
|
},
|
|
281
276
|
watch: {
|
|
@@ -337,78 +332,78 @@ export default {
|
|
|
337
332
|
//预览图片
|
|
338
333
|
lookAttach (url, item, event) {
|
|
339
334
|
// console.log(item.knowledgeId);
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
335
|
+
// this.$http.get("/knowledge-api/internal/knowledgeBaseStructure/" + "642ffbccde420e2772f7787b")
|
|
336
|
+
// debugger
|
|
337
|
+
event.preventDefault();
|
|
338
|
+
if (this.isAskLightning == 1 && !this.isApp){
|
|
339
|
+
window.parent.postMessage({
|
|
340
|
+
data: "bot_preview",
|
|
341
|
+
item: JSON.stringify(item),
|
|
342
|
+
url: url
|
|
343
|
+
},"*");
|
|
344
|
+
} else {
|
|
345
|
+
// if (isMobile()) {
|
|
346
|
+
// this.$refs.previewPdf.drawer = true;
|
|
347
|
+
// this.$refs.previewPdf.previewShowPopup = false;
|
|
348
|
+
// } else {
|
|
349
|
+
// this.$refs.previewPdf.drawer = false;
|
|
350
|
+
// }
|
|
351
|
+
this.title = item.from || item.name
|
|
352
|
+
this.folderName = item.folderName
|
|
358
353
|
this.folderUrl = item.folderUrl
|
|
359
354
|
this.previewKnowledge = item;
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
355
|
+
this.previewKnowledgeId = item.knowledgeId
|
|
356
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
357
|
+
this.$refs.previewPdf.drawer = false;
|
|
358
|
+
this.previewOssPath = url;
|
|
359
|
+
let index = url.lastIndexOf('?')
|
|
360
|
+
let type = ''
|
|
361
|
+
let httpUrl = '/knowledge-api/knowledge/getTemporaryCertificate'
|
|
362
|
+
if (index !== -1) {
|
|
363
|
+
url = url.substring(0, index)
|
|
364
|
+
type = this.fileType(url)
|
|
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;
|
|
370
383
|
} else {
|
|
371
|
-
|
|
384
|
+
this.$refs.previewPdf.previewShowPopup = false;
|
|
385
|
+
this.$refs.previewPdf.drawer = true;
|
|
372
386
|
}
|
|
373
|
-
|
|
374
|
-
|
|
387
|
+
//聊一聊按钮的选中状态
|
|
388
|
+
if (this.activeKnowledgeId == item.knowledgeId){
|
|
389
|
+
this.$refs.previewPdf.previewKnowledgeId = this.activeKnowledgeId
|
|
375
390
|
} else {
|
|
376
|
-
|
|
391
|
+
this.$refs.previewPdf.previewKnowledgeId = ""
|
|
392
|
+
}
|
|
393
|
+
this.$refs.previewPdf.fileType = type
|
|
394
|
+
this.$refs.previewPdf.tagIds = item.tagIds
|
|
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;
|
|
404
|
+
} else {
|
|
405
|
+
this.$refs.previewPdf.fileName = '';
|
|
377
406
|
}
|
|
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
|
-
}
|
|
412
407
|
if (item.tagIds && item.tagIds.length != 0) {
|
|
413
408
|
this.$refs.previewPdf.loading = false
|
|
414
409
|
return
|
|
@@ -436,8 +431,6 @@ export default {
|
|
|
436
431
|
return 'VIDEO'
|
|
437
432
|
} else if (fileType === '.html') {
|
|
438
433
|
return 'HTML'
|
|
439
|
-
} else if (fileType === '.png' || fileType === '.jpg' || fileType === '.jpeg') {
|
|
440
|
-
return 'IMAGE'
|
|
441
434
|
} else {
|
|
442
435
|
return 'OTHER'
|
|
443
436
|
}
|
|
@@ -498,13 +491,13 @@ export default {
|
|
|
498
491
|
recommendQues (item, knowledgeId) {
|
|
499
492
|
this.$emit('recommendQues', item, knowledgeId)
|
|
500
493
|
},
|
|
501
|
-
clickFloder
|
|
494
|
+
clickFloder(item) {
|
|
502
495
|
this.$emit('clickFloder', item)
|
|
503
496
|
},
|
|
504
|
-
previewClickFloder
|
|
497
|
+
previewClickFloder() {
|
|
505
498
|
let item = null
|
|
506
499
|
this.msg.content.list.forEach(element => {
|
|
507
|
-
if
|
|
500
|
+
if(element.knowledgeId == this.previewKnowledgeId) {
|
|
508
501
|
item = element
|
|
509
502
|
}
|
|
510
503
|
});
|
|
@@ -648,25 +641,24 @@ export default {
|
|
|
648
641
|
|
|
649
642
|
.alc-box-introduction-previewImage {
|
|
650
643
|
width: 100%;
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
}
|
|
644
|
+
display: block;
|
|
645
|
+
overflow: hidden;
|
|
646
|
+
text-overflow: ellipsis;
|
|
647
|
+
display: -webkit-box;
|
|
648
|
+
-webkit-line-clamp:3;
|
|
649
|
+
-webkit-box-orient:vertical;
|
|
650
|
+
margin-top: 10px;
|
|
651
|
+
color: #616161;
|
|
652
|
+
// font-size: 12px;
|
|
653
|
+
line-height: 24px;
|
|
654
|
+
text-align: left;
|
|
655
|
+
img {
|
|
656
|
+
max-width: 300px;
|
|
657
|
+
width: 100%;
|
|
658
|
+
max-height: 150px;
|
|
659
|
+
margin: 10px;
|
|
660
|
+
cursor: pointer;
|
|
661
|
+
}
|
|
670
662
|
}
|
|
671
663
|
|
|
672
664
|
.alc-updateTime {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
<!-- 消息记录容器 -->
|
|
2
2
|
<template>
|
|
3
3
|
<div id="conversation">
|
|
4
|
-
|
|
4
|
+
<qw-feedback :msg="qwFeedbackObj"></qw-feedback>
|
|
5
|
+
<div v-for="(item, index) in processAction" :key="index">
|
|
5
6
|
<association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
|
|
6
|
-
</div>
|
|
7
|
+
</div>
|
|
7
8
|
<!-- <answer-radio :msg="answerRadiosPri"></answer-radio> -->
|
|
8
9
|
<answer-radio :msg="answerRadiosPri"></answer-radio>
|
|
9
10
|
<!-- <msg-loading v-if="inLoading"></msg-loading>
|
|
@@ -17,7 +18,7 @@
|
|
|
17
18
|
</div>
|
|
18
19
|
</div> -->
|
|
19
20
|
<!-- <MyEditor></MyEditor> -->
|
|
20
|
-
<form-template
|
|
21
|
+
<!-- <form-template
|
|
21
22
|
:formList="formList2"
|
|
22
23
|
@submitClick="submitClick"
|
|
23
24
|
></form-template> -->
|
|
@@ -31,14 +32,14 @@
|
|
|
31
32
|
<form-template
|
|
32
33
|
:formList="formList4"
|
|
33
34
|
@submitClick="submitClick"
|
|
34
|
-
></form-template>
|
|
35
|
+
></form-template> -->
|
|
35
36
|
<!-- <div style="max-width: 450px;overflow-x: auto;">
|
|
36
37
|
<action-alert :actionAlertIframe="actionAlertIframeObj" :phoneWidth100="true"></action-alert>
|
|
37
38
|
</div> -->
|
|
38
39
|
|
|
39
40
|
<!-- <text-message :text="text" @submitClick="submitClick"></text-message> -->
|
|
40
|
-
<answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :
|
|
41
|
-
<welcomeSuggest :msg="welcomeSuggest"
|
|
41
|
+
<answer-docknowledge :isAskLightning="2" :msg="answerDocknowledge" :isLiBang="false"></answer-docknowledge>
|
|
42
|
+
<welcomeSuggest :msg="welcomeSuggest"></welcomeSuggest>
|
|
42
43
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
43
44
|
<div slot="voiceTip">
|
|
44
45
|
松开发送
|
|
@@ -46,10 +47,10 @@
|
|
|
46
47
|
</voice-component>-->
|
|
47
48
|
<!-- 点选 -->
|
|
48
49
|
<!-- <div v-html="htmlContainer"></div> -->
|
|
49
|
-
<answer-radio :msg="answerRadios"
|
|
50
|
-
<ticket-message :content="updateTicetmessageObj"></ticket-message>
|
|
51
|
-
<ticket-message :content="contents"></ticket-message>
|
|
52
|
-
<!--
|
|
50
|
+
<answer-radio :msg="answerRadios"></answer-radio>
|
|
51
|
+
<!-- <ticket-message :content="updateTicetmessageObj"></ticket-message> -->
|
|
52
|
+
<!-- <ticket-message :content="contents"></ticket-message> -->
|
|
53
|
+
<!--
|
|
53
54
|
<action-send-to-bot :msg="answerRadios"></action-send-to-bot>
|
|
54
55
|
<text-message :text="text" @submitClick="submitClick"></text-message>
|
|
55
56
|
<div v-for="(item,index) in processAction" :key="index">
|
|
@@ -121,6 +122,7 @@ import AnswerDocknowledge from "./AnswerDocknowledge.vue";
|
|
|
121
122
|
import WelcomeKnowledgeFile from "./welcomeKnowledgeFile";
|
|
122
123
|
import WelcomeLlmCard from "./welcomeLlmCard";
|
|
123
124
|
import welcomeSuggest from "./welcomeSuggest"
|
|
125
|
+
import QwFeedback from './QwFeedback';
|
|
124
126
|
export default {
|
|
125
127
|
name: 'ConversationContainer',
|
|
126
128
|
components: {
|
|
@@ -150,7 +152,8 @@ export default {
|
|
|
150
152
|
// ChatContent,
|
|
151
153
|
AnswerDocknowledge,
|
|
152
154
|
MyEditor,
|
|
153
|
-
welcomeSuggest
|
|
155
|
+
welcomeSuggest,
|
|
156
|
+
QwFeedback
|
|
154
157
|
},
|
|
155
158
|
props: {
|
|
156
159
|
messages: Array
|
|
@@ -258,7 +261,7 @@ export default {
|
|
|
258
261
|
"knowledgeId": "658a93de63d378228271913a",
|
|
259
262
|
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
260
263
|
"from": "ppt_preview",
|
|
261
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API
|
|
264
|
+
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
262
265
|
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
263
266
|
},
|
|
264
267
|
{
|
|
@@ -578,6 +581,202 @@ export default {
|
|
|
578
581
|
]
|
|
579
582
|
}
|
|
580
583
|
},
|
|
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
|
+
}
|
|
581
780
|
],
|
|
582
781
|
apiKey: '123456789'
|
|
583
782
|
},
|
|
@@ -10370,7 +10569,6 @@ export default {
|
|
|
10370
10569
|
url:
|
|
10371
10570
|
'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
|
|
10372
10571
|
videoFlag: false,
|
|
10373
|
-
nodownload: false,
|
|
10374
10572
|
videoUploadPercent: 0,
|
|
10375
10573
|
isShowUploadVideo: true,
|
|
10376
10574
|
recommend: {
|
|
@@ -10465,6 +10663,15 @@ export default {
|
|
|
10465
10663
|
}
|
|
10466
10664
|
},
|
|
10467
10665
|
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
|
+
},
|
|
10468
10675
|
answerRadiosPri: {
|
|
10469
10676
|
"refAttrId": null,
|
|
10470
10677
|
"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 "./utils/AliyunIssUtil";
|
|
40
40
|
|
|
41
41
|
export default {
|
|
42
42
|
props: ["value", "placeholder", "havToolbar"],
|
|
@@ -80,7 +80,6 @@ export default {
|
|
|
80
80
|
inputObj.setAttribute('id', '_ef');
|
|
81
81
|
inputObj.setAttribute('type', 'file');
|
|
82
82
|
inputObj.setAttribute('accept', '*')
|
|
83
|
-
inputObj.setAttribute('capture', 'camcorder')
|
|
84
83
|
inputObj.setAttribute('multiple', true)
|
|
85
84
|
inputObj.setAttribute("style", 'visibility:hidden');
|
|
86
85
|
document.body.appendChild(inputObj);
|