askbot-dragon 1.7.82-beta → 1.7.84-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 +1 -3
- package/public/index.html +9 -6
- package/src/assets/js/AliyunlssUtil.js +25 -49
- package/src/assets/js/common.js +5 -0
- 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 +150 -113
- package/src/components/AnswerDocknowledge.vue +5 -5
- package/src/components/ConversationContainer.vue +216 -100
- package/src/components/MyEditor.vue +1 -2
- package/src/components/actionSatisfaction.vue +1 -1
- package/src/components/answerRadio.vue +1 -1
- 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 +1 -5
- package/src/components/message/TextMessage.vue +1 -5
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/pdfPosition.vue +12 -190
- package/src/components/preview/newPositionPreview.vue +5 -1
- package/src/components/preview/pdfView.vue +9 -2
- package/src/components/previewDoc.vue +0 -4
- package/src/components/previewPdf.vue +212 -200
- package/src/components/senderMessagePlatform.vue +1 -1
- package/src/components/utils/ckeditor.js +1 -1
- package/src/components/welcomeKnowledgeFile.vue +1 -5
- package/src/components/welcomeLlmCard.vue +1 -5
- package/src/main.js +1 -1
- package/src/components/newPdfPosition.vue +0 -878
- package/src/locales/jp.json +0 -73
|
@@ -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,13 +32,13 @@
|
|
|
31
32
|
<form-template
|
|
32
33
|
:formList="formList4"
|
|
33
34
|
@submitClick="submitClick"
|
|
34
|
-
></form-template>
|
|
35
|
-
|
|
35
|
+
></form-template> -->
|
|
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" :isHasChat="true" :msg="
|
|
41
|
+
<answer-docknowledge :isAskLightning="2" :isHasChat="true" :msg="answerDocknowledge" :isLiBang="false"></answer-docknowledge>
|
|
41
42
|
<welcomeSuggest :msg="welcomeSuggest"></welcomeSuggest>
|
|
42
43
|
<!-- <voice-component @closeVoice="closeVoice">
|
|
43
44
|
<div slot="voiceTip">
|
|
@@ -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">
|
|
@@ -237,95 +238,15 @@ export default {
|
|
|
237
238
|
}]
|
|
238
239
|
}
|
|
239
240
|
},
|
|
240
|
-
answerDocknowledge:
|
|
241
|
-
{
|
|
242
|
-
"content":
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"tagId": "658b9c5e7cf604285f7cba46",
|
|
250
|
-
"enterprise": null,
|
|
251
|
-
"tagIds": [
|
|
252
|
-
"658b9c5e7cf604285f7cba46"
|
|
253
|
-
],
|
|
254
|
-
"format": "pptx",
|
|
255
|
-
"srcContentId": "c3eb5cb9bc1f0ad84243d824932cc9f9",
|
|
256
|
-
"updateTime": "2023-12-27 11:39:10",
|
|
257
|
-
"source": "CORP_LOCAL_FILE",
|
|
258
|
-
"srcContent": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
259
|
-
"url": "https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/26/16/50/a25ee8f370fcefa639946805d6d3a7c3/ppt_preview.pptx",
|
|
260
|
-
"knowledgeId": "658a93de63d378228271913a",
|
|
261
|
-
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
262
|
-
"from": "ppt_preview",
|
|
263
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,。",
|
|
264
|
-
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"owner": null,
|
|
268
|
-
"tagId": "658b9c5e7cf604285f7cba46",
|
|
269
|
-
"enterprise": null,
|
|
270
|
-
"tagIds": [
|
|
271
|
-
"658b9c5e7cf604285f7cba46"
|
|
272
|
-
],
|
|
273
|
-
"format": "pptx",
|
|
274
|
-
"srcContentId": "c3eb5cb9bc1f0ad84243d824932cc9f9",
|
|
275
|
-
"updateTime": "2023-12-27 11:39:10",
|
|
276
|
-
"source": "CORP_LOCAL_FILE",
|
|
277
|
-
"srcContent": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
278
|
-
"url": "https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/26/16/50/a25ee8f370fcefa639946805d6d3a7c3/ppt_preview.pptx",
|
|
279
|
-
"knowledgeId": "658a93de63d378228271913a",
|
|
280
|
-
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
281
|
-
"from": "ppt_preview",
|
|
282
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
283
|
-
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"owner": null,
|
|
287
|
-
"tagId": "658b9c5e7cf604285f7cba46",
|
|
288
|
-
"enterprise": null,
|
|
289
|
-
"tagIds": [
|
|
290
|
-
"658b9c5e7cf604285f7cba46"
|
|
291
|
-
],
|
|
292
|
-
"format": "pptx",
|
|
293
|
-
"srcContentId": "c3eb5cb9bc1f0ad84243d824932cc9f9",
|
|
294
|
-
"updateTime": "2023-12-27 11:39:10",
|
|
295
|
-
"source": "CORP_LOCAL_FILE",
|
|
296
|
-
"srcContent": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
297
|
-
"url": "https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/26/16/50/a25ee8f370fcefa639946805d6d3a7c3/ppt_preview.pptx",
|
|
298
|
-
"knowledgeId": "658a93de63d378228271913a",
|
|
299
|
-
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
300
|
-
"from": "ppt_preview",
|
|
301
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
302
|
-
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"owner": null,
|
|
306
|
-
"tagId": "658b9c5e7cf604285f7cba46",
|
|
307
|
-
"enterprise": null,
|
|
308
|
-
"tagIds": [
|
|
309
|
-
"658b9c5e7cf604285f7cba46"
|
|
310
|
-
],
|
|
311
|
-
"format": "pptx",
|
|
312
|
-
"srcContentId": "c3eb5cb9bc1f0ad84243d824932cc9f9",
|
|
313
|
-
"updateTime": "2023-12-27 11:39:10",
|
|
314
|
-
"source": "CORP_LOCAL_FILE",
|
|
315
|
-
"srcContent": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
316
|
-
"url": "https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/26/16/50/a25ee8f370fcefa639946805d6d3a7c3/ppt_preview.pptx",
|
|
317
|
-
"knowledgeId": "658a93de63d378228271913a",
|
|
318
|
-
"knowledgePartId": "ypZaqYwBD3jzLtPbz5K8",
|
|
319
|
-
"from": "ppt_preview",
|
|
320
|
-
"introduction": "Spark是什么Spark 是一个开源的大数据处理引擎,它提供了一整套开发 API,包括流计算和机器学习。它支持批处理和流处理。Spark 的一个显著特点是它能够在内存中进行迭代计算,从而加快数据处理速度。尽管 Spark 是用 Scala 开发的,但它也为 Java、Scala、Python 和 R 等高级编程语言提供了开发接口。",
|
|
321
|
-
"previewImage": "https://askbot-pdf-all.oss-cn-zhangjiakou.aliyuncs.com/31623ccfe9dd4957bbd59c5823878bbe/2023/12/27/03/39/08/658b9c477cf604285f7cb81d/pdf-image-1913302477976388839.png"
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"renderType": 0,
|
|
325
|
-
"type": 1
|
|
326
|
-
},
|
|
327
|
-
"type": "answer_doc_knowledge"
|
|
328
|
-
},
|
|
241
|
+
answerDocknowledge: {"content":{"list":[{"owner":"财多多","tagId":"67e3bbe7b8d9470c7cbd8769","tagIds":["67e3bbe7b8d9470c7cbd8769"],"format":"pdf","updateTime":"2025-03-26 16:33:45","avatar":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2022/12/02/07/44/593e23bb-cca4-44af-89e9-2d7c2200209b/英招.jpg","source":"CORP_LOCAL_FILE","url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/46b76aebe572421fa10e51f8f2086056/2024/04/22/17/17/642231f8e3f06c813525d9159121bef3/尚硅谷_授课须知.pdf?uploadId=A47AB26C750245D986FBBB675582E8E2","knowledgeId":"66262b1b3bd41767fae3a42d","reRankShowScore":"70.72","from":"尚硅谷_授课须知","folderName":"0422gzy测试"}],"type":2,"whetherRequestStream":false,"actionType":"answer_doc_knowledge","async":false,"textNoThink":"尚硅谷的课程安排如下:\\n\\n- **每天课程安排**:\\n - 830 开始读单词(25 个-30 个,来回两遍)\\n - 8:40-9:00 每天一考\\n - 9:00-12:00 上午三节课\\n - 1:45-2:00 学生分享\\n - 2:00-5:00 下午三节课\\n - 6:00-9:30 晚自习\\n - 6:00-6:30:梳理白天的知识(课件、视频、eDiary 框架)\\n - 6:30-晚自习结束:敲代码(至少每天代码敲2-3)\\n\\n- **每周课程安排**:\\n - 周一、二、三:上课\\n - 周四:自习\\n - 周五、周六:上课\\n - 周日:休息\n","stream":true,"recommendItems":["尚硅谷的每天一考有哪些要求?","尚硅谷的课程安排中晚自习的内容是什么?","尚硅谷的课程安排中每周的休息日是哪一天?"],"text":"尚硅谷的课程安排如下:\\n\\n- **每天课程安排**:\\n - 830 开始读单词(25 个-30 个,来回两遍)\\n - 8:40-9:00 每天一考\\n - 9:00-12:00 上午三节课\\n - 1:45-2:00 学生分享\\n - 2:00-5:00 下午三节课\\n - 6:00-9:30 晚自习\\n - 6:00-6:30:梳理白天的知识(课件、视频、eDiary 框架)\\n - 6:30-晚自习结束:敲代码(至少每天代码敲2-3)\\n\\n- **每周课程安排**:\\n - 周一、二、三:上课\\n - 周四:自习\\n - 周五、周六:上课\\n - 周日:休息\n","streamRequestUrl":"https://app.test.askbot.cn/dialog-api/dialog/stream/direct/v1/67e3c0dbcb4e977bce010096"},"msgId":"67e3c0db54b1d43f0f1fce9c","recordId":31357,"type":"answer_doc_knowledge"},
|
|
242
|
+
answerDocknowledge4: {
|
|
243
|
+
"content":{"images":[
|
|
244
|
+
{"url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/ab0f90737c8b4f2d85ba2157e4473110/2024/12/25/12/38/58/676b8b26643e014bc160fb76/image1.jpeg"},
|
|
245
|
+
{"url":"https://itsm.mengniu.cn/o/bk_itsm/api/misc/download_rich_file/?file_path=/data/app/code/USERRES/richText/56389331cd62b3c1a47e22d499cd565e"},
|
|
246
|
+
{"url":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/front-oss/31623ccfe9dd4957bbd59c5823878bbe/2025/01/07/17/39/3fccf81e21cbcfaf7c0e1a69a848b5c0/1eeb31f8-1d9b-4d70-8cfd-4750f48c95ee.png"},
|
|
247
|
+
{"url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/ab0f90737c8b4f2d85ba2157e4473110/2024/12/25/12/38/58/676b8b26643e014bc160fb76/image1.jpeg"},
|
|
248
|
+
{"url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/ab0f90737c8b4f2d85ba2157e4473110/2024/12/25/12/38/58/676b8b26643e014bc160fb76/image1.jpeg"}],
|
|
249
|
+
"list":[{"owner":"吴明岩","tagId":"676b8c634bd318749f3383df","tagIds":["676b8c634bd318749f3383df"],"format":"docx","srcContentId":"4709b61b79242a90a2a5d5cb9b63f815","updateTime":"2024-12-31 14:56:16","avatar":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2022/06/09/07/14/2dbcf1fa-f461-47e8-8e5b-3875df9d7b36/dynamicImage.942908447673894217.cmp.png","source":"CORP_LOCAL_FILE","srcContent":"在人际交往中,我们都怀揣着真诚与善意,希望收获真挚的友情。然而,并非所有人都值得我们倾心相待、深交厚谊。 有些人在相处过程中,会不自觉地流露出轻视与不屑,他们的言行犹如一把把利刃,悄无声息地刺伤我们的心灵。 倘若你身边有人经常如此对待你,那你可要提高警惕,因为这样的人,恐怕并非真心挚友,不值得你深交。","url":"https://guoranwisdom.oss-cn-zhangjiakou.aliyuncs.com/ab0f90737c8b4f2d85ba2157e4473110/2024/12/25/12/33/38120169a2cea918ef08e35e9065c8fa/838120169a2cea91.docx","knowledgeId":"676b8b26643e014bc160fb76","reRankShowScore":"97.66","knowledgePartId":"lPWAG5QBvcIPGxbfPEOj","from":"经常这样对待你的人,其实就是在轻视你,看不起你,不值得深交","folderName":"1225测试(所有文件均重新学习)-勿删","introduction":"在人际交往中,我们都怀揣着真诚与善意,希望收获真挚的友情。然而,并非所有人都值得我们倾心相待、深交厚谊。 有些人在相处过程中,会不自觉地流露出轻视与不屑,他们的言行犹如一把把利刃,悄无声息地刺伤我们的心灵。 倘若你身边有人经常如此对待你,那你可要提高警惕,因为这样的人,恐怕并非真心挚友,不值得你深交。"}],"type":2,"whetherRequestStream":false,"actionType":"answer_doc_knowledge","stream":true,"text":"**在人际交往中,我们都怀揣着真诚与善意,希望收获真挚的友情。然而,并非所有人都值得我们倾心相待、深交厚谊。** 有些人在相处过程中,会不自觉地流露出轻视与不屑,他们的言行犹如一把把利刃,悄无声息地刺伤我们的心灵。倘若你身边有人经常如此对待你,那你可要提高警惕,因为这样的人,恐怕并非真心挚友,不值得你深交。","streamRequestUrl":"https://app.test.askbot.cn/dialog-api/dialog/stream/v2/678484ea6e6197579e9b861b"},"msgId":"678484e654b1d43f0f0ae87d","recordId":27079,"type":"answer_doc_knowledge"},
|
|
329
250
|
ActionAiGuideObj: {
|
|
330
251
|
// 智能引导
|
|
331
252
|
type: "answer_intellect_guide",
|
|
@@ -580,6 +501,202 @@ export default {
|
|
|
580
501
|
]
|
|
581
502
|
}
|
|
582
503
|
},
|
|
504
|
+
{
|
|
505
|
+
version: 1,
|
|
506
|
+
content: {
|
|
507
|
+
htmlList: [
|
|
508
|
+
{
|
|
509
|
+
"src": null,
|
|
510
|
+
"dynamic": null,
|
|
511
|
+
"style": [
|
|
512
|
+
{
|
|
513
|
+
"col": 1,
|
|
514
|
+
"colums": 3
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"col": 2,
|
|
518
|
+
"colums": 3
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
"markdownList": null,
|
|
522
|
+
"list": [
|
|
523
|
+
"<p>1</p>",
|
|
524
|
+
"<p>2</p>"
|
|
525
|
+
],
|
|
526
|
+
"type": "DOUBLE"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"src": null,
|
|
530
|
+
"dynamic": null,
|
|
531
|
+
"style": [
|
|
532
|
+
{
|
|
533
|
+
"col": 1,
|
|
534
|
+
"colums": 4
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"col": 1,
|
|
538
|
+
"colums": 4
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"col": 1,
|
|
542
|
+
"colums": 4
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"col": 1,
|
|
546
|
+
"colums": 4
|
|
547
|
+
}
|
|
548
|
+
],
|
|
549
|
+
"markdownList": null,
|
|
550
|
+
"list": [
|
|
551
|
+
"<p>1</p>",
|
|
552
|
+
"<p>2</p>",
|
|
553
|
+
"<p>3</p>",
|
|
554
|
+
"<p>4</p>"
|
|
555
|
+
],
|
|
556
|
+
"type": "QUADRUPLE"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"src": null,
|
|
560
|
+
"dynamic": null,
|
|
561
|
+
"style": [
|
|
562
|
+
{
|
|
563
|
+
"col": 1,
|
|
564
|
+
"colums": 4
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"col": 3,
|
|
568
|
+
"colums": 4
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"markdownList": null,
|
|
572
|
+
"list": [
|
|
573
|
+
"<p>1</p>",
|
|
574
|
+
"<p>3</p>"
|
|
575
|
+
],
|
|
576
|
+
"type": "DOUBLE"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"src": null,
|
|
580
|
+
"dynamic": null,
|
|
581
|
+
"style": [
|
|
582
|
+
{
|
|
583
|
+
"col": 2,
|
|
584
|
+
"colums": 3
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"col": 1,
|
|
588
|
+
"colums": 3
|
|
589
|
+
}
|
|
590
|
+
],
|
|
591
|
+
"markdownList": null,
|
|
592
|
+
"list": [
|
|
593
|
+
"<p>2</p>",
|
|
594
|
+
"<p>1</p>"
|
|
595
|
+
],
|
|
596
|
+
"type": "DOUBLE"
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
buttonList: [{ name: '我是标签1', scope: '', test: '' }]
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
version: 1,
|
|
604
|
+
content: {
|
|
605
|
+
htmlList: [
|
|
606
|
+
{
|
|
607
|
+
"src": null,
|
|
608
|
+
"dynamic": null,
|
|
609
|
+
"style": [
|
|
610
|
+
{
|
|
611
|
+
"col": 1,
|
|
612
|
+
"colums": 3
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"col": 2,
|
|
616
|
+
"colums": 3
|
|
617
|
+
}
|
|
618
|
+
],
|
|
619
|
+
"markdownList": null,
|
|
620
|
+
"list": [
|
|
621
|
+
"<p>1</p>",
|
|
622
|
+
"<p>2</p>"
|
|
623
|
+
],
|
|
624
|
+
"type": "DOUBLE"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"src": null,
|
|
628
|
+
"dynamic": null,
|
|
629
|
+
"style": [
|
|
630
|
+
{
|
|
631
|
+
"col": 1,
|
|
632
|
+
"colums": 4
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"col": 1,
|
|
636
|
+
"colums": 4
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"col": 1,
|
|
640
|
+
"colums": 4
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"col": 1,
|
|
644
|
+
"colums": 4
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"markdownList": null,
|
|
648
|
+
"list": [
|
|
649
|
+
"<p>1</p>",
|
|
650
|
+
"<p>2</p>",
|
|
651
|
+
"<p>3</p>",
|
|
652
|
+
"<p>4</p>"
|
|
653
|
+
],
|
|
654
|
+
"type": "QUADRUPLE"
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"src": null,
|
|
658
|
+
"dynamic": null,
|
|
659
|
+
"style": [
|
|
660
|
+
{
|
|
661
|
+
"col": 1,
|
|
662
|
+
"colums": 4
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"col": 3,
|
|
666
|
+
"colums": 4
|
|
667
|
+
}
|
|
668
|
+
],
|
|
669
|
+
"markdownList": null,
|
|
670
|
+
"list": [
|
|
671
|
+
"<p>1</p>",
|
|
672
|
+
"<p>3</p>"
|
|
673
|
+
],
|
|
674
|
+
"type": "DOUBLE"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"src": null,
|
|
678
|
+
"dynamic": null,
|
|
679
|
+
"style": [
|
|
680
|
+
{
|
|
681
|
+
"col": 2,
|
|
682
|
+
"colums": 3
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"col": 1,
|
|
686
|
+
"colums": 3
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"markdownList": null,
|
|
690
|
+
"list": [
|
|
691
|
+
"<p>2</p>",
|
|
692
|
+
"<p>1</p>"
|
|
693
|
+
],
|
|
694
|
+
"type": "DOUBLE"
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
buttonList: [{ name: '我是标签1' }]
|
|
698
|
+
}
|
|
699
|
+
}
|
|
583
700
|
],
|
|
584
701
|
apiKey: '123456789'
|
|
585
702
|
},
|
|
@@ -10372,7 +10489,6 @@ export default {
|
|
|
10372
10489
|
url:
|
|
10373
10490
|
'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
|
|
10374
10491
|
videoFlag: false,
|
|
10375
|
-
nodownload: false,
|
|
10376
10492
|
videoUploadPercent: 0,
|
|
10377
10493
|
isShowUploadVideo: true,
|
|
10378
10494
|
recommend: {
|
|
@@ -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"],
|
|
@@ -72,7 +72,6 @@ export default {
|
|
|
72
72
|
inputObj.setAttribute('id', '_ef');
|
|
73
73
|
inputObj.setAttribute('type', 'file');
|
|
74
74
|
inputObj.setAttribute('accept', '*')
|
|
75
|
-
inputObj.setAttribute('capture', 'camcorder')
|
|
76
75
|
inputObj.setAttribute('multiple', true)
|
|
77
76
|
inputObj.setAttribute("style", 'visibility:hidden');
|
|
78
77
|
document.body.appendChild(inputObj);
|
|
@@ -38,7 +38,7 @@ export default {
|
|
|
38
38
|
showOptions: [],
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
-
props: ['msg'
|
|
41
|
+
props: ['msg'],
|
|
42
42
|
mounted() {
|
|
43
43
|
console.log("askbot-dragon: systemLanguage", sessionStorage.getItem("systemLanguage"));
|
|
44
44
|
this.$i18n.locale = sessionStorage.getItem("systemLanguage") || 'cn';
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
:id="msg.id+'key'">
|
|
23
23
|
<source :src="videoSrc"/>
|
|
24
24
|
</video>
|
|
25
|
-
<div v-show="!nodownload" class="dragon-video-download">
|
|
26
|
-
<a :href="msg.content.url" download><span class="el-icon-download"></span></a>
|
|
27
|
-
</div>
|
|
28
25
|
<div id="output"></div>
|
|
29
26
|
</div>
|
|
30
27
|
</template>
|
|
@@ -126,8 +123,6 @@
|
|
|
126
123
|
video::-webkit-media-controls-mute-button { display: none !important;}
|
|
127
124
|
#dragon-video{
|
|
128
125
|
position: relative;
|
|
129
|
-
width: calc(100vw - 109px);
|
|
130
|
-
max-width: 260px;
|
|
131
126
|
#outputVideo{
|
|
132
127
|
position: absolute;
|
|
133
128
|
top: 0px;
|
|
@@ -139,24 +134,6 @@ video::-webkit-media-controls-mute-button { display: none !important;}
|
|
|
139
134
|
}
|
|
140
135
|
|
|
141
136
|
}
|
|
142
|
-
.dragon-video-download{
|
|
143
|
-
position: absolute;
|
|
144
|
-
width: 40px;
|
|
145
|
-
height: 26px;
|
|
146
|
-
background-color: rgba(54, 106, 255, 0.5);
|
|
147
|
-
border-radius: 13px;
|
|
148
|
-
text-align: center;
|
|
149
|
-
bottom: 2px;
|
|
150
|
-
right: 6px;
|
|
151
|
-
a {
|
|
152
|
-
span {
|
|
153
|
-
height: 26px;
|
|
154
|
-
line-height: 26px;
|
|
155
|
-
display: block;
|
|
156
|
-
color: white;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
137
|
}
|
|
161
138
|
|
|
162
139
|
</style>
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
<span class="model-switch-handle-name">{{msg.footerStyleValue}}</span>
|
|
69
69
|
</div>
|
|
70
70
|
<van-popup v-model="previewShowPopup" position="bottom" v-if="previewShowPopup" :style="{ height: '90%', background:'#FFFFFF'}">
|
|
71
|
-
<previewDoc ref="previewDoc" :url="previewHref"
|
|
71
|
+
<previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="previewShowPopup"></previewDoc>
|
|
72
72
|
</van-popup>
|
|
73
73
|
<el-drawer
|
|
74
|
-
|
|
74
|
+
title="我是标题"
|
|
75
75
|
:append-to-body="true"
|
|
76
76
|
:model="false"
|
|
77
77
|
:visible.sync="drawer"
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
size="65%"
|
|
80
80
|
v-if="drawer"
|
|
81
81
|
>
|
|
82
|
-
<previewDoc ref="previewDoc" :url="previewHref"
|
|
82
|
+
<previewDoc ref="previewDoc" :url="previewHref" @close="close" v-if="drawer"></previewDoc>
|
|
83
83
|
</el-drawer>
|
|
84
84
|
</div>
|
|
85
85
|
</template>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
export default {
|
|
93
93
|
name: "associationIntention",
|
|
94
94
|
components: {Recommend, askVideo, previewDoc},
|
|
95
|
-
props: ["msg",'msgType','isOpen','sourceOhm','isOhmPc', 'nodownload', 'hiddenHeaderFooter'
|
|
95
|
+
props: ["msg",'msgType','isOpen','sourceOhm','isOhmPc', 'nodownload', 'hiddenHeaderFooter'],
|
|
96
96
|
filters: {
|
|
97
97
|
imageStyle: function (html) {
|
|
98
98
|
//富文本内图片自适应高度宽度
|
|
@@ -115,6 +115,8 @@
|
|
|
115
115
|
drawer:false
|
|
116
116
|
}
|
|
117
117
|
},
|
|
118
|
+
mounted() {
|
|
119
|
+
},
|
|
118
120
|
methods:{
|
|
119
121
|
// 将匹配结果替换表情图片
|
|
120
122
|
emotion(res) {
|
|
@@ -235,7 +237,7 @@
|
|
|
235
237
|
this.$emit("onRadioClick", id, name, apikey,optionApiKey);
|
|
236
238
|
},
|
|
237
239
|
onImageClick(url){
|
|
238
|
-
this.$emit('onImageClick',
|
|
240
|
+
this.$emit('onImageClick',url)
|
|
239
241
|
},
|
|
240
242
|
msgContent(content){
|
|
241
243
|
console.debug('215',content)
|
|
@@ -366,12 +368,6 @@
|
|
|
366
368
|
display: block;
|
|
367
369
|
}
|
|
368
370
|
}
|
|
369
|
-
/deep/ img {
|
|
370
|
-
height: auto;
|
|
371
|
-
width: calc(100vw - 137px);
|
|
372
|
-
border-radius: 25px;
|
|
373
|
-
max-width: 230px;
|
|
374
|
-
}
|
|
375
371
|
}
|
|
376
372
|
/deep/.el-drawer__body{
|
|
377
373
|
height: 100%;
|