askbot-dragon 0.7.92 → 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.
@@ -2,26 +2,25 @@
2
2
  <template>
3
3
  <div id="conversation">
4
4
  <!-- <asser-deatils></asser-deatils> -->
5
- <!-- <msg-loading v-if="inLoading"></msg-loading>
5
+ <!-- <msg-loading v-if="inLoading"></msg-loading>
6
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"/>
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
+ />
8
11
  <div class="mask">
9
12
  <loading-process :dataNote="dataNote" :finished="finished"></loading-process>
10
13
  </div>
11
14
  </div> -->
12
15
 
13
- <!-- <form-template
14
- :formList="formList2"
15
- @submitClick="submitClick"
16
- ></form-template> -->
17
- <!-- <voice-component @closeVoice="closeVoice">
16
+ <form-template :formList="formList2" @submitClick="submitClick"></form-template>
17
+ <!-- <voice-component @closeVoice="closeVoice">
18
18
  <div slot="voiceTip">
19
19
  松开发送
20
20
  </div>
21
21
  </voice-component>-->
22
22
  <!-- 点选 -->
23
- <!-- <div v-html="htmlContainer">
24
- </div> -->
23
+ <!-- <div v-html="htmlContainer"></div> -->
25
24
  <!-- <answer-radio :msg="answerRadios"></answer-radio>
26
25
  <action-send-to-bot :msg="answerRadios"></action-send-to-bot>
27
26
  <ticket-message :content="contents"></ticket-message>
@@ -30,38 +29,37 @@
30
29
  <association-intention :msg="item" :msgType="item.type" :isOpen="isOpen"></association-intention>
31
30
  </div>
32
31
  <el-button @click="isOpen=!isOpen">切换</el-button> -->
33
- <!-- 满意组件 -->
32
+ <!-- 满意组件 -->
34
33
  <!-- <action-satisfaction :msg="actionSatisfactions[0]"></action-satisfaction> -->
35
- <!-- 满意或不满意-->
34
+ <!-- 满意或不满意-->
36
35
  <!-- <bot-action-satisfactor :msg="botActionSatis"></bot-action-satisfactor>
37
36
  <answer-dissatisfaction :msg="answerDiss"></answer-dissatisfaction>
38
37
  <feed-back :feedBack="feedBack"></feed-back>
39
38
  <voice-compontent></voice-compontent> -->
40
39
  <ai-guide :aiGuide="ActionAiGuideObj"></ai-guide>
41
40
 
42
- <!-- <FileType :urls="urls" :color="black"></FileType>-->
43
- <!-- <FileType :urls="urls" :color="black"></FileType>
41
+ <!-- <FileType :urls="urls" :color="black"></FileType>-->
42
+ <!-- <FileType :urls="urls" :color="black"></FileType>
44
43
  <chat-content :messageList="messageList"></chat-content>-->
45
44
  </div>
46
45
  </template>
47
46
  <script>
48
- // import TextMessage from "@/components/message/TextMessage";
49
-
47
+ // import TextMessage from '@/components/message/TextMessage'
50
48
 
51
49
  /*import FormTemplate from "@/components/formTemplate";
52
50
  import TextMessage from "@/components/message/TextMessage";*/
53
51
 
54
- // import FormTemplate from "@/components/formTemplate";
55
- // import AnswerRadio from "./answerRadio";
56
- // import TicketMessage from "./message/TicketMessage";
52
+ import FormTemplate from '@/components/formTemplate'
53
+ // import AnswerRadio from './answerRadio'
54
+ // import TicketMessage from './message/TicketMessage'
57
55
  /*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";
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'
65
63
  // import VoiceCompontent from './voiceComponent'
66
64
  // import AsserDeatils from './assetDetails.vue'
67
65
  /* import TicketMessage from "@/components/message/TicketMessage";
@@ -74,9 +72,9 @@ import FeedBack from "@/components/feedBack";*/
74
72
  import AiGuide from "@/components/AiGuide";
75
73
  /*import FileType from "@/components/FileType";
76
74
  import ChatContent from "./chatContent";*/
77
- // import FeedBack from "@/components/feedBack"
75
+ // import FeedBack from '@/components/feedBack'
78
76
  export default {
79
- name: "ConversationContainer",
77
+ name: 'ConversationContainer',
80
78
  components: {
81
79
  // ActionSendToBot,
82
80
  // AnswerDissatisfaction,
@@ -85,20 +83,19 @@ export default {
85
83
  // MsgLoading,
86
84
  // ActionSatisfaction,
87
85
  // AssociationIntention,
88
- /* VoiceComponent,*/
86
+ /* VoiceComponent,*/
89
87
  // TicketMessage,
90
88
  // AsserDeatils,
91
89
  // AnswerRadio,
92
- // FormTemplate,
90
+ FormTemplate,
93
91
  // TextMessage,
94
92
  // FeedBack,
95
93
  // VoiceCompontent,
96
94
  AiGuide
97
-
98
-
95
+ // FormTemplate,
99
96
  },
100
97
  props: {
101
- messages: Array,
98
+ messages: Array
102
99
  },
103
100
  data() {
104
101
  return {
@@ -237,19 +234,19 @@ export default {
237
234
  },
238
235
  // 弹窗组件模拟数据
239
236
  actionAlertIframeObj: {
240
- iframeId: "iframeId999999998",
241
- template: "https://www.baidu.com/?name=5555555",
242
- description: "描述",
237
+ iframeId: 'iframeId999999998',
238
+ template: 'https://www.baidu.com/?name=5555555',
239
+ description: '描述',
243
240
  height: 550,
244
241
  width: 300,
245
- scrolling: "yes",
242
+ scrolling: 'yes',
246
243
  sandbox: [
247
- "预留",
248
- "启用一系列对 <iframe> 中内容的额外限制",
249
- "参考 https://www.w3school.com.cn/tags/att_iframe_sandbox.asp",
244
+ '预留',
245
+ '启用一系列对 <iframe> 中内容的额外限制',
246
+ '参考 https://www.w3school.com.cn/tags/att_iframe_sandbox.asp'
250
247
  ],
251
- frameborder: "0/1(是否显示框架周围的边框)",
252
- displayStyle: "iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)",
248
+ frameborder: '0/1(是否显示框架周围的边框)',
249
+ displayStyle: 'iframe 样式(点击弹出/嵌入iframe 字符串类型后端未做限制)'
253
250
  },
254
251
  contents: {
255
252
  multiple: true,
@@ -258,8 +255,9 @@ export default {
258
255
  content: {
259
256
  htmlList: [
260
257
  {
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'
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'
263
261
 
264
262
  /*list: [
265
263
  {
@@ -268,832 +266,1625 @@ export default {
268
266
  },
269
267
  ],*/
270
268
  },
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>"] },
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>'] }
275
273
  ],
276
274
  buttonList: [
277
- { name: "我是标签1", scope: "", test: "" },
278
- { name: "我是标签2" },
279
- ],
280
- },
275
+ { name: '我是标签1', scope: '', test: '' },
276
+ { name: '我是标签2' }
277
+ ]
278
+ }
281
279
  },
282
280
  {
283
281
  content: {
284
282
  htmlList: [
285
- { type: "SINGLE", list: ["<p>aaaaa</p>"] },
283
+ { type: 'SINGLE', list: ['<p>aaaaa</p>'] },
286
284
  {
287
- type: "DOUBLE",
285
+ type: 'DOUBLE',
288
286
  list: [
289
- "<p>测试测试测试测试测试测试测试</p>",
290
- "<div>bbbbb</div>",
291
- ],
287
+ '<p>测试测试测试测试测试测试测试</p>',
288
+ '<div>bbbbb</div>'
289
+ ]
292
290
  },
293
291
  {
294
- type: "TRIPLE",
295
- list: ["<p>7:00</p>", "<div></div>", "<p>ccccc</p>"],
292
+ type: 'TRIPLE',
293
+ list: ['<p>7:00</p>', '<div></div>', '<p>ccccc</p>']
296
294
  },
297
295
  {
298
- type: "TRIPLE",
299
- list: ["<p>7:00</p>", "<div>bbbbb</div>", "<p>12:00</p>"],
300
- },
296
+ type: 'TRIPLE',
297
+ list: ['<p>7:00</p>', '<div>bbbbb</div>', '<p>12:00</p>']
298
+ }
301
299
  ],
302
- buttonList: [{ name: "我是标签1", scope: "", test: "" }],
303
- },
300
+ buttonList: [{ name: '我是标签1', scope: '', test: '' }]
301
+ }
304
302
  },
305
303
  {
306
304
  content: {
307
305
  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>"] },
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>'] }
312
310
  ],
313
- buttonList: [{ name: "我是标签1" }],
314
- },
315
- },
311
+ buttonList: [{ name: '我是标签1' }]
312
+ }
313
+ }
316
314
  ],
317
- apiKey:'123456789'
315
+ apiKey: '123456789'
318
316
  },
319
317
  formList: {
320
- formActionId: "",
318
+ formActionId: '',
321
319
  form: {
322
320
  formFieldRelation: [
323
321
  {
324
322
  display: true,
325
- paramName: "miaoshu",
323
+ paramName: 'miaoshu',
326
324
  formField: {
327
325
  deleted: false,
328
- createTime: "2020-12-08T08:08:03.000+0000",
329
- name: "",
330
- description: "",
331
- updateTime: "2020-12-08T08:10:41.000+0000",
326
+ createTime: '2020-12-08T08:08:03.000+0000',
327
+ name: '',
328
+ description: '',
329
+ updateTime: '2020-12-08T08:10:41.000+0000',
332
330
  id: 1112,
333
331
  lastOperatorId: 21,
334
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3ac8",
335
- type: "EXPLANATION",
332
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3ac8',
333
+ type: 'EXPLANATION',
336
334
  extInfo: {
337
- descriptionText: "我是解释说明文案"
338
- },
335
+ descriptionText: '我是解释说明文案'
336
+ }
339
337
  },
340
338
  required: false,
341
- fieldId: 1112,
339
+ fieldId: 1112
342
340
  },
343
341
  {
344
342
  display: true,
345
- paramName: "danxuan",
346
- value: "",
343
+ paramName: 'danxuan',
344
+ value: '',
347
345
  formField: {
348
346
  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",
347
+ createTime: '2020-12-08T08:08:03.000+0000',
348
+ name: '单选1',
349
+ description: '',
350
+ updateTime: '2020-12-08T08:10:41.000+0000',
353
351
  id: 111,
354
352
  lastOperatorId: 21,
355
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3acc",
356
- type: "RADIO",
353
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3acc',
354
+ type: 'RADIO',
357
355
  extInfo: {
358
356
  WebHookParameter: [],
359
357
  value: [],
360
358
  option: [
361
- { _default: "true", label: "1", value: "1" },
362
- { _default: "false", label: "2", value: "选项二" },
363
- { _default: "false", label: "3", value: "3" },
364
- ],
365
- },
359
+ { _default: 'true', label: '1', value: '1' },
360
+ { _default: 'false', label: '2', value: '选项二' },
361
+ { _default: 'false', label: '3', value: '3' }
362
+ ]
363
+ }
366
364
  },
367
365
  required: false,
368
- fieldId: 111,
366
+ fieldId: 111
369
367
  },
370
368
  {
371
369
  display: true,
372
- paramName: "fujian",
370
+ paramName: 'fujian',
373
371
  formField: {
374
372
  deleted: false,
375
- createTime: "2020-12-08T08:08:03.000+0000",
373
+ createTime: '2020-12-08T08:08:03.000+0000',
376
374
  name: '123',
377
- description: "",
378
- updateTime: "2020-12-08T08:10:41.000+0000",
375
+ description: '',
376
+ updateTime: '2020-12-08T08:10:41.000+0000',
379
377
  id: 1117,
380
378
  lastOperatorId: 78,
381
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
382
- type: "FILE",
379
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accJ',
380
+ type: 'FILE',
383
381
  extInfo: {
384
- fileLimit:'more',
385
- limitNum:'3'
386
- },
382
+ fileLimit: 'more',
383
+ limitNum: '3'
384
+ }
387
385
  },
388
386
  required: true,
389
387
  fieldId: 1117,
390
388
  value: [
391
389
  {
392
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
390
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
393
391
  }
394
392
  ]
395
393
  },
396
394
  {
397
395
  display: true,
398
- paramName: "fuxuan",
396
+ paramName: 'fuxuan',
399
397
  value: [],
400
398
  formField: {
401
399
  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",
400
+ createTime: '2020-12-08T08:08:15.000+0000',
401
+ name: '复选1',
402
+ description: '',
403
+ updateTime: '2020-12-08T08:10:49.000+0000',
406
404
  id: 112,
407
405
  lastOperatorId: 21,
408
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accd",
409
- type: "CHECKBOX",
406
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accd',
407
+ type: 'CHECKBOX',
410
408
  extInfo: {
411
409
  WebHookParameter: [],
412
410
  value: [],
413
411
  option: [
414
- { _default: "false", label: "1", value: "" },
412
+ { _default: 'false', label: '1', value: '' },
415
413
  {
416
- _default: "false",
417
- label: "2",
418
- value: "选项二",
414
+ _default: 'false',
415
+ label: '2',
416
+ value: '选项二'
419
417
  },
420
- { _default: "false", label: "3", value: "" },
421
- ],
422
- },
418
+ { _default: 'false', label: '3', value: '' }
419
+ ]
420
+ }
423
421
  },
424
422
  required: true,
425
- fieldId: 112,
423
+ fieldId: 112
426
424
  },
427
425
  {
428
426
  display: true,
429
- paramName: "xiala",
430
- value: "MIDDLE",
427
+ paramName: 'xiala',
428
+ value: 'MIDDLE',
431
429
  formField: {
432
430
  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",
431
+ createTime: '2020-12-08T08:08:27.000+0000',
432
+ name: '下拉1',
433
+ description: '',
434
+ updateTime: '2020-12-08T08:10:56.000+0000',
437
435
  id: 113,
438
436
  lastOperatorId: 21,
439
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accdd",
440
- type: "SELECT",
437
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accdd',
438
+ type: 'SELECT',
441
439
  extInfo: {
442
440
  WebHookParameter: [],
443
441
  value: [],
444
442
  option: [
445
- { _default: "false", label: "紧急", value: "URGENT" },
443
+ { _default: 'false', label: '紧急', value: 'URGENT' },
446
444
  {
447
- _default: "false",
448
- label: "",
449
- value: "HIGH",
445
+ _default: 'false',
446
+ label: '',
447
+ value: 'HIGH'
450
448
  },
451
- { _default: "false", label: "", value: "MIDDLE" },
452
- { _default: "false", label: "12", value: "12" },
453
- ],
454
- },
449
+ { _default: 'false', label: '', value: 'MIDDLE' },
450
+ { _default: 'false', label: '12', value: '12' }
451
+ ]
452
+ }
455
453
  },
456
454
  required: false,
457
- fieldId: 113,
458
-
455
+ fieldId: 113
459
456
  },
460
457
  {
461
458
  display: true,
462
- paramName: "hhh",
463
- value: [{
464
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
465
- },
459
+ paramName: 'hhh',
460
+ value: [
461
+ {
462
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
463
+ },
466
464
  {
467
- url:'https://img01.yzcdn.cn/vant/leaf.jpg'
465
+ url: 'https://img01.yzcdn.cn/vant/leaf.jpg'
468
466
  }
469
467
  ],
470
468
  formField: {
471
469
  deleted: false,
472
- createTime: "2020-12-08T08:08:03.000+0000",
470
+ createTime: '2020-12-08T08:08:03.000+0000',
473
471
  name: '345',
474
- description: "",
475
- updateTime: "2020-12-08T08:10:41.000+0000",
472
+ description: '',
473
+ updateTime: '2020-12-08T08:10:41.000+0000',
476
474
  id: 222222,
477
475
  lastOperatorId: 78,
478
- mainId: "e2f80aecaf7c11eabdcd506b4b2f3accJ",
479
- type: "FILE",
476
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3accJ',
477
+ type: 'FILE',
480
478
  extInfo: {
481
- fileLimit:'more',
482
-
483
- },
479
+ fileLimit: 'more'
480
+ }
484
481
  },
485
482
  required: false,
486
483
  fieldId: 222222
487
- },
488
- ],
489
- },
484
+ }
485
+ ]
486
+ }
490
487
  },
491
488
  formList2: {
492
- formActionId: "",
489
+ formActionId: '',
493
490
  form: {
494
491
  id: 3,
495
- name: "表单1",
492
+ name: '表单1',
496
493
  release: false,
497
494
  deleted: false,
498
- description: "",
495
+ description: '',
499
496
  webhookId: 0,
500
497
  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: [
498
+ createTime: '2020-11-18T10:50:19.000+0000',
499
+ updateTime: '2020-11-18T10:50:19.000+0000',
500
+ mainId: 'e2f80aecaf7c11eabdcd506b4b2f3acc',
501
+ formFieldRelation:[
505
502
  {
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
- },
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
577
517
  },
578
- width: 0,
579
- required: true,
580
- value: null,
518
+ "value":"",
519
+ "display":true,
520
+ "required":true,
521
+ "editable":null
581
522
  },
582
523
  {
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:[
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":[
638
536
  {
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
- ],
537
+ "label":"紧急",
538
+ "value":"URGENT"
654
539
  },
655
540
  {
656
- value: "飒飒",
657
- label: "飒飒"
541
+ "label":"",
542
+ "value":"HIGH"
658
543
  },
659
- ],
660
- placeholder:'请选择级联'
661
-
544
+ {
545
+ "label":"中",
546
+ "value":"MIDDLE"
547
+ },
548
+ {
549
+ "label":"低",
550
+ "value":"LOW"
551
+ }
552
+ ]
662
553
  },
554
+ "createTime":null,
555
+ "updateTime":null,
556
+ "required":null,
557
+ "workOrderFieldId":"57f1c53a694e43b4b5f855a81ee4184b"
663
558
  },
664
- width: 0,
665
- required: true,
666
- value: null,
559
+ "value":"MIDDLE",
560
+ "display":true,
561
+ "required":true,
562
+ "editable":null
667
563
  },
668
564
  {
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: [
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":[
683
577
  {
684
- value: "",
685
- _default: "true",
578
+ "label":"woWeMoBwAA4Tl0h9pQHI6WbcoIVmg3YA",
579
+ "value":"6204d47e78d5a11647df80be"
686
580
  },
687
581
  {
688
- value: "",
689
- _default: "false",
582
+ "label":"woWeMoBwAACYR3trQ2LYHWtyOfpplqkw",
583
+ "value":"6209f179afbdcd6fa056a4a4"
690
584
  },
691
- ],
692
- cascadeDown: [
693
585
  {
694
- style: "1",
695
- options: [],
586
+ "label":"woWeMoBwAA20zzhSI-H6bsoR85kQRmVg",
587
+ "value":"6209fd7fafbdcd6fa056a4c8"
696
588
  },
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
589
  {
745
- value: "三点",
746
- _default: "true",
590
+ "label":"woWeMoBwAAJrf9huLqkIUdZqtSX8Gn5w",
591
+ "value":"620a0d9b42aa263ff58e33c2"
747
592
  },
748
593
  {
749
- value: "但是",
750
- _default: "false",
594
+ "label":"woWeMoBwAAfFhhBXkez5W1ZFHKYXu-Fw",
595
+ "value":"620a27a742aa263ff58e3402"
751
596
  },
752
- ],
753
- cascadeDown: [
754
597
  {
755
- style: "1",
756
- options: [],
598
+ "label":"woWeMoBwAAsnXU1XmId2s1YEpUQs3RSQ",
599
+ "value":"620a37da42aa263ff58e340a"
757
600
  },
758
- ],
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
+ ]
759
634
  },
635
+ "createTime":null,
636
+ "updateTime":null,
637
+ "required":null
760
638
  },
761
- width: 0,
762
- required: true,
763
- value: null,
639
+ "value":"",
640
+ "display":true,
641
+ "required":false,
642
+ "editable":null
764
643
  },
765
644
  {
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: [
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":[
780
657
  {
781
- value: "dingding",
782
- label:'dingding',
783
- _default: "false",
658
+ "label":"新建",
659
+ "value":"61f0b074e698d414a7857d1b"
784
660
  },
785
661
  {
786
- value: "lala",
787
- label:'lala',
788
- _default: "true",
662
+ "label":"已解决",
663
+ "value":"61f0b074e698d414a7857d1d"
789
664
  },
790
- ],
791
- cascadeDown: [
792
665
  {
793
- style: "1",
794
- options: [],
666
+ "label":"已关闭",
667
+ "value":"61f0b074e698d414a7857d1e"
795
668
  },
796
- ],
669
+ {
670
+ "label":"解决中",
671
+ "value":"61f0b074e698d414a7857d1c"
672
+ },
673
+ {
674
+ "label":"11111",
675
+ "value":"622ebf35cca8252f6c7ea60a"
676
+ },
677
+ {
678
+ "label":"已撤销",
679
+ "value":"62e20458153437474c3a83d3"
680
+ }
681
+ ]
797
682
  },
683
+ "createTime":null,
684
+ "updateTime":null,
685
+ "required":null,
686
+ "workOrderFieldId":"70aad2a2979a48cc8d98ee36953e9120"
798
687
  },
799
- width: 0,
800
- required: true,
801
- value: null,
688
+ "value":"61f0b074e698d414a7857d1b",
689
+ "display":true,
690
+ "required":true,
691
+ "editable":null
802
692
  },
803
693
  {
804
- display:true,
805
- fieldId: "1adcfd3d0c494dcaba5c469ee8252e3f",
806
- formField:{
807
- extInfo:{
808
- isDelete:true,
809
- visibleWithoutPermission:false
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
810
735
  },
811
- name:'聊天记录',
812
- type:'CHAT_RECORD'
736
+ "createTime":null,
737
+ "updateTime":null,
738
+ "required":null
813
739
  },
814
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
815
- required:false,
816
- value:''
740
+ "value":"",
741
+ "display":true,
742
+ "required":false,
743
+ "editable":null
817
744
  },
818
745
  {
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"
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
826
785
  },
827
- name:'"说明文字"',
828
- type:'EXPLAIN'
786
+ "createTime":null,
787
+ "updateTime":null,
788
+ "required":null
829
789
  },
830
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
831
- required:false,
832
- value:'说明文字'
790
+ "value":"",
791
+ "display":true,
792
+ "required":false,
793
+ "editable":null
833
794
  },
834
795
  {
835
- display:true,
836
- fieldId: "44650eba647345e7b7f785bf772415c3",
837
- formField:{
838
- extInfo:{
839
- isDelete:true,
840
- visibleWithoutPermission:false,
841
- url:""
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
+ }
842
862
  },
843
- name:'"渠道"',
844
- type:'CHANNEL'
863
+ "createTime":null,
864
+ "updateTime":null,
865
+ "required":null
845
866
  },
846
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
847
- required:false,
848
- value:'说明文字'
867
+ "value":"",
868
+ "display":true,
869
+ "required":false,
870
+ "editable":null
849
871
  },
850
872
  {
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"
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":""
862
891
  },
892
+ "source":[
893
+
894
+ ]
895
+ },
896
+ "options":[
863
897
  {
864
- label:"选项二",
865
- value:'选项二',
866
- _default:"false"
898
+ "_default":false,
899
+ "label":"选项一",
900
+ "relationItems":[
901
+ "136a085906944e8eaaeb365849b1c02e"
902
+ ],
903
+ "value":"选项一",
904
+ "requiredItems":[
905
+ "136a085906944e8eaaeb365849b1c02e"
906
+ ]
867
907
  },
868
908
  {
869
- label:"选项三",
870
- value:'选项三',
871
- _default:"false"
909
+ "_default":false,
910
+ "label":"选项二",
911
+ "relationItems":[
912
+
913
+ ],
914
+ "value":"选项二",
915
+ "requiredItems":[
916
+
917
+ ]
872
918
  },
873
- ]
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
+ }
874
939
  },
875
- name:'下拉',
876
- type:'SELECT'
940
+ "createTime":null,
941
+ "updateTime":null,
942
+ "required":null
877
943
  },
878
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
879
- required:false,
880
- value:'选项二'
944
+ "value":"",
945
+ "display":true,
946
+ "required":false,
947
+ "editable":null
881
948
  },
882
949
  {
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"
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":""
894
968
  },
969
+ "source":[
970
+
971
+ ]
972
+ },
973
+ "options":[
895
974
  {
896
- label:"选项二",
897
- value:'选项二',
898
- _default:"false"
975
+ "_default":false,
976
+ "label":"选项一",
977
+ "relationItems":[
978
+
979
+ ],
980
+ "value":"选项一",
981
+ "requiredItems":[
982
+
983
+ ]
899
984
  },
900
985
  {
901
- label:"选项三",
902
- value:'选项三',
903
- _default:"false"
986
+ "_default":false,
987
+ "label":"选项二",
988
+ "relationItems":[
989
+
990
+ ],
991
+ "value":"选项二",
992
+ "requiredItems":[
993
+
994
+ ]
904
995
  },
905
- ]
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
+ }
906
1017
  },
907
- name:'单选',
908
- type:'RADIO'
1018
+ "createTime":null,
1019
+ "updateTime":null,
1020
+ "required":null
909
1021
  },
910
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
911
- required:false,
912
- value:'选项一'
1022
+ "value":"",
1023
+ "display":true,
1024
+ "required":false,
1025
+ "editable":null
913
1026
  },
914
1027
  {
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"
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":""
926
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":[
927
1124
  {
928
- label:"选项二",
929
- value:'选项二',
930
- _default:"false"
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":""
931
1162
  },
932
- {
933
- label:"选项三",
934
- value:'选项三',
935
- _default:"false"
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":""
936
1204
  },
937
- ]
1205
+ "source":[
1206
+
1207
+ ]
1208
+ },
1209
+ "pattern":"",
1210
+ "mold":"TIME",
1211
+ "range":{
1212
+ "start":"",
1213
+ "end":""
1214
+ },
1215
+ "dataTimePattern":"HH:mm",
1216
+ "placeholder":"请选择"
938
1217
  },
939
- name:'多选',
940
- type:'CHECKBOX'
1218
+ "createTime":null,
1219
+ "updateTime":null,
1220
+ "required":null
941
1221
  },
942
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
943
- required:false,
944
- value:['选项一','选项二']
1222
+ "value":"Sat Jul 30 2022 00:00:00 GMT+0800",
1223
+ "display":true,
1224
+ "required":false,
1225
+ "editable":null
945
1226
  },
946
1227
  {
947
- display:true,
948
- fieldId: "ef91e955bf894886b9edc56eb2c37554",
949
- formField:{
950
- extInfo:{
951
- isDelete:true,
952
- visibleWithoutPermission:false,
953
- mold:'DATA',
954
- placeholder:'请选择时间日期'
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":"请选择"
955
1259
  },
956
- name:'时间日期',
957
- type:'TIME_PICKER'
1260
+ "createTime":null,
1261
+ "updateTime":null,
1262
+ "required":null
958
1263
  },
959
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
960
- required:false,
961
- value:''
1264
+ "value":"Sat Jul 30 2022 00:00:00 GMT+0800",
1265
+ "display":true,
1266
+ "required":false,
1267
+ "editable":null
962
1268
  },
963
1269
  {
964
- display:true,
965
- fieldId: "ef91e955bf894886b9edc56eb2c3755S",
966
- formField:{
967
- extInfo:{
968
- isDelete:true,
969
- visibleWithoutPermission:false,
970
- mold:'DATA_TIME',
971
- placeholder:'请选择'
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":"请选择"
972
1313
  },
973
- name:'时间日期',
974
- type:'TIME_PICKER'
1314
+ "createTime":null,
1315
+ "updateTime":null,
1316
+ "required":null
975
1317
  },
976
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f",
977
- required:false,
978
- value:''
1318
+ "value":"",
1319
+ "display":true,
1320
+ "required":false,
1321
+ "editable":null
979
1322
  },
980
1323
  {
981
- display:true,
982
- fieldId: "workorder_name",
983
- formField:{
984
- name:'工单名称',
985
- type:'INPUT'
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
986
1371
  },
987
- paramName:"name",
988
- required:true,
989
- value:''
1372
+ "value":"",
1373
+ "display":true,
1374
+ "required":false,
1375
+ "editable":null
990
1376
  },
991
1377
  {
992
- display:true,
993
- fieldId: "ef91e955bf894886b9edc56eb2c3755S333",
994
- formField:{
995
- extInfo:{
996
- isDelete:true,
997
- visibleWithoutPermission:false,
998
- maxNum:"3"
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":"请选择"
999
1411
  },
1000
- name:'单行输入框',
1001
- type:'INPUT'
1412
+ "createTime":null,
1413
+ "updateTime":null,
1414
+ "required":null
1002
1415
  },
1003
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3333",
1004
- required:false,
1005
- value:''
1416
+ "value":"",
1417
+ "display":true,
1418
+ "required":false,
1419
+ "editable":null
1006
1420
  },
1007
1421
  {
1008
- display:true,
1009
- fieldId: "ef91e955bf894886b9edc56eb2c3755S444",
1010
- formField:{
1011
- extInfo:{
1012
- isDelete:true,
1013
- visibleWithoutPermission:false,
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":""
1014
1456
  },
1015
- name:'多行输入框',
1016
- type:'TEXTAREA'
1457
+ "createTime":null,
1458
+ "updateTime":null,
1459
+ "required":null
1017
1460
  },
1018
- paramName:"fieldValue.1adcfd3d0c494dcaba5c469ee8252e3f3444",
1019
- required:false,
1020
- value:''
1461
+ "value":"",
1462
+ "display":true,
1463
+ "required":false,
1464
+ "editable":null
1021
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":[
1022
1488
 
1023
- ],
1024
- },
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
+ }
1025
1752
  },
1026
-
1027
1753
  text: {
1028
1754
  template:
1029
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>',
1030
- goToAction: { value: "123" },
1031
- apiKey:''
1756
+ goToAction: { value: '123' },
1757
+ apiKey: ''
1032
1758
  },
1033
- rem: "rem",
1759
+ rem: 'rem',
1034
1760
  feedBack: {
1035
- positiveFeedback: { text: "有用有用有用有用" },
1036
- negativeFeedback: { text: "无用无用无用无用" },
1761
+ positiveFeedback: { text: '有用有用有用有用' },
1762
+ negativeFeedback: { text: '无用无用无用无用' },
1037
1763
  feedbackActions: [],
1038
- feedbackUid: "",
1764
+ feedbackUid: ''
1039
1765
  },
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'}
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' }
1049
1836
  ],
1050
- answerMsg:{
1051
- content:{
1052
- description:'你好,我是点选',
1053
- options:[{
1054
- name: "跳转意图",
1055
- scope: "INTENT",
1056
- value: "3535"
1057
- }]
1837
+ answerMsg: {
1838
+ content: {
1839
+ description: '你好,我是点选',
1840
+ options: [
1841
+ {
1842
+ name: '跳转意图',
1843
+ scope: 'INTENT',
1844
+ value: '3535'
1845
+ }
1846
+ ]
1058
1847
  }
1059
1848
  },
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:[
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: [
1063
1853
  {
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:[
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: [
1069
1860
  {
1070
- id: "3539",
1071
- text: "文本",
1861
+ id: '3539',
1862
+ text: '文本',
1072
1863
  type: 1
1073
1864
  },
1074
1865
  {
1075
- id: "3540",
1076
- text: "图片",
1866
+ id: '3540',
1867
+ text: '图片',
1077
1868
  type: 1
1078
1869
  }
1079
1870
  ],
1080
1871
  status: true
1081
1872
  }
1082
1873
  },
1083
- type:'answer_rich_text',
1084
- id:'60df03aeeea6014311dc4285',
1085
- intentId:6064,
1086
- recommend:{
1087
- description: "关联意图测试描述",
1088
- list:[
1874
+ type: 'answer_rich_text',
1875
+ id: '60df03aeeea6014311dc4285',
1876
+ intentId: 6064,
1877
+ recommend: {
1878
+ description: '关联意图测试描述',
1879
+ list: [
1089
1880
  {
1090
- id: "3539",
1091
- text: "文本",
1881
+ id: '3539',
1882
+ text: '文本',
1092
1883
  type: 1
1093
1884
  },
1094
1885
  {
1095
- id: "3540",
1096
- text: "图片",
1886
+ id: '3540',
1887
+ text: '图片',
1097
1888
  type: 1
1098
1889
  }
1099
1890
  ],
@@ -1102,40 +1893,41 @@ export default {
1102
1893
  },
1103
1894
 
1104
1895
  {
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:[
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: [
1111
1903
  {
1112
- id: "3539",
1113
- text: "文本",
1904
+ id: '3539',
1905
+ text: '文本',
1114
1906
  type: 1
1115
1907
  },
1116
1908
  {
1117
- id: "3540",
1118
- text: "图片",
1909
+ id: '3540',
1910
+ text: '图片',
1119
1911
  type: 1
1120
1912
  }
1121
1913
  ],
1122
1914
  status: true
1123
1915
  }
1124
1916
  },
1125
- type:'answer_image',
1126
- id:'6124d9b1c12fa234e0b3ddc8',
1127
- intentId:6064,
1128
- recommend:{
1129
- description: "",
1130
- list:[
1917
+ type: 'answer_image',
1918
+ id: '6124d9b1c12fa234e0b3ddc8',
1919
+ intentId: 6064,
1920
+ recommend: {
1921
+ description: '',
1922
+ list: [
1131
1923
  {
1132
- id: "3539",
1133
- text: "文本",
1924
+ id: '3539',
1925
+ text: '文本',
1134
1926
  type: 1
1135
1927
  },
1136
1928
  {
1137
- id: "3540",
1138
- text: "图片",
1929
+ id: '3540',
1930
+ text: '图片',
1139
1931
  type: 1
1140
1932
  }
1141
1933
  ],
@@ -1143,32 +1935,33 @@ export default {
1143
1935
  }
1144
1936
  },
1145
1937
  {
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',
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',
1148
1941
  videoFlag: false,
1149
- videoUploadPercent:0,
1150
- isShowUploadVideo:true,
1151
- recommend:{
1152
- description: "关联意图测试描述",
1153
- list:[
1942
+ videoUploadPercent: 0,
1943
+ isShowUploadVideo: true,
1944
+ recommend: {
1945
+ description: '关联意图测试描述',
1946
+ list: [
1154
1947
  {
1155
- id: "3539",
1156
- text: "文本",
1948
+ id: '3539',
1949
+ text: '文本',
1157
1950
  type: 1
1158
1951
  }
1159
1952
  ],
1160
1953
  status: true
1161
1954
  }
1162
1955
  },
1163
- type:'answer_video',
1164
- id:'60df03aeeea6014311dc4285',
1165
- intentId:6064,
1166
- recommend:{
1167
- description: "关联意图测试描述",
1168
- list:[
1956
+ type: 'answer_video',
1957
+ id: '60df03aeeea6014311dc4285',
1958
+ intentId: 6064,
1959
+ recommend: {
1960
+ description: '关联意图测试描述',
1961
+ list: [
1169
1962
  {
1170
- id: "3539",
1171
- text: "文本",
1963
+ id: '3539',
1964
+ text: '文本',
1172
1965
  type: 1
1173
1966
  }
1174
1967
  ],
@@ -1176,137 +1969,136 @@ export default {
1176
1969
  }
1177
1970
  }
1178
1971
  ],
1179
- actionSatisfactions:[
1972
+ actionSatisfactions: [
1180
1973
  {
1181
- content:{
1182
- satisfactionDes:'满意度',
1183
- satisfactoryAnswer:'',
1184
- unsatisfiedAnswer:'',
1185
- answerRadio:[
1974
+ content: {
1975
+ satisfactionDes: '满意度',
1976
+ satisfactoryAnswer: '',
1977
+ unsatisfiedAnswer: '',
1978
+ answerRadio: [
1186
1979
  {
1187
- answer:'哦哦哦',
1188
- name:'哈哈哈'
1980
+ answer: '哦哦哦',
1981
+ name: '哈哈哈'
1189
1982
  }
1190
1983
  ]
1191
1984
  }
1192
-
1193
1985
  }
1194
1986
  ],
1195
- inLoading:true,
1196
- dataNote:0,
1197
- timer:null,
1198
- finished:false,
1199
- botActionSatis:{
1200
- content:{
1201
- reply_text:'哈哈哈哈哈',
1202
- reply_options:[
1987
+ inLoading: true,
1988
+ dataNote: 0,
1989
+ timer: null,
1990
+ finished: false,
1991
+ botActionSatis: {
1992
+ content: {
1993
+ reply_text: '哈哈哈哈哈',
1994
+ reply_options: [
1203
1995
  {
1204
- name:'暗示丢',
1205
- answer:'暗示丢1504559775615045597756kjl',
1206
- apiKey:''
1996
+ name: '暗示丢',
1997
+ answer: '暗示丢1504559775615045597756kjl',
1998
+ apiKey: ''
1207
1999
  },
1208
2000
  {
1209
- name:'暗示丢2',
1210
- answer:'暗示丢11504559775615045597756kjl',
1211
- apiKey:''
2001
+ name: '暗示丢2',
2002
+ answer: '暗示丢11504559775615045597756kjl',
2003
+ apiKey: ''
1212
2004
  }
1213
2005
  ]
1214
2006
  }
1215
2007
  },
1216
- answerDiss:{
1217
- content:{
1218
- replyText:'哈哈哈哈哈',
1219
- replyOptions:[
2008
+ answerDiss: {
2009
+ content: {
2010
+ replyText: '哈哈哈哈哈',
2011
+ replyOptions: [
1220
2012
  {
1221
- name:'暗示丢',
1222
- answer:'暗示丢1504559775615045597756kjl',
1223
- apiKey:''
2013
+ name: '暗示丢',
2014
+ answer: '暗示丢1504559775615045597756kjl',
2015
+ apiKey: ''
1224
2016
  },
1225
2017
  {
1226
- name:'暗示丢2',
1227
- answer:'暗示丢11504559775615045597756kjl',
1228
- apiKey:''
2018
+ name: '暗示丢2',
2019
+ answer: '暗示丢11504559775615045597756kjl',
2020
+ apiKey: ''
1229
2021
  }
1230
2022
  ]
1231
2023
  }
1232
2024
  },
1233
- answerRadios:{
1234
- content:{
1235
- description:'请点击下方选项继续测试',
1236
- options:[
2025
+ answerRadios: {
2026
+ content: {
2027
+ description: '请点击下方选项继续测试',
2028
+ options: [
1237
2029
  {
1238
- name: "跳转节点1",
1239
- scope: "NODE",
1240
- value: "60177b9470814d4ce924f1ed"
2030
+ name: '跳转节点1',
2031
+ scope: 'NODE',
2032
+ value: '60177b9470814d4ce924f1ed'
1241
2033
  },
1242
2034
  {
1243
- name: "跳转意图",
1244
- scope: "INTENT",
1245
- value: "3558"
2035
+ name: '跳转意图',
2036
+ scope: 'INTENT',
2037
+ value: '3558'
1246
2038
  },
1247
2039
  {
1248
- name: "跳转节点2",
1249
- scope: "NODE",
1250
- value: "60af4505d0acd7017620c4f2"
2040
+ name: '跳转节点2',
2041
+ scope: 'NODE',
2042
+ value: '60af4505d0acd7017620c4f2'
1251
2043
  }
1252
2044
  ],
1253
- recommend:{
1254
- description:'',
1255
- status:false,
1256
- list:[]
2045
+ recommend: {
2046
+ description: '',
2047
+ status: false,
2048
+ list: []
1257
2049
  }
1258
2050
  },
1259
- type:'answer_radio'
2051
+ type: 'answer_radio'
1260
2052
  },
1261
- htmlContainer:'<input placeholder="请输入"></input>',
1262
- isOpen:true
1263
- };
2053
+ htmlContainer: '<input placeholder="请输入"></input>',
2054
+ isOpen: true
2055
+ }
1264
2056
  },
1265
2057
  methods: {
1266
2058
  submitClick(value) {
1267
- console.log(value);
2059
+ console.log(value)
1268
2060
  },
1269
2061
  submitClicks(value) {
1270
- console.log(value);
2062
+ console.log(value)
1271
2063
  },
1272
2064
  positiveFeedback(value1) {
1273
- console.log(value1);
2065
+ console.log(value1)
1274
2066
  },
1275
- touchEnd(index){
2067
+ touchEnd(index) {
1276
2068
  console.log(index)
1277
2069
  },
1278
- closeVoice(){
2070
+ closeVoice() {
1279
2071
  console.debug('我是close事件')
1280
- },
2072
+ }
1281
2073
  },
1282
2074
  mounted() {
1283
- this.timer = setInterval(()=>{
1284
- this.dataNote+=1
1285
- console.debug('this.dataNote',this.dataNote)
1286
- },1000)
2075
+ this.timer = setInterval(() => {
2076
+ this.dataNote += 1
2077
+ console.debug('this.dataNote', this.dataNote)
2078
+ }, 1000)
1287
2079
 
1288
- setTimeout(()=>{
2080
+ setTimeout(() => {
1289
2081
  this.inLoading = true
1290
- },2000)
1291
- setTimeout(()=>{
2082
+ }, 2000)
2083
+ setTimeout(() => {
1292
2084
  this.finished = true
1293
2085
  this.dataNote = 10
1294
2086
  clearInterval(this.timer)
1295
- },5000)
2087
+ }, 5000)
1296
2088
  },
1297
- updated() {},
1298
- };
2089
+ updated() {}
2090
+ }
1299
2091
  </script>
1300
2092
 
1301
2093
  <!-- Add "scoped" attribute to limit CSS to this component only -->
1302
2094
  <style scoped lang="less">
1303
- @import "../assets/less/converSationContainer/converSatonContainer";
1304
- #conversation{
1305
- background-color:#F5F7FB ;
2095
+ @import '../assets/less/converSationContainer/converSatonContainer';
2096
+ #conversation {
2097
+ background-color: #f5f7fb;
1306
2098
  }
1307
- .img_div{
2099
+ .img_div {
1308
2100
  position: relative;
1309
- .mask{
2101
+ .mask {
1310
2102
  position: absolute;
1311
2103
  top: 0;
1312
2104
  right: 0;