askbot-dragon 0.7.89 → 0.7.93

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 (70) 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 +2110 -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 -229
  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 +2524 -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/myPopup.vue +71 -0
  50. package/src/components/popup.vue +184 -0
  51. package/src/components/recommend.vue +89 -89
  52. package/src/components/selector/hOption.vue +20 -20
  53. package/src/components/selector/hSelector.vue +199 -199
  54. package/src/components/selector/hWrapper.vue +216 -216
  55. package/src/components/source/BotMessage.vue +24 -24
  56. package/src/components/source/CustomMessage.vue +24 -24
  57. package/src/components/test.vue +260 -260
  58. package/src/components/tree.vue +159 -0
  59. package/src/components/utils/AliyunIssUtil.js +72 -72
  60. package/src/components/utils/ckeditor.js +123 -123
  61. package/src/components/utils/command.js +68 -68
  62. package/src/components/utils/editing.js +11 -11
  63. package/src/components/utils/format_date.js +25 -18
  64. package/src/components/utils/index.js +6 -6
  65. package/src/components/utils/math_utils.js +15 -15
  66. package/src/components/utils/plugin-image.js +11 -11
  67. package/src/components/utils/toolbar-ui.js +41 -41
  68. package/src/components/voiceComponent.vue +119 -119
  69. package/src/main.js +45 -45
  70. package/vue.config.js +43 -34
@@ -1,1318 +1,2110 @@
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
8
+ 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"
9
+ style="width: 100px"
10
+ />
11
+ <div class="mask">
12
+ <loading-process :dataNote="dataNote" :finished="finished"></loading-process>
13
+ </div>
14
+ </div> -->
15
+
16
+ <form-template :formList="formList2" @submitClick="submitClick"></form-template>
17
+ <!-- <voice-component @closeVoice="closeVoice">
18
+ <div slot="voiceTip">
19
+ 松开发送
20
+ </div>
21
+ </voice-component>-->
22
+ <!-- 点选 -->
23
+ <!-- <div v-html="htmlContainer"></div> -->
24
+ <!-- <answer-radio :msg="answerRadios"></answer-radio>
25
+ <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
26
+ <ticket-message :content="contents"></ticket-message>
27
+ <text-message :text="text" @submitClick="submitClick"></text-message>
28
+ <div v-for="(item,index) in processAction" :key="index">
29
+ <association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
30
+ </div>
31
+ <el-button @click="isOpen=!isOpen">切换</el-button> -->
32
+ <!-- 满意组件 -->
33
+ <!-- <action-satisfaction :msg="actionSatisfactions[0]"></action-satisfaction> -->
34
+ <!-- 满意或不满意-->
35
+ <!-- <bot-action-satisfactor :msg="botActionSatis"></bot-action-satisfactor>
36
+ <answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
37
+ <feed-back :feedBack="feedBack"></feed-back>
38
+ <voice-compontent></voice-compontent> -->
39
+ <ai-guide :aiGuide="ActionAiGuideObj"></ai-guide>
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
+ /*import FormTemplate from "@/components/formTemplate";
50
+ import TextMessage from "@/components/message/TextMessage";*/
51
+
52
+ import FormTemplate from '@/components/formTemplate'
53
+ // import AnswerRadio from './answerRadio'
54
+ // import TicketMessage from './message/TicketMessage'
55
+ /*import VoiceComponent from "./voiceComponent";*/
56
+ // import AssociationIntention from './associationIntention'
57
+ // import ActionSatisfaction from './actionSatisfaction'
58
+ // import MsgLoading from './msgLoading'
59
+ // import LoadingProcess from './loadingProcess'
60
+ // import BotActionSatisfactor from './botActionSatisfactor'
61
+ // import AnswerDissatisfaction from './answerDissatisfaction'
62
+ // import ActionSendToBot from './actionSendToBot'
63
+ // import VoiceCompontent from './voiceComponent'
64
+ // import AsserDeatils from './assetDetails.vue'
65
+ /* import TicketMessage from "@/components/message/TicketMessage";
66
+ import TicketMessage from "@/components/message/TicketMessage";
67
+ import TextMessage from "@/components/message/TextMessage";
68
+ import FeedBack from "@/components/feedBack";*/
69
+ // iframe 弹窗组件测试
70
+ /*import ActionAlert from "@/components/message/ActionAlertIframe";*/
71
+ // 智能引导组件
72
+ import AiGuide from "@/components/AiGuide";
73
+ /*import FileType from "@/components/FileType";
74
+ import ChatContent from "./chatContent";*/
75
+ // import FeedBack from '@/components/feedBack'
76
+ export default {
77
+ name: 'ConversationContainer',
78
+ components: {
79
+ // ActionSendToBot,
80
+ // AnswerDissatisfaction,
81
+ // BotActionSatisfactor,
82
+ // LoadingProcess,
83
+ // MsgLoading,
84
+ // ActionSatisfaction,
85
+ // AssociationIntention,
86
+ /* VoiceComponent,*/
87
+ // TicketMessage,
88
+ // AsserDeatils,
89
+ // AnswerRadio,
90
+ FormTemplate,
91
+ // TextMessage,
92
+ // FeedBack,
93
+ // VoiceCompontent,
94
+ AiGuide
95
+ // FormTemplate,
96
+ },
97
+ props: {
98
+ messages: Array
99
+ },
100
+ data() {
101
+ return {
102
+ black:'',
103
+ ActionAiGuideObj: {
104
+ // 智能引导
105
+ type: "answer_intellect_guide",
106
+ conditionList: [],
107
+ content: {
108
+ typesetting: "horizontal", // 排版方式 vertical 竖向 horizontal 横向
109
+ description: "", // 描述
110
+ descriptionVisible: true, // 是否展示描述
111
+ typesVisible: true, // 是否展示分类信息
112
+ groupVisible: true, // 是否分组展示
113
+ groupNumber: 5, // 每组展示数量
114
+ options: [
115
+ {
116
+ name: '常见问题常见问题常见问题常见问题常见问题常见问题常见问题常见问题',
117
+ recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
118
+ recommendIntentList: [{ questionName: "打印机1", intentId: 11 },], // recommendType = 0
119
+ highFrequency: { // recommendType = 1
120
+ rang: [], // 推荐范围
121
+ number: 20, // 最多推荐问题数
122
+ question: [],
123
+ },
124
+ intelligenceRecommend: { // recommendType = 2
125
+ recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
126
+ rang: [], // 推荐范围
127
+ number: 20, // 最多推荐问题数
128
+ question: [],
129
+ },
130
+ types: [
131
+ {
132
+ name: "常见问题常见问题常见问题常见问题常见问题常见问题常见问题常见问题",
133
+ recommendType: 1, // 0 关联意图 1 高频推荐意图 2 智能推荐
134
+ recommendIntentList: [
135
+ { questionName: "常见问题常见问题常见问题常见问题常见问题常见问题常见问题常见问题", intentId: 11 },
136
+ { questionName: "打印机2", intentId: 11 },
137
+ { questionName: "打印机3", intentId: 11 },
138
+ { questionName: "打印机4", intentId: 11 },
139
+ { questionName: "打印机5", intentId: 11 },
140
+ { questionName: "打印机6", intentId: 11 },
141
+ { questionName: "打印机7", intentId: 11 },
142
+ { questionName: "打印机8", intentId: 11 },
143
+ ], // recommendType = 0
144
+ highFrequency: { // recommendType = 1
145
+ rang: [], // 推荐范围
146
+ number: 20, // 最多推荐问题数
147
+ question: [
148
+ { exampleQuestion: "常见问题常见问题常见问题常见问题常见问题常见问题常见问题常见问题", intentId: 11 },
149
+ { exampleQuestion: "打印机2", intentId: 11 },
150
+ { exampleQuestion: "打印机3", intentId: 11 },
151
+ { exampleQuestion: "打印机4", intentId: 11 },
152
+ { exampleQuestion: "打印机5", intentId: 11 },
153
+ { exampleQuestion: "打印机6", intentId: 11 },
154
+ { exampleQuestion: "打印机7", intentId: 11 },
155
+ ],
156
+ },
157
+ intelligenceRecommend: { // recommendType = 2
158
+ recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
159
+ rang: [], // 推荐范围
160
+ number: 20, // 最多推荐问题数
161
+ question: [],
162
+ },
163
+ },
164
+ {
165
+ name: "打印机问题2",
166
+ recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
167
+ recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
168
+ highFrequency: { // recommendType = 1
169
+ rang: [], // 推荐范围
170
+ number: 20, // 最多推荐问题数
171
+ question: [],
172
+ },
173
+ intelligenceRecommend: { // recommendType = 2
174
+ recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
175
+ rang: [], // 推荐范围
176
+ number: 20, // 最多推荐问题数
177
+ question: [],
178
+ },
179
+ }
180
+ ]
181
+ },
182
+ {
183
+ name: '常见问题2',
184
+ recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
185
+ recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
186
+ highFrequency: { // recommendType = 1
187
+ rang: [], // 推荐范围
188
+ number: 20, // 最多推荐问题数
189
+ question: [],
190
+ },
191
+ intelligenceRecommend: { // recommendType = 2
192
+ recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
193
+ rang: [], // 推荐范围
194
+ number: 20, // 最多推荐问题数
195
+ question: [],
196
+ },
197
+ types: [
198
+ // {
199
+ // name: "打印机问题2",
200
+ // recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
201
+ // recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
202
+ // highFrequency: { // recommendType = 1
203
+ // rang: [], // 推荐范围
204
+ // number: 20, // 最多推荐问题数
205
+ // question: [],
206
+ // },
207
+ // intelligenceRecommend: { // recommendType = 2
208
+ // recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
209
+ // rang: [], // 推荐范围
210
+ // number: 20, // 最多推荐问题数
211
+ // question: [],
212
+ // },
213
+ // },
214
+ // {
215
+ // name: "打印机问题3",
216
+ // recommendType: 0, // 0 关联意图 1 高频推荐意图 2 智能推荐
217
+ // recommendIntentList: [{ questionName: "打印机", intentId: 11 }], // recommendType = 0
218
+ // highFrequency: { // recommendType = 1
219
+ // rang: [], // 推荐范围
220
+ // number: 20, // 最多推荐问题数
221
+ // question: [],
222
+ // },
223
+ // intelligenceRecommend: { // recommendType = 2
224
+ // recommendStrategy: [0, 1], // 0 根据与当前用户咨询过相同意图的用户所问的意图进行推荐 1 根据当前用户部门的其他用户咨询过的意图进行推荐
225
+ // rang: [], // 推荐范围
226
+ // number: 20, // 最多推荐问题数
227
+ // question: [],
228
+ // },
229
+ // }
230
+ ]
231
+ }
232
+ ], // 分类和意图数组 二维数组
233
+ },
234
+ },
235
+ // 弹窗组件模拟数据
236
+ actionAlertIframeObj: {
237
+ iframeId: 'iframeId999999998',
238
+ template: 'https://www.baidu.com/?name=5555555',
239
+ description: '描述',
240
+ height: 550,
241
+ width: 300,
242
+ scrolling: 'yes',
243
+ sandbox: [
244
+ '预留',
245
+ '启用一系列对 <iframe> 中内容的额外限制',
246
+ '参考 https://www.w3school.com.cn/tags/att_iframe_sandbox.asp'
247
+ ],
248
+ frameborder: '0/1(是否显示框架周围的边框)',
249
+ displayStyle: 'iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)'
250
+ },
251
+ contents: {
252
+ multiple: true,
253
+ cards: [
254
+ {
255
+ content: {
256
+ htmlList: [
257
+ {
258
+ type: 'IMAGE',
259
+ src:
260
+ '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'
261
+
262
+ /*list: [
263
+ {
264
+ type:'IMAGE',
265
+ src:'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/02/03/02/58/0d04a01a-5b57-439f-82f8-2c5dfba06fc5/5c468a64f152b1.jpg'
266
+ },
267
+ ],*/
268
+ },
269
+ { type: 'SINGLE', list: ['<p>aaaaaaaaaa</p>'] },
270
+ { type: 'SINGLE', list: ['<p>北京首都国际机场</p>'] },
271
+ { type: 'SINGLE', list: ['<p>北京首都国际机场啦啦啦啦</p>'] },
272
+ { type: 'SINGLE', list: ['<p>7:00</p>'] }
273
+ ],
274
+ buttonList: [
275
+ { name: '我是标签1', scope: '', test: '' },
276
+ { name: '我是标签2' }
277
+ ]
278
+ }
279
+ },
280
+ {
281
+ content: {
282
+ htmlList: [
283
+ { type: 'SINGLE', list: ['<p>aaaaa</p>'] },
284
+ {
285
+ type: 'DOUBLE',
286
+ list: [
287
+ '<p>测试测试测试测试测试测试测试</p>',
288
+ '<div>bbbbb</div>'
289
+ ]
290
+ },
291
+ {
292
+ type: 'TRIPLE',
293
+ list: ['<p>7:00</p>', '<div></div>', '<p>ccccc</p>']
294
+ },
295
+ {
296
+ type: 'TRIPLE',
297
+ list: ['<p>7:00</p>', '<div>bbbbb</div>', '<p>12:00</p>']
298
+ }
299
+ ],
300
+ buttonList: [{ name: '我是标签1', scope: '', test: '' }]
301
+ }
302
+ },
303
+ {
304
+ content: {
305
+ htmlList: [
306
+ { type: 'SINGLE', list: ['<p>邓伦李沁的背景图片</p>'] },
307
+ { type: 'SINGLE', list: ['<p>男生藏快递向求婚被他人错拆</p>'] },
308
+ { type: 'SINGLE', list: ['<p>aaaaa</p>'] },
309
+ { type: 'SINGLE', list: ['<p>aaaaa</p>'] }
310
+ ],
311
+ buttonList: [{ name: '我是标签1' }]
312
+ }
313
+ }
314
+ ],
315
+ apiKey: '123456789'
316
+ },
317
+ formList: {
318
+ formActionId: '',
319
+ form: {
320
+ formFieldRelation: [
321
+ {
322
+ display: true,
323
+ paramName: 'miaoshu',
324
+ formField: {
325
+ deleted: false,
326
+ createTime: '2020-12-08T08:08:03.000+0000',
327
+ name: '',
328
+ description: '',
329
+ updateTime: '2020-12-08T08:10:41.000+0000',
330
+ id: 1112,
331
+ lastOperatorId: 21,
332
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3ac8',
333
+ type: 'EXPLANATION',
334
+ extInfo: {
335
+ descriptionText: '我是解释说明文案'
336
+ }
337
+ },
338
+ required: false,
339
+ fieldId: 1112
340
+ },
341
+ {
342
+ display: true,
343
+ paramName: 'danxuan',
344
+ value: '',
345
+ formField: {
346
+ deleted: false,
347
+ createTime: '2020-12-08T08:08:03.000+0000',
348
+ name: '单选1',
349
+ description: '',
350
+ updateTime: '2020-12-08T08:10:41.000+0000',
351
+ id: 111,
352
+ lastOperatorId: 21,
353
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3acc',
354
+ type: 'RADIO',
355
+ extInfo: {
356
+ WebHookParameter: [],
357
+ value: [],
358
+ option: [
359
+ { _default: 'true', label: '1', value: '1' },
360
+ { _default: 'false', label: '2', value: '选项二' },
361
+ { _default: 'false', label: '3', value: '3' }
362
+ ]
363
+ }
364
+ },
365
+ required: false,
366
+ fieldId: 111
367
+ },
368
+ {
369
+ display: true,
370
+ paramName: 'fujian',
371
+ formField: {
372
+ deleted: false,
373
+ createTime: '2020-12-08T08:08:03.000+0000',
374
+ name: '123',
375
+ description: '',
376
+ updateTime: '2020-12-08T08:10:41.000+0000',
377
+ id: 1117,
378
+ lastOperatorId: 78,
379
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accJ',
380
+ type: 'FILE',
381
+ extInfo: {
382
+ fileLimit: 'more',
383
+ limitNum: '3'
384
+ }
385
+ },
386
+ required: true,
387
+ fieldId: 1117,
388
+ value: [
389
+ {
390
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
391
+ }
392
+ ]
393
+ },
394
+ {
395
+ display: true,
396
+ paramName: 'fuxuan',
397
+ value: [],
398
+ formField: {
399
+ deleted: false,
400
+ createTime: '2020-12-08T08:08:15.000+0000',
401
+ name: '复选1',
402
+ description: '',
403
+ updateTime: '2020-12-08T08:10:49.000+0000',
404
+ id: 112,
405
+ lastOperatorId: 21,
406
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accd',
407
+ type: 'CHECKBOX',
408
+ extInfo: {
409
+ WebHookParameter: [],
410
+ value: [],
411
+ option: [
412
+ { _default: 'false', label: '1', value: '' },
413
+ {
414
+ _default: 'false',
415
+ label: '2',
416
+ value: '选项二'
417
+ },
418
+ { _default: 'false', label: '3', value: '' }
419
+ ]
420
+ }
421
+ },
422
+ required: true,
423
+ fieldId: 112
424
+ },
425
+ {
426
+ display: true,
427
+ paramName: 'xiala',
428
+ value: 'MIDDLE',
429
+ formField: {
430
+ deleted: false,
431
+ createTime: '2020-12-08T08:08:27.000+0000',
432
+ name: '下拉1',
433
+ description: '',
434
+ updateTime: '2020-12-08T08:10:56.000+0000',
435
+ id: 113,
436
+ lastOperatorId: 21,
437
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accdd',
438
+ type: 'SELECT',
439
+ extInfo: {
440
+ WebHookParameter: [],
441
+ value: [],
442
+ option: [
443
+ { _default: 'false', label: '紧急', value: 'URGENT' },
444
+ {
445
+ _default: 'false',
446
+ label: '高',
447
+ value: 'HIGH'
448
+ },
449
+ { _default: 'false', label: '中', value: 'MIDDLE' },
450
+ { _default: 'false', label: '12', value: '12' }
451
+ ]
452
+ }
453
+ },
454
+ required: false,
455
+ fieldId: 113
456
+ },
457
+ {
458
+ display: true,
459
+ paramName: 'hhh',
460
+ value: [
461
+ {
462
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
463
+ },
464
+ {
465
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
466
+ }
467
+ ],
468
+ formField: {
469
+ deleted: false,
470
+ createTime: '2020-12-08T08:08:03.000+0000',
471
+ name: '345',
472
+ description: '',
473
+ updateTime: '2020-12-08T08:10:41.000+0000',
474
+ id: 222222,
475
+ lastOperatorId: 78,
476
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accJ',
477
+ type: 'FILE',
478
+ extInfo: {
479
+ fileLimit: 'more'
480
+ }
481
+ },
482
+ required: false,
483
+ fieldId: 222222
484
+ }
485
+ ]
486
+ }
487
+ },
488
+ formList2: {
489
+ formActionId: '',
490
+ form: {
491
+ id: 3,
492
+ name: '表单1',
493
+ release: false,
494
+ deleted: false,
495
+ description: '',
496
+ webhookId: 0,
497
+ webHookRequest: null,
498
+ createTime: '2020-11-18T10:50:19.000+0000',
499
+ updateTime: '2020-11-18T10:50:19.000+0000',
500
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3acc',
501
+ formFieldRelation:[
502
+ {
503
+ "fieldId":"workorder_description",
504
+ "paramName":"description",
505
+ "formField":{
506
+ "id":null,
507
+ "name":"工单描述",
508
+ "description":null,
509
+ "type":"TEXTAREA",
510
+ "deleted":null,
511
+ "lastOperatorId":null,
512
+ "mainId":null,
513
+ "extInfo":null,
514
+ "createTime":null,
515
+ "updateTime":null,
516
+ "required":null
517
+ },
518
+ "value":"",
519
+ "display":true,
520
+ "required":true,
521
+ "editable":null
522
+ },
523
+ {
524
+ "fieldId":"workorder_priority",
525
+ "paramName":"priority",
526
+ "formField":{
527
+ "id":null,
528
+ "name":"优先级",
529
+ "description":null,
530
+ "type":"SELECT",
531
+ "deleted":null,
532
+ "lastOperatorId":null,
533
+ "mainId":null,
534
+ "extInfo":{
535
+ "option":[
536
+ {
537
+ "label":"紧急",
538
+ "value":"URGENT"
539
+ },
540
+ {
541
+ "label":"高",
542
+ "value":"HIGH"
543
+ },
544
+ {
545
+ "label":"中",
546
+ "value":"MIDDLE"
547
+ },
548
+ {
549
+ "label":"",
550
+ "value":"LOW"
551
+ }
552
+ ]
553
+ },
554
+ "createTime":null,
555
+ "updateTime":null,
556
+ "required":null,
557
+ "workOrderFieldId":"57f1c53a694e43b4b5f855a81ee4184b"
558
+ },
559
+ "value":"MIDDLE",
560
+ "display":true,
561
+ "required":true,
562
+ "editable":null
563
+ },
564
+ {
565
+ "fieldId":"workorder_clientId",
566
+ "paramName":"clientId",
567
+ "formField":{
568
+ "id":null,
569
+ "name":"客户",
570
+ "description":null,
571
+ "type":"SELECT",
572
+ "deleted":null,
573
+ "lastOperatorId":null,
574
+ "mainId":null,
575
+ "extInfo":{
576
+ "option":[
577
+ {
578
+ "label":"woWeMoBwAA4Tl0h9pQHI6WbcoIVmg3YA",
579
+ "value":"6204d47e78d5a11647df80be"
580
+ },
581
+ {
582
+ "label":"woWeMoBwAACYR3trQ2LYHWtyOfpplqkw",
583
+ "value":"6209f179afbdcd6fa056a4a4"
584
+ },
585
+ {
586
+ "label":"woWeMoBwAA20zzhSI-H6bsoR85kQRmVg",
587
+ "value":"6209fd7fafbdcd6fa056a4c8"
588
+ },
589
+ {
590
+ "label":"woWeMoBwAAJrf9huLqkIUdZqtSX8Gn5w",
591
+ "value":"620a0d9b42aa263ff58e33c2"
592
+ },
593
+ {
594
+ "label":"woWeMoBwAAfFhhBXkez5W1ZFHKYXu-Fw",
595
+ "value":"620a27a742aa263ff58e3402"
596
+ },
597
+ {
598
+ "label":"woWeMoBwAAsnXU1XmId2s1YEpUQs3RSQ",
599
+ "value":"620a37da42aa263ff58e340a"
600
+ },
601
+ {
602
+ "label":"woWeMoBwAAZiyHnkSTslQXI2FnofVPjg",
603
+ "value":"620b573b42aa263ff58e34da"
604
+ },
605
+ {
606
+ "label":"woWeMoBwAAIX7QQAKxZN-nBPMjR0QuCw",
607
+ "value":"620ca14f4337607a8d4c5ca2"
608
+ },
609
+ {
610
+ "label":"woWeMoBwAABl7fosZeGvguVARqN4rG0A",
611
+ "value":"6212ff4453efc7278ccef8ae"
612
+ },
613
+ {
614
+ "label":"woWeMoBwAAQ-iS-m6AjmFvQ7g2I3FPng",
615
+ "value":"625e1f5f786af427b2832807"
616
+ },
617
+ {
618
+ "label":"woWeMoBwAAiD6E8vXINiqy1Kko9VQbmg",
619
+ "value":"625e75942320fd5b53f3c7a4"
620
+ },
621
+ {
622
+ "label":"woWeMoBwAAfQSn5vV66oK9CVkGqkXeCQ",
623
+ "value":"627bbedbfa08ba2c93a59fee"
624
+ },
625
+ {
626
+ "label":"woWeMoBwAAWCWoqUrWhGZf0cKjcZBEsQ",
627
+ "value":"62b2ba2383d61122e6e53e02"
628
+ },
629
+ {
630
+ "label":"woWeMoBwAArT4aNWvAYWM6uO4yWpicCw",
631
+ "value":"62b430034b8f9e682bdab2d0"
632
+ }
633
+ ]
634
+ },
635
+ "createTime":null,
636
+ "updateTime":null,
637
+ "required":null
638
+ },
639
+ "value":"",
640
+ "display":true,
641
+ "required":false,
642
+ "editable":null
643
+ },
644
+ {
645
+ "fieldId":"workorder_statusId",
646
+ "paramName":"statusId",
647
+ "formField":{
648
+ "id":null,
649
+ "name":"状态",
650
+ "description":null,
651
+ "type":"SELECT",
652
+ "deleted":null,
653
+ "lastOperatorId":null,
654
+ "mainId":null,
655
+ "extInfo":{
656
+ "option":[
657
+ {
658
+ "label":"新建",
659
+ "value":"61f0b074e698d414a7857d1b"
660
+ },
661
+ {
662
+ "label":"已解决",
663
+ "value":"61f0b074e698d414a7857d1d"
664
+ },
665
+ {
666
+ "label":"已关闭",
667
+ "value":"61f0b074e698d414a7857d1e"
668
+ },
669
+ {
670
+ "label":"解决中",
671
+ "value":"61f0b074e698d414a7857d1c"
672
+ },
673
+ {
674
+ "label":"11111",
675
+ "value":"622ebf35cca8252f6c7ea60a"
676
+ },
677
+ {
678
+ "label":"已撤销",
679
+ "value":"62e20458153437474c3a83d3"
680
+ }
681
+ ]
682
+ },
683
+ "createTime":null,
684
+ "updateTime":null,
685
+ "required":null,
686
+ "workOrderFieldId":"70aad2a2979a48cc8d98ee36953e9120"
687
+ },
688
+ "value":"61f0b074e698d414a7857d1b",
689
+ "display":true,
690
+ "required":true,
691
+ "editable":null
692
+ },
693
+ {
694
+ "fieldId":"c90da446003d4deea2f72fb9265fb34e",
695
+ "paramName":"fieldValue.c90da446003d4deea2f72fb9265fb34e",
696
+ "formField":{
697
+ "id":null,
698
+ "name":"单行输入框",
699
+ "description":null,
700
+ "type":"INPUT",
701
+ "deleted":null,
702
+ "lastOperatorId":null,
703
+ "mainId":null,
704
+ "extInfo":{
705
+ "unit":"",
706
+ "isDelete":true,
707
+ "autoInput":{
708
+ "enable":false,
709
+ "rule":{
710
+ "handler":"",
711
+ "type":"reg",
712
+ "exp":""
713
+ },
714
+ "source":[
715
+
716
+ ]
717
+ },
718
+ "requiredDependentFieldId":{
719
+ "70aad2a2979a48cc8d98ee36953e9120":[
720
+ "61f0b074e698d414a7857d1b"
721
+ ]
722
+ },
723
+ "range":{
724
+ "start":"",
725
+ "end":""
726
+ },
727
+ "inputType":"TEXT",
728
+ "dependentFieldId":{
729
+ "70aad2a2979a48cc8d98ee36953e9120":[
730
+ "61f0b074e698d414a7857d1b"
731
+ ]
732
+ },
733
+ "placeholder":"请输入",
734
+ "maxNum":100
735
+ },
736
+ "createTime":null,
737
+ "updateTime":null,
738
+ "required":null
739
+ },
740
+ "value":"",
741
+ "display":true,
742
+ "required":false,
743
+ "editable":null
744
+ },
745
+ {
746
+ "fieldId":"bba99022a5be4b1e86210935f16cf7a7",
747
+ "paramName":"fieldValue.bba99022a5be4b1e86210935f16cf7a7",
748
+ "formField":{
749
+ "id":null,
750
+ "name":"多行输入框",
751
+ "description":null,
752
+ "type":"TEXTAREA",
753
+ "deleted":null,
754
+ "lastOperatorId":null,
755
+ "mainId":null,
756
+ "extInfo":{
757
+ "isDelete":true,
758
+ "autoInput":{
759
+ "enable":false,
760
+ "rule":{
761
+ "handler":"",
762
+ "type":"reg",
763
+ "exp":""
764
+ },
765
+ "source":[
766
+
767
+ ]
768
+ },
769
+ "requiredDependentFieldId":{
770
+ "70aad2a2979a48cc8d98ee36953e9120":[
771
+ "61f0b074e698d414a7857d1d"
772
+ ]
773
+ },
774
+ "range":{
775
+ "start":"",
776
+ "end":""
777
+ },
778
+ "dependentFieldId":{
779
+ "70aad2a2979a48cc8d98ee36953e9120":[
780
+ "61f0b074e698d414a7857d1d"
781
+ ]
782
+ },
783
+ "placeholder":"请输入",
784
+ "maxNum":100
785
+ },
786
+ "createTime":null,
787
+ "updateTime":null,
788
+ "required":null
789
+ },
790
+ "value":"",
791
+ "display":true,
792
+ "required":false,
793
+ "editable":null
794
+ },
795
+ {
796
+ "fieldId":"149e949834ee41c7830a78f98aa322e8",
797
+ "paramName":"fieldValue.149e949834ee41c7830a78f98aa322e8",
798
+ "formField":{
799
+ "id":null,
800
+ "name":"单选",
801
+ "description":null,
802
+ "type":"RADIO",
803
+ "deleted":null,
804
+ "lastOperatorId":null,
805
+ "mainId":null,
806
+ "extInfo":{
807
+ "isDelete":true,
808
+ "autoInput":{
809
+ "enable":false,
810
+ "rule":{
811
+ "handler":"",
812
+ "type":"dict",
813
+ "exp":""
814
+ },
815
+ "source":[
816
+
817
+ ]
818
+ },
819
+ "options":[
820
+ {
821
+ "_default":false,
822
+ "label":"选项一",
823
+ "relationItems":[
824
+ "2b5227e5fd8844b18f7435c8d95a5a47"
825
+ ],
826
+ "value":"选项一",
827
+ "requiredItems":[
828
+ "2b5227e5fd8844b18f7435c8d95a5a47"
829
+ ]
830
+ },
831
+ {
832
+ "_default":false,
833
+ "label":"选项二",
834
+ "relationItems":[
835
+
836
+ ],
837
+ "value":"选项二",
838
+ "requiredItems":[
839
+
840
+ ]
841
+ },
842
+ {
843
+ "_default":false,
844
+ "label":"选项三",
845
+ "relationItems":[
846
+
847
+ ],
848
+ "value":"选项三",
849
+ "requiredItems":[
850
+
851
+ ]
852
+ }
853
+ ],
854
+ "range":{
855
+ "start":"",
856
+ "end":""
857
+ },
858
+ "placeholder":"请选择",
859
+ "dependent":{
860
+
861
+ }
862
+ },
863
+ "createTime":null,
864
+ "updateTime":null,
865
+ "required":null
866
+ },
867
+ "value":"",
868
+ "display":true,
869
+ "required":false,
870
+ "editable":null
871
+ },
872
+ {
873
+ "fieldId":"d3008a1fc1fc42579c37ee726524c1c2",
874
+ "paramName":"fieldValue.d3008a1fc1fc42579c37ee726524c1c2",
875
+ "formField":{
876
+ "id":null,
877
+ "name":"多选",
878
+ "description":null,
879
+ "type":"CHECKBOX",
880
+ "deleted":null,
881
+ "lastOperatorId":null,
882
+ "mainId":null,
883
+ "extInfo":{
884
+ "isDelete":true,
885
+ "autoInput":{
886
+ "enable":false,
887
+ "rule":{
888
+ "handler":"",
889
+ "type":"dict",
890
+ "exp":""
891
+ },
892
+ "source":[
893
+
894
+ ]
895
+ },
896
+ "options":[
897
+ {
898
+ "_default":false,
899
+ "label":"选项一",
900
+ "relationItems":[
901
+ "136a085906944e8eaaeb365849b1c02e"
902
+ ],
903
+ "value":"选项一",
904
+ "requiredItems":[
905
+ "136a085906944e8eaaeb365849b1c02e"
906
+ ]
907
+ },
908
+ {
909
+ "_default":false,
910
+ "label":"选项二",
911
+ "relationItems":[
912
+
913
+ ],
914
+ "value":"选项二",
915
+ "requiredItems":[
916
+
917
+ ]
918
+ },
919
+ {
920
+ "_default":false,
921
+ "label":"选项三",
922
+ "relationItems":[
923
+
924
+ ],
925
+ "value":"选项三",
926
+ "requiredItems":[
927
+
928
+ ]
929
+ }
930
+ ],
931
+ "range":{
932
+ "start":"",
933
+ "end":""
934
+ },
935
+ "placeholder":"请选择",
936
+ "dependent":{
937
+
938
+ }
939
+ },
940
+ "createTime":null,
941
+ "updateTime":null,
942
+ "required":null
943
+ },
944
+ "value":"",
945
+ "display":true,
946
+ "required":false,
947
+ "editable":null
948
+ },
949
+ {
950
+ "fieldId":"5f758ef25db54dce8267633309c62d50",
951
+ "paramName":"fieldValue.5f758ef25db54dce8267633309c62d50",
952
+ "formField":{
953
+ "id":null,
954
+ "name":"下拉",
955
+ "description":null,
956
+ "type":"SELECT",
957
+ "deleted":null,
958
+ "lastOperatorId":null,
959
+ "mainId":null,
960
+ "extInfo":{
961
+ "isDelete":true,
962
+ "autoInput":{
963
+ "enable":false,
964
+ "rule":{
965
+ "handler":"",
966
+ "type":"dict",
967
+ "exp":""
968
+ },
969
+ "source":[
970
+
971
+ ]
972
+ },
973
+ "options":[
974
+ {
975
+ "_default":false,
976
+ "label":"选项一",
977
+ "relationItems":[
978
+
979
+ ],
980
+ "value":"选项一",
981
+ "requiredItems":[
982
+
983
+ ]
984
+ },
985
+ {
986
+ "_default":false,
987
+ "label":"选项二",
988
+ "relationItems":[
989
+
990
+ ],
991
+ "value":"选项二",
992
+ "requiredItems":[
993
+
994
+ ]
995
+ },
996
+ {
997
+ "_default":false,
998
+ "label":"选项三",
999
+ "relationItems":[
1000
+
1001
+ ],
1002
+ "value":"选项三",
1003
+ "requiredItems":[
1004
+
1005
+ ]
1006
+ }
1007
+ ],
1008
+ "range":{
1009
+ "start":"",
1010
+ "end":""
1011
+ },
1012
+ "selectType":"单选",
1013
+ "placeholder":"请选择",
1014
+ "dependent":{
1015
+
1016
+ }
1017
+ },
1018
+ "createTime":null,
1019
+ "updateTime":null,
1020
+ "required":null
1021
+ },
1022
+ "value":"",
1023
+ "display":true,
1024
+ "required":false,
1025
+ "editable":null
1026
+ },
1027
+ {
1028
+ "fieldId":"151d5be30c6043668bd4c7b6964bc21c",
1029
+ "paramName":"fieldValue.151d5be30c6043668bd4c7b6964bc21c",
1030
+ "formField":{
1031
+ "id":null,
1032
+ "name":"级联",
1033
+ "description":null,
1034
+ "type":"CASCADER",
1035
+ "deleted":null,
1036
+ "lastOperatorId":null,
1037
+ "mainId":null,
1038
+ "extInfo":{
1039
+ "isDelete":true,
1040
+ "autoInput":{
1041
+ "enable":false,
1042
+ "rule":{
1043
+ "handler":"",
1044
+ "type":"dict",
1045
+ "exp":""
1046
+ },
1047
+ "source":[
1048
+
1049
+ ]
1050
+ },
1051
+ "range":{
1052
+ "start":"",
1053
+ "end":""
1054
+ },
1055
+ "selectType":"单选",
1056
+ "placeholder":"请选择",
1057
+ "dependent":{
1058
+
1059
+ },
1060
+ "cascadeDown":{
1061
+ "options":[
1062
+ {
1063
+ "_default":false,
1064
+ "children":[
1065
+ {
1066
+ "_default":false,
1067
+ "children":[
1068
+ {
1069
+ "_default":false,
1070
+ "label":"1-1-1",
1071
+ "relationItems":[
1072
+
1073
+ ],
1074
+ "value":"1-1-1"
1075
+ }
1076
+ ],
1077
+ "label":"1-1",
1078
+ "relationItems":[
1079
+
1080
+ ],
1081
+ "value":"1-1"
1082
+ }
1083
+ ],
1084
+ "label":"1",
1085
+ "relationItems":[
1086
+
1087
+ ],
1088
+ "value":"1",
1089
+ "requiredItems":[
1090
+
1091
+ ]
1092
+ },
1093
+ {
1094
+ "_default":false,
1095
+ "children":[
1096
+ {
1097
+ "_default":false,
1098
+ "children":[
1099
+ {
1100
+ "_default":false,
1101
+ "label":"2-1-1",
1102
+ "relationItems":[
1103
+
1104
+ ],
1105
+ "value":"2-1-1"
1106
+ }
1107
+ ],
1108
+ "label":"2-1",
1109
+ "relationItems":[
1110
+
1111
+ ],
1112
+ "value":"2-1"
1113
+ }
1114
+ ],
1115
+ "label":"2",
1116
+ "relationItems":[
1117
+
1118
+ ],
1119
+ "value":"2"
1120
+ }
1121
+ ]
1122
+ },
1123
+ "fieldValue":[
1124
+ {
1125
+ "_default":false,
1126
+ "label":"1-1-1",
1127
+ "relationItems":[
1128
+
1129
+ ],
1130
+ "value":"1-1-1"
1131
+ }
1132
+ ]
1133
+ },
1134
+ "createTime":null,
1135
+ "updateTime":null,
1136
+ "required":null
1137
+ },
1138
+ "value":['1-1-1'],
1139
+ "display":true,
1140
+ "required":false,
1141
+ "editable":null
1142
+ },
1143
+ {
1144
+ "fieldId":"694c7c2bd8e94cc28a71d5aa2cabd92f",
1145
+ "paramName":"fieldValue.694c7c2bd8e94cc28a71d5aa2cabd92f",
1146
+ "formField":{
1147
+ "id":null,
1148
+ "name":"时间日期",
1149
+ "description":null,
1150
+ "type":"TIME_PICKER",
1151
+ "deleted":null,
1152
+ "lastOperatorId":null,
1153
+ "mainId":null,
1154
+ "extInfo":{
1155
+ "isDelete":true,
1156
+ "autoInput":{
1157
+ "enable":false,
1158
+ "rule":{
1159
+ "handler":"",
1160
+ "type":"reg",
1161
+ "exp":""
1162
+ },
1163
+ "source":[
1164
+
1165
+ ]
1166
+ },
1167
+ "pattern":"",
1168
+ "mold":"DATE",
1169
+ "range":{
1170
+ "start":"",
1171
+ "end":""
1172
+ },
1173
+ "dataTimePattern":"yyyy-MM-dd",
1174
+ "placeholder":"请选择"
1175
+ },
1176
+ "createTime":null,
1177
+ "updateTime":null,
1178
+ "required":null
1179
+ },
1180
+ "value":"Sat Jul 30 2022 00:00:00 GMT+0800",
1181
+ "display":true,
1182
+ "required":false,
1183
+ "editable":null
1184
+ },
1185
+ {
1186
+ "fieldId":"694c7c2bd8e94cc28a71d5aa2cabd9211",
1187
+ "paramName":"fieldValue.694c7c2bd8e94cc28a71d5aa2cabd92f",
1188
+ "formField":{
1189
+ "id":null,
1190
+ "name":"时间",
1191
+ "description":null,
1192
+ "type":"TIME_PICKER",
1193
+ "deleted":null,
1194
+ "lastOperatorId":null,
1195
+ "mainId":null,
1196
+ "extInfo":{
1197
+ "isDelete":true,
1198
+ "autoInput":{
1199
+ "enable":false,
1200
+ "rule":{
1201
+ "handler":"",
1202
+ "type":"reg",
1203
+ "exp":""
1204
+ },
1205
+ "source":[
1206
+
1207
+ ]
1208
+ },
1209
+ "pattern":"",
1210
+ "mold":"TIME",
1211
+ "range":{
1212
+ "start":"",
1213
+ "end":""
1214
+ },
1215
+ "dataTimePattern":"HH:mm",
1216
+ "placeholder":"请选择"
1217
+ },
1218
+ "createTime":null,
1219
+ "updateTime":null,
1220
+ "required":null
1221
+ },
1222
+ "value":"Sat Jul 30 2022 00:00:00 GMT+0800",
1223
+ "display":true,
1224
+ "required":false,
1225
+ "editable":null
1226
+ },
1227
+ {
1228
+ "fieldId":"694c7c2bd8e94cc28a71d5aa2cabd9212",
1229
+ "paramName":"fieldValue.694c7c2bd8e94cc28a71d5aa2cabd92f",
1230
+ "formField":{
1231
+ "id":null,
1232
+ "name":"时间日期选择",
1233
+ "description":null,
1234
+ "type":"TIME_PICKER",
1235
+ "deleted":null,
1236
+ "lastOperatorId":null,
1237
+ "mainId":null,
1238
+ "extInfo":{
1239
+ "isDelete":true,
1240
+ "autoInput":{
1241
+ "enable":false,
1242
+ "rule":{
1243
+ "handler":"",
1244
+ "type":"reg",
1245
+ "exp":""
1246
+ },
1247
+ "source":[
1248
+
1249
+ ]
1250
+ },
1251
+ "pattern":"",
1252
+ "mold":"DATE_TIME",
1253
+ "range":{
1254
+ "start":"",
1255
+ "end":""
1256
+ },
1257
+ "dataTimePattern":"HH:mm",
1258
+ "placeholder":"请选择"
1259
+ },
1260
+ "createTime":null,
1261
+ "updateTime":null,
1262
+ "required":null
1263
+ },
1264
+ "value":"Sat Jul 30 2022 00:00:00 GMT+0800",
1265
+ "display":true,
1266
+ "required":false,
1267
+ "editable":null
1268
+ },
1269
+ {
1270
+ "fieldId":"2b5227e5fd8844b18f7435c8d95a5a47",
1271
+ "paramName":"fieldValue.2b5227e5fd8844b18f7435c8d95a5a47",
1272
+ "formField":{
1273
+ "id":null,
1274
+ "name":"图片",
1275
+ "description":null,
1276
+ "type":"IMAGE",
1277
+ "deleted":null,
1278
+ "lastOperatorId":null,
1279
+ "mainId":null,
1280
+ "extInfo":{
1281
+ "watermark":{
1282
+ "enable":false,
1283
+ "text":""
1284
+ },
1285
+ "isDelete":true,
1286
+ "autoInput":{
1287
+ "enable":false,
1288
+ "rule":{
1289
+ "handler":"",
1290
+ "type":"reg",
1291
+ "exp":""
1292
+ },
1293
+ "source":[
1294
+
1295
+ ]
1296
+ },
1297
+ "limit":"1",
1298
+ "requiredDependentFieldId":{
1299
+ "149e949834ee41c7830a78f98aa322e8":[
1300
+ "选项一"
1301
+ ]
1302
+ },
1303
+ "range":{
1304
+ "start":"",
1305
+ "end":""
1306
+ },
1307
+ "dependentFieldId":{
1308
+ "149e949834ee41c7830a78f98aa322e8":[
1309
+ "选项一"
1310
+ ]
1311
+ },
1312
+ "placeholder":"请选择"
1313
+ },
1314
+ "createTime":null,
1315
+ "updateTime":null,
1316
+ "required":null
1317
+ },
1318
+ "value":"",
1319
+ "display":true,
1320
+ "required":false,
1321
+ "editable":null
1322
+ },
1323
+ {
1324
+ "fieldId":"136a085906944e8eaaeb365849b1c02e",
1325
+ "paramName":"fieldValue.136a085906944e8eaaeb365849b1c02e",
1326
+ "formField":{
1327
+ "id":null,
1328
+ "name":"视频",
1329
+ "description":null,
1330
+ "type":"VIDEO",
1331
+ "deleted":null,
1332
+ "lastOperatorId":null,
1333
+ "mainId":null,
1334
+ "extInfo":{
1335
+ "watermark":{
1336
+ "enable":false,
1337
+ "text":""
1338
+ },
1339
+ "isDelete":true,
1340
+ "autoInput":{
1341
+ "enable":false,
1342
+ "rule":{
1343
+ "handler":"",
1344
+ "type":"reg",
1345
+ "exp":""
1346
+ },
1347
+ "source":[
1348
+
1349
+ ]
1350
+ },
1351
+ "limit":"1",
1352
+ "requiredDependentFieldId":{
1353
+ "d3008a1fc1fc42579c37ee726524c1c2":[
1354
+ "选项一"
1355
+ ]
1356
+ },
1357
+ "range":{
1358
+ "start":"",
1359
+ "end":""
1360
+ },
1361
+ "dependentFieldId":{
1362
+ "d3008a1fc1fc42579c37ee726524c1c2":[
1363
+ "选项一"
1364
+ ]
1365
+ },
1366
+ "placeholder":"请选择"
1367
+ },
1368
+ "createTime":null,
1369
+ "updateTime":null,
1370
+ "required":null
1371
+ },
1372
+ "value":"",
1373
+ "display":true,
1374
+ "required":false,
1375
+ "editable":null
1376
+ },
1377
+ {
1378
+ "fieldId":"ccb87cda81a94450aecea52b07749ce8",
1379
+ "paramName":"fieldValue.ccb87cda81a94450aecea52b07749ce8",
1380
+ "formField":{
1381
+ "id":null,
1382
+ "name":"附件",
1383
+ "description":null,
1384
+ "type":"ATTACHMENT",
1385
+ "deleted":null,
1386
+ "lastOperatorId":null,
1387
+ "mainId":null,
1388
+ "extInfo":{
1389
+ "watermark":{
1390
+ "enable":false,
1391
+ "text":""
1392
+ },
1393
+ "isDelete":true,
1394
+ "autoInput":{
1395
+ "enable":false,
1396
+ "rule":{
1397
+ "handler":"",
1398
+ "type":"reg",
1399
+ "exp":""
1400
+ },
1401
+ "source":[
1402
+
1403
+ ]
1404
+ },
1405
+ "limit":"1",
1406
+ "range":{
1407
+ "start":"",
1408
+ "end":""
1409
+ },
1410
+ "placeholder":"请选择"
1411
+ },
1412
+ "createTime":null,
1413
+ "updateTime":null,
1414
+ "required":null
1415
+ },
1416
+ "value":"",
1417
+ "display":true,
1418
+ "required":false,
1419
+ "editable":null
1420
+ },
1421
+ {
1422
+ "fieldId":"2d9dbc54223c4cc194d9019586921ad3",
1423
+ "paramName":"fieldValue.2d9dbc54223c4cc194d9019586921ad3",
1424
+ "formField":{
1425
+ "id":null,
1426
+ "name":"说明文字",
1427
+ "description":null,
1428
+ "type":"EXPLAIN",
1429
+ "deleted":null,
1430
+ "lastOperatorId":null,
1431
+ "mainId":null,
1432
+ "extInfo":{
1433
+ "isDelete":true,
1434
+ "autoInput":{
1435
+ "enable":false,
1436
+ "rule":{
1437
+ "handler":"",
1438
+ "type":"reg",
1439
+ "exp":""
1440
+ },
1441
+ "source":[
1442
+
1443
+ ]
1444
+ },
1445
+ "range":{
1446
+ "start":"",
1447
+ "end":""
1448
+ },
1449
+ "dependentFieldId":{
1450
+ "57f1c53a694e43b4b5f855a81ee4184b":[
1451
+ "URGENT"
1452
+ ]
1453
+ },
1454
+ "placeholder":"请输入说明内容",
1455
+ "url":""
1456
+ },
1457
+ "createTime":null,
1458
+ "updateTime":null,
1459
+ "required":null
1460
+ },
1461
+ "value":"",
1462
+ "display":true,
1463
+ "required":false,
1464
+ "editable":null
1465
+ },
1466
+ {
1467
+ "fieldId":"5413c67b77824163ba51bfef6ccbd838",
1468
+ "paramName":"fieldValue.5413c67b77824163ba51bfef6ccbd838",
1469
+ "formField":{
1470
+ "id":null,
1471
+ "name":"聊天记录",
1472
+ "description":null,
1473
+ "type":"CHAT_RECORD",
1474
+ "deleted":null,
1475
+ "lastOperatorId":null,
1476
+ "mainId":null,
1477
+ "extInfo":{
1478
+ "visibleWithoutPermission":true,
1479
+ "isDelete":true,
1480
+ "autoInput":{
1481
+ "enable":false,
1482
+ "rule":{
1483
+ "handler":"",
1484
+ "type":"reg",
1485
+ "exp":""
1486
+ },
1487
+ "source":[
1488
+
1489
+ ]
1490
+ },
1491
+ "range":{
1492
+ "start":"",
1493
+ "end":""
1494
+ },
1495
+ "disabled":false
1496
+ },
1497
+ "createTime":null,
1498
+ "updateTime":null,
1499
+ "required":null
1500
+ },
1501
+ "value":"",
1502
+ "display":true,
1503
+ "required":false,
1504
+ "editable":null
1505
+ },
1506
+ {
1507
+ fieldId: '06f9b8f0d09a4a44ba7ad615d9c8f178',
1508
+ paramName: 'fieldValue.06f9b8f0d09a4a44ba7ad615d9c8f178',
1509
+ formField: {
1510
+ id: null,
1511
+ name: '引用字段',
1512
+ description: null,
1513
+ type: 'REF',
1514
+ deleted: null,
1515
+ lastOperatorId: null,
1516
+ mainId: null,
1517
+ extInfo: {
1518
+ fieldDetail: {
1519
+ ext: {
1520
+ autoInput: {
1521
+ enable: false,
1522
+ rule: {
1523
+ handler: '',
1524
+ type: 'dict',
1525
+ exp: ''
1526
+ },
1527
+ source: []
1528
+ },
1529
+ options: [
1530
+ {
1531
+ _default: false,
1532
+ optionStruct: {
1533
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': [
1534
+ {
1535
+ _default: false,
1536
+ label: '选项一',
1537
+ relationItems: [],
1538
+ value: '选项一'
1539
+ }
1540
+ ]
1541
+ },
1542
+ label: '选项一',
1543
+ relationItems: [],
1544
+ value: '选项一'
1545
+ },
1546
+ {
1547
+ _default: false,
1548
+ optionStruct: {
1549
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': [
1550
+ {
1551
+ _default: false,
1552
+ label: '选项二',
1553
+ relationItems: [],
1554
+ value: '选项二'
1555
+ }
1556
+ ]
1557
+ },
1558
+ label: '选项二',
1559
+ relationItems: [],
1560
+ value: '选项二'
1561
+ },
1562
+ {
1563
+ _default: false,
1564
+ optionStruct: {
1565
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': []
1566
+ },
1567
+ label: '选项三',
1568
+ relationItems: [],
1569
+ value: '选项三'
1570
+ }
1571
+ ],
1572
+ placeholder: '请选择',
1573
+ dependent: {
1574
+ optionStruct: [],
1575
+ filterStruct: [],
1576
+ dependentFieldId: ''
1577
+ }
1578
+ },
1579
+ backgroundColor: null,
1580
+ allFields: null,
1581
+ dataTemplateId: null,
1582
+ widgetId: '82fc988b598a4aa2ac1ea9358bf2e6eb',
1583
+ defaultValue: '',
1584
+ typeName: 'RADIO',
1585
+ description: '',
1586
+ remark: {
1587
+ enable: false,
1588
+ text: ''
1589
+ },
1590
+ type: 'RADIO',
1591
+ refFieldId: null,
1592
+ required: false,
1593
+ searchable: false,
1594
+ isSystemField: false,
1595
+ extInfo: {
1596
+ autoInput: {
1597
+ enable: false,
1598
+ rule: {
1599
+ handler: '',
1600
+ type: 'dict',
1601
+ exp: ''
1602
+ },
1603
+ source: []
1604
+ },
1605
+ options: [
1606
+ {
1607
+ _default: false,
1608
+ optionStruct: {
1609
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': [
1610
+ {
1611
+ _default: false,
1612
+ label: '选项一',
1613
+ relationItems: [],
1614
+ value: '选项一'
1615
+ }
1616
+ ]
1617
+ },
1618
+ label: '选项一',
1619
+ relationItems: [],
1620
+ value: '选项一'
1621
+ },
1622
+ {
1623
+ _default: false,
1624
+ optionStruct: {
1625
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': [
1626
+ {
1627
+ _default: false,
1628
+ label: '选项二',
1629
+ relationItems: [],
1630
+ value: '选项二'
1631
+ }
1632
+ ]
1633
+ },
1634
+ label: '选项二',
1635
+ relationItems: [],
1636
+ value: '选项二'
1637
+ },
1638
+ {
1639
+ _default: false,
1640
+ optionStruct: {
1641
+ '74df70cd57ae4ce2ab7b42e2e376ab9e': []
1642
+ },
1643
+ label: '选项三',
1644
+ relationItems: [],
1645
+ value: '选项三'
1646
+ }
1647
+ ],
1648
+ placeholder: '请选择',
1649
+ dependent: {
1650
+ optionStruct: [],
1651
+ filterStruct: [],
1652
+ dependentFieldId: ''
1653
+ }
1654
+ },
1655
+ refTemplateId: null,
1656
+ top: 4,
1657
+ left: 0,
1658
+ name: '单选',
1659
+ width: 6,
1660
+ disabled: false,
1661
+ id: '628b63120a4e1e2be6ba1456',
1662
+ height: 2
1663
+ },
1664
+ ref: {
1665
+ fieldName: '单选',
1666
+ field: '628b63120a4e1e2be6ba1456',
1667
+ source: '628740185684de1f1bc2f530',
1668
+ sourceName: '测试关联模板数据',
1669
+ vars: [],
1670
+ type: 'RADIO'
1671
+ },
1672
+ isDelete: true,
1673
+ autoInput: {
1674
+ enable: false,
1675
+ rule: {
1676
+ handler: '',
1677
+ type: '',
1678
+ exp: ''
1679
+ },
1680
+ source: []
1681
+ },
1682
+ placeholder: '请输入'
1683
+ },
1684
+ createTime: null,
1685
+ updateTime: null,
1686
+ required: null
1687
+ },
1688
+ value: null,
1689
+ display: true,
1690
+ required: null,
1691
+ editable: null
1692
+ },
1693
+ {
1694
+ fieldId: '9a8ec0d8091b46938bf4c60b6d3c1985',
1695
+ paramName: 'fieldValue.9a8ec0d8091b46938bf4c60b6d3c1985',
1696
+ formField: {
1697
+ id: null,
1698
+ name: '关联数据模板',
1699
+ description: null,
1700
+ type: 'REF_TEMPLATE',
1701
+ deleted: null,
1702
+ lastOperatorId: null,
1703
+ mainId: null,
1704
+ extInfo: {
1705
+ ref: {
1706
+ field:
1707
+ '<p><span class="ask-component-placeholder" th:text="628b63120a4e1e2be6ba1456">单选</span></p>',
1708
+ source: '628740185684de1f1bc2f530',
1709
+ sourceName: '测试关联模板数据',
1710
+ vars: [
1711
+ '629604ee66aea9737f895def',
1712
+ '629604ee66aea9737f895df0',
1713
+ '6260ff58122dae34a4dc9a79',
1714
+ '875b9116784941829c4171ce',
1715
+ '044af7a8496640a19b2ed580',
1716
+ '0fe016be113740a9a3e9eacd',
1717
+ '4d1db5f2ef634ebd9c490c18',
1718
+ '6286f66ac846a7151dac1248',
1719
+ '6286f66ac846a7151dac1249',
1720
+ '6286f66ac846a7151dac124a',
1721
+ '6281f13e76d5bd7468eab685',
1722
+ '628b63120a4e1e2be6ba1456'
1723
+ ],
1724
+ type: ''
1725
+ },
1726
+ addBtnName: '测试新增',
1727
+ isDelete: true,
1728
+ autoInput: {
1729
+ enable: false,
1730
+ rule: {
1731
+ handler: '',
1732
+ type: '',
1733
+ exp: ''
1734
+ },
1735
+ source: []
1736
+ },
1737
+ selectType: '单选',
1738
+ supportAdd: false,
1739
+ placeholder: '请输入'
1740
+ },
1741
+ createTime: null,
1742
+ updateTime: null,
1743
+ required: null
1744
+ },
1745
+ value: null,
1746
+ display: true,
1747
+ required: null,
1748
+ editable: null
1749
+ }
1750
+ ]
1751
+ }
1752
+ },
1753
+ text: {
1754
+ template:
1755
+ '<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>',
1756
+ goToAction: { value: '123' },
1757
+ apiKey: ''
1758
+ },
1759
+ rem: 'rem',
1760
+ feedBack: {
1761
+ positiveFeedback: { text: '有用有用有用有用' },
1762
+ negativeFeedback: { text: '无用无用无用无用' },
1763
+ feedbackActions: [],
1764
+ feedbackUid: ''
1765
+ },
1766
+ urls: [
1767
+ {
1768
+ status: 'success',
1769
+ name: 'portal.test.askbot.cn_20201214_153724.zip',
1770
+ size: 2077,
1771
+ percentage: 100,
1772
+ uid: 1609154083480,
1773
+ raw: { uid: 1609154083480 },
1774
+ response:
1775
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1776
+ },
1777
+ {
1778
+ status: 'success',
1779
+ name: 'portal._153724.doc',
1780
+ size: 2077,
1781
+ percentage: 100,
1782
+ uid: 1609154083480,
1783
+ raw: { uid: 1609154083480 },
1784
+ response:
1785
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1786
+ },
1787
+ {
1788
+ status: 'success',
1789
+ name: 'portal.test.askbot.cn_20201214_153724.xls',
1790
+ size: 2077,
1791
+ percentage: 100,
1792
+ uid: 1609154083480,
1793
+ raw: { uid: 1609154083480 },
1794
+ response:
1795
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1796
+ },
1797
+ {
1798
+ status: 'success',
1799
+ name: 'portal.test.askbot.cn_20201214_153724.ppt',
1800
+ size: 2077,
1801
+ percentage: 100,
1802
+ uid: 1609154083480,
1803
+ raw: { uid: 1609154083480 },
1804
+ response:
1805
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1806
+ },
1807
+ {
1808
+ status: 'success',
1809
+ name: 'portal.test.askbot.cn_20201214_153724.pdf',
1810
+ size: 2077,
1811
+ percentage: 100,
1812
+ uid: 1609154083480,
1813
+ raw: { uid: 1609154083480 },
1814
+ response:
1815
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1816
+ },
1817
+ {
1818
+ status: 'success',
1819
+ name: 'portal.test.askbot.cn_20201214_153724.zip',
1820
+ size: 2077,
1821
+ percentage: 100,
1822
+ uid: 1609154083480,
1823
+ raw: { uid: 1609154083480 },
1824
+ response:
1825
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2020/12/28/07/15/d4c7a970-037e-454a-9921-821c0e81a3c5.zip'
1826
+ }
1827
+ ],
1828
+ messageList: [
1829
+ {
1830
+ content:
1831
+ '您好,我是郑俊成的智能助理,请问您是为企业咨询还是个人兴趣?',
1832
+ speaker: 'bot',
1833
+ type: 'answer_text'
1834
+ },
1835
+ { content: '单位', speaker: 'user', type: 'answer_text' }
1836
+ ],
1837
+ answerMsg: {
1838
+ content: {
1839
+ description: '你好,我是点选',
1840
+ options: [
1841
+ {
1842
+ name: '跳转意图',
1843
+ scope: 'INTENT',
1844
+ value: '3535'
1845
+ }
1846
+ ]
1847
+ }
1848
+ },
1849
+ showLoad: false,
1850
+ videoUrl:
1851
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/27/10/22/56fb13eb-b94a-45e8-b131-04531330cb2c/微信_20210719215122.mp4',
1852
+ processAction: [
1853
+ {
1854
+ content: {
1855
+ html:
1856
+ '<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>',
1857
+ recommend: {
1858
+ description: '关联意图测试描述',
1859
+ list: [
1860
+ {
1861
+ id: '3539',
1862
+ text: '文本',
1863
+ type: 1
1864
+ },
1865
+ {
1866
+ id: '3540',
1867
+ text: '图片',
1868
+ type: 1
1869
+ }
1870
+ ],
1871
+ status: true
1872
+ }
1873
+ },
1874
+ type: 'answer_rich_text',
1875
+ id: '60df03aeeea6014311dc4285',
1876
+ intentId: 6064,
1877
+ recommend: {
1878
+ description: '关联意图测试描述',
1879
+ list: [
1880
+ {
1881
+ id: '3539',
1882
+ text: '文本',
1883
+ type: 1
1884
+ },
1885
+ {
1886
+ id: '3540',
1887
+ text: '图片',
1888
+ type: 1
1889
+ }
1890
+ ],
1891
+ status: true
1892
+ }
1893
+ },
1894
+
1895
+ {
1896
+ content: {
1897
+ url:
1898
+ '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',
1899
+ html: '测试文本-关联推荐没有描述',
1900
+ recommend: {
1901
+ description: '',
1902
+ list: [
1903
+ {
1904
+ id: '3539',
1905
+ text: '文本',
1906
+ type: 1
1907
+ },
1908
+ {
1909
+ id: '3540',
1910
+ text: '图片',
1911
+ type: 1
1912
+ }
1913
+ ],
1914
+ status: true
1915
+ }
1916
+ },
1917
+ type: 'answer_image',
1918
+ id: '6124d9b1c12fa234e0b3ddc8',
1919
+ intentId: 6064,
1920
+ recommend: {
1921
+ description: '',
1922
+ list: [
1923
+ {
1924
+ id: '3539',
1925
+ text: '文本',
1926
+ type: 1
1927
+ },
1928
+ {
1929
+ id: '3540',
1930
+ text: '图片',
1931
+ type: 1
1932
+ }
1933
+ ],
1934
+ status: true
1935
+ }
1936
+ },
1937
+ {
1938
+ content: {
1939
+ url:
1940
+ 'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
1941
+ videoFlag: false,
1942
+ videoUploadPercent: 0,
1943
+ isShowUploadVideo: true,
1944
+ recommend: {
1945
+ description: '关联意图测试描述',
1946
+ list: [
1947
+ {
1948
+ id: '3539',
1949
+ text: '文本',
1950
+ type: 1
1951
+ }
1952
+ ],
1953
+ status: true
1954
+ }
1955
+ },
1956
+ type: 'answer_video',
1957
+ id: '60df03aeeea6014311dc4285',
1958
+ intentId: 6064,
1959
+ recommend: {
1960
+ description: '关联意图测试描述',
1961
+ list: [
1962
+ {
1963
+ id: '3539',
1964
+ text: '文本',
1965
+ type: 1
1966
+ }
1967
+ ],
1968
+ status: true
1969
+ }
1970
+ }
1971
+ ],
1972
+ actionSatisfactions: [
1973
+ {
1974
+ content: {
1975
+ satisfactionDes: '满意度',
1976
+ satisfactoryAnswer: '',
1977
+ unsatisfiedAnswer: '',
1978
+ answerRadio: [
1979
+ {
1980
+ answer: '哦哦哦',
1981
+ name: '哈哈哈'
1982
+ }
1983
+ ]
1984
+ }
1985
+ }
1986
+ ],
1987
+ inLoading: true,
1988
+ dataNote: 0,
1989
+ timer: null,
1990
+ finished: false,
1991
+ botActionSatis: {
1992
+ content: {
1993
+ reply_text: '哈哈哈哈哈',
1994
+ reply_options: [
1995
+ {
1996
+ name: '暗示丢',
1997
+ answer: '暗示丢1504559775615045597756kjl',
1998
+ apiKey: ''
1999
+ },
2000
+ {
2001
+ name: '暗示丢2',
2002
+ answer: '暗示丢11504559775615045597756kjl',
2003
+ apiKey: ''
2004
+ }
2005
+ ]
2006
+ }
2007
+ },
2008
+ answerDiss: {
2009
+ content: {
2010
+ replyText: '哈哈哈哈哈',
2011
+ replyOptions: [
2012
+ {
2013
+ name: '暗示丢',
2014
+ answer: '暗示丢1504559775615045597756kjl',
2015
+ apiKey: ''
2016
+ },
2017
+ {
2018
+ name: '暗示丢2',
2019
+ answer: '暗示丢11504559775615045597756kjl',
2020
+ apiKey: ''
2021
+ }
2022
+ ]
2023
+ }
2024
+ },
2025
+ answerRadios: {
2026
+ content: {
2027
+ description: '请点击下方选项继续测试',
2028
+ options: [
2029
+ {
2030
+ name: '跳转节点1',
2031
+ scope: 'NODE',
2032
+ value: '60177b9470814d4ce924f1ed'
2033
+ },
2034
+ {
2035
+ name: '跳转意图',
2036
+ scope: 'INTENT',
2037
+ value: '3558'
2038
+ },
2039
+ {
2040
+ name: '跳转节点2',
2041
+ scope: 'NODE',
2042
+ value: '60af4505d0acd7017620c4f2'
2043
+ }
2044
+ ],
2045
+ recommend: {
2046
+ description: '',
2047
+ status: false,
2048
+ list: []
2049
+ }
2050
+ },
2051
+ type: 'answer_radio'
2052
+ },
2053
+ htmlContainer: '<input placeholder="请输入"></input>',
2054
+ isOpen: true
2055
+ }
2056
+ },
2057
+ methods: {
2058
+ submitClick(value) {
2059
+ console.log(value)
2060
+ },
2061
+ submitClicks(value) {
2062
+ console.log(value)
2063
+ },
2064
+ positiveFeedback(value1) {
2065
+ console.log(value1)
2066
+ },
2067
+ touchEnd(index) {
2068
+ console.log(index)
2069
+ },
2070
+ closeVoice() {
2071
+ console.debug('我是close事件')
2072
+ }
2073
+ },
2074
+ mounted() {
2075
+ this.timer = setInterval(() => {
2076
+ this.dataNote += 1
2077
+ console.debug('this.dataNote', this.dataNote)
2078
+ }, 1000)
2079
+
2080
+ setTimeout(() => {
2081
+ this.inLoading = true
2082
+ }, 2000)
2083
+ setTimeout(() => {
2084
+ this.finished = true
2085
+ this.dataNote = 10
2086
+ clearInterval(this.timer)
2087
+ }, 5000)
2088
+ },
2089
+ updated() {}
2090
+ }
2091
+ </script>
2092
+
2093
+ <!-- Add "scoped" attribute to limit CSS to this component only -->
2094
+ <style scoped lang="less">
2095
+ @import '../assets/less/converSationContainer/converSatonContainer';
2096
+ #conversation {
2097
+ background-color: #f5f7fb;
2098
+ }
2099
+ .img_div {
2100
+ position: relative;
2101
+ .mask {
2102
+ position: absolute;
2103
+ top: 0;
2104
+ right: 0;
2105
+ width: 100%;
2106
+ height: 100%;
2107
+ border-radius: 10px;
2108
+ }
2109
+ }
2110
+ </style>