askbot-dragon 0.7.56 → 0.7.57

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 (62) hide show
  1. package/README.md +27 -27
  2. package/babel.config.js +5 -5
  3. package/dragon.iml +7 -7
  4. package/package.json +54 -54
  5. package/public/index.html +30 -30
  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 +92 -92
  11. package/src/assets/js/Base64Util.js +22 -22
  12. package/src/assets/js/script.js +36 -36
  13. package/src/assets/less/common.css +6773 -6773
  14. package/src/assets/less/converSationContainer/common.less +191 -191
  15. package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
  16. package/src/assets/less/iconfont.css +37 -37
  17. package/src/assets/less/ticketMessage.less +211 -211
  18. package/src/components/ActionAlertIframe.vue +112 -112
  19. package/src/components/AskIFrame.vue +15 -15
  20. package/src/components/ConversationContainer.vue +1185 -1185
  21. package/src/components/FileType.vue +86 -86
  22. package/src/components/Message.vue +27 -27
  23. package/src/components/actionSatisfaction.vue +107 -107
  24. package/src/components/actionSendToBot.vue +62 -62
  25. package/src/components/answerDissatisfaction.vue +62 -62
  26. package/src/components/answerRadio.vue +76 -76
  27. package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
  28. package/src/components/ask-components/Msgloading.vue +37 -37
  29. package/src/components/ask-components/SatisfactionV2.vue +15 -15
  30. package/src/components/askVideo.vue +138 -138
  31. package/src/components/assetDetails.vue +370 -370
  32. package/src/components/assetMessage.vue +228 -228
  33. package/src/components/associationIntention.vue +121 -121
  34. package/src/components/botActionSatisfactor.vue +68 -68
  35. package/src/components/chatContent.vue +513 -513
  36. package/src/components/feedBack.vue +136 -136
  37. package/src/components/file/AliyunOssComponents.vue +108 -108
  38. package/src/components/formTemplate.vue +1958 -1949
  39. package/src/components/loadingProcess.vue +164 -164
  40. package/src/components/message/ActionAlertIframe.vue +112 -112
  41. package/src/components/message/ShopMessage.vue +164 -164
  42. package/src/components/message/TextMessage.vue +924 -924
  43. package/src/components/message/TicketMessage.vue +177 -177
  44. package/src/components/message/swiper/index.js +4 -4
  45. package/src/components/message/swiper/ticketSwiper.vue +502 -502
  46. package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
  47. package/src/components/msgLoading.vue +231 -231
  48. package/src/components/recommend.vue +89 -89
  49. package/src/components/selector/hOption.vue +20 -20
  50. package/src/components/selector/hSelector.vue +199 -199
  51. package/src/components/selector/hWrapper.vue +216 -216
  52. package/src/components/source/BotMessage.vue +24 -24
  53. package/src/components/source/CustomMessage.vue +24 -24
  54. package/src/components/test.vue +260 -260
  55. package/src/components/utils/AliyunIssUtil.js +72 -72
  56. package/src/components/utils/ckeditor.js +124 -124
  57. package/src/components/utils/format_date.js +18 -18
  58. package/src/components/utils/index.js +6 -6
  59. package/src/components/utils/math_utils.js +15 -15
  60. package/src/components/voiceComponent.vue +119 -119
  61. package/src/main.js +44 -44
  62. package/vue.config.js +34 -34
@@ -1,1185 +1,1185 @@
1
- <!-- 消息记录容器 -->
2
- <template>
3
- <div id="conversation">
4
- <asset-message></asset-message>
5
- <!-- <asser-deatils></asser-deatils> -->
6
- <msg-loading v-if="inLoading"></msg-loading>
7
- <div style="position: relative" class="img_div">
8
- <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/45c878fd-6a8e-40e2-b599-bdba8e17cf8a/微信图片_20210423113520.jpg?x-oss-process=image/auto-orient,1/quality,q_90/watermark,text_MjE=,color_cccccc,size_48,rotate_315,fill_1,x_10,y_10,t_0" style="width: 100px"/>
9
- <div class="mask">
10
- <loading-process :dataNote="dataNote" :finished="finished"></loading-process>
11
- </div>
12
- </div>
13
-
14
- <form-template
15
- :formList="formList2"
16
- @submitClick="submitClick"
17
- ></form-template>
18
- <!-- <voice-component @closeVoice="closeVoice">
19
- <div slot="voiceTip">
20
- 松开发送
21
- </div>
22
- </voice-component>-->
23
- <!-- 点选 -->
24
- <div v-html="htmlContainer">
25
- </div>
26
- <answer-radio :msg="answerRadios"></answer-radio>
27
- <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
28
- <ticket-message :content="contents"></ticket-message>
29
- <text-message :text="text" @submitClick="submitClick"></text-message>
30
- <div v-for="(item,index) in processAction" :key="index">
31
- <association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
32
- </div>
33
- <el-button @click="isOpen=!isOpen">切换</el-button>
34
- <!-- 满意组件 -->
35
- <action-satisfaction :msg="actionSatisfactions[0]"></action-satisfaction>
36
- <!-- 满意或不满意-->
37
- <bot-action-satisfactor :msg="botActionSatis"></bot-action-satisfactor>
38
- <answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
39
- <feed-back :feedBack="feedBack"></feed-back>
40
- <voice-compontent></voice-compontent>
41
-
42
- <!-- <FileType :urls="urls" :color="black"></FileType>-->
43
- <!-- <FileType :urls="urls" :color="black"></FileType>
44
- <chat-content :messageList="messageList"></chat-content>-->
45
- </div>
46
- </template>
47
- <script>
48
- import TextMessage from "@/components/message/TextMessage";
49
-
50
-
51
- /*import FormTemplate from "@/components/formTemplate";
52
- import TextMessage from "@/components/message/TextMessage";*/
53
-
54
- import FormTemplate from "@/components/formTemplate";
55
- import AnswerRadio from "./answerRadio";
56
- import TicketMessage from "./message/TicketMessage";
57
- /*import VoiceComponent from "./voiceComponent";*/
58
- import AssociationIntention from "./associationIntention";
59
- import ActionSatisfaction from "./actionSatisfaction";
60
- import MsgLoading from "./msgLoading";
61
- import LoadingProcess from "./loadingProcess";
62
- import BotActionSatisfactor from "./botActionSatisfactor";
63
- import AnswerDissatisfaction from "./answerDissatisfaction";
64
- import ActionSendToBot from "./actionSendToBot";
65
- import VoiceCompontent from './voiceComponent'
66
- // import AsserDeatils from './assetDetails.vue'
67
- import AssetMessage from './assetMessage.vue'
68
- /* import TicketMessage from "@/components/message/TicketMessage";
69
- import TicketMessage from "@/components/message/TicketMessage";
70
- import TextMessage from "@/components/message/TextMessage";
71
- import FeedBack from "@/components/feedBack";*/
72
- // iframe 弹窗组件测试
73
- /*import ActionAlert from "@/components/message/ActionAlertIframe";*/
74
- /*import FileType from "@/components/FileType";
75
- import ChatContent from "./chatContent";*/
76
- import FeedBack from "@/components/feedBack"
77
- export default {
78
- name: "ConversationContainer",
79
- components: {
80
- ActionSendToBot,
81
- AnswerDissatisfaction,
82
- BotActionSatisfactor,
83
- LoadingProcess,
84
- MsgLoading,
85
- ActionSatisfaction,
86
- AssociationIntention,
87
- /* VoiceComponent,*/
88
- TicketMessage,
89
- // AsserDeatils,
90
- AssetMessage,
91
- AnswerRadio,
92
- FormTemplate,
93
- TextMessage,
94
- FeedBack,
95
- VoiceCompontent
96
-
97
-
98
- },
99
- props: {
100
- messages: Array,
101
- },
102
- data() {
103
- return {
104
- black:'',
105
- // 弹窗组件模拟数据
106
- actionAlertIframeObj: {
107
- iframeId: "iframeId999999998",
108
- template: "https://www.baidu.com/?name=5555555",
109
- description: "描述",
110
- height: 550,
111
- width: 300,
112
- scrolling: "yes",
113
- sandbox: [
114
- "预留",
115
- "启用一系列对 <iframe> 中内容的额外限制",
116
- "参考 https://www.w3school.com.cn/tags/att_iframe_sandbox.asp",
117
- ],
118
- frameborder: "0/1(是否显示框架周围的边框)",
119
- displayStyle: "iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)",
120
- },
121
- contents: {
122
- multiple: true,
123
- cards: [
124
- {
125
- content: {
126
- htmlList: [
127
- {
128
- type:'IMAGE',
129
- src:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/02/03/03/11/90a549ad-5118-4bbd-b02f-88fa39a7d9e7/src=http___wx1.sinaimg.cn_mw690_0075bygJly1gg7223fbsnj31ba1yx4kl.jpg&refer=http___wx1.sinaimg.jfif'
130
-
131
- /*list: [
132
- {
133
- type:'IMAGE',
134
- src:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/02/03/02/58/0d04a01a-5b57-439f-82f8-2c5dfba06fc5/5c468a64f152b1.jpg'
135
- },
136
- ],*/
137
- },
138
- { type: "SINGLE", list: ["<p>aaaaaaaaaa</p>"] },
139
- { type: "SINGLE", list: ["<p>北京首都国际机场</p>"] },
140
- { type: "SINGLE", list: ["<p>北京首都国际机场啦啦啦啦</p>"] },
141
- { type: "SINGLE", list: ["<p>7:00</p>"] },
142
- ],
143
- buttonList: [
144
- { name: "我是标签1", scope: "", test: "" },
145
- { name: "我是标签2" },
146
- ],
147
- },
148
- },
149
- {
150
- content: {
151
- htmlList: [
152
- { type: "SINGLE", list: ["<p>aaaaa</p>"] },
153
- {
154
- type: "DOUBLE",
155
- list: [
156
- "<p>测试测试测试测试测试测试测试</p>",
157
- "<div>bbbbb</div>",
158
- ],
159
- },
160
- {
161
- type: "TRIPLE",
162
- list: ["<p>7:00</p>", "<div></div>", "<p>ccccc</p>"],
163
- },
164
- {
165
- type: "TRIPLE",
166
- list: ["<p>7:00</p>", "<div>bbbbb</div>", "<p>12:00</p>"],
167
- },
168
- ],
169
- buttonList: [{ name: "我是标签1", scope: "", test: "" }],
170
- },
171
- },
172
- {
173
- content: {
174
- htmlList: [
175
- { type: "SINGLE", list: ["<p>邓伦李沁的背景图片</p>"] },
176
- { type: "SINGLE", list: ["<p>男生藏快递向求婚被他人错拆</p>"] },
177
- { type: "SINGLE", list: ["<p>aaaaa</p>"] },
178
- { type: "SINGLE", list: ["<p>aaaaa</p>"] },
179
- ],
180
- buttonList: [{ name: "我是标签1" }],
181
- },
182
- },
183
- ],
184
- apiKey:'123456789'
185
- },
186
- formList: {
187
- formActionId: "",
188
- form: {
189
- formFieldRelation: [
190
- {
191
- display: true,
192
- paramName: "miaoshu",
193
- formField: {
194
- deleted: false,
195
- createTime: "2020-12-08T08:08:03.000+0000",
196
- name: "",
197
- description: "",
198
- updateTime: "2020-12-08T08:10:41.000+0000",
199
- id: 1112,
200
- lastOperatorId: 21,
201
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3ac8",
202
- type: "EXPLANATION",
203
- extInfo: {
204
- descriptionText: "我是解释说明文案"
205
- },
206
- },
207
- required: false,
208
- fieldId: 1112,
209
- },
210
- {
211
- display: true,
212
- paramName: "danxuan",
213
- value: "",
214
- formField: {
215
- deleted: false,
216
- createTime: "2020-12-08T08:08:03.000+0000",
217
- name: "单选1",
218
- description: "",
219
- updateTime: "2020-12-08T08:10:41.000+0000",
220
- id: 111,
221
- lastOperatorId: 21,
222
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3acc",
223
- type: "RADIO",
224
- extInfo: {
225
- WebHookParameter: [],
226
- value: [],
227
- option: [
228
- { _default: "true", label: "1", value: "1" },
229
- { _default: "false", label: "2", value: "选项二" },
230
- { _default: "false", label: "3", value: "3" },
231
- ],
232
- },
233
- },
234
- required: false,
235
- fieldId: 111,
236
- },
237
- {
238
- display: true,
239
- paramName: "fujian",
240
- formField: {
241
- deleted: false,
242
- createTime: "2020-12-08T08:08:03.000+0000",
243
- name: '123',
244
- description: "",
245
- updateTime: "2020-12-08T08:10:41.000+0000",
246
- id: 1117,
247
- lastOperatorId: 78,
248
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
249
- type: "FILE",
250
- extInfo: {
251
- fileLimit:'more',
252
- limitNum:'3'
253
- },
254
- },
255
- required: true,
256
- fieldId: 1117,
257
- value: [
258
- {
259
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
260
- }
261
- ]
262
- },
263
- {
264
- display: true,
265
- paramName: "fuxuan",
266
- value: [],
267
- formField: {
268
- deleted: false,
269
- createTime: "2020-12-08T08:08:15.000+0000",
270
- name: "复选1",
271
- description: "",
272
- updateTime: "2020-12-08T08:10:49.000+0000",
273
- id: 112,
274
- lastOperatorId: 21,
275
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accd",
276
- type: "CHECKBOX",
277
- extInfo: {
278
- WebHookParameter: [],
279
- value: [],
280
- option: [
281
- { _default: "false", label: "1", value: "" },
282
- {
283
- _default: "false",
284
- label: "2",
285
- value: "选项二",
286
- },
287
- { _default: "false", label: "3", value: "" },
288
- ],
289
- },
290
- },
291
- required: true,
292
- fieldId: 112,
293
- },
294
- {
295
- display: true,
296
- paramName: "xiala",
297
- value: "MIDDLE",
298
- formField: {
299
- deleted: false,
300
- createTime: "2020-12-08T08:08:27.000+0000",
301
- name: "下拉1",
302
- description: "",
303
- updateTime: "2020-12-08T08:10:56.000+0000",
304
- id: 113,
305
- lastOperatorId: 21,
306
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accdd",
307
- type: "SELECT",
308
- extInfo: {
309
- WebHookParameter: [],
310
- value: [],
311
- option: [
312
- { _default: "false", label: "紧急", value: "URGENT" },
313
- {
314
- _default: "false",
315
- label: "高",
316
- value: "HIGH",
317
- },
318
- { _default: "false", label: "中", value: "MIDDLE" },
319
- { _default: "false", label: "12", value: "12" },
320
- ],
321
- },
322
- },
323
- required: false,
324
- fieldId: 113,
325
-
326
- },
327
- {
328
- display: true,
329
- paramName: "hhh",
330
- value: [{
331
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
332
- },
333
- {
334
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
335
- }
336
- ],
337
- formField: {
338
- deleted: false,
339
- createTime: "2020-12-08T08:08:03.000+0000",
340
- name: '345',
341
- description: "",
342
- updateTime: "2020-12-08T08:10:41.000+0000",
343
- id: 222222,
344
- lastOperatorId: 78,
345
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
346
- type: "FILE",
347
- extInfo: {
348
- fileLimit:'more',
349
-
350
- },
351
- },
352
- required: false,
353
- fieldId: 222222
354
- },
355
- ],
356
- },
357
- },
358
- formList2: {
359
- formActionId: "",
360
- form: {
361
- id: 3,
362
- name: "表单1",
363
- release: false,
364
- deleted: false,
365
- description: "",
366
- webhookId: 0,
367
- webHookRequest: null,
368
- createTime: "2020-11-18T10:50:19.000+0000",
369
- updateTime: "2020-11-18T10:50:19.000+0000",
370
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3acc",
371
- formFieldRelation: [
372
- {
373
- display: true,
374
- fieldId: "5fd1d87127d6601a879b49bbc",
375
- formField: {
376
- createTime: null,
377
- updateTime: "2020-12-10T16:12:33.544",
378
- id: "5fd1d87127d6601a879b49bbc",
379
- name: "级联",
380
- description: "",
381
- type: "CASCADER",
382
- operatorId: "12",
383
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
384
- searchable: true,
385
- extInfo: {
386
- exinfo: [],
387
- cascadeDown: [
388
- {
389
- style: "1",
390
- options: [
391
- {
392
- value: "选项一",
393
- label: "选项一",
394
- children: [
395
- {
396
- value: "选项一一",
397
- label: "选项一一",
398
- children:[
399
- {label:'选项一一一',value:'选项一一一'},
400
- {label:'选项一一二',value:'选项一一二'}
401
-
402
- ]
403
- },
404
- {
405
- value: "选项一二",
406
- label: "选项一二",
407
- children:[
408
- {label:'选项一二一',value:'选项一二一'},
409
- {label:'选项一二二',value:'选项一二二'}
410
- ]
411
- },
412
- ],
413
- },
414
- {
415
- value: "选项二",
416
- label: "选项二",
417
- children: [
418
- {
419
- value: "选项二一",
420
- label: "选项二一",
421
- children:[
422
- {label:'选项二一一',value:'选项二一一'},
423
- {label:'选项二一二',value:'选项二一二'}
424
- ]
425
- },
426
- {
427
- value: "选项二二",
428
- label: "选项二二",
429
- children:[
430
- {label:'选项二二一',value:'选项二二一'},
431
- {label:'选项二二二',value:'选项二二二'}
432
- ]
433
- },
434
- ],
435
- },
436
- {
437
- value: "选项三",
438
- label: "选项三"
439
- },
440
- ],
441
- },
442
- ],
443
- },
444
- },
445
- width: 0,
446
- required: true,
447
- value: null,
448
- },
449
- {
450
- display: true,
451
- fieldId: "workorder_description",
452
- formField: {
453
- createTime: null,
454
- updateTime: "2020-12-10T16:12:33.544",
455
- id: "5fd1d87127d6601a879b49bbcccc",
456
- name: "工单描述",
457
- description: "",
458
- type: "TEXTAREA",
459
- operatorId: "12",
460
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
461
- searchable: true,
462
- extInfo:null
463
- },
464
- width: 0,
465
- required: true,
466
- value: null,
467
- },
468
- {
469
- display: true,
470
- fieldId: "workorder_clientId",
471
- formField: {
472
- createTime: null,
473
- updateTime: "2020-12-10T16:12:33.544",
474
- id: "5fd1d87127d6601a879b49bbccccd'd",
475
- name: "客户",
476
- description: "",
477
- type: "SELECT",
478
- operatorId: "12",
479
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
480
- searchable: true,
481
- extInfo:{
482
- options:[]
483
- }
484
- },
485
- width: 0,
486
- required: false,
487
- value: null,
488
- },
489
- {
490
- display: true,
491
- fieldId: "5fd1d87127d6601a879b49bbccc",
492
- formField: {
493
- createTime: null,
494
- updateTime: "2020-12-10T16:12:33.544",
495
- id: "5fd1d87127d6601a879b49bbccc",
496
- name: "级联2",
497
- description: "",
498
- type: "CASCADER",
499
- operatorId: "12",
500
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
501
- searchable: true,
502
- extInfo: {
503
- exinfo: [],
504
- cascade:[
505
- {
506
- value: "是",
507
- label: "是",
508
- children: [
509
- {
510
- value: "北京",
511
- label: "北京",
512
- children:[
513
- {label:'北京一',value:'北京一'}
514
- ]
515
- },
516
- {
517
- value: "天津",
518
- label: "天津",
519
- },
520
- ],
521
- },
522
- {
523
- value: "飒飒",
524
- label: "飒飒"
525
- },
526
- ],
527
- placeholder:'请选择级联'
528
-
529
- },
530
- },
531
- width: 0,
532
- required: true,
533
- value: null,
534
- },
535
- {
536
- display: true,
537
- fieldId: "5fd1d87b27d6601a879b49bcaaff",
538
- formField: {
539
- createTime: null,
540
- updateTime: "2020-12-10T16:12:43.694",
541
- id: "5fd1d87b27d6601a879b49bcaaff",
542
- name: "下拉",
543
- description: "",
544
- type: "SELECT",
545
- operatorId: "12",
546
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
547
- searchable: true,
548
- extInfo: {
549
- exinfo: [
550
- {
551
- value: "我",
552
- _default: "true",
553
- },
554
- {
555
- value: "你",
556
- _default: "false",
557
- },
558
- ],
559
- cascadeDown: [
560
- {
561
- style: "1",
562
- options: [],
563
- },
564
- ],
565
- },
566
- },
567
- width: 0,
568
- required: false,
569
- value: '我',
570
- },
571
- {
572
- display: true,
573
- fieldId: "5fd1d87b27d6601a879b49bc",
574
- formField: {
575
- createTime: null,
576
- updateTime: "2020-12-10T16:12:43.694",
577
- id: "5fd1d87b27d6601a879b49bc",
578
- name: "下拉22",
579
- description: "",
580
- type: "SELECT",
581
- operatorId: "12",
582
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
583
- searchable: true,
584
- extInfo: {
585
- option: [
586
- { value: "chifan", label: "吃饭", _default: "false" },
587
- { value: "shuijiao", label: "睡觉", _default: "true" },
588
- ],
589
- placeholder:'请选择下拉'
590
- },
591
- },
592
- width: 0,
593
- required: false,
594
- value: null,
595
- },
596
- {
597
- display: true,
598
- fieldId: "5fd1d88627d6601a879b49bd",
599
- formField: {
600
- createTime: null,
601
- updateTime: "2020-12-10T16:12:54.45",
602
- id: "5fd1d88627d6601a879b49bd",
603
- name: "单选",
604
- description: "",
605
- type: "RADIO",
606
- operatorId: "12",
607
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
608
- searchable: true,
609
- extInfo: {
610
- exinfo: [
611
- {
612
- value: "三点",
613
- _default: "true",
614
- },
615
- {
616
- value: "但是",
617
- _default: "false",
618
- },
619
- ],
620
- cascadeDown: [
621
- {
622
- style: "1",
623
- options: [],
624
- },
625
- ],
626
- },
627
- },
628
- width: 0,
629
- required: true,
630
- value: null,
631
- },
632
- {
633
- display: true,
634
- fieldId: "5fd1d89127d6601a879b49be",
635
- formField: {
636
- createTime: null,
637
- updateTime: "2020-12-10T16:13:05.108",
638
- id: "5fd1d89127d6601a879b49be",
639
- name: "复选",
640
- description: "",
641
- type: "CHECKBOX",
642
- operatorId: "12",
643
- mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
644
- searchable: true,
645
- extInfo: {
646
- exinfo: [
647
- {
648
- value: "dingding",
649
- label:'dingding',
650
- _default: "false",
651
- },
652
- {
653
- value: "lala",
654
- label:'lala',
655
- _default: "true",
656
- },
657
- ],
658
- cascadeDown: [
659
- {
660
- style: "1",
661
- options: [],
662
- },
663
- ],
664
- },
665
- },
666
- width: 0,
667
- required: true,
668
- value: null,
669
- },
670
- {
671
- display:true,
672
- fieldId: "1adcfd3d0c494dcaba5c469ee8252e3f",
673
- formField:{
674
- extInfo:{
675
- isDelete:true,
676
- visibleWithoutPermission:false
677
- },
678
- name:'聊天记录',
679
- type:'CHAT_RECORD'
680
- },
681
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
682
- required:false,
683
- value:''
684
- },
685
- {
686
- display:true,
687
- fieldId: "5811458460c94013bc2c2285120d7a8c",
688
- formField:{
689
- extInfo:{
690
- isDelete:true,
691
- visibleWithoutPermission:false,
692
- url:"https://www.runoob.com/tags/html-colorpicker.html"
693
- },
694
- name:'"说明文字"',
695
- type:'EXPLAIN'
696
- },
697
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
698
- required:false,
699
- value:'说明文字'
700
- },
701
- {
702
- display:true,
703
- fieldId: "44650eba647345e7b7f785bf772415c3",
704
- formField:{
705
- extInfo:{
706
- isDelete:true,
707
- visibleWithoutPermission:false,
708
- url:""
709
- },
710
- name:'"渠道"',
711
- type:'CHANNEL'
712
- },
713
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
714
- required:false,
715
- value:'说明文字'
716
- },
717
- {
718
- display:true,
719
- fieldId: "a59fc947fc47405796babb376acc6a7b",
720
- formField:{
721
- extInfo:{
722
- isDelete:true,
723
- visibleWithoutPermission:false,
724
- options:[
725
- {
726
- label:"选项一",
727
- value:'选项一',
728
- _default:"false"
729
- },
730
- {
731
- label:"选项二",
732
- value:'选项二',
733
- _default:"false"
734
- },
735
- {
736
- label:"选项三",
737
- value:'选项三',
738
- _default:"false"
739
- },
740
- ]
741
- },
742
- name:'下拉',
743
- type:'SELECT'
744
- },
745
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
746
- required:false,
747
- value:'选项二'
748
- },
749
- {
750
- display:true,
751
- fieldId: "64e8e0d90dd34c42ac5fcd81e1f932b4",
752
- formField:{
753
- extInfo:{
754
- isDelete:true,
755
- visibleWithoutPermission:false,
756
- options:[
757
- {
758
- label:"选项一",
759
- value:'选项一',
760
- _default:"false"
761
- },
762
- {
763
- label:"选项二",
764
- value:'选项二',
765
- _default:"false"
766
- },
767
- {
768
- label:"选项三",
769
- value:'选项三',
770
- _default:"false"
771
- },
772
- ]
773
- },
774
- name:'单选',
775
- type:'RADIO'
776
- },
777
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
778
- required:false,
779
- value:'选项一'
780
- },
781
- {
782
- display:true,
783
- fieldId: "dc573800d9904f3d8e4d59408549e087",
784
- formField:{
785
- extInfo:{
786
- isDelete:true,
787
- visibleWithoutPermission:false,
788
- options:[
789
- {
790
- label:"选项一",
791
- value:'选项一',
792
- _default:"false"
793
- },
794
- {
795
- label:"选项二",
796
- value:'选项二',
797
- _default:"false"
798
- },
799
- {
800
- label:"选项三",
801
- value:'选项三',
802
- _default:"false"
803
- },
804
- ]
805
- },
806
- name:'多选',
807
- type:'CHECKBOX'
808
- },
809
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
810
- required:false,
811
- value:['选项一','选项二']
812
- },
813
- {
814
- display:true,
815
- fieldId: "ef91e955bf894886b9edc56eb2c37554",
816
- formField:{
817
- extInfo:{
818
- isDelete:true,
819
- visibleWithoutPermission:false,
820
- mold:'DATA',
821
- placeholder:'请选择时间日期'
822
- },
823
- name:'时间日期',
824
- type:'TIME_PICKER'
825
- },
826
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
827
- required:false,
828
- value:''
829
- },
830
- {
831
- display:true,
832
- fieldId: "ef91e955bf894886b9edc56eb2c3755S",
833
- formField:{
834
- extInfo:{
835
- isDelete:true,
836
- visibleWithoutPermission:false,
837
- mold:'DATA_TIME',
838
- placeholder:'请选择'
839
- },
840
- name:'时间日期',
841
- type:'TIME_PICKER'
842
- },
843
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
844
- required:false,
845
- value:''
846
- },
847
- {
848
- display:true,
849
- fieldId: "workorder_name",
850
- formField:{
851
- name:'工单名称',
852
- type:'INPUT'
853
- },
854
- paramName:"name",
855
- required:true,
856
- value:''
857
- },
858
- {
859
- display:true,
860
- fieldId: "ef91e955bf894886b9edc56eb2c3755S333",
861
- formField:{
862
- extInfo:{
863
- isDelete:true,
864
- visibleWithoutPermission:false,
865
- maxNum:"3"
866
- },
867
- name:'单行输入框',
868
- type:'INPUT'
869
- },
870
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3333",
871
- required:false,
872
- value:''
873
- },
874
- {
875
- display:true,
876
- fieldId: "ef91e955bf894886b9edc56eb2c3755S444",
877
- formField:{
878
- extInfo:{
879
- isDelete:true,
880
- visibleWithoutPermission:false,
881
- },
882
- name:'多行输入框',
883
- type:'TEXTAREA'
884
- },
885
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3444",
886
- required:false,
887
- value:''
888
- },
889
-
890
- ],
891
- },
892
- },
893
-
894
- text: {
895
- template:
896
- '<p>开始时间&nbsp;<span class="ask-component-placeholder-container"><span class="ask-component-placeholder-span" data="${开始时间戳_秒}" type="INPUT">1607427268</span><i class="ask-component-placeholder-icon arsenal_icon arsenalbianji2" icon="arsenal_icon arsenalkebianji" editable="true" onclick="_askEditValue(this,this.previousElementSibling)"></i><br/></span>结束时间&nbsp;<span class="ask-component-placeholder-container"><span class="ask-component-placeholder-span" data="${结束时间戳_秒}" type="TIME_PICKER">1607772868</span><i class="ask-component-placeholder-icon arsenal_icon arsenalkebianji" icon="arsenal_icon arsenalkebianji" editable="true" onclick="_askEditValue(this,this.previousElementSibling)"></i></span></p>',
897
- goToAction: { value: "123" },
898
- apiKey:''
899
- },
900
- rem: "rem",
901
- feedBack: {
902
- positiveFeedback: { text: "有用有用有用有用" },
903
- negativeFeedback: { text: "无用无用无用无用" },
904
- feedbackActions: [],
905
- feedbackUid: "",
906
- },
907
- urls:[ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.zip", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
908
- {"status":"success","name":"portal._153724.doc", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
909
- {"status":"success","name":"portal.test.askbot.cn_20201214_153724.xls", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
910
- {"status":"success","name":"portal.test.askbot.cn_20201214_153724.ppt", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
911
- {"status":"success","name":"portal.test.askbot.cn_20201214_153724.pdf", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
912
- {"status":"success","name":"portal.test.askbot.cn_20201214_153724.zip", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" }],
913
- messageList:[
914
- {content:'您好,我是郑俊成的智能助理,请问您是为企业咨询还是个人兴趣?',speaker:'bot',type:'answer_text'},
915
- {content:'单位',speaker:'user',type:'answer_text'}
916
- ],
917
- answerMsg:{
918
- content:{
919
- description:'你好,我是点选',
920
- options:[{
921
- name: "跳转意图",
922
- scope: "INTENT",
923
- value: "3535"
924
- }]
925
- }
926
- },
927
- showLoad:false,
928
- videoUrl:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/27/10/22/56fb13eb-b94a-45e8-b131-04531330cb2c/微信_20210719215122.mp4',
929
- processAction:[
930
- {
931
- content:{
932
- html:'<p style="line-height: 16px;"><img onclick=\'previewImage(this)\' src="https://test.open.guoranbot.com/UEditor/dialogs/attachment/fileTypeImages/icon_txt.gif"/><a style="font-size:12px; color:#0066cc;" href="https://static.guoranbot.com/ueditor/2022/03/11/c788d2d7fea04be680cc920e1f99db8e/分析报告 (1).xlsx" title="分析报告 (1).xlsx">分析报告 (1).xlsx</a></p><p><br/></p>',
933
- recommend:{
934
- description: "关联意图测试描述",
935
- list:[
936
- {
937
- id: "3539",
938
- text: "文本",
939
- type: 1
940
- },
941
- {
942
- id: "3540",
943
- text: "图片",
944
- type: 1
945
- }
946
- ],
947
- status: true
948
- }
949
- },
950
- type:'answer_rich_text',
951
- id:'60df03aeeea6014311dc4285',
952
- intentId:6064,
953
- recommend:{
954
- description: "关联意图测试描述",
955
- list:[
956
- {
957
- id: "3539",
958
- text: "文本",
959
- type: 1
960
- },
961
- {
962
- id: "3540",
963
- text: "图片",
964
- type: 1
965
- }
966
- ],
967
- status: true
968
- }
969
- },
970
-
971
- {
972
- content:{
973
- url:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/45c878fd-6a8e-40e2-b599-bdba8e17cf8a/微信图片_20210423113520.jpg?x-oss-process=image/auto-orient,1/quality,q_90/watermark,text_MjE=,color_cccccc,size_48,rotate_315,fill_1,x_10,y_10,t_0',
974
- html:'测试文本-关联推荐没有描述',
975
- recommend:{
976
- description: "",
977
- list:[
978
- {
979
- id: "3539",
980
- text: "文本",
981
- type: 1
982
- },
983
- {
984
- id: "3540",
985
- text: "图片",
986
- type: 1
987
- }
988
- ],
989
- status: true
990
- }
991
- },
992
- type:'answer_image',
993
- id:'6124d9b1c12fa234e0b3ddc8',
994
- intentId:6064,
995
- recommend:{
996
- description: "",
997
- list:[
998
- {
999
- id: "3539",
1000
- text: "文本",
1001
- type: 1
1002
- },
1003
- {
1004
- id: "3540",
1005
- text: "图片",
1006
- type: 1
1007
- }
1008
- ],
1009
- status: true
1010
- }
1011
- },
1012
- {
1013
- content:{
1014
- url:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
1015
- videoFlag: false,
1016
- videoUploadPercent:0,
1017
- isShowUploadVideo:true,
1018
- recommend:{
1019
- description: "关联意图测试描述",
1020
- list:[
1021
- {
1022
- id: "3539",
1023
- text: "文本",
1024
- type: 1
1025
- }
1026
- ],
1027
- status: true
1028
- }
1029
- },
1030
- type:'answer_video',
1031
- id:'60df03aeeea6014311dc4285',
1032
- intentId:6064,
1033
- recommend:{
1034
- description: "关联意图测试描述",
1035
- list:[
1036
- {
1037
- id: "3539",
1038
- text: "文本",
1039
- type: 1
1040
- }
1041
- ],
1042
- status: true
1043
- }
1044
- }
1045
- ],
1046
- actionSatisfactions:[
1047
- {
1048
- content:{
1049
- satisfactionDes:'满意度',
1050
- satisfactoryAnswer:'',
1051
- unsatisfiedAnswer:'',
1052
- answerRadio:[
1053
- {
1054
- answer:'哦哦哦',
1055
- name:'哈哈哈'
1056
- }
1057
- ]
1058
- }
1059
-
1060
- }
1061
- ],
1062
- inLoading:true,
1063
- dataNote:0,
1064
- timer:null,
1065
- finished:false,
1066
- botActionSatis:{
1067
- content:{
1068
- reply_text:'哈哈哈哈哈',
1069
- reply_options:[
1070
- {
1071
- name:'暗示丢',
1072
- answer:'暗示丢1504559775615045597756kjl',
1073
- apiKey:''
1074
- },
1075
- {
1076
- name:'暗示丢2',
1077
- answer:'暗示丢11504559775615045597756kjl',
1078
- apiKey:''
1079
- }
1080
- ]
1081
- }
1082
- },
1083
- answerDiss:{
1084
- content:{
1085
- replyText:'哈哈哈哈哈',
1086
- replyOptions:[
1087
- {
1088
- name:'暗示丢',
1089
- answer:'暗示丢1504559775615045597756kjl',
1090
- apiKey:''
1091
- },
1092
- {
1093
- name:'暗示丢2',
1094
- answer:'暗示丢11504559775615045597756kjl',
1095
- apiKey:''
1096
- }
1097
- ]
1098
- }
1099
- },
1100
- answerRadios:{
1101
- content:{
1102
- description:'请点击下方选项继续测试',
1103
- options:[
1104
- {
1105
- name: "跳转节点1",
1106
- scope: "NODE",
1107
- value: "60177b9470814d4ce924f1ed"
1108
- },
1109
- {
1110
- name: "跳转意图",
1111
- scope: "INTENT",
1112
- value: "3558"
1113
- },
1114
- {
1115
- name: "跳转节点2",
1116
- scope: "NODE",
1117
- value: "60af4505d0acd7017620c4f2"
1118
- }
1119
- ],
1120
- recommend:{
1121
- description:'',
1122
- status:false,
1123
- list:[]
1124
- }
1125
- },
1126
- type:'answer_radio'
1127
- },
1128
- htmlContainer:'<input placeholder="请输入"></input>',
1129
- isOpen:true
1130
- };
1131
- },
1132
- methods: {
1133
- submitClick(value) {
1134
- console.log(value);
1135
- },
1136
- submitClicks(value) {
1137
- console.log(value);
1138
- },
1139
- positiveFeedback(value1) {
1140
- console.log(value1);
1141
- },
1142
- touchEnd(index){
1143
- console.log(index)
1144
- },
1145
- closeVoice(){
1146
- console.debug('我是close事件')
1147
- },
1148
- },
1149
- mounted() {
1150
- this.timer = setInterval(()=>{
1151
- this.dataNote+=1
1152
- console.debug('this.dataNote',this.dataNote)
1153
- },1000)
1154
-
1155
- setTimeout(()=>{
1156
- this.inLoading = true
1157
- },2000)
1158
- setTimeout(()=>{
1159
- this.finished = true
1160
- this.dataNote = 10
1161
- clearInterval(this.timer)
1162
- },5000)
1163
- },
1164
- updated() {},
1165
- };
1166
- </script>
1167
-
1168
- <!-- Add "scoped" attribute to limit CSS to this component only -->
1169
- <style scoped lang="less">
1170
- @import "../assets/less/converSationContainer/converSatonContainer";
1171
- #conversation{
1172
- background-color:#F5F7FB ;
1173
- }
1174
- .img_div{
1175
- position: relative;
1176
- .mask{
1177
- position: absolute;
1178
- top: 0;
1179
- right: 0;
1180
- width: 100%;
1181
- height: 100%;
1182
- border-radius: 10px;
1183
- }
1184
- }
1185
- </style>
1
+ <!-- 消息记录容器 -->
2
+ <template>
3
+ <div id="conversation">
4
+ <asset-message></asset-message>
5
+ <!-- <asser-deatils></asser-deatils> -->
6
+ <msg-loading v-if="inLoading"></msg-loading>
7
+ <div style="position: relative" class="img_div">
8
+ <img src="https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/45c878fd-6a8e-40e2-b599-bdba8e17cf8a/微信图片_20210423113520.jpg?x-oss-process=image/auto-orient,1/quality,q_90/watermark,text_MjE=,color_cccccc,size_48,rotate_315,fill_1,x_10,y_10,t_0" style="width: 100px"/>
9
+ <div class="mask">
10
+ <loading-process :dataNote="dataNote" :finished="finished"></loading-process>
11
+ </div>
12
+ </div>
13
+
14
+ <form-template
15
+ :formList="formList2"
16
+ @submitClick="submitClick"
17
+ ></form-template>
18
+ <!-- <voice-component @closeVoice="closeVoice">
19
+ <div slot="voiceTip">
20
+ 松开发送
21
+ </div>
22
+ </voice-component>-->
23
+ <!-- 点选 -->
24
+ <div v-html="htmlContainer">
25
+ </div>
26
+ <answer-radio :msg="answerRadios"></answer-radio>
27
+ <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
28
+ <ticket-message :content="contents"></ticket-message>
29
+ <text-message :text="text" @submitClick="submitClick"></text-message>
30
+ <div v-for="(item,index) in processAction" :key="index">
31
+ <association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
32
+ </div>
33
+ <el-button @click="isOpen=!isOpen">切换</el-button>
34
+ <!-- 满意组件 -->
35
+ <action-satisfaction :msg="actionSatisfactions[0]"></action-satisfaction>
36
+ <!-- 满意或不满意-->
37
+ <bot-action-satisfactor :msg="botActionSatis"></bot-action-satisfactor>
38
+ <answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
39
+ <feed-back :feedBack="feedBack"></feed-back>
40
+ <voice-compontent></voice-compontent>
41
+
42
+ <!-- <FileType :urls="urls" :color="black"></FileType>-->
43
+ <!-- <FileType :urls="urls" :color="black"></FileType>
44
+ <chat-content :messageList="messageList"></chat-content>-->
45
+ </div>
46
+ </template>
47
+ <script>
48
+ import TextMessage from "@/components/message/TextMessage";
49
+
50
+
51
+ /*import FormTemplate from "@/components/formTemplate";
52
+ import TextMessage from "@/components/message/TextMessage";*/
53
+
54
+ import FormTemplate from "@/components/formTemplate";
55
+ import AnswerRadio from "./answerRadio";
56
+ import TicketMessage from "./message/TicketMessage";
57
+ /*import VoiceComponent from "./voiceComponent";*/
58
+ import AssociationIntention from "./associationIntention";
59
+ import ActionSatisfaction from "./actionSatisfaction";
60
+ import MsgLoading from "./msgLoading";
61
+ import LoadingProcess from "./loadingProcess";
62
+ import BotActionSatisfactor from "./botActionSatisfactor";
63
+ import AnswerDissatisfaction from "./answerDissatisfaction";
64
+ import ActionSendToBot from "./actionSendToBot";
65
+ import VoiceCompontent from './voiceComponent'
66
+ // import AsserDeatils from './assetDetails.vue'
67
+ import AssetMessage from './assetMessage.vue'
68
+ /* import TicketMessage from "@/components/message/TicketMessage";
69
+ import TicketMessage from "@/components/message/TicketMessage";
70
+ import TextMessage from "@/components/message/TextMessage";
71
+ import FeedBack from "@/components/feedBack";*/
72
+ // iframe 弹窗组件测试
73
+ /*import ActionAlert from "@/components/message/ActionAlertIframe";*/
74
+ /*import FileType from "@/components/FileType";
75
+ import ChatContent from "./chatContent";*/
76
+ import FeedBack from "@/components/feedBack"
77
+ export default {
78
+ name: "ConversationContainer",
79
+ components: {
80
+ ActionSendToBot,
81
+ AnswerDissatisfaction,
82
+ BotActionSatisfactor,
83
+ LoadingProcess,
84
+ MsgLoading,
85
+ ActionSatisfaction,
86
+ AssociationIntention,
87
+ /* VoiceComponent,*/
88
+ TicketMessage,
89
+ // AsserDeatils,
90
+ AssetMessage,
91
+ AnswerRadio,
92
+ FormTemplate,
93
+ TextMessage,
94
+ FeedBack,
95
+ VoiceCompontent
96
+
97
+
98
+ },
99
+ props: {
100
+ messages: Array,
101
+ },
102
+ data() {
103
+ return {
104
+ black:'',
105
+ // 弹窗组件模拟数据
106
+ actionAlertIframeObj: {
107
+ iframeId: "iframeId999999998",
108
+ template: "https://www.baidu.com/?name=5555555",
109
+ description: "描述",
110
+ height: 550,
111
+ width: 300,
112
+ scrolling: "yes",
113
+ sandbox: [
114
+ "预留",
115
+ "启用一系列对 <iframe> 中内容的额外限制",
116
+ "参考 https://www.w3school.com.cn/tags/att_iframe_sandbox.asp",
117
+ ],
118
+ frameborder: "0/1(是否显示框架周围的边框)",
119
+ displayStyle: "iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)",
120
+ },
121
+ contents: {
122
+ multiple: true,
123
+ cards: [
124
+ {
125
+ content: {
126
+ htmlList: [
127
+ {
128
+ type:'IMAGE',
129
+ src:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/02/03/03/11/90a549ad-5118-4bbd-b02f-88fa39a7d9e7/src=http___wx1.sinaimg.cn_mw690_0075bygJly1gg7223fbsnj31ba1yx4kl.jpg&refer=http___wx1.sinaimg.jfif'
130
+
131
+ /*list: [
132
+ {
133
+ type:'IMAGE',
134
+ src:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/02/03/02/58/0d04a01a-5b57-439f-82f8-2c5dfba06fc5/5c468a64f152b1.jpg'
135
+ },
136
+ ],*/
137
+ },
138
+ { type: "SINGLE", list: ["<p>aaaaaaaaaa</p>"] },
139
+ { type: "SINGLE", list: ["<p>北京首都国际机场</p>"] },
140
+ { type: "SINGLE", list: ["<p>北京首都国际机场啦啦啦啦</p>"] },
141
+ { type: "SINGLE", list: ["<p>7:00</p>"] },
142
+ ],
143
+ buttonList: [
144
+ { name: "我是标签1", scope: "", test: "" },
145
+ { name: "我是标签2" },
146
+ ],
147
+ },
148
+ },
149
+ {
150
+ content: {
151
+ htmlList: [
152
+ { type: "SINGLE", list: ["<p>aaaaa</p>"] },
153
+ {
154
+ type: "DOUBLE",
155
+ list: [
156
+ "<p>测试测试测试测试测试测试测试</p>",
157
+ "<div>bbbbb</div>",
158
+ ],
159
+ },
160
+ {
161
+ type: "TRIPLE",
162
+ list: ["<p>7:00</p>", "<div></div>", "<p>ccccc</p>"],
163
+ },
164
+ {
165
+ type: "TRIPLE",
166
+ list: ["<p>7:00</p>", "<div>bbbbb</div>", "<p>12:00</p>"],
167
+ },
168
+ ],
169
+ buttonList: [{ name: "我是标签1", scope: "", test: "" }],
170
+ },
171
+ },
172
+ {
173
+ content: {
174
+ htmlList: [
175
+ { type: "SINGLE", list: ["<p>邓伦李沁的背景图片</p>"] },
176
+ { type: "SINGLE", list: ["<p>男生藏快递向求婚被他人错拆</p>"] },
177
+ { type: "SINGLE", list: ["<p>aaaaa</p>"] },
178
+ { type: "SINGLE", list: ["<p>aaaaa</p>"] },
179
+ ],
180
+ buttonList: [{ name: "我是标签1" }],
181
+ },
182
+ },
183
+ ],
184
+ apiKey:'123456789'
185
+ },
186
+ formList: {
187
+ formActionId: "",
188
+ form: {
189
+ formFieldRelation: [
190
+ {
191
+ display: true,
192
+ paramName: "miaoshu",
193
+ formField: {
194
+ deleted: false,
195
+ createTime: "2020-12-08T08:08:03.000+0000",
196
+ name: "",
197
+ description: "",
198
+ updateTime: "2020-12-08T08:10:41.000+0000",
199
+ id: 1112,
200
+ lastOperatorId: 21,
201
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3ac8",
202
+ type: "EXPLANATION",
203
+ extInfo: {
204
+ descriptionText: "我是解释说明文案"
205
+ },
206
+ },
207
+ required: false,
208
+ fieldId: 1112,
209
+ },
210
+ {
211
+ display: true,
212
+ paramName: "danxuan",
213
+ value: "",
214
+ formField: {
215
+ deleted: false,
216
+ createTime: "2020-12-08T08:08:03.000+0000",
217
+ name: "单选1",
218
+ description: "",
219
+ updateTime: "2020-12-08T08:10:41.000+0000",
220
+ id: 111,
221
+ lastOperatorId: 21,
222
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3acc",
223
+ type: "RADIO",
224
+ extInfo: {
225
+ WebHookParameter: [],
226
+ value: [],
227
+ option: [
228
+ { _default: "true", label: "1", value: "1" },
229
+ { _default: "false", label: "2", value: "选项二" },
230
+ { _default: "false", label: "3", value: "3" },
231
+ ],
232
+ },
233
+ },
234
+ required: false,
235
+ fieldId: 111,
236
+ },
237
+ {
238
+ display: true,
239
+ paramName: "fujian",
240
+ formField: {
241
+ deleted: false,
242
+ createTime: "2020-12-08T08:08:03.000+0000",
243
+ name: '123',
244
+ description: "",
245
+ updateTime: "2020-12-08T08:10:41.000+0000",
246
+ id: 1117,
247
+ lastOperatorId: 78,
248
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
249
+ type: "FILE",
250
+ extInfo: {
251
+ fileLimit:'more',
252
+ limitNum:'3'
253
+ },
254
+ },
255
+ required: true,
256
+ fieldId: 1117,
257
+ value: [
258
+ {
259
+ url:'https://img01.yzcdn.cn/vant/leaf.jpg'
260
+ }
261
+ ]
262
+ },
263
+ {
264
+ display: true,
265
+ paramName: "fuxuan",
266
+ value: [],
267
+ formField: {
268
+ deleted: false,
269
+ createTime: "2020-12-08T08:08:15.000+0000",
270
+ name: "复选1",
271
+ description: "",
272
+ updateTime: "2020-12-08T08:10:49.000+0000",
273
+ id: 112,
274
+ lastOperatorId: 21,
275
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3accd",
276
+ type: "CHECKBOX",
277
+ extInfo: {
278
+ WebHookParameter: [],
279
+ value: [],
280
+ option: [
281
+ { _default: "false", label: "1", value: "" },
282
+ {
283
+ _default: "false",
284
+ label: "2",
285
+ value: "选项二",
286
+ },
287
+ { _default: "false", label: "3", value: "" },
288
+ ],
289
+ },
290
+ },
291
+ required: true,
292
+ fieldId: 112,
293
+ },
294
+ {
295
+ display: true,
296
+ paramName: "xiala",
297
+ value: "MIDDLE",
298
+ formField: {
299
+ deleted: false,
300
+ createTime: "2020-12-08T08:08:27.000+0000",
301
+ name: "下拉1",
302
+ description: "",
303
+ updateTime: "2020-12-08T08:10:56.000+0000",
304
+ id: 113,
305
+ lastOperatorId: 21,
306
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3accdd",
307
+ type: "SELECT",
308
+ extInfo: {
309
+ WebHookParameter: [],
310
+ value: [],
311
+ option: [
312
+ { _default: "false", label: "紧急", value: "URGENT" },
313
+ {
314
+ _default: "false",
315
+ label: "高",
316
+ value: "HIGH",
317
+ },
318
+ { _default: "false", label: "中", value: "MIDDLE" },
319
+ { _default: "false", label: "12", value: "12" },
320
+ ],
321
+ },
322
+ },
323
+ required: false,
324
+ fieldId: 113,
325
+
326
+ },
327
+ {
328
+ display: true,
329
+ paramName: "hhh",
330
+ value: [{
331
+ url:'https://img01.yzcdn.cn/vant/leaf.jpg'
332
+ },
333
+ {
334
+ url:'https://img01.yzcdn.cn/vant/leaf.jpg'
335
+ }
336
+ ],
337
+ formField: {
338
+ deleted: false,
339
+ createTime: "2020-12-08T08:08:03.000+0000",
340
+ name: '345',
341
+ description: "",
342
+ updateTime: "2020-12-08T08:10:41.000+0000",
343
+ id: 222222,
344
+ lastOperatorId: 78,
345
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
346
+ type: "FILE",
347
+ extInfo: {
348
+ fileLimit:'more',
349
+
350
+ },
351
+ },
352
+ required: false,
353
+ fieldId: 222222
354
+ },
355
+ ],
356
+ },
357
+ },
358
+ formList2: {
359
+ formActionId: "",
360
+ form: {
361
+ id: 3,
362
+ name: "表单1",
363
+ release: false,
364
+ deleted: false,
365
+ description: "",
366
+ webhookId: 0,
367
+ webHookRequest: null,
368
+ createTime: "2020-11-18T10:50:19.000+0000",
369
+ updateTime: "2020-11-18T10:50:19.000+0000",
370
+ mainId: "e2f80aecaf7c11eabdcd506b4b2f3acc",
371
+ formFieldRelation: [
372
+ {
373
+ display: true,
374
+ fieldId: "5fd1d87127d6601a879b49bbc",
375
+ formField: {
376
+ createTime: null,
377
+ updateTime: "2020-12-10T16:12:33.544",
378
+ id: "5fd1d87127d6601a879b49bbc",
379
+ name: "级联",
380
+ description: "",
381
+ type: "CASCADER",
382
+ operatorId: "12",
383
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
384
+ searchable: true,
385
+ extInfo: {
386
+ exinfo: [],
387
+ cascadeDown: [
388
+ {
389
+ style: "1",
390
+ options: [
391
+ {
392
+ value: "选项一",
393
+ label: "选项一",
394
+ children: [
395
+ {
396
+ value: "选项一一",
397
+ label: "选项一一",
398
+ children:[
399
+ {label:'选项一一一',value:'选项一一一'},
400
+ {label:'选项一一二',value:'选项一一二'}
401
+
402
+ ]
403
+ },
404
+ {
405
+ value: "选项一二",
406
+ label: "选项一二",
407
+ children:[
408
+ {label:'选项一二一',value:'选项一二一'},
409
+ {label:'选项一二二',value:'选项一二二'}
410
+ ]
411
+ },
412
+ ],
413
+ },
414
+ {
415
+ value: "选项二",
416
+ label: "选项二",
417
+ children: [
418
+ {
419
+ value: "选项二一",
420
+ label: "选项二一",
421
+ children:[
422
+ {label:'选项二一一',value:'选项二一一'},
423
+ {label:'选项二一二',value:'选项二一二'}
424
+ ]
425
+ },
426
+ {
427
+ value: "选项二二",
428
+ label: "选项二二",
429
+ children:[
430
+ {label:'选项二二一',value:'选项二二一'},
431
+ {label:'选项二二二',value:'选项二二二'}
432
+ ]
433
+ },
434
+ ],
435
+ },
436
+ {
437
+ value: "选项三",
438
+ label: "选项三"
439
+ },
440
+ ],
441
+ },
442
+ ],
443
+ },
444
+ },
445
+ width: 0,
446
+ required: true,
447
+ value: null,
448
+ },
449
+ {
450
+ display: true,
451
+ fieldId: "workorder_description",
452
+ formField: {
453
+ createTime: null,
454
+ updateTime: "2020-12-10T16:12:33.544",
455
+ id: "5fd1d87127d6601a879b49bbcccc",
456
+ name: "工单描述",
457
+ description: "",
458
+ type: "TEXTAREA",
459
+ operatorId: "12",
460
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
461
+ searchable: true,
462
+ extInfo:null
463
+ },
464
+ width: 0,
465
+ required: true,
466
+ value: null,
467
+ },
468
+ {
469
+ display: true,
470
+ fieldId: "workorder_clientId",
471
+ formField: {
472
+ createTime: null,
473
+ updateTime: "2020-12-10T16:12:33.544",
474
+ id: "5fd1d87127d6601a879b49bbccccd'd",
475
+ name: "客户",
476
+ description: "",
477
+ type: "SELECT",
478
+ operatorId: "12",
479
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
480
+ searchable: true,
481
+ extInfo:{
482
+ options:[]
483
+ }
484
+ },
485
+ width: 0,
486
+ required: false,
487
+ value: null,
488
+ },
489
+ {
490
+ display: true,
491
+ fieldId: "5fd1d87127d6601a879b49bbccc",
492
+ formField: {
493
+ createTime: null,
494
+ updateTime: "2020-12-10T16:12:33.544",
495
+ id: "5fd1d87127d6601a879b49bbccc",
496
+ name: "级联2",
497
+ description: "",
498
+ type: "CASCADER",
499
+ operatorId: "12",
500
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acccc",
501
+ searchable: true,
502
+ extInfo: {
503
+ exinfo: [],
504
+ cascade:[
505
+ {
506
+ value: "是",
507
+ label: "是",
508
+ children: [
509
+ {
510
+ value: "北京",
511
+ label: "北京",
512
+ children:[
513
+ {label:'北京一',value:'北京一'}
514
+ ]
515
+ },
516
+ {
517
+ value: "天津",
518
+ label: "天津",
519
+ },
520
+ ],
521
+ },
522
+ {
523
+ value: "飒飒",
524
+ label: "飒飒"
525
+ },
526
+ ],
527
+ placeholder:'请选择级联'
528
+
529
+ },
530
+ },
531
+ width: 0,
532
+ required: true,
533
+ value: null,
534
+ },
535
+ {
536
+ display: true,
537
+ fieldId: "5fd1d87b27d6601a879b49bcaaff",
538
+ formField: {
539
+ createTime: null,
540
+ updateTime: "2020-12-10T16:12:43.694",
541
+ id: "5fd1d87b27d6601a879b49bcaaff",
542
+ name: "下拉",
543
+ description: "",
544
+ type: "SELECT",
545
+ operatorId: "12",
546
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
547
+ searchable: true,
548
+ extInfo: {
549
+ exinfo: [
550
+ {
551
+ value: "我",
552
+ _default: "true",
553
+ },
554
+ {
555
+ value: "你",
556
+ _default: "false",
557
+ },
558
+ ],
559
+ cascadeDown: [
560
+ {
561
+ style: "1",
562
+ options: [],
563
+ },
564
+ ],
565
+ },
566
+ },
567
+ width: 0,
568
+ required: false,
569
+ value: '我',
570
+ },
571
+ {
572
+ display: true,
573
+ fieldId: "5fd1d87b27d6601a879b49bc",
574
+ formField: {
575
+ createTime: null,
576
+ updateTime: "2020-12-10T16:12:43.694",
577
+ id: "5fd1d87b27d6601a879b49bc",
578
+ name: "下拉22",
579
+ description: "",
580
+ type: "SELECT",
581
+ operatorId: "12",
582
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
583
+ searchable: true,
584
+ extInfo: {
585
+ option: [
586
+ { value: "chifan", label: "吃饭", _default: "false" },
587
+ { value: "shuijiao", label: "睡觉", _default: "true" },
588
+ ],
589
+ placeholder:'请选择下拉'
590
+ },
591
+ },
592
+ width: 0,
593
+ required: false,
594
+ value: null,
595
+ },
596
+ {
597
+ display: true,
598
+ fieldId: "5fd1d88627d6601a879b49bd",
599
+ formField: {
600
+ createTime: null,
601
+ updateTime: "2020-12-10T16:12:54.45",
602
+ id: "5fd1d88627d6601a879b49bd",
603
+ name: "单选",
604
+ description: "",
605
+ type: "RADIO",
606
+ operatorId: "12",
607
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
608
+ searchable: true,
609
+ extInfo: {
610
+ exinfo: [
611
+ {
612
+ value: "三点",
613
+ _default: "true",
614
+ },
615
+ {
616
+ value: "但是",
617
+ _default: "false",
618
+ },
619
+ ],
620
+ cascadeDown: [
621
+ {
622
+ style: "1",
623
+ options: [],
624
+ },
625
+ ],
626
+ },
627
+ },
628
+ width: 0,
629
+ required: true,
630
+ value: null,
631
+ },
632
+ {
633
+ display: true,
634
+ fieldId: "5fd1d89127d6601a879b49be",
635
+ formField: {
636
+ createTime: null,
637
+ updateTime: "2020-12-10T16:13:05.108",
638
+ id: "5fd1d89127d6601a879b49be",
639
+ name: "复选",
640
+ description: "",
641
+ type: "CHECKBOX",
642
+ operatorId: "12",
643
+ mainId: "6cdfcac6a7d611eabdcd506b4b2f3acc",
644
+ searchable: true,
645
+ extInfo: {
646
+ exinfo: [
647
+ {
648
+ value: "dingding",
649
+ label:'dingding',
650
+ _default: "false",
651
+ },
652
+ {
653
+ value: "lala",
654
+ label:'lala',
655
+ _default: "true",
656
+ },
657
+ ],
658
+ cascadeDown: [
659
+ {
660
+ style: "1",
661
+ options: [],
662
+ },
663
+ ],
664
+ },
665
+ },
666
+ width: 0,
667
+ required: true,
668
+ value: null,
669
+ },
670
+ {
671
+ display:true,
672
+ fieldId: "1adcfd3d0c494dcaba5c469ee8252e3f",
673
+ formField:{
674
+ extInfo:{
675
+ isDelete:true,
676
+ visibleWithoutPermission:false
677
+ },
678
+ name:'聊天记录',
679
+ type:'CHAT_RECORD'
680
+ },
681
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
682
+ required:false,
683
+ value:''
684
+ },
685
+ {
686
+ display:true,
687
+ fieldId: "5811458460c94013bc2c2285120d7a8c",
688
+ formField:{
689
+ extInfo:{
690
+ isDelete:true,
691
+ visibleWithoutPermission:false,
692
+ url:"https://www.runoob.com/tags/html-colorpicker.html"
693
+ },
694
+ name:'"说明文字"',
695
+ type:'EXPLAIN'
696
+ },
697
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
698
+ required:false,
699
+ value:'说明文字'
700
+ },
701
+ {
702
+ display:true,
703
+ fieldId: "44650eba647345e7b7f785bf772415c3",
704
+ formField:{
705
+ extInfo:{
706
+ isDelete:true,
707
+ visibleWithoutPermission:false,
708
+ url:""
709
+ },
710
+ name:'"渠道"',
711
+ type:'CHANNEL'
712
+ },
713
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
714
+ required:false,
715
+ value:'说明文字'
716
+ },
717
+ {
718
+ display:true,
719
+ fieldId: "a59fc947fc47405796babb376acc6a7b",
720
+ formField:{
721
+ extInfo:{
722
+ isDelete:true,
723
+ visibleWithoutPermission:false,
724
+ options:[
725
+ {
726
+ label:"选项一",
727
+ value:'选项一',
728
+ _default:"false"
729
+ },
730
+ {
731
+ label:"选项二",
732
+ value:'选项二',
733
+ _default:"false"
734
+ },
735
+ {
736
+ label:"选项三",
737
+ value:'选项三',
738
+ _default:"false"
739
+ },
740
+ ]
741
+ },
742
+ name:'下拉',
743
+ type:'SELECT'
744
+ },
745
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
746
+ required:false,
747
+ value:'选项二'
748
+ },
749
+ {
750
+ display:true,
751
+ fieldId: "64e8e0d90dd34c42ac5fcd81e1f932b4",
752
+ formField:{
753
+ extInfo:{
754
+ isDelete:true,
755
+ visibleWithoutPermission:false,
756
+ options:[
757
+ {
758
+ label:"选项一",
759
+ value:'选项一',
760
+ _default:"false"
761
+ },
762
+ {
763
+ label:"选项二",
764
+ value:'选项二',
765
+ _default:"false"
766
+ },
767
+ {
768
+ label:"选项三",
769
+ value:'选项三',
770
+ _default:"false"
771
+ },
772
+ ]
773
+ },
774
+ name:'单选',
775
+ type:'RADIO'
776
+ },
777
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
778
+ required:false,
779
+ value:'选项一'
780
+ },
781
+ {
782
+ display:true,
783
+ fieldId: "dc573800d9904f3d8e4d59408549e087",
784
+ formField:{
785
+ extInfo:{
786
+ isDelete:true,
787
+ visibleWithoutPermission:false,
788
+ options:[
789
+ {
790
+ label:"选项一",
791
+ value:'选项一',
792
+ _default:"false"
793
+ },
794
+ {
795
+ label:"选项二",
796
+ value:'选项二',
797
+ _default:"false"
798
+ },
799
+ {
800
+ label:"选项三",
801
+ value:'选项三',
802
+ _default:"false"
803
+ },
804
+ ]
805
+ },
806
+ name:'多选',
807
+ type:'CHECKBOX'
808
+ },
809
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
810
+ required:false,
811
+ value:['选项一','选项二']
812
+ },
813
+ {
814
+ display:true,
815
+ fieldId: "ef91e955bf894886b9edc56eb2c37554",
816
+ formField:{
817
+ extInfo:{
818
+ isDelete:true,
819
+ visibleWithoutPermission:false,
820
+ mold:'DATA',
821
+ placeholder:'请选择时间日期'
822
+ },
823
+ name:'时间日期',
824
+ type:'TIME_PICKER'
825
+ },
826
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
827
+ required:false,
828
+ value:''
829
+ },
830
+ {
831
+ display:true,
832
+ fieldId: "ef91e955bf894886b9edc56eb2c3755S",
833
+ formField:{
834
+ extInfo:{
835
+ isDelete:true,
836
+ visibleWithoutPermission:false,
837
+ mold:'DATA_TIME',
838
+ placeholder:'请选择'
839
+ },
840
+ name:'时间日期',
841
+ type:'TIME_PICKER'
842
+ },
843
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
844
+ required:false,
845
+ value:''
846
+ },
847
+ {
848
+ display:true,
849
+ fieldId: "workorder_name",
850
+ formField:{
851
+ name:'工单名称',
852
+ type:'INPUT'
853
+ },
854
+ paramName:"name",
855
+ required:true,
856
+ value:''
857
+ },
858
+ {
859
+ display:true,
860
+ fieldId: "ef91e955bf894886b9edc56eb2c3755S333",
861
+ formField:{
862
+ extInfo:{
863
+ isDelete:true,
864
+ visibleWithoutPermission:false,
865
+ maxNum:"3"
866
+ },
867
+ name:'单行输入框',
868
+ type:'INPUT'
869
+ },
870
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3333",
871
+ required:false,
872
+ value:''
873
+ },
874
+ {
875
+ display:true,
876
+ fieldId: "ef91e955bf894886b9edc56eb2c3755S444",
877
+ formField:{
878
+ extInfo:{
879
+ isDelete:true,
880
+ visibleWithoutPermission:false,
881
+ },
882
+ name:'多行输入框',
883
+ type:'TEXTAREA'
884
+ },
885
+ paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3444",
886
+ required:false,
887
+ value:''
888
+ },
889
+
890
+ ],
891
+ },
892
+ },
893
+
894
+ text: {
895
+ template:
896
+ '<p>开始时间&nbsp;<span class="ask-component-placeholder-container"><span class="ask-component-placeholder-span" data="${开始时间戳_秒}" type="INPUT">1607427268</span><i class="ask-component-placeholder-icon arsenal_icon arsenalbianji2" icon="arsenal_icon arsenalkebianji" editable="true" onclick="_askEditValue(this,this.previousElementSibling)"></i><br/></span>结束时间&nbsp;<span class="ask-component-placeholder-container"><span class="ask-component-placeholder-span" data="${结束时间戳_秒}" type="TIME_PICKER">1607772868</span><i class="ask-component-placeholder-icon arsenal_icon arsenalkebianji" icon="arsenal_icon arsenalkebianji" editable="true" onclick="_askEditValue(this,this.previousElementSibling)"></i></span></p>',
897
+ goToAction: { value: "123" },
898
+ apiKey:''
899
+ },
900
+ rem: "rem",
901
+ feedBack: {
902
+ positiveFeedback: { text: "有用有用有用有用" },
903
+ negativeFeedback: { text: "无用无用无用无用" },
904
+ feedbackActions: [],
905
+ feedbackUid: "",
906
+ },
907
+ urls:[ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.zip", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
908
+ {"status":"success","name":"portal._153724.doc", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
909
+ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.xls", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
910
+ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.ppt", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
911
+ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.pdf", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" },
912
+ {"status":"success","name":"portal.test.askbot.cn_20201214_153724.zip", "size":2077,"percentage":100, "uid":1609154083480,"raw":{ "uid":1609154083480 }, "response":"https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip" }],
913
+ messageList:[
914
+ {content:'您好,我是郑俊成的智能助理,请问您是为企业咨询还是个人兴趣?',speaker:'bot',type:'answer_text'},
915
+ {content:'单位',speaker:'user',type:'answer_text'}
916
+ ],
917
+ answerMsg:{
918
+ content:{
919
+ description:'你好,我是点选',
920
+ options:[{
921
+ name: "跳转意图",
922
+ scope: "INTENT",
923
+ value: "3535"
924
+ }]
925
+ }
926
+ },
927
+ showLoad:false,
928
+ videoUrl:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/27/10/22/56fb13eb-b94a-45e8-b131-04531330cb2c/微信_20210719215122.mp4',
929
+ processAction:[
930
+ {
931
+ content:{
932
+ html:'<p style="line-height: 16px;"><img onclick=\'previewImage(this)\' src="https://test.open.guoranbot.com/UEditor/dialogs/attachment/fileTypeImages/icon_txt.gif"/><a style="font-size:12px; color:#0066cc;" href="https://static.guoranbot.com/ueditor/2022/03/11/c788d2d7fea04be680cc920e1f99db8e/分析报告 (1).xlsx" title="分析报告 (1).xlsx">分析报告 (1).xlsx</a></p><p><br/></p>',
933
+ recommend:{
934
+ description: "关联意图测试描述",
935
+ list:[
936
+ {
937
+ id: "3539",
938
+ text: "文本",
939
+ type: 1
940
+ },
941
+ {
942
+ id: "3540",
943
+ text: "图片",
944
+ type: 1
945
+ }
946
+ ],
947
+ status: true
948
+ }
949
+ },
950
+ type:'answer_rich_text',
951
+ id:'60df03aeeea6014311dc4285',
952
+ intentId:6064,
953
+ recommend:{
954
+ description: "关联意图测试描述",
955
+ list:[
956
+ {
957
+ id: "3539",
958
+ text: "文本",
959
+ type: 1
960
+ },
961
+ {
962
+ id: "3540",
963
+ text: "图片",
964
+ type: 1
965
+ }
966
+ ],
967
+ status: true
968
+ }
969
+ },
970
+
971
+ {
972
+ content:{
973
+ url:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/45c878fd-6a8e-40e2-b599-bdba8e17cf8a/微信图片_20210423113520.jpg?x-oss-process=image/auto-orient,1/quality,q_90/watermark,text_MjE=,color_cccccc,size_48,rotate_315,fill_1,x_10,y_10,t_0',
974
+ html:'测试文本-关联推荐没有描述',
975
+ recommend:{
976
+ description: "",
977
+ list:[
978
+ {
979
+ id: "3539",
980
+ text: "文本",
981
+ type: 1
982
+ },
983
+ {
984
+ id: "3540",
985
+ text: "图片",
986
+ type: 1
987
+ }
988
+ ],
989
+ status: true
990
+ }
991
+ },
992
+ type:'answer_image',
993
+ id:'6124d9b1c12fa234e0b3ddc8',
994
+ intentId:6064,
995
+ recommend:{
996
+ description: "",
997
+ list:[
998
+ {
999
+ id: "3539",
1000
+ text: "文本",
1001
+ type: 1
1002
+ },
1003
+ {
1004
+ id: "3540",
1005
+ text: "图片",
1006
+ type: 1
1007
+ }
1008
+ ],
1009
+ status: true
1010
+ }
1011
+ },
1012
+ {
1013
+ content:{
1014
+ url:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
1015
+ videoFlag: false,
1016
+ videoUploadPercent:0,
1017
+ isShowUploadVideo:true,
1018
+ recommend:{
1019
+ description: "关联意图测试描述",
1020
+ list:[
1021
+ {
1022
+ id: "3539",
1023
+ text: "文本",
1024
+ type: 1
1025
+ }
1026
+ ],
1027
+ status: true
1028
+ }
1029
+ },
1030
+ type:'answer_video',
1031
+ id:'60df03aeeea6014311dc4285',
1032
+ intentId:6064,
1033
+ recommend:{
1034
+ description: "关联意图测试描述",
1035
+ list:[
1036
+ {
1037
+ id: "3539",
1038
+ text: "文本",
1039
+ type: 1
1040
+ }
1041
+ ],
1042
+ status: true
1043
+ }
1044
+ }
1045
+ ],
1046
+ actionSatisfactions:[
1047
+ {
1048
+ content:{
1049
+ satisfactionDes:'满意度',
1050
+ satisfactoryAnswer:'',
1051
+ unsatisfiedAnswer:'',
1052
+ answerRadio:[
1053
+ {
1054
+ answer:'哦哦哦',
1055
+ name:'哈哈哈'
1056
+ }
1057
+ ]
1058
+ }
1059
+
1060
+ }
1061
+ ],
1062
+ inLoading:true,
1063
+ dataNote:0,
1064
+ timer:null,
1065
+ finished:false,
1066
+ botActionSatis:{
1067
+ content:{
1068
+ reply_text:'哈哈哈哈哈',
1069
+ reply_options:[
1070
+ {
1071
+ name:'暗示丢',
1072
+ answer:'暗示丢1504559775615045597756kjl',
1073
+ apiKey:''
1074
+ },
1075
+ {
1076
+ name:'暗示丢2',
1077
+ answer:'暗示丢11504559775615045597756kjl',
1078
+ apiKey:''
1079
+ }
1080
+ ]
1081
+ }
1082
+ },
1083
+ answerDiss:{
1084
+ content:{
1085
+ replyText:'哈哈哈哈哈',
1086
+ replyOptions:[
1087
+ {
1088
+ name:'暗示丢',
1089
+ answer:'暗示丢1504559775615045597756kjl',
1090
+ apiKey:''
1091
+ },
1092
+ {
1093
+ name:'暗示丢2',
1094
+ answer:'暗示丢11504559775615045597756kjl',
1095
+ apiKey:''
1096
+ }
1097
+ ]
1098
+ }
1099
+ },
1100
+ answerRadios:{
1101
+ content:{
1102
+ description:'请点击下方选项继续测试',
1103
+ options:[
1104
+ {
1105
+ name: "跳转节点1",
1106
+ scope: "NODE",
1107
+ value: "60177b9470814d4ce924f1ed"
1108
+ },
1109
+ {
1110
+ name: "跳转意图",
1111
+ scope: "INTENT",
1112
+ value: "3558"
1113
+ },
1114
+ {
1115
+ name: "跳转节点2",
1116
+ scope: "NODE",
1117
+ value: "60af4505d0acd7017620c4f2"
1118
+ }
1119
+ ],
1120
+ recommend:{
1121
+ description:'',
1122
+ status:false,
1123
+ list:[]
1124
+ }
1125
+ },
1126
+ type:'answer_radio'
1127
+ },
1128
+ htmlContainer:'<input placeholder="请输入"></input>',
1129
+ isOpen:true
1130
+ };
1131
+ },
1132
+ methods: {
1133
+ submitClick(value) {
1134
+ console.log(value);
1135
+ },
1136
+ submitClicks(value) {
1137
+ console.log(value);
1138
+ },
1139
+ positiveFeedback(value1) {
1140
+ console.log(value1);
1141
+ },
1142
+ touchEnd(index){
1143
+ console.log(index)
1144
+ },
1145
+ closeVoice(){
1146
+ console.debug('我是close事件')
1147
+ },
1148
+ },
1149
+ mounted() {
1150
+ this.timer = setInterval(()=>{
1151
+ this.dataNote+=1
1152
+ console.debug('this.dataNote',this.dataNote)
1153
+ },1000)
1154
+
1155
+ setTimeout(()=>{
1156
+ this.inLoading = true
1157
+ },2000)
1158
+ setTimeout(()=>{
1159
+ this.finished = true
1160
+ this.dataNote = 10
1161
+ clearInterval(this.timer)
1162
+ },5000)
1163
+ },
1164
+ updated() {},
1165
+ };
1166
+ </script>
1167
+
1168
+ <!-- Add "scoped" attribute to limit CSS to this component only -->
1169
+ <style scoped lang="less">
1170
+ @import "../assets/less/converSationContainer/converSatonContainer";
1171
+ #conversation{
1172
+ background-color:#F5F7FB ;
1173
+ }
1174
+ .img_div{
1175
+ position: relative;
1176
+ .mask{
1177
+ position: absolute;
1178
+ top: 0;
1179
+ right: 0;
1180
+ width: 100%;
1181
+ height: 100%;
1182
+ border-radius: 10px;
1183
+ }
1184
+ }
1185
+ </style>