askbot-dragon 1.7.22-beta → 1.7.23-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/package.json +2 -1
  2. package/public/index.html +8 -10
  3. package/src/assets/js/AliyunlssUtil.js +50 -26
  4. package/src/assets/js/hammer.js +13 -2
  5. package/src/assets/less/converSationContainer/common.less +7 -0
  6. package/src/components/ActionAlertIframe.vue +24 -1
  7. package/src/components/AiGuide.vue +121 -154
  8. package/src/components/AnswerDocknowledge.vue +108 -100
  9. package/src/components/ConversationContainer.vue +13 -220
  10. package/src/components/MyEditor.vue +2 -1
  11. package/src/components/actionSatisfaction.vue +3 -3
  12. package/src/components/answerRadio.vue +3 -3
  13. package/src/components/askVideo.vue +23 -0
  14. package/src/components/associationIntention.vue +11 -7
  15. package/src/components/formTemplate.vue +54 -50
  16. package/src/components/intelligentSummary.vue +8 -4
  17. package/src/components/message/TextMessage.vue +15 -11
  18. package/src/components/message/swiper/ticketSwiper.vue +1 -1
  19. package/src/components/newPdfPosition.vue +878 -0
  20. package/src/components/pdfPosition.vue +217 -37
  21. package/src/components/popup.vue +2 -2
  22. package/src/components/previewDoc.vue +6 -2
  23. package/src/components/previewPdf.vue +159 -134
  24. package/src/components/senderMessagePlatform.vue +4 -4
  25. package/src/components/utils/ckeditor.js +1 -1
  26. package/src/components/welcomeKnowledgeFile.vue +6 -2
  27. package/src/components/welcomeLlmCard.vue +5 -1
  28. package/src/components/welcomeSuggest.vue +1 -1
  29. package/src/locales/cn.json +72 -0
  30. package/src/locales/en.json +73 -0
  31. package/src/locales/jp.json +73 -0
  32. package/src/main.js +18 -0
  33. package/src/components/QwFeedback.vue +0 -302
@@ -5,34 +5,34 @@
5
5
  另外增加了在知识项目中预览当前文件的一些功能
6
6
  -->
7
7
  <template>
8
- <el-drawer title="我是标题" :visible.sync="drawer" :with-header="false" :append-to-body="true" :destroy-on-close="true"
9
- :modal="false" :direction="previewShowPopup ? 'btt' : 'rtl'" :size="previewShowPopup ? '90%' : '65%'"
8
+ <el-drawer :title="$t('common.drawerTitle')" :visible.sync="drawer" :with-header="false" :append-to-body="true" :destroy-on-close="true"
9
+ :modal="formKnowledgeManagement ? true : false" :direction="previewShowPopup ? 'btt' : 'rtl'" :size="previewShowPopup ? '90%' : '65%'"
10
10
  custom-class="pdf-preview-drawer" v-if="drawer">
11
11
  <!-- v-else-if="drawer" -->
12
12
  <div class="drawer-header" :class="isLiBang ? 'libang_head' : ''" v-if="!isPc">
13
13
  <div class="header-btn btn_position">
14
14
  <div class="onload_btn" v-if="isDownload" @click="downLoad">
15
- 下载
15
+ {{$t('common.download')}}
16
16
  </div>
17
17
  <div class="summaryBtn" :class="showSummary ? 'summaryActiveBtn' : ''" @click="summaryFun" v-if="isHasChat">
18
18
  <i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
19
- <span>智能摘要</span>
19
+ <span>{{$t('previewPdf.intelligentSummary')}}</span>
20
20
  </div>
21
21
  <template v-if="isHasChat">
22
22
  <div class="chat" @click="previewToDialog(true)" v-if="!previewKnowledgeId">
23
23
  <i class="iconfont guoran-wendapingjia"></i>
24
- 聊一聊
24
+ {{$t('previewPdf.chat')}}
25
25
  </div>
26
26
  <div class="chat chat_active" @click="previewToDialog(false)" v-else>
27
27
  <i class="iconfont guoran-wendapingjia"></i>
28
- 聊一聊
28
+ {{$t('previewPdf.chat')}}
29
29
  </div>
30
30
  </template>
31
31
  </div>
32
32
  <div class="header_title">
33
33
  <div class="header_close">
34
34
  <span class="title_left">
35
- {{ title ? title : "查看详情" }}
35
+ {{ title ? title : $t('common.viewDetail') }}
36
36
  </span>
37
37
  <section @click="close">
38
38
  <i class="iconfont guoran-shanchu"></i>
@@ -53,21 +53,21 @@
53
53
  </span>
54
54
  <div class="header-btn">
55
55
  <div class="onload_btn" v-if="isDownload || true" @click="downLoad">
56
- 下载
56
+ {{$t('common.download')}}
57
57
  </div>
58
58
  <div class="summaryBtn" :class="showSummary ? 'summaryActiveBtn' : ''" @click="summaryFun"
59
- v-if="isHasChat || true">
59
+ v-if="isHasChat || formKnowledgeManagement">
60
60
  <i class="iconfont guoran-tongyichicun-write-29-jiqiren"></i>
61
- <span>智能摘要</span>
61
+ <span>{{$t('previewPdf.intelligentSummary')}}</span>
62
62
  </div>
63
- <template v-if="isHasChat || true">
63
+ <template v-if="isHasChat">
64
64
  <div class="chat" @click="previewToDialog(true)" v-if="!previewKnowledgeId">
65
65
  <i class="iconfont guoran-wendapingjia"></i>
66
- 聊一聊
66
+ {{$t('previewPdf.chat')}}
67
67
  </div>
68
68
  <div class="chat chat_active" @click="previewToDialog(false)" v-else>
69
69
  <i class="iconfont guoran-wendapingjia"></i>
70
- 聊一聊
70
+ {{$t('previewPdf.chat')}}
71
71
  </div>
72
72
  </template>
73
73
  <section @click="close">
@@ -84,7 +84,11 @@
84
84
  </div>
85
85
  <div id="drawer_content_pre" :class="isLiBang && folderName ? 'libang_content_pre' : ''">
86
86
  <!-- :style="{marginTop:tagIds && tagIds.length != 0 && isPc ? '50px' : ''}" -->
87
- <intelligent-summary v-show="showSummary && isHasChat" :tagIds="tagIds" :knowledgeId="knowledgeId"
87
+ <intelligent-summary
88
+ v-show="showSummary && (isHasChat || formKnowledgeManagement) && fileType !== 'VIDEO' && fileType !== 'IMAGE'"
89
+ :tagIds="tagIds"
90
+ :knowledgeId="knowledgeId"
91
+ :formKnowledgeManagement="formKnowledgeManagement"
88
92
  @closeSummary="closeSummary" @recommendQues="recommendQues"
89
93
  @getSummarySuccess="getSummarySuccess"></intelligent-summary>
90
94
  <div class="pdf_positon" :style="pdfStyle" v-if="tagIds && tagIds.length != 0 && drawer">
@@ -92,7 +96,7 @@
92
96
  </pdfPosition>
93
97
  </div>
94
98
  <template v-else>
95
- <div v-if="fileType == 'VIDEO'" style="width: 100%;">
99
+ <div v-if="fileType == 'VIDEO'" style="width: 100%;height: 100%">
96
100
  <video :src="url" controls width="100%;" height="98%"></video>
97
101
  </div>
98
102
  <div v-else-if="fileType == 'HTML'" style="width: 100%;">
@@ -129,59 +133,59 @@ import { Toast } from 'vant';
129
133
  export default {
130
134
  data () {
131
135
  return {
132
- previewShowPopup: false,
133
- fileText: '',
134
- fileType: "",
135
- isPc: false,
136
- drawer: false,
137
- tagIds: [],
138
- // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
139
- loading: true,
140
- previewKnowledgeId: "",
141
- showSummary: true,
142
- iframeHeight: "100%",
143
- isDownload: false,
144
- textWatermarkStr: "",
145
- copy:''
146
- }
147
- },
148
- mounted () {
149
- window.addEventListener('message', this.handleIframeMessage, false);
150
- this.isPcFun();
151
- },
152
- props: {
153
- url: {
154
- type: String,
155
- required: true,
156
- },
157
- officePreviewType: {
158
- type: String,
159
- default: ''
160
- },
161
- isMessageRecord: {
162
- type: Boolean,
163
- default: false,
164
- },
165
- sourceFileType: {
166
- type: String,
167
- default: '',
168
- },
169
- title: {
170
- type: String,
171
- default: ''
136
+ previewShowPopup: false,
137
+ fileText: '',
138
+ fileType: "",
139
+ isPc: false,
140
+ drawer: false,
141
+ tagIds: [],
142
+ // '6454aa1a70573a6ead6f0f7d', '6454aa1a70573a6ead6f0f81',
143
+ loading: true,
144
+ fileName:'',
145
+ previewKnowledgeId:"",
146
+ showSummary:true,
147
+ iframeHeight:"100%",
148
+ isDownload: false,
149
+ textWatermarkStr:"",
150
+ copy:''}
172
151
  },
173
- isHasChat: {
174
- type: Boolean,
175
- default: false
176
- },
177
- knowledgeId: {
178
- type: String,
179
- default: '',
180
- },
181
- previewOssPath: {
182
- type: String,
183
- default: '',
152
+ mounted() {
153
+ window.addEventListener('message',this.handleIframeMessage,false);
154
+ this.isPcFun();
184
155
  },
156
+ props:{
157
+ url:{
158
+ type: String,
159
+ required: true,
160
+ },
161
+ officePreviewType:{
162
+ type: String,
163
+ default: ''
164
+ },
165
+ isMessageRecord:{
166
+ type: Boolean,
167
+ default:false,
168
+ },
169
+ sourceFileType:{
170
+ type: String,
171
+ default: '',
172
+ },
173
+ title: {
174
+ type: String,
175
+ default: ''
176
+ },
177
+ isHasChat:{
178
+ type:Boolean,
179
+ default:false
180
+ },
181
+ knowledgeId:{
182
+ type: String,
183
+ default: '',
184
+ },
185
+ previewOssPath:{
186
+ type: String,
187
+ default: '',
188
+ },
185
189
  folderName: {
186
190
  type: String,
187
191
  default: '',
@@ -193,7 +197,12 @@ export default {
193
197
  isLiBang: {
194
198
  type: Boolean,
195
199
  default: false
196
- }},
200
+ },
201
+ formKnowledgeManagement:{
202
+ type: Boolean,
203
+ default: false
204
+ }
205
+ },
197
206
  components: {
198
207
  IntelligentSummary,
199
208
  pdfPosition
@@ -203,58 +212,71 @@ export default {
203
212
  if (value) {
204
213
  this.$emit('open')
205
214
  this.$nextTick(() => {
206
- zoomElement(document.getElementById('drawer_content_pre'))
215
+ if (this.tagIds && this.tagIds.length != 0){
216
+ zoomElement(document.getElementById('pdf_container_view'))
217
+ }
218
+ })
219
+ } else {
220
+ this.$emit('close')
221
+ }
222
+ setTimeout(() => {
223
+ let previewIframe = document.getElementsByClassName('preview_iframe')
224
+ Array.from(previewIframe).forEach(item =>{
225
+ item.onload = () =>{
226
+ console.debug('previewIframe 106',previewIframe,this.drawer)
227
+ item.style.backgroundImage = 'none'
228
+ }
229
+ })
207
230
  })
208
- } else {
209
- this.$emit('close')
210
- }
211
- },
212
- showSummary: {
213
- handler (val) {
214
- // if (!val){
215
- // this.$nextTick(() => {
216
- // let preCon = document.querySelector('.pdf_view');
217
- // if (preCon){
218
- // preCon.style.height = 'calc(100% - ' + 50 + 'px)'
219
- // }
220
- // })
221
- // } else {
222
- // this.getSummarySuccess();
223
- // }
224
- if (val) {
225
- this.getSummarySuccess();
231
+ },
232
+ showSummary:{
233
+ handler(val){
234
+ // if (!val){
235
+ // this.$nextTick(() => {
236
+ // let preCon = document.querySelector('.pdf_view');
237
+ // if (preCon){
238
+ // preCon.style.height = 'calc(100% - ' + 50 + 'px)'
239
+ // }
240
+ // })
241
+ // } else {
242
+ // this.getSummarySuccess();
243
+ // }
244
+ if(val) {
245
+ this.getSummarySuccess();
246
+ }
226
247
  }
227
- }
228
- },
229
- knowledgeId: {
230
- handler (val) {
231
- if (val) {
232
- this.getTextWatermark();
248
+ },
249
+ knowledgeId:{
250
+ handler(val){
251
+ if (val){
252
+ this.getTextWatermark();
253
+ }
233
254
  }
234
255
  }
235
- }
236
- },
237
- computed: {
238
- pdfStyle () {
239
- return {
240
- paddingTop: this.isPc ? '30px' : '0', // 30px 是 加上外层的 20 流出 50的上边距展示 放大缩小操作栏
241
- paddingBottom: this.tagIds > 1 ? '60px' : '0',
242
- height: '100%'
243
- }
244
256
  },
245
- previewUrl () {
246
- console.debug('VUE_APP_ENV', process.env.VUE_APP_ENV)
247
- let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
248
- // if(this.url != '') {
249
- // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
250
- // url += btoa(encodeURIComponent(this.url))
251
- // } else {
252
- // url += btoa(this.url)
253
- // }
254
- // }
255
- url = url + this.url
256
- if (this.sourceFileType == '.ppt' || this.sourceFileType == '.pptx' || this.sourceFileType == '.pdf') {
257
- url += '&officePreviewType=pdf'
257
+ computed:{
258
+ pdfStyle() {
259
+ return {
260
+ paddingTop: this.isPc ? '30px' : '0', // 30px 是 加上外层的 20 流出 50的上边距展示 放大缩小操作栏
261
+ paddingBottom: this.tagIds > 1 ? '60px' : '0',
262
+ height: '100%'
263
+ }
264
+ },
265
+ previewUrl() {
266
+ console.debug('VUE_APP_ENV',process.env.VUE_APP_ENV)
267
+ let url = process.env.VUE_APP_ENV === 'production' ? 'https://kkfileview.askbot.cn/onlinePreview?url=' : 'https://test.open.askbot.cn/kkfileview/onlinePreview?url='
268
+ // if(this.url != '') {
269
+ // if(/[\u4E00-\u9FA5]+/g.test(this.url)) {
270
+ // url += btoa(encodeURIComponent(this.url))
271
+ // } else {
272
+ // url += btoa(this.url)
273
+ // }
274
+ // }
275
+ url = url + this.url
276
+ url += '&officePreviewType=pdf'
277
+ if(this.watermark) {
278
+ url = this.watermark.textWatermarkValue ? (url += '&textWatermarkValue=' + this.watermark.textWatermarkValue) : url
279
+ url = this.watermark.visitorWatermarkValue ? (url += '&visitorWatermarkValue=' + this.watermark.visitorWatermarkValue) : url
258
280
  }
259
281
  console.log('textWatermarkStr 216', this.textWatermarkStr)
260
282
  if (this.textWatermarkStr) {
@@ -373,6 +395,10 @@ export default {
373
395
  })
374
396
  },
375
397
  downLoad () {
398
+ if (this.formKnowledgeManagement){
399
+ this.$emit('downLoad',this.previewOssPath);
400
+ return
401
+ }
376
402
  let url = this.previewOssPath
377
403
  if (decodeURIComponent(url) != url) {
378
404
  url = decodeURIComponent(url)
@@ -384,7 +410,7 @@ export default {
384
410
  }
385
411
  }).then(res => {
386
412
  console.log('downLoad 341', res)
387
- if (res.data || res.bodyText) {
413
+ if (res.data|| res.bodyText) {
388
414
  if (/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)) {
389
415
  this.copy = res.data
390
416
  if (isMobile()) {
@@ -397,7 +423,7 @@ export default {
397
423
  selection.addRange(range);
398
424
  document.execCommand('copy');
399
425
  selection.removeAllRanges()
400
- Toast('下载地址已复制,请前往Safari浏览器访问下载');
426
+ Toast(this.$t('previewPdf.copyUrl'));
401
427
  this.close()
402
428
  },100)
403
429
  } else {
@@ -413,16 +439,17 @@ export default {
413
439
  // }, 2000)
414
440
  // window.open(res.data,'下载', 'noopener')
415
441
  if (isMobile()) {
416
- const iframe = document.createElement("iframe");
417
- iframe.setAttribute("hidden", "hidden");
418
- iframe.onload = () => {
419
- if (iframe) {
420
- console.log("iframe onload....")
421
- iframe.setAttribute('src', 'about:blank');
422
- }
423
- };
424
- document.body.insertBefore(iframe, null);
425
- iframe.setAttribute("src", res.data);
442
+
443
+ const iframe = document.createElement("iframe");
444
+ iframe.setAttribute("hidden", "hidden");
445
+ iframe.onload = () => {
446
+ if (iframe) {
447
+ console.log("iframe onload....")
448
+ iframe.setAttribute('src', 'about:blank');
449
+ }
450
+ };
451
+ document.body.insertBefore(iframe, null);
452
+ iframe.setAttribute("src", res.data );
426
453
  } else {
427
454
  let a = document.createElement('a')
428
455
  a.href = res.data
@@ -430,7 +457,7 @@ export default {
430
457
  a.dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, view: window }))
431
458
  }
432
459
  this.close()
433
- }
460
+ }
434
461
  }
435
462
  })
436
463
  },
@@ -511,6 +538,7 @@ export default {
511
538
  height: 100%;
512
539
  }
513
540
 
541
+
514
542
  .preview_iframe_html {
515
543
  width: 100%;
516
544
  height: 100%;
@@ -606,6 +634,7 @@ justify-content: space-between;
606
634
  .header-right {
607
635
  display: flex;
608
636
  }
637
+
609
638
  .summaryBtn {
610
639
  flex: none;
611
640
  //width: 95px;
@@ -672,9 +701,9 @@ justify-content: space-between;
672
701
  justify-content: space-between;
673
702
  line-height: 26px;
674
703
  .title_left {
675
- white-space: nowrap; /* 确保文本不会换行 */
676
- overflow: hidden; /* 隐藏超出容器的文本 */
677
- text-overflow: ellipsis; /* 当文本超出容器时显示省略号 */
704
+ white-space: nowrap; /* 确保文本不会换行 */
705
+ overflow: hidden; /* 隐藏超出容器的文本 */
706
+ text-overflow: ellipsis; /* 当文本超出容器时显示省略号 */
678
707
  margin-right: 8px;
679
708
  }
680
709
  }
@@ -707,10 +736,6 @@ justify-content: space-between;
707
736
  overflow: auto;
708
737
  height: calc(100% - 50px);
709
738
  background: #FFF;
710
- background-image: url('https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/cdn-common/images/loading.gif');
711
- background-position: center;
712
- background-size: 50px;
713
- background-repeat: no-repeat;
714
739
  }
715
740
 
716
741
  .libang_content_pre {
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <div class="">
3
3
  <span v-if="messagePlateform == 'IM'">
4
- IM人工&nbsp;&nbsp;<span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;将为您服务
4
+ {{$t('senderMessagePlatform.IM')}}&nbsp;&nbsp;<span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;{{$t('senderMessagePlatform.service')}}
5
5
  </span>
6
6
  <span v-if="messagePlateform == 'BOT'">
7
- <span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;将为您服务
7
+ <span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;{{$t('senderMessagePlatform.service')}}
8
8
  </span>
9
9
  <span v-if="messagePlateform == 'Transfer' && (isShow === true || isShow === null)">
10
- <span class="text_color">{{payload.oldSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;将会话转接给&nbsp;&nbsp;<span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>
10
+ <span class="text_color">{{payload.oldSession.receiverDisplayInfo.name}}</span>&nbsp;&nbsp;{{$t('senderMessagePlatform.transfer')}}&nbsp;&nbsp;<span class="text_color">{{payload.newSession.receiverDisplayInfo.name}}</span>
11
11
  </span>
12
12
  </div>
13
13
  </template>
@@ -20,7 +20,7 @@ export default {
20
20
 
21
21
  }
22
22
  },
23
- props:['source','payload', 'isShow'],
23
+ props:['source','payload',"language", 'isShow'],
24
24
  computed: {
25
25
  messagePlateform() {
26
26
  if(this.payload) {
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable */
2
- import {multipartUpload, ossFileUrl} from "./AliyunIssUtil";
2
+ import {multipartUpload, ossFileUrl} from "../../assets/js/AliyunIssUtil";
3
3
  import { v4 as uuidv4 } from "uuid";
4
4
  const ossConfig = {
5
5
  region: "oss-cn-zhangjiakou",
@@ -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>查看更多</span>
34
+ <span>{{$t('common.lodeMore')}}</span>
35
35
  </div>
36
36
  </div>
37
37
  <previewPdf ref="previewPdf"
@@ -92,7 +92,11 @@ export default {
92
92
  bindCode:{
93
93
  type: String,
94
94
  default: ''
95
- }
95
+ },
96
+ language:{
97
+ type: String,
98
+ default: 'en'
99
+ }
96
100
  },
97
101
  data () {
98
102
  return {
@@ -39,7 +39,11 @@ export default {
39
39
  clickFun (item) {
40
40
  this.$emit('llmCardClickFun', item)
41
41
  }
42
- }
42
+ },
43
+ mounted() {
44
+ let languageCode = sessionStorage.getItem('languageCode');
45
+ console.log('languageCode',languageCode,this.$i18n.locale,localStorage.getItem('languageCode'))
46
+ }
43
47
  };
44
48
  </script>
45
49
 
@@ -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>换一批</span>
7
+ <span>{{$t('common.changeBatch')}}</span>
8
8
  </div>
9
9
  </div>
10
10
  <div class="content">
@@ -0,0 +1,72 @@
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": "下载地址已复制,请前往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
+ }
@@ -0,0 +1,73 @@
1
+ {
2
+ "actionSatisfaction": {
3
+ "satisfaction": "Satisfied",
4
+ "notSatisfied": "Not Satisfied"
5
+ },
6
+ "answerRadio": {
7
+ "tip": "AI recommends the following content for you",
8
+ "loadMore": "Load More"
9
+ },
10
+ "previewPdf": {
11
+ "intelligentSummary": "Intelligent Summary",
12
+ "chat": "Chat",
13
+ "regeneration": "Regenerate",
14
+ "generating": "Generating",
15
+ "copyUrl": "Download link copied. Please visit Safari browser to download.",
16
+ "answer": "Answer provided by",
17
+ "answerTip": "paragraph generated"
18
+ },
19
+ "answerDocKnowledge": {
20
+ "title": "AI has generated the following summary for you",
21
+ "sourceFrom": "Source from",
22
+ "view": "View"
23
+ },
24
+ "formTemplate": {
25
+ "report": "Reporter",
26
+ "feedbackDes": "Feedback Description",
27
+ "orderDes": "Work Order Description",
28
+ "uploadType": "Only upload image format",
29
+ "uploadImageSize": "Uploaded image size cannot exceed 8MB!",
30
+ "uploadVideoType": "Only upload video format",
31
+ "uploadVideoSize": "Uploaded video size cannot exceed 100MB!",
32
+ "uploadFileSize": "Uploaded attachment size cannot exceed 100MB!",
33
+ "onlyUpload": "Only support upload",
34
+ "number": "",
35
+ "textFlag": "must have text",
36
+ "imageOrAttachment": "must have image or attachment",
37
+ "imageFlag": "must have image",
38
+ "attachmentFlag": "must have attachment",
39
+ "image": "Image",
40
+ "file": "Attachment",
41
+ "and": "and",
42
+ "required": "is required",
43
+ "uploading": "File is uploading, please wait",
44
+ "pleaseImprove": "Please improve",
45
+ "feedbackDesRequired": "Feedback description is required",
46
+ "orderDesRequired": "Problem description is required"
47
+ },
48
+ "senderMessagePlatform": {
49
+ "IM": "IM (Instant Messaging) Agent",
50
+ "service": "will serve you",
51
+ "transfer": "will transfer the session to"
52
+ },
53
+ "common": {
54
+ "drawerTitle": "Title",
55
+ "viewDetail": "View Details",
56
+ "download": "Download",
57
+ "changeBatch": "Change Batch",
58
+ "lodeMore": "Load More",
59
+ "previous": "Previous",
60
+ "next": "Next",
61
+ "selectPlaceholder": "Select",
62
+ "inputPlaceholder": "Enter",
63
+ "selectDate": "Select Date",
64
+ "selectTime": "Select Time",
65
+ "selectDateTime": "Select Date and Time",
66
+ "cancel": "Cancel",
67
+ "confirm": "Confirm",
68
+ "submit": "Submit",
69
+ "submited": "Submitted",
70
+ "confirmed": "Confirmed"
71
+ }
72
+ }
73
+