askbot-dragon 1.7.84-beta → 1.7.86-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.
Files changed (95) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +6 -6
  3. package/dragon.iml +7 -7
  4. package/package.json +60 -58
  5. package/public/index.html +73 -76
  6. package/src/App.vue +31 -31
  7. package/src/api/index.js +1 -1
  8. package/src/api/mock.http +2 -2
  9. package/src/api/requestUrl.js +185 -185
  10. package/src/assets/js/AliyunlssUtil.js +141 -117
  11. package/src/assets/js/Base64Util.js +22 -22
  12. package/src/assets/js/common.js +261 -261
  13. package/src/assets/js/hammer.js +100 -89
  14. package/src/assets/js/script.js +36 -36
  15. package/src/assets/less/common.css +6773 -6773
  16. package/src/assets/less/converSationContainer/common.less +199 -192
  17. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  18. package/src/assets/less/iconfont.css +37 -37
  19. package/src/assets/less/ticketMessage.less +294 -294
  20. package/src/components/ActionAlertIframe.vue +178 -155
  21. package/src/components/AiGuide.vue +434 -471
  22. package/src/components/AnswerDocknowledge.vue +1203 -1203
  23. package/src/components/AnswerVoice.vue +285 -285
  24. package/src/components/AskIFrame.vue +15 -15
  25. package/src/components/ConversationContainer.vue +10684 -10880
  26. package/src/components/FileType.vue +86 -86
  27. package/src/components/Message.vue +27 -27
  28. package/src/components/MyEditor.vue +342 -341
  29. package/src/components/QwFeedback.vue +302 -302
  30. package/src/components/actionSatisfaction.vue +107 -107
  31. package/src/components/actionSendToBot.vue +62 -62
  32. package/src/components/answerDissatisfaction.vue +62 -62
  33. package/src/components/answerRadio.vue +259 -259
  34. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  35. package/src/components/ask-components/Msgloading.vue +37 -37
  36. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  37. package/src/components/askVideo.vue +162 -139
  38. package/src/components/assetDetails.vue +378 -378
  39. package/src/components/assetMessage.vue +229 -229
  40. package/src/components/associationIntention.vue +378 -374
  41. package/src/components/attachmentPreview.vue +90 -90
  42. package/src/components/botActionSatisfactor.vue +68 -68
  43. package/src/components/chatContent.vue +513 -513
  44. package/src/components/feedBack.vue +136 -136
  45. package/src/components/fielListView.vue +351 -351
  46. package/src/components/file/AliyunOssComponents.vue +108 -108
  47. package/src/components/formTemplate.vue +3522 -3518
  48. package/src/components/imgView.vue +31 -31
  49. package/src/components/intelligentSummary.vue +234 -230
  50. package/src/components/kkview.vue +1128 -1128
  51. package/src/components/loadingProcess.vue +164 -164
  52. package/src/components/markDownText.vue +959 -960
  53. package/src/components/message/ActionAlertIframe.vue +112 -112
  54. package/src/components/message/ShopMessage.vue +164 -164
  55. package/src/components/message/TextMessage.vue +928 -924
  56. package/src/components/message/TicketMessage.vue +201 -201
  57. package/src/components/message/swiper/index.js +4 -4
  58. package/src/components/message/swiper/ticketSwiper.vue +503 -503
  59. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  60. package/src/components/msgLoading.vue +231 -231
  61. package/src/components/myPopup.vue +73 -73
  62. package/src/components/newPdfPosition.vue +878 -0
  63. package/src/components/pagination.vue +128 -128
  64. package/src/components/pdfPosition.vue +1514 -1336
  65. package/src/components/popup.vue +228 -228
  66. package/src/components/preview/docView.vue +123 -113
  67. package/src/components/preview/excelView.vue +210 -198
  68. package/src/components/preview/newPositionPreview.vue +390 -388
  69. package/src/components/preview/pdfView.vue +831 -831
  70. package/src/components/previewDoc.vue +252 -248
  71. package/src/components/previewPdf.vue +1119 -1119
  72. package/src/components/receiverMessagePlatform.vue +69 -69
  73. package/src/components/recommend.vue +80 -80
  74. package/src/components/selector/hOption.vue +20 -20
  75. package/src/components/selector/hSelector.vue +199 -199
  76. package/src/components/selector/hWrapper.vue +216 -216
  77. package/src/components/senderMessagePlatform.vue +58 -58
  78. package/src/components/source/BotMessage.vue +24 -24
  79. package/src/components/source/CustomMessage.vue +24 -24
  80. package/src/components/test.vue +260 -260
  81. package/src/components/tree.vue +307 -307
  82. package/src/components/utils/AliyunIssUtil.js +103 -103
  83. package/src/components/utils/ckeditor.js +185 -185
  84. package/src/components/utils/format_date.js +25 -25
  85. package/src/components/utils/index.js +6 -6
  86. package/src/components/utils/math_utils.js +29 -29
  87. package/src/components/voiceComponent.vue +119 -119
  88. package/src/components/welcomeKnowledgeFile.vue +347 -343
  89. package/src/components/welcomeLlmCard.vue +144 -140
  90. package/src/components/welcomeSuggest.vue +97 -97
  91. package/src/locales/cn.json +98 -98
  92. package/src/locales/en.json +98 -98
  93. package/src/locales/jp.json +73 -0
  94. package/src/main.js +76 -76
  95. package/vue.config.js +54 -54
@@ -1,99 +1,99 @@
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
- "you": "您",
53
- "bot": "机器人",
54
- "transferTo": "您将会话转接给",
55
- "transferFrom": "将会话转接给您",
56
- "imService": "IM人工",
57
- "botService": "机器人",
58
- "willServeYou": "将为您服务",
59
- "check": "查看",
60
- "clickme": "点我",
61
- "copyError": "无法复制到剪贴板!",
62
- "copy": "复制",
63
- "copySuccess": "已复制"
64
- },
65
- "common": {
66
- "submit": "提交",
67
- "inputPlaceholder": "请输入",
68
- "selectDate": "选择日期",
69
- "selectTime": "选择时间",
70
- "selectDateTime": "选择日期时间",
71
- "selectPlaceholder": "请选择",
72
- "loadMore": "加载更多",
73
- "submited": "已提交"
74
- },
75
- "formTemplate": {
76
- "report": "报单人",
77
- "feedbackDes": "反馈描述",
78
- "orderDes": "工单描述",
79
- "uploadType": "只能上传图片格式",
80
- "uploadImageSize": "上传图片大小不能超过 8MB!",
81
- "uploadVideoType": "只能上传视频格式",
82
- "uploadVideoSize": "上传视频大小不能超过100MB!",
83
- "uploadFileSize": "上传附件大小不能超过100MB!",
84
- "onlyUpload": "仅支持上传",
85
- "number": "个",
86
- "textFlag": "必须要有文字",
87
- "imageOrAttachment": "必须要有图片或附件",
88
- "imageFlag": "必须要有图片",
89
- "attachmentFlag": "必须要有附件",
90
- "image": "图片",
91
- "file": "附件",
92
- "and": "和",
93
- "required": "是必填的",
94
- "uploading": "文件正在上传,请稍后",
95
- "pleaseImprove": "请完善",
96
- "feedbackDesRequired": "反馈描述是必填的",
97
- "orderDesRequired": "问题描述是必填的"
98
- }
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
+ "you": "您",
53
+ "bot": "机器人",
54
+ "transferTo": "您将会话转接给",
55
+ "transferFrom": "将会话转接给您",
56
+ "imService": "IM人工",
57
+ "botService": "机器人",
58
+ "willServeYou": "将为您服务",
59
+ "check": "查看",
60
+ "clickme": "点我",
61
+ "copyError": "无法复制到剪贴板!",
62
+ "copy": "复制",
63
+ "copySuccess": "已复制"
64
+ },
65
+ "common": {
66
+ "submit": "提交",
67
+ "inputPlaceholder": "请输入",
68
+ "selectDate": "选择日期",
69
+ "selectTime": "选择时间",
70
+ "selectDateTime": "选择日期时间",
71
+ "selectPlaceholder": "请选择",
72
+ "loadMore": "加载更多",
73
+ "submited": "已提交"
74
+ },
75
+ "formTemplate": {
76
+ "report": "报单人",
77
+ "feedbackDes": "反馈描述",
78
+ "orderDes": "工单描述",
79
+ "uploadType": "只能上传图片格式",
80
+ "uploadImageSize": "上传图片大小不能超过 8MB!",
81
+ "uploadVideoType": "只能上传视频格式",
82
+ "uploadVideoSize": "上传视频大小不能超过100MB!",
83
+ "uploadFileSize": "上传附件大小不能超过100MB!",
84
+ "onlyUpload": "仅支持上传",
85
+ "number": "个",
86
+ "textFlag": "必须要有文字",
87
+ "imageOrAttachment": "必须要有图片或附件",
88
+ "imageFlag": "必须要有图片",
89
+ "attachmentFlag": "必须要有附件",
90
+ "image": "图片",
91
+ "file": "附件",
92
+ "and": "和",
93
+ "required": "是必填的",
94
+ "uploading": "文件正在上传,请稍后",
95
+ "pleaseImprove": "请完善",
96
+ "feedbackDesRequired": "反馈描述是必填的",
97
+ "orderDesRequired": "问题描述是必填的"
98
+ }
99
99
  }
@@ -1,99 +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
- }
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
99
  }
@@ -0,0 +1,73 @@
1
+ {
2
+ "actionSatisfaction": {
3
+ "satisfaction": "満足",
4
+ "notSatisfied": "不満"
5
+ },
6
+ "answerRadio": {
7
+ "tip": "AIがお勧めする内容",
8
+ "loadMore": "さらに表示"
9
+ },
10
+ "previewPdf": {
11
+ "intelligentSummary": "インテリジェントサマリー",
12
+ "chat": "チャット",
13
+ "regeneration": "再生成",
14
+ "generating": "生成中",
15
+ "copyUrl": "ダウンロードURLがコピーされました。Safariブラウザでダウンロードしてください。",
16
+ "answer": "回答",
17
+ "answerTip": "セクションの生成"
18
+ },
19
+ "answerDocKnowledge": {
20
+ "title": "AIが生成した要約",
21
+ "sourceFrom": "出典",
22
+ "view": "表示"
23
+ },
24
+ "formTemplate": {
25
+ "report": "レポート",
26
+ "feedbackDes": "フィードバックの説明",
27
+ "orderDes": "オーダーの説明",
28
+ "uploadType": "画像形式のみアップロード可能です",
29
+ "uploadImageSize": "画像サイズは8MB以下にしてください",
30
+ "uploadVideoType": "ビデオ形式のみアップロード可能です",
31
+ "uploadVideoSize": "ビデオサイズは100MB以下にしてください",
32
+ "uploadFileSize": "ファイルサイズは100MB以下にしてください",
33
+ "onlyUpload": "アップロードのみ可能",
34
+ "number": "個",
35
+ "textFlag": "テキストが必要です",
36
+ "imageOrAttachment": "画像または添付ファイルが必要です",
37
+ "imageFlag": "画像が必要です",
38
+ "attachmentFlag": "添付ファイルが必要です",
39
+ "image": "画像",
40
+ "file": "添付ファイル",
41
+ "and": "と",
42
+ "required": "必須",
43
+ "uploading": "ファイルをアップロード中です。しばらくお待ちください",
44
+ "pleaseImprove": "ご改善ください",
45
+ "feedbackDesRequired": "フィードバックの説明は必須です",
46
+ "orderDesRequired": "オーダーの説明は必須です"
47
+ },
48
+ "senderMessagePlatform": {
49
+ "IM": "IMチャット",
50
+ "service": "ご案内します",
51
+ "transfer": "会話を転送します"
52
+ },
53
+ "common": {
54
+ "drawerTitle": "タイトル",
55
+ "viewDetail": "詳細を表示",
56
+ "download": "ダウンロード",
57
+ "changeBatch": "別のバッチに変更",
58
+ "lodeMore": "さらに表示",
59
+ "previous": "前へ",
60
+ "next": "次へ",
61
+ "selectPlaceholder": "選択してください",
62
+ "inputPlaceholder": "入力してください",
63
+ "selectDate": "日付を選択",
64
+ "selectTime": "時間を選択",
65
+ "selectDateTime": "日時を選択",
66
+ "cancel": "キャンセル",
67
+ "confirm": "確認",
68
+ "submit": "送信",
69
+ "submited": "送信済み",
70
+ "confirmed": "確認済み"
71
+ }
72
+ }
73
+
package/src/main.js CHANGED
@@ -1,76 +1,76 @@
1
- import Vue from 'vue'
2
- import App from './App.vue'
3
- import VueResource from 'vue-resource'
4
- import ElementUI from 'element-ui';
5
- import { requestUrl } from './api/index';
6
- import { utils } from '../src/components/utils/index';
7
- // /*import 'element-ui/lib/theme-chalk/index.css';*/
8
- import './assets/theme/index.css'
9
- import 'video.js/dist/video-js.css'
10
- import Vant from 'vant';
11
- import 'vant/lib/index.css';
12
-
13
- /*import VConsole from 'vconsole'
14
- const vConsole = new VConsole();
15
- Vue.use(vConsole);*/
16
- import $ from 'jquery'
17
- Vue.prototype._$ = $;
18
- Vue.use(Vant);
19
- Date.prototype.Format = function (fmt) { //author: meizz
20
- var o = {
21
- "M+": this.getMonth() + 1, //月份
22
- "d+": this.getDate(), //日
23
- "h+": this.getHours(), //小时
24
- "m+": this.getMinutes(), //分
25
- "s+": this.getSeconds(), //秒
26
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
27
- "S": this.getMilliseconds() //毫秒
28
- };
29
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
30
- for (var k in o)
31
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
32
- return fmt;
33
- }
34
- Vue.config.productionTip = false
35
- Vue.use(VueResource)
36
- Vue.use(ElementUI)
37
- //导入图片预览viewer组件以及css
38
- import Viewer from 'v-viewer'
39
- import 'viewerjs/dist/viewer.css'
40
- Vue.use(Viewer, {
41
- defaultOptions: {
42
- zIndex: 9999,//解决图片放大的层级问题
43
- }
44
- });
45
- // setDeafaults配置
46
- Viewer.setDefaults({
47
- Options: { "inline": true, "button": true, "navbar": true, "title": true, "toolbar": true, "tooltip": true, "movable": true, "zoomable": true, "rotatable": true, "scalable": true, "transition": true, "fullscreen": true, "keyboard": true, "url": "data-source" }
48
- })
49
-
50
- import VueI18n from 'vue-i18n'; //多语言
51
-
52
- // 导入多语言的 JSON 文件
53
- import enLocale from './locales/en.json';
54
- import cnLocale from './locales/cn.json';
55
-
56
- Vue.use(VueI18n);
57
-
58
- console.log("askbot-dragon: systemLanguage", sessionStorage.getItem("systemLanguage"));
59
-
60
- // 创建 VueI18n 实例,并设置默认语言和多语言内容
61
- const i18n = new VueI18n({
62
- locale: sessionStorage.getItem("systemLanguage") || 'cn', // 默认语言
63
- messages: {
64
- en: enLocale, // 英文
65
- cn: cnLocale, // 中文
66
- // 其他语言...
67
- }
68
- });
69
-
70
- Vue.prototype.requestUrl = requestUrl;
71
- Vue.prototype.utils = utils;
72
-
73
- new Vue({
74
- render: h => h(App),
75
- i18n
76
- }).$mount('#app')
1
+ import Vue from 'vue'
2
+ import App from './App.vue'
3
+ import VueResource from 'vue-resource'
4
+ import ElementUI from 'element-ui';
5
+ import { requestUrl } from './api/index';
6
+ import { utils } from '../src/components/utils/index';
7
+ // /*import 'element-ui/lib/theme-chalk/index.css';*/
8
+ import './assets/theme/index.css'
9
+ import 'video.js/dist/video-js.css'
10
+ import Vant from 'vant';
11
+ import 'vant/lib/index.css';
12
+
13
+ /*import VConsole from 'vconsole'
14
+ const vConsole = new VConsole();
15
+ Vue.use(vConsole);*/
16
+ import $ from 'jquery'
17
+ Vue.prototype._$ = $;
18
+ Vue.use(Vant);
19
+ Date.prototype.Format = function (fmt) { //author: meizz
20
+ var o = {
21
+ "M+": this.getMonth() + 1, //月份
22
+ "d+": this.getDate(), //日
23
+ "h+": this.getHours(), //小时
24
+ "m+": this.getMinutes(), //分
25
+ "s+": this.getSeconds(), //秒
26
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
27
+ "S": this.getMilliseconds() //毫秒
28
+ };
29
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
30
+ for (var k in o)
31
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
32
+ return fmt;
33
+ }
34
+ Vue.config.productionTip = false
35
+ Vue.use(VueResource)
36
+ Vue.use(ElementUI)
37
+ //导入图片预览viewer组件以及css
38
+ import Viewer from 'v-viewer'
39
+ import 'viewerjs/dist/viewer.css'
40
+ Vue.use(Viewer, {
41
+ defaultOptions: {
42
+ zIndex: 9999,//解决图片放大的层级问题
43
+ }
44
+ });
45
+ // setDeafaults配置
46
+ Viewer.setDefaults({
47
+ Options: { "inline": true, "button": true, "navbar": true, "title": true, "toolbar": true, "tooltip": true, "movable": true, "zoomable": true, "rotatable": true, "scalable": true, "transition": true, "fullscreen": true, "keyboard": true, "url": "data-source" }
48
+ })
49
+
50
+ import VueI18n from 'vue-i18n'; //多语言
51
+
52
+ // 导入多语言的 JSON 文件
53
+ import enLocale from './locales/en.json';
54
+ import cnLocale from './locales/cn.json';
55
+
56
+ Vue.use(VueI18n);
57
+
58
+ console.log("askbot-dragon: systemLanguage", sessionStorage.getItem("systemLanguage"));
59
+
60
+ // 创建 VueI18n 实例,并设置默认语言和多语言内容
61
+ const i18n = new VueI18n({
62
+ locale: sessionStorage.getItem("systemLanguage") || 'cn', // 默认语言
63
+ messages: {
64
+ en: enLocale, // 英文
65
+ cn: cnLocale, // 中文
66
+ // 其他语言...
67
+ }
68
+ });
69
+
70
+ Vue.prototype.requestUrl = requestUrl;
71
+ Vue.prototype.utils = utils;
72
+
73
+ new Vue({
74
+ i18n,
75
+ render: h => h(App),
76
+ }).$mount('#app')