askbot-dragon 0.7.56 → 0.7.59

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