askbot-dragon 1.6.78-beta → 1.6.78
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 +9 -6
- package/public/index.html +8 -5
- package/public/pdfjs/cmaps/78-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78-V.bcmap +0 -0
- package/public/pdfjs/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Add-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/public/pdfjs/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/public/pdfjs/cmaps/B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/B5pc-H.bcmap +0 -0
- package/public/pdfjs/cmaps/B5pc-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS1-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS1-V.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/CNS2-V.bcmap +3 -0
- package/public/pdfjs/cmaps/ETHK-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/ETHK-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/ETen-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/ETen-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/ETenms-B5-H.bcmap +3 -0
- package/public/pdfjs/cmaps/ETenms-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Ext-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GB-H.bcmap +4 -0
- package/public/pdfjs/cmaps/GB-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK2K-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBK2K-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBT-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdla-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdla-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm314-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm314-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm471-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKm471-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/HKscs-B5-H.bcmap +0 -0
- package/public/pdfjs/cmaps/HKscs-B5-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Hankaku.bcmap +0 -0
- package/public/pdfjs/cmaps/Hiragana.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-Johab-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-Johab-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/public/pdfjs/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Katakana.bcmap +0 -0
- package/public/pdfjs/cmaps/LICENSE +36 -0
- package/public/pdfjs/cmaps/NWP-H.bcmap +0 -0
- package/public/pdfjs/cmaps/NWP-V.bcmap +0 -0
- package/public/pdfjs/cmaps/RKSJ-H.bcmap +0 -0
- package/public/pdfjs/cmaps/RKSJ-V.bcmap +0 -0
- package/public/pdfjs/cmaps/Roman.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/public/pdfjs/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/public/pdfjs/cmaps/V.bcmap +0 -0
- package/public/pdfjs/cmaps/WP-Symbol.bcmap +0 -0
- package/public/pdfjs/standard_fonts/FoxitDingbats.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixed.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitFixedItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSans.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSansItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerif.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifBold.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifBoldItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSerifItalic.pfb +0 -0
- package/public/pdfjs/standard_fonts/FoxitSymbol.pfb +0 -0
- package/public/pdfjs/standard_fonts/LICENSE_FOXIT +27 -0
- package/public/pdfjs/standard_fonts/LICENSE_LIBERATION +102 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Bold.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-BoldItalic.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Italic.ttf +0 -0
- package/public/pdfjs/standard_fonts/LiberationSans-Regular.ttf +0 -0
- package/src/assets/image/default_avt_ui.png +0 -0
- package/src/assets/image/filtType/audio.png +0 -0
- package/src/assets/image/filtType/excel1.png +0 -0
- package/src/assets/image/filtType/general.png +0 -0
- package/src/assets/image/filtType/html.png +0 -0
- package/src/assets/image/filtType/image1.png +0 -0
- package/src/assets/image/filtType/link.png +0 -0
- package/src/assets/image/filtType/md2.png +0 -0
- package/src/assets/image/filtType/mode.png +0 -0
- package/src/assets/image/filtType/news.png +0 -0
- package/src/assets/image/filtType/pdf1.png +0 -0
- package/src/assets/image/filtType/ppt1.png +0 -0
- package/src/assets/image/filtType/selfadd1.png +0 -0
- package/src/assets/image/filtType/txt1.png +0 -0
- package/src/assets/image/filtType/video.png +0 -0
- package/src/assets/image/filtType/wechat.png +0 -0
- package/src/assets/image/filtType/word1.png +0 -0
- package/src/assets/image/loading.gif +0 -0
- package/src/assets/js/AliyunlssUtil.js +35 -10
- package/src/assets/js/common.js +44 -9
- package/src/assets/js/hammer.js +2 -13
- package/src/assets/less/converSationContainer/common.less +0 -7
- package/src/assets/less/converSationContainer/converSatonContainer.less +44 -51
- package/src/assets/less/variables.less +122 -0
- package/src/components/ActionAlertIframe.vue +5 -27
- package/src/components/AiGuide.vue +33 -26
- package/src/components/AnswerDocknowledge.vue +331 -183
- package/src/components/AnswerVoice.vue +8 -7
- package/src/components/ConversationContainer.vue +7046 -1100
- package/src/components/MyEditor.vue +17 -25
- package/src/components/QwFeedback.vue +304 -0
- package/src/components/actionSatisfaction.vue +9 -7
- package/src/components/actionSendToBot.vue +6 -4
- package/src/components/answerDissatisfaction.vue +5 -3
- package/src/components/answerRadio.vue +96 -21
- package/src/components/ask-components/DissatisfactionOptions.vue +4 -3
- package/src/components/ask-components/Msgloading.vue +3 -2
- package/src/components/askVideo.vue +78 -26
- package/src/components/assetDetails.vue +18 -17
- package/src/components/assetMessage.vue +29 -26
- package/src/components/associationIntention.vue +85 -26
- package/src/components/attachmentPreview.vue +7 -5
- package/src/components/botActionSatisfactor.vue +5 -3
- package/src/components/chatContent.vue +21 -20
- package/src/components/feedBack.vue +6 -4
- package/src/components/fielListView.vue +8 -7
- package/src/components/file/AliyunOssComponents.vue +1 -1
- package/src/components/formTemplate.vue +1593 -1648
- package/src/components/imgView.vue +32 -0
- package/src/components/intelligentSummary.vue +24 -19
- package/src/components/interruptComponents/imageSelectionAnswer.vue +203 -0
- package/src/components/interruptComponents/multipleChoiceAnswer.vue +134 -0
- package/src/components/interruptComponents/singleChoiceAnswer.vue +82 -0
- package/src/components/kkview.vue +20 -28
- package/src/components/markDownText.vue +961 -0
- package/src/components/message/TextMessage.vue +8 -6
- package/src/components/message/swiper/ticketSwiper.vue +1 -1
- package/src/components/myPopup.vue +18 -13
- package/src/components/outputComponents/outputCom.vue +149 -0
- package/src/components/pagination.vue +130 -0
- package/src/components/pdfPosition.vue +96 -267
- package/src/components/popup.vue +15 -12
- package/src/components/preview/docView.vue +263 -0
- package/src/components/preview/excelView.vue +260 -0
- package/src/components/preview/markDownView.vue +70 -0
- package/src/components/preview/newPositionPreview.vue +601 -0
- package/src/components/preview/pdfView.vue +976 -0
- package/src/components/previewDoc.vue +12 -3
- package/src/components/previewPdf.vue +521 -203
- package/src/components/previewWisdom.vue +255 -0
- package/src/components/receiverMessagePlatform.vue +28 -22
- package/src/components/recommend.vue +9 -7
- package/src/components/senderMessagePlatform.vue +24 -14
- package/src/components/tree.vue +120 -105
- package/src/components/utils/AliyunIssUtil.js +35 -13
- package/src/components/utils/ckeditor.js +59 -48
- package/src/components/voiceComponent.vue +9 -6
- package/src/components/welcomeKnowledgeFile.vue +19 -13
- package/src/components/welcomeLlmCard.vue +11 -9
- package/src/components/welcomeSuggest.vue +6 -4
- package/src/locales/cn.json +100 -0
- package/src/locales/en.json +99 -0
- package/src/main.js +19 -0
- package/src/components/newPdfPosition.vue +0 -878
|
@@ -1,16 +1,28 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import {multipartUpload, ossFileUrl} from "./AliyunIssUtil";
|
|
2
|
+
import { multipartUpload, ossFileUrl } from "./AliyunIssUtil";
|
|
3
3
|
import { v4 as uuidv4 } from "uuid";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
|
|
5
|
+
const getPrivateOssConfig = () => {
|
|
6
|
+
let mainSource = sessionStorage.getItem('_mainSource') ? sessionStorage.getItem('_mainSource') : "askbot";
|
|
7
|
+
switch (mainSource) {
|
|
8
|
+
case "askbot":
|
|
9
|
+
return {
|
|
10
|
+
region: "oss-cn-zhangjiakou",
|
|
11
|
+
accessKeyId: "LTAI4G3QtdEdwkEbihBngAsK",
|
|
12
|
+
accessKeySecret: "OwgdVfc5PeCkIgqIdug660xmiSPchn",
|
|
13
|
+
bucket: "guoranopen-zjk",
|
|
14
|
+
}
|
|
15
|
+
case "lishi":
|
|
16
|
+
return {
|
|
17
|
+
region: "oss-ap-southeast-1",
|
|
18
|
+
accessKeyId: "LTAI5tAusPLDNJJwkvUbqi2T",
|
|
19
|
+
accessKeySecret: "xqPVaunOIbvTe3g9qsXal2IZO6RftK",
|
|
20
|
+
bucket: "askbotopen-ls",
|
|
21
|
+
};
|
|
11
22
|
}
|
|
23
|
+
}
|
|
12
24
|
class MyUploadAdapter {
|
|
13
|
-
constructor(
|
|
25
|
+
constructor(loader, editor) {
|
|
14
26
|
// 要在上载期间使用的文件加载器实例
|
|
15
27
|
this.loader = loader;
|
|
16
28
|
this.editor = editor
|
|
@@ -19,7 +31,7 @@ class MyUploadAdapter {
|
|
|
19
31
|
// 启动上载过程
|
|
20
32
|
upload() {
|
|
21
33
|
return this.loader.file
|
|
22
|
-
.then(
|
|
34
|
+
.then(file => new Promise(() => {
|
|
23
35
|
/* this._initRequest();
|
|
24
36
|
this._initListeners( resolve, reject, file );
|
|
25
37
|
this._sendRequest( file );*/
|
|
@@ -37,8 +49,8 @@ class MyUploadAdapter {
|
|
|
37
49
|
options: {
|
|
38
50
|
name: file.name + '正在上传...',
|
|
39
51
|
data: uid,
|
|
40
|
-
editable:false,
|
|
41
|
-
type:'upload'
|
|
52
|
+
editable: false,
|
|
53
|
+
type: 'upload'
|
|
42
54
|
}
|
|
43
55
|
})
|
|
44
56
|
this.uploadFile(file)
|
|
@@ -47,33 +59,32 @@ class MyUploadAdapter {
|
|
|
47
59
|
|
|
48
60
|
// 中止上载过程
|
|
49
61
|
abort() {
|
|
50
|
-
if (
|
|
62
|
+
if (this.xhr) {
|
|
51
63
|
this.xhr.abort();
|
|
52
64
|
}
|
|
53
65
|
}
|
|
54
|
-
uploadFile(file){
|
|
66
|
+
uploadFile(file) {
|
|
55
67
|
let imgInfo = {
|
|
56
|
-
url:'',
|
|
68
|
+
url: '',
|
|
57
69
|
}
|
|
58
70
|
let res = multipartUpload(
|
|
59
|
-
ossConfig,
|
|
60
71
|
file,
|
|
61
72
|
null,
|
|
62
73
|
imgInfo
|
|
63
74
|
);
|
|
64
|
-
res.then(resp=>{
|
|
65
|
-
imgInfo.url = ossFileUrl(
|
|
66
|
-
let root =
|
|
75
|
+
res.then(resp => {
|
|
76
|
+
imgInfo.url = ossFileUrl(resp.name)
|
|
77
|
+
let root = this.editor.model.document.getRoot()
|
|
67
78
|
let children = root.getChildren()
|
|
68
|
-
for(let child of children){
|
|
79
|
+
for (let child of children) {
|
|
69
80
|
for (let index = 0; index < child._children._nodes.length; index++) {
|
|
70
|
-
if(child._children._nodes[index].name == 'askComponentPlaceholderContainer'){
|
|
71
|
-
if(child._children._nodes[index]._children._nodes[0]) {
|
|
81
|
+
if (child._children._nodes[index].name == 'askComponentPlaceholderContainer') {
|
|
82
|
+
if (child._children._nodes[index]._children._nodes[0]) {
|
|
72
83
|
let attrs = child._children._nodes[index]._children._nodes[0]._attrs
|
|
73
|
-
if(attrs) {
|
|
84
|
+
if (attrs) {
|
|
74
85
|
let attrsList = [...attrs.keys()]
|
|
75
86
|
for (let j = 0; j < attrsList.length; j++) {
|
|
76
|
-
if(attrsList[j] == 'data') {
|
|
87
|
+
if (attrsList[j] == 'data') {
|
|
77
88
|
// this.editor.uploadImg = this.editor.uploadImg.filter(id =>{return id != attrs.get(attrsList[j])})
|
|
78
89
|
this.editor.model.change(writer => {
|
|
79
90
|
writer.remove(child._children._nodes[index]);
|
|
@@ -89,7 +100,7 @@ class MyUploadAdapter {
|
|
|
89
100
|
command.execute({
|
|
90
101
|
tag: "img",
|
|
91
102
|
options: {
|
|
92
|
-
width:'100%',
|
|
103
|
+
width: '100%',
|
|
93
104
|
alt: resp.name + 0,
|
|
94
105
|
src: imgInfo.url
|
|
95
106
|
},
|
|
@@ -103,68 +114,68 @@ class MyUploadAdapter {
|
|
|
103
114
|
_initRequest() {
|
|
104
115
|
const xhr = this.xhr = new XMLHttpRequest();
|
|
105
116
|
console.log(xhr)
|
|
106
|
-
xhr.open(
|
|
117
|
+
xhr.open('POST', '/open-api/oss/public?token=8c98087dfd2d48f856d8c95c09115def', true);
|
|
107
118
|
xhr.responseType = '';
|
|
108
119
|
}
|
|
109
120
|
|
|
110
121
|
// 初始化 XMLHttpRequest 监听.
|
|
111
|
-
_initListeners(
|
|
122
|
+
_initListeners(resolve, reject, file) {
|
|
112
123
|
const xhr = this.xhr;
|
|
113
124
|
const loader = this.loader;
|
|
114
125
|
console.log(this.loader)
|
|
115
|
-
const genericErrorText = `无法上传文件: ${
|
|
126
|
+
const genericErrorText = `无法上传文件: ${file.name}.`;
|
|
116
127
|
|
|
117
|
-
xhr.addEventListener(
|
|
118
|
-
xhr.addEventListener(
|
|
119
|
-
xhr.addEventListener(
|
|
128
|
+
xhr.addEventListener('error', () => reject(genericErrorText));
|
|
129
|
+
xhr.addEventListener('abort', () => reject());
|
|
130
|
+
xhr.addEventListener('load', () => {
|
|
120
131
|
const response = xhr.response;
|
|
121
132
|
// 当code==200说明上传成功,可以增加弹框提示;
|
|
122
133
|
// 当上传失败时,必须调用reject()函数。
|
|
123
134
|
|
|
124
135
|
console.log('response', xhr)
|
|
125
136
|
|
|
126
|
-
if (
|
|
127
|
-
return reject(
|
|
137
|
+
if (!response || response.error) {
|
|
138
|
+
return reject(response && response.error ? response.error.message : genericErrorText);
|
|
128
139
|
}
|
|
129
140
|
//上传成功,从后台获取图片的url地址
|
|
130
|
-
resolve(
|
|
141
|
+
resolve({
|
|
131
142
|
default: response
|
|
132
|
-
}
|
|
133
|
-
}
|
|
143
|
+
});
|
|
144
|
+
});
|
|
134
145
|
|
|
135
146
|
// 支持时上传进度。文件加载器有#uploadTotal和#upload属性,用于在编辑器用户界面中显示上载进度栏。
|
|
136
|
-
if (
|
|
137
|
-
xhr.upload.addEventListener(
|
|
138
|
-
if (
|
|
147
|
+
if (xhr.upload) {
|
|
148
|
+
xhr.upload.addEventListener('progress', evt => {
|
|
149
|
+
if (evt.lengthComputable) {
|
|
139
150
|
loader.uploadTotal = evt.total;
|
|
140
151
|
loader.uploaded = evt.loaded;
|
|
141
152
|
}
|
|
142
|
-
}
|
|
153
|
+
});
|
|
143
154
|
}
|
|
144
155
|
}
|
|
145
156
|
|
|
146
157
|
// 准备数据并发送请求
|
|
147
|
-
_sendRequest(
|
|
158
|
+
_sendRequest(file) {
|
|
148
159
|
//通过FormData构造函数创建一个空对象
|
|
149
160
|
const data = new FormData();
|
|
150
161
|
//通过append()方法在末尾追加key为files值为file的数据
|
|
151
162
|
|
|
152
|
-
console.log('file',file)
|
|
153
|
-
data.append(
|
|
163
|
+
console.log('file', file)
|
|
164
|
+
data.append('file', file);//上传的参数data
|
|
154
165
|
// data.append( 'memberId', "666" );
|
|
155
166
|
/**
|
|
156
167
|
* 重要提示:这是实现诸如身份验证和CSRF保护等安全机制的正确位置。
|
|
157
168
|
* 例如,可以使用XMLHttpRequest.setRequestHeader()设置包含应用程序先前生成的CSRF令牌的请求头。
|
|
158
169
|
*/
|
|
159
|
-
this.xhr.send(
|
|
170
|
+
this.xhr.send(data);
|
|
160
171
|
}
|
|
161
172
|
}
|
|
162
173
|
|
|
163
|
-
function MyCustomUploadAdapterPlugin(
|
|
164
|
-
editor.plugins.get(
|
|
174
|
+
function MyCustomUploadAdapterPlugin(editor) {
|
|
175
|
+
editor.plugins.get('FileRepository').createUploadAdapter = (loader) => {
|
|
165
176
|
// 在这里将URL配置为后端上载脚本
|
|
166
|
-
console.log(loader,'loader');
|
|
167
|
-
return new MyUploadAdapter(
|
|
177
|
+
console.log(loader, 'loader');
|
|
178
|
+
return new MyUploadAdapter(loader, editor);
|
|
168
179
|
}
|
|
169
180
|
}
|
|
170
181
|
|
|
@@ -36,6 +36,9 @@ export default {
|
|
|
36
36
|
</script>
|
|
37
37
|
|
|
38
38
|
<style scoped lang="less">
|
|
39
|
+
@import "../assets/less/variables.less";
|
|
40
|
+
|
|
41
|
+
|
|
39
42
|
#voice-component{
|
|
40
43
|
position: fixed;
|
|
41
44
|
bottom: 0;
|
|
@@ -62,8 +65,8 @@ export default {
|
|
|
62
65
|
position: relative;
|
|
63
66
|
left: -15%;
|
|
64
67
|
bottom: -80px;
|
|
65
|
-
background: linear-gradient(180deg,
|
|
66
|
-
border: 2px solid
|
|
68
|
+
background: linear-gradient(180deg, @background-color-voice, @background-color-light);
|
|
69
|
+
border: 2px solid @border-color-r1;
|
|
67
70
|
border-radius: 100% 100% 0 0;
|
|
68
71
|
border-bottom: none;
|
|
69
72
|
display: flex;
|
|
@@ -76,7 +79,7 @@ export default {
|
|
|
76
79
|
position: absolute;
|
|
77
80
|
top: 50px;
|
|
78
81
|
i{
|
|
79
|
-
color:
|
|
82
|
+
color: @font-primary-accent-color;
|
|
80
83
|
font-size: 30px;
|
|
81
84
|
}
|
|
82
85
|
}
|
|
@@ -88,7 +91,7 @@ export default {
|
|
|
88
91
|
display: flex;
|
|
89
92
|
align-items: center;
|
|
90
93
|
justify-content: center;
|
|
91
|
-
color:
|
|
94
|
+
color: @font-primary-light-color;
|
|
92
95
|
font-size: 13px;
|
|
93
96
|
}
|
|
94
97
|
.close-voice{
|
|
@@ -101,7 +104,7 @@ export default {
|
|
|
101
104
|
.voice-style{
|
|
102
105
|
width: 60px;
|
|
103
106
|
height: 60px;
|
|
104
|
-
background:
|
|
107
|
+
background: @background-color-voice;
|
|
105
108
|
border-radius: 50%;
|
|
106
109
|
display: flex;
|
|
107
110
|
align-items: center;
|
|
@@ -109,7 +112,7 @@ export default {
|
|
|
109
112
|
transition: all 0.3s;
|
|
110
113
|
i{
|
|
111
114
|
font-size: 24px;
|
|
112
|
-
color:
|
|
115
|
+
color: @font-primary-color-r1;
|
|
113
116
|
transition: all 0.3s;
|
|
114
117
|
}
|
|
115
118
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<span class="mmt-cell-des-detail">
|
|
20
20
|
<div class="mmt-cell-avatar">
|
|
21
21
|
<img v-if="item.creatorAvatar" :src="item.creatorAvatar" alt srcset />
|
|
22
|
-
<img v-else src="
|
|
22
|
+
<img v-else src="../assets/image/default_avt_ui.png" alt srcset />
|
|
23
23
|
</div>
|
|
24
24
|
<div class="mmt-creator-name">{{ item.creatorName }}</div>
|
|
25
25
|
<div class="mmt-border"></div>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<!-- v-if="msgContent.totalCount > msgContent.knowledgeFileInfos.length" -->
|
|
32
32
|
|
|
33
33
|
<div class="load_moreKnowledge" v-if="page < msgContent.totalPages" @click="loadMore">
|
|
34
|
-
<span
|
|
34
|
+
<span>{{$t('dragonCommon.viewMore')}}</span>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
<previewPdf ref="previewPdf"
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
},
|
|
110
110
|
methods: {
|
|
111
111
|
fileIcon (type) {
|
|
112
|
-
return '
|
|
112
|
+
return require('../assets/image/filtType/' + imageTypeObj[type] + '.png')
|
|
113
113
|
},
|
|
114
114
|
clickFun (item) {
|
|
115
115
|
if(this.externalPreview) {
|
|
@@ -220,19 +220,25 @@ export default {
|
|
|
220
220
|
close() {
|
|
221
221
|
this.$emit('closePreviewDialog')
|
|
222
222
|
},
|
|
223
|
-
}
|
|
223
|
+
},
|
|
224
|
+
mounted() {
|
|
225
|
+
this.$i18n.locale = sessionStorage.getItem("systemLanguage") || 'cn';
|
|
226
|
+
},
|
|
224
227
|
};
|
|
225
228
|
</script>
|
|
226
229
|
|
|
227
230
|
<style scoped lang="less">
|
|
231
|
+
@import "../assets/less/variables.less";
|
|
232
|
+
|
|
233
|
+
|
|
228
234
|
.message_list_welcome_knowledge_file {
|
|
229
235
|
.mlwm-title {
|
|
230
236
|
font-size: 18px;
|
|
231
237
|
font-weight: 600;
|
|
232
|
-
color:
|
|
238
|
+
color: @font-primary-color;
|
|
233
239
|
}
|
|
234
240
|
.mlwm-des {
|
|
235
|
-
color:
|
|
241
|
+
color: @font-secondary-color;
|
|
236
242
|
margin-top: 9px;
|
|
237
243
|
font-size: 14px;
|
|
238
244
|
font-weight: 500;
|
|
@@ -245,7 +251,7 @@ export default {
|
|
|
245
251
|
flex: none;
|
|
246
252
|
width: 6px;
|
|
247
253
|
height: 6px;
|
|
248
|
-
background:
|
|
254
|
+
background: @primary-color;
|
|
249
255
|
border-radius: 50%;
|
|
250
256
|
margin-right: 6px;
|
|
251
257
|
}
|
|
@@ -257,7 +263,7 @@ export default {
|
|
|
257
263
|
.mmt-cell {
|
|
258
264
|
flex: 1;
|
|
259
265
|
padding: 10px;
|
|
260
|
-
background:
|
|
266
|
+
background: @background-content-color;
|
|
261
267
|
border-radius: 8px;
|
|
262
268
|
margin: 8px 0;
|
|
263
269
|
display: flex;
|
|
@@ -281,7 +287,7 @@ export default {
|
|
|
281
287
|
padding-right: 12px;
|
|
282
288
|
.mmt-cell-des-title {
|
|
283
289
|
font-size: 14px;
|
|
284
|
-
color:
|
|
290
|
+
color: @font-primary-color;
|
|
285
291
|
font-weight: 600;
|
|
286
292
|
margin-bottom: 6px;
|
|
287
293
|
}
|
|
@@ -303,10 +309,10 @@ export default {
|
|
|
303
309
|
}
|
|
304
310
|
.mmt-creator-name {
|
|
305
311
|
padding-right: 6px;
|
|
306
|
-
color:
|
|
312
|
+
color: @font-secondary-color;
|
|
307
313
|
}
|
|
308
314
|
.mmt-update-time {
|
|
309
|
-
color:
|
|
315
|
+
color: @font-secondary-color;
|
|
310
316
|
padding-left: 6px;
|
|
311
317
|
}
|
|
312
318
|
.mmt-border {
|
|
@@ -321,7 +327,7 @@ export default {
|
|
|
321
327
|
padding: 0 10px;
|
|
322
328
|
margin-top: 0px;
|
|
323
329
|
margin-bottom: 0px;
|
|
324
|
-
background:
|
|
330
|
+
background: @background-color-light;
|
|
325
331
|
cursor: default !important;
|
|
326
332
|
}
|
|
327
333
|
.load_moreKnowledge {
|
|
@@ -331,7 +337,7 @@ export default {
|
|
|
331
337
|
align-items: center;
|
|
332
338
|
justify-content: center;
|
|
333
339
|
// background: #FFFFFF;
|
|
334
|
-
color:
|
|
340
|
+
color: @font-primary-accent-color;
|
|
335
341
|
font-size: 14px;
|
|
336
342
|
margin-top: 8px;
|
|
337
343
|
cursor: pointer;
|
|
@@ -44,14 +44,16 @@ export default {
|
|
|
44
44
|
</script>
|
|
45
45
|
|
|
46
46
|
<style scoped lang="less">
|
|
47
|
+
@import '../assets/less/variables.less';
|
|
48
|
+
|
|
47
49
|
.message_list-welcome-m {
|
|
48
50
|
.mlwm-title {
|
|
49
51
|
font-size: 18px;
|
|
50
52
|
font-weight: 600;
|
|
51
|
-
color:
|
|
53
|
+
color: @font-primary-color;
|
|
52
54
|
}
|
|
53
55
|
.mlwm-des {
|
|
54
|
-
color:
|
|
56
|
+
color: @border-color-secondary;
|
|
55
57
|
margin-top: 9px;
|
|
56
58
|
font-size: 14px;
|
|
57
59
|
font-weight: 500;
|
|
@@ -64,7 +66,7 @@ export default {
|
|
|
64
66
|
flex: none;
|
|
65
67
|
width: 6px;
|
|
66
68
|
height: 6px;
|
|
67
|
-
background:
|
|
69
|
+
background: @primary-color;
|
|
68
70
|
border-radius: 50%;
|
|
69
71
|
margin-right: 6px;
|
|
70
72
|
}
|
|
@@ -76,7 +78,7 @@ export default {
|
|
|
76
78
|
.mmt-cell {
|
|
77
79
|
flex: 1;
|
|
78
80
|
padding: 10px;
|
|
79
|
-
background:
|
|
81
|
+
background: @background-color-bubble;
|
|
80
82
|
border-radius: 8px;
|
|
81
83
|
margin: 8px 0;
|
|
82
84
|
display: flex;
|
|
@@ -100,7 +102,7 @@ export default {
|
|
|
100
102
|
padding-right: 12px;
|
|
101
103
|
.mmt-cell-des-title {
|
|
102
104
|
font-size: 14px;
|
|
103
|
-
color:
|
|
105
|
+
color: @font-primary-color;
|
|
104
106
|
font-weight: 600;
|
|
105
107
|
margin-bottom: 6px;
|
|
106
108
|
}
|
|
@@ -122,18 +124,18 @@ export default {
|
|
|
122
124
|
}
|
|
123
125
|
.mmt-creator-name {
|
|
124
126
|
padding-right: 6px;
|
|
125
|
-
border-right: 1px solid
|
|
126
|
-
color:
|
|
127
|
+
border-right: 1px solid @border-color-secondary;
|
|
128
|
+
color: @font-secondary-color;
|
|
127
129
|
}
|
|
128
130
|
.mmt-update-time {
|
|
129
|
-
color:
|
|
131
|
+
color: @font-secondary-color;
|
|
130
132
|
padding-left: 6px;
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
135
|
}
|
|
134
136
|
}
|
|
135
137
|
.booth_elements {
|
|
136
|
-
background:
|
|
138
|
+
background: @background-color-light;
|
|
137
139
|
cursor: default !important;
|
|
138
140
|
}
|
|
139
141
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="title_desc">{{ msg.content.problemRecommendationDesc }}</div>
|
|
5
5
|
<div class="title_change_batch" v-if="msg.content.page && msg.content.problemRecommendationValue.length > msg.content.pageCount" @click="changeBatch">
|
|
6
6
|
<i class="iconfont guoran-tongyichicun-huanyipi"></i>
|
|
7
|
-
<span
|
|
7
|
+
<span>{{$t('dragonCommon.refresh')}}</span>
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
<div class="content">
|
|
@@ -51,6 +51,8 @@ export default {
|
|
|
51
51
|
}
|
|
52
52
|
</script>
|
|
53
53
|
<style lang="less" scoped>
|
|
54
|
+
@import "../assets/less/variables.less";
|
|
55
|
+
|
|
54
56
|
.welcome_suggest {
|
|
55
57
|
width: 100%;
|
|
56
58
|
height: auto;
|
|
@@ -68,7 +70,7 @@ export default {
|
|
|
68
70
|
}
|
|
69
71
|
.title_change_batch {
|
|
70
72
|
cursor: pointer;
|
|
71
|
-
color:
|
|
73
|
+
color: @font-primary-accent-color;
|
|
72
74
|
height: 28px;
|
|
73
75
|
width: 70px;
|
|
74
76
|
display: flex;
|
|
@@ -86,8 +88,8 @@ export default {
|
|
|
86
88
|
margin-top: 8px;
|
|
87
89
|
.welcome_item {
|
|
88
90
|
padding: 3px 8px;
|
|
89
|
-
background:
|
|
90
|
-
color:
|
|
91
|
+
background: @background-color-summary;
|
|
92
|
+
color: @font-primary-accent-color;
|
|
91
93
|
margin-right: 5px;
|
|
92
94
|
margin-bottom: 5px;
|
|
93
95
|
border-radius: 28px;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"组件多语言使用说明": "在使用多语言配置文件时,需要在使用的项目中添加对应的配置,默认都配置在dragonCommon字段中,也可以看看有没有其他方式",
|
|
3
|
+
"dragonCommon": {
|
|
4
|
+
"download": "下载",
|
|
5
|
+
"smartSummary": "智能摘要",
|
|
6
|
+
"chat": "聊一聊",
|
|
7
|
+
"viewDetails": "查看详情",
|
|
8
|
+
"folderName": "文件夹名称",
|
|
9
|
+
"loading": "加载中...",
|
|
10
|
+
"Safaridownload": "下载地址已复制,请前往Safari浏览器访问下载",
|
|
11
|
+
"reduce": "缩小",
|
|
12
|
+
"zoom": "放大",
|
|
13
|
+
"selectScale": "请选择",
|
|
14
|
+
"previous": "上一段",
|
|
15
|
+
"next": "下一段",
|
|
16
|
+
"answersGeneratedByPre": "答案由",
|
|
17
|
+
"answersGeneratedByAfter": "段内容生成",
|
|
18
|
+
"scaleAuto": "自动缩放",
|
|
19
|
+
"scaleReality": "实际比例",
|
|
20
|
+
"firstParagraph": "当前已经是第一段了",
|
|
21
|
+
"lastParagraph": "当前已经是最后一段了",
|
|
22
|
+
"fileloadException": "文件加载异常",
|
|
23
|
+
"regenerate": "重新生成",
|
|
24
|
+
"generating": "生成中",
|
|
25
|
+
"close": "关闭",
|
|
26
|
+
"summaryGeneratedByAI": "AI为您总结生成了以下摘要",
|
|
27
|
+
"viewMore": "查看更多",
|
|
28
|
+
"from": "出自",
|
|
29
|
+
"viewOriginal": "查看原文",
|
|
30
|
+
"lastUpdateTime": "最后更新时间",
|
|
31
|
+
"owner": "所有者",
|
|
32
|
+
"enterprise": "所属企业",
|
|
33
|
+
"source": "文件来源",
|
|
34
|
+
"folder": "文件夹",
|
|
35
|
+
"personalknowledge": "个人知识",
|
|
36
|
+
"enterpriseknowledge": "企业知识",
|
|
37
|
+
"satisfaction": "满意",
|
|
38
|
+
"unsatisfied": "不满意",
|
|
39
|
+
"refresh": "换一批",
|
|
40
|
+
"AIrecommends": "AI为您推荐以下内容",
|
|
41
|
+
"youareconsulting": "您正在咨询",
|
|
42
|
+
"description": "描述",
|
|
43
|
+
"location": "位置",
|
|
44
|
+
"user": "使用者",
|
|
45
|
+
"department": "部门",
|
|
46
|
+
"manager": "管理者",
|
|
47
|
+
"uploadImgFile": "上传图片或附件",
|
|
48
|
+
"cancel": "取消",
|
|
49
|
+
"confirm": "确定",
|
|
50
|
+
"noMore": "没有更多了",
|
|
51
|
+
"establishConversationWith": "与",
|
|
52
|
+
"createConversation": "建立对话",
|
|
53
|
+
"you": "您",
|
|
54
|
+
"bot": "机器人",
|
|
55
|
+
"transferTo": "您将会话转接给",
|
|
56
|
+
"transferFrom": "将会话转接给您",
|
|
57
|
+
"imService": "IM人工",
|
|
58
|
+
"botService": "机器人",
|
|
59
|
+
"willServeYou": "将为您服务",
|
|
60
|
+
"check": "查看",
|
|
61
|
+
"clickme": "点我",
|
|
62
|
+
"copyError": "无法复制到剪贴板!",
|
|
63
|
+
"copy": "复制",
|
|
64
|
+
"copySuccess": "已复制"
|
|
65
|
+
},
|
|
66
|
+
"common": {
|
|
67
|
+
"submit": "提交",
|
|
68
|
+
"inputPlaceholder": "请输入",
|
|
69
|
+
"selectDate": "选择日期",
|
|
70
|
+
"selectTime": "选择时间",
|
|
71
|
+
"selectDateTime": "选择日期时间",
|
|
72
|
+
"selectPlaceholder": "请选择",
|
|
73
|
+
"loadMore": "加载更多",
|
|
74
|
+
"submited": "已提交"
|
|
75
|
+
},
|
|
76
|
+
"formTemplate": {
|
|
77
|
+
"report": "报单人",
|
|
78
|
+
"feedbackDes": "反馈描述",
|
|
79
|
+
"orderDes": "工单描述",
|
|
80
|
+
"uploadType": "只能上传图片格式",
|
|
81
|
+
"uploadImageSize": "上传图片大小不能超过 8MB!",
|
|
82
|
+
"uploadVideoType": "只能上传视频格式",
|
|
83
|
+
"uploadVideoSize": "上传视频大小不能超过100MB!",
|
|
84
|
+
"uploadFileSize": "上传附件大小不能超过100MB!",
|
|
85
|
+
"onlyUpload": "仅支持上传",
|
|
86
|
+
"number": "个",
|
|
87
|
+
"textFlag": "必须要有文字",
|
|
88
|
+
"imageOrAttachment": "必须要有图片或附件",
|
|
89
|
+
"imageFlag": "必须要有图片",
|
|
90
|
+
"attachmentFlag": "必须要有附件",
|
|
91
|
+
"image": "图片",
|
|
92
|
+
"file": "附件",
|
|
93
|
+
"and": "和",
|
|
94
|
+
"required": "是必填的",
|
|
95
|
+
"uploading": "文件正在上传,请稍后",
|
|
96
|
+
"pleaseImprove": "请完善",
|
|
97
|
+
"feedbackDesRequired": "反馈描述是必填的",
|
|
98
|
+
"orderDesRequired": "问题描述是必填的"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"组件多语言使用说明": "在使用多语言配置文件时,需要在使用的项目中添加对应的配置,默认都配置在dragonCommon字段中,也可以看看有没有其他方式",
|
|
3
|
+
"dragonCommon": {
|
|
4
|
+
"download": "Download",
|
|
5
|
+
"smartSummary": "Smart Summary",
|
|
6
|
+
"chat": "Chat",
|
|
7
|
+
"viewDetails": "View Details",
|
|
8
|
+
"folderName": "Folder Name",
|
|
9
|
+
"loading": "Loading...",
|
|
10
|
+
"Safaridownload": "The download address has been copied, please go to Safari to access the download",
|
|
11
|
+
"reduce": "Reduce",
|
|
12
|
+
"zoom": "Zoom",
|
|
13
|
+
"selectScale": "Select Scale",
|
|
14
|
+
"previous": "Previous",
|
|
15
|
+
"next": "Next",
|
|
16
|
+
"answersGeneratedByPre": "Answers generated by ",
|
|
17
|
+
"answersGeneratedByAfter": " segments of content",
|
|
18
|
+
"scaleAuto": "Auto",
|
|
19
|
+
"scaleReality": "Reality",
|
|
20
|
+
"firstParagraph": "It's already the first paragraph",
|
|
21
|
+
"lastParagraph": "It's already the last paragraph",
|
|
22
|
+
"fileloadException": "File load exception",
|
|
23
|
+
"regenerate": "Regenerate",
|
|
24
|
+
"generating": "Generating",
|
|
25
|
+
"close": "Close",
|
|
26
|
+
"summaryGeneratedByAI": "AI has generated the following summary for you",
|
|
27
|
+
"viewMore": "View More",
|
|
28
|
+
"from": "From",
|
|
29
|
+
"viewOriginal": "View Original",
|
|
30
|
+
"lastUpdateTime": "Last Update Time",
|
|
31
|
+
"owner": "Owner",
|
|
32
|
+
"enterprise": "Enterprise",
|
|
33
|
+
"source": "Source",
|
|
34
|
+
"folder": "Folder",
|
|
35
|
+
"personalknowledge": "Personal Knowledge",
|
|
36
|
+
"enterpriseknowledge": "Enterprise Knowledge",
|
|
37
|
+
"satisfaction": "Satisfaction",
|
|
38
|
+
"unsatisfied": "Unsatisfied",
|
|
39
|
+
"refresh": "Refresh",
|
|
40
|
+
"AIrecommends": "AI recommends the following for you",
|
|
41
|
+
"youareconsulting": "You are consulting",
|
|
42
|
+
"description": "Description",
|
|
43
|
+
"location": "Location",
|
|
44
|
+
"user": "User",
|
|
45
|
+
"department": "Department",
|
|
46
|
+
"manager": "Manager",
|
|
47
|
+
"uploadImgFile": "Upload",
|
|
48
|
+
"cancel": "Cancel",
|
|
49
|
+
"confirm": "Confirm",
|
|
50
|
+
"noMore": "No more",
|
|
51
|
+
"establishConversationWith": "Establish conversation with",
|
|
52
|
+
"you": "You",
|
|
53
|
+
"bot": "Bot",
|
|
54
|
+
"transferTo": "You will transfer the conversation to",
|
|
55
|
+
"transferFrom": "will transfer the conversation to you",
|
|
56
|
+
"imService": "IM agent",
|
|
57
|
+
"botService": "Bot",
|
|
58
|
+
"willServeYou": "will serve you",
|
|
59
|
+
"check": "Check",
|
|
60
|
+
"clickme": "Click me",
|
|
61
|
+
"copyError": "Unable to copy to clipboard!",
|
|
62
|
+
"copy": "Copy",
|
|
63
|
+
"copySuccess": "Copied"
|
|
64
|
+
},
|
|
65
|
+
"common": {
|
|
66
|
+
"submit": "Submit",
|
|
67
|
+
"inputPlaceholder": "Please enter",
|
|
68
|
+
"selectDate": "Select Date",
|
|
69
|
+
"selectTime": "Select Time",
|
|
70
|
+
"selectDateTime": "Select Date Time",
|
|
71
|
+
"selectPlaceholder": "Please select",
|
|
72
|
+
"loadMore": "Load More",
|
|
73
|
+
"submited": "Submited"
|
|
74
|
+
},
|
|
75
|
+
"formTemplate": {
|
|
76
|
+
"report": "Reporter",
|
|
77
|
+
"feedbackDes": "Feedback Description",
|
|
78
|
+
"orderDes": "Work Order Description",
|
|
79
|
+
"uploadType": "Only upload image format",
|
|
80
|
+
"uploadImageSize": "Uploaded image size cannot exceed 8MB!",
|
|
81
|
+
"uploadVideoType": "Only upload video format",
|
|
82
|
+
"uploadVideoSize": "Uploaded video size cannot exceed 100MB!",
|
|
83
|
+
"uploadFileSize": "Uploaded attachment size cannot exceed 100MB!",
|
|
84
|
+
"onlyUpload": "Only support upload",
|
|
85
|
+
"number": "",
|
|
86
|
+
"textFlag": "must have text",
|
|
87
|
+
"imageOrAttachment": "must have image or attachment",
|
|
88
|
+
"imageFlag": "must have image",
|
|
89
|
+
"attachmentFlag": "must have attachment",
|
|
90
|
+
"image": "Image",
|
|
91
|
+
"file": "Attachment",
|
|
92
|
+
"and": "and",
|
|
93
|
+
"required": "is required",
|
|
94
|
+
"uploading": "File is uploading, please wait",
|
|
95
|
+
"pleaseImprove": "Please improve",
|
|
96
|
+
"feedbackDesRequired": "Feedback description is required",
|
|
97
|
+
"orderDesRequired": "Problem description is required"
|
|
98
|
+
}
|
|
99
|
+
}
|