askbot-dragon 0.7.87 → 0.7.91

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