askbot-dragon 1.4.61 → 1.4.62
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.
package/package.json
CHANGED
|
@@ -407,206 +407,433 @@ export default {
|
|
|
407
407
|
apiKey: '123456789'
|
|
408
408
|
},
|
|
409
409
|
formList: {
|
|
410
|
-
|
|
411
|
-
form: {
|
|
412
|
-
formFieldRelation: [
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
410
|
+
"apiKey": "44d2010ce417485aabeac1d456bd037c",
|
|
411
|
+
"form": {
|
|
412
|
+
"formFieldRelation": [{
|
|
413
|
+
"checkImage": false,
|
|
414
|
+
"checkAttachment": false,
|
|
415
|
+
"checkText": false,
|
|
416
|
+
"display": true,
|
|
417
|
+
"paramName": "description",
|
|
418
|
+
"value": "",
|
|
419
|
+
"formField": {
|
|
420
|
+
"workOrderFieldId": "5f40dc109db14230bdc62e0256feed1c",
|
|
421
|
+
"name": "问题描述",
|
|
422
|
+
"type": "TEXTAREA",
|
|
423
|
+
"extInfo": {
|
|
424
|
+
"visibleWithoutPermission": true,
|
|
425
|
+
"isDelete": false,
|
|
426
|
+
"autoInput": {
|
|
427
|
+
"enable": false,
|
|
428
|
+
"rule": {
|
|
429
|
+
"handler": "",
|
|
430
|
+
"exp": "",
|
|
431
|
+
"type": "reg"
|
|
432
|
+
},
|
|
433
|
+
"source": []
|
|
434
|
+
},
|
|
435
|
+
"range": {
|
|
436
|
+
"start": "",
|
|
437
|
+
"end": ""
|
|
438
|
+
},
|
|
439
|
+
"disabled": true,
|
|
440
|
+
"placeholder": "请输入"
|
|
441
|
+
}
|
|
433
442
|
},
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
443
|
+
"required": true,
|
|
444
|
+
"fieldId": "workorder_description"
|
|
445
|
+
}, {
|
|
446
|
+
"display": true,
|
|
447
|
+
"paramName": "priority",
|
|
448
|
+
"value": "MIDDLE",
|
|
449
|
+
"formField": {
|
|
450
|
+
"workOrderFieldId": "cc5f854e7c174965905b43273993ab34",
|
|
451
|
+
"name": "优先级",
|
|
452
|
+
"type": "SELECT",
|
|
453
|
+
"extInfo": {
|
|
454
|
+
"option": [{
|
|
455
|
+
"label": "紧急",
|
|
456
|
+
"value": "URGENT"
|
|
457
|
+
}, {
|
|
458
|
+
"label": "高",
|
|
459
|
+
"value": "HIGH"
|
|
460
|
+
}, {
|
|
461
|
+
"label": "中",
|
|
462
|
+
"value": "MIDDLE"
|
|
463
|
+
}, {
|
|
464
|
+
"label": "低",
|
|
465
|
+
"value": "LOW"
|
|
466
|
+
}]
|
|
467
|
+
}
|
|
454
468
|
},
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
469
|
+
"required": true,
|
|
470
|
+
"fieldId": "workorder_priority"
|
|
471
|
+
}, {
|
|
472
|
+
"display": false,
|
|
473
|
+
"paramName": "clientId",
|
|
474
|
+
"value": "",
|
|
475
|
+
"formField": {
|
|
476
|
+
"workOrderFieldId": "",
|
|
477
|
+
"name": "客户",
|
|
478
|
+
"type": "SELECT",
|
|
479
|
+
"extInfo": {
|
|
480
|
+
"option": [{
|
|
481
|
+
"label": "王亚欣",
|
|
482
|
+
"value": "6209d5e86248b4245573f705"
|
|
483
|
+
}, {
|
|
484
|
+
"label": "吴可贤",
|
|
485
|
+
"value": "620a171b42aa263ff58e33e3"
|
|
486
|
+
}, {
|
|
487
|
+
"label": "吴明岩",
|
|
488
|
+
"value": "620b140442aa263ff58e3478"
|
|
489
|
+
}, {
|
|
490
|
+
"label": "张强",
|
|
491
|
+
"value": "620b5abc42aa263ff58e34ec"
|
|
492
|
+
}, {
|
|
493
|
+
"label": "刁瑶杭",
|
|
494
|
+
"value": "620db565f40ceb69a5aa8181"
|
|
495
|
+
}, {
|
|
496
|
+
"label": "高鹏",
|
|
497
|
+
"value": "620e2ca9d8ba600c9a2d358f"
|
|
498
|
+
}, {
|
|
499
|
+
"label": "王瑞环",
|
|
500
|
+
"value": "620f4e1ee54fe02dba1c726d"
|
|
501
|
+
}, {
|
|
502
|
+
"label": "",
|
|
503
|
+
"value": "62451452e9400a78800d707f"
|
|
504
|
+
}, {
|
|
505
|
+
"label": "",
|
|
506
|
+
"value": "6245197a93a0c05af32f3229"
|
|
507
|
+
}, {
|
|
508
|
+
"label": "",
|
|
509
|
+
"value": "624e47304b08c03b19dca885"
|
|
510
|
+
}, {
|
|
511
|
+
"label": "",
|
|
512
|
+
"value": "62501e5f3b5f4b14eb17363d"
|
|
513
|
+
}, {
|
|
514
|
+
"label": "陈勇",
|
|
515
|
+
"value": "6262647381054277d250fc8f"
|
|
516
|
+
}, {
|
|
517
|
+
"label": "user001",
|
|
518
|
+
"value": "62a982e8f73a463ad01a9212"
|
|
519
|
+
}, {
|
|
520
|
+
"label": "易姑娘",
|
|
521
|
+
"value": "62b18f31715fc440a4368f7f"
|
|
522
|
+
}, {
|
|
523
|
+
"label": "张庆雷",
|
|
524
|
+
"value": "62e581f39b47ef5305214385"
|
|
525
|
+
}, {
|
|
526
|
+
"label": "吴可贤",
|
|
527
|
+
"value": "632070ba1d16876a4eb8df8e"
|
|
528
|
+
}, {
|
|
529
|
+
"label": "woWeMoBwAACYR3trQ2LYHWtyOfpplqkw",
|
|
530
|
+
"value": "632193c71955025d5b782e98"
|
|
531
|
+
}, {
|
|
532
|
+
"label": "刘玉丽",
|
|
533
|
+
"value": "632198911955025d5b782f6f"
|
|
534
|
+
}, {
|
|
535
|
+
"label": "woWeMoBwAAfQSn5vV66oK9CVkGqkXeCQ",
|
|
536
|
+
"value": "6321a13a1955025d5b7830af"
|
|
537
|
+
}, {
|
|
538
|
+
"label": "吴可贤",
|
|
539
|
+
"value": "6321a5501955025d5b783157"
|
|
540
|
+
}, {
|
|
541
|
+
"label": "吴可贤",
|
|
542
|
+
"value": "6322947430a9260e44b922b5"
|
|
543
|
+
}, {
|
|
544
|
+
"label": "刘玉丽",
|
|
545
|
+
"value": "632d200213829c04275cca59"
|
|
546
|
+
}, {
|
|
547
|
+
"label": "梁鹏宇",
|
|
548
|
+
"value": "63563d86fc4113707ec5d98d"
|
|
549
|
+
}, {
|
|
550
|
+
"label": "刘玉丽",
|
|
551
|
+
"value": "6357d99b1b1eb75a61f8eaee"
|
|
552
|
+
}, {
|
|
553
|
+
"label": "刁瑶杭",
|
|
554
|
+
"value": "63999c2eaed2b44cfc689ad9"
|
|
555
|
+
}, {
|
|
556
|
+
"label": "张志伟",
|
|
557
|
+
"value": "63999c6daed2b44cfc689add"
|
|
558
|
+
}, {
|
|
559
|
+
"label": "20221229-WRH",
|
|
560
|
+
"value": "63ad626cd4fb400a4d9fe610"
|
|
561
|
+
}, {
|
|
562
|
+
"label": "王亚欣",
|
|
563
|
+
"value": "63b7bfae89fda82164bab58a"
|
|
564
|
+
}, {
|
|
565
|
+
"label": "王亚欣1",
|
|
566
|
+
"value": "63b7c07889fda82164bab58b"
|
|
567
|
+
}, {
|
|
568
|
+
"label": "王亚欣2",
|
|
569
|
+
"value": "63b7cf1acbc79f039b1b11a7"
|
|
570
|
+
}, {
|
|
571
|
+
"label": "张志伟",
|
|
572
|
+
"value": "63e1c8c50ad6333a85fc1000"
|
|
573
|
+
}, {
|
|
574
|
+
"label": "漆洁",
|
|
575
|
+
"value": "643d1a548318031d5e09db5b"
|
|
576
|
+
}, {
|
|
577
|
+
"label": "澹台烬",
|
|
578
|
+
"value": "646d871f22a95b21bd914027"
|
|
579
|
+
}]
|
|
580
|
+
}
|
|
474
581
|
},
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
value:
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
582
|
+
"required": false,
|
|
583
|
+
"fieldId": "workorder_clientId"
|
|
584
|
+
}, {
|
|
585
|
+
"display": true,
|
|
586
|
+
"paramName": "statusId",
|
|
587
|
+
"value": "61f0b187e698d414a7857d56",
|
|
588
|
+
"formField": {
|
|
589
|
+
"workOrderFieldId": "05ef54b54dd940bea2fa6b8468149da9",
|
|
590
|
+
"name": "状态",
|
|
591
|
+
"type": "SELECT",
|
|
592
|
+
"extInfo": {
|
|
593
|
+
"option": [{
|
|
594
|
+
"label": "新建",
|
|
595
|
+
"value": "61f0b187e698d414a7857d56"
|
|
596
|
+
}, {
|
|
597
|
+
"label": "解决中",
|
|
598
|
+
"value": "61f0b187e698d414a7857d57"
|
|
599
|
+
}, {
|
|
600
|
+
"label": "已完成",
|
|
601
|
+
"value": "61f0b187e698d414a7857d58"
|
|
602
|
+
}, {
|
|
603
|
+
"label": "待现场处理",
|
|
604
|
+
"value": "6358a63bce442906c9e08ff8"
|
|
605
|
+
}, {
|
|
606
|
+
"label": "已关闭",
|
|
607
|
+
"value": "61f0b187e698d414a7857d59"
|
|
608
|
+
}]
|
|
609
|
+
}
|
|
501
610
|
},
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
611
|
+
"required": true,
|
|
612
|
+
"fieldId": "workorder_statusId"
|
|
613
|
+
}, {
|
|
614
|
+
"display": true,
|
|
615
|
+
"paramName": "fieldValue.17737757731c4743ae5d94314b3100ac",
|
|
616
|
+
"value": "",
|
|
617
|
+
"formField": {
|
|
618
|
+
"workOrderFieldId": "17737757731c4743ae5d94314b3100ac",
|
|
619
|
+
"name": "开始时间",
|
|
620
|
+
"type": "TIME_PICKER",
|
|
621
|
+
"extInfo": {
|
|
622
|
+
"isDelete": true,
|
|
623
|
+
"autoInput": {
|
|
624
|
+
"enable": false,
|
|
625
|
+
"rule": {
|
|
626
|
+
"handler": "",
|
|
627
|
+
"exp": "",
|
|
628
|
+
"type": "reg"
|
|
629
|
+
},
|
|
630
|
+
"source": []
|
|
631
|
+
},
|
|
632
|
+
"pattern": "",
|
|
633
|
+
"mold": "DATE",
|
|
634
|
+
"range": {
|
|
635
|
+
"start": "",
|
|
636
|
+
"end": ""
|
|
637
|
+
},
|
|
638
|
+
"dataTimePattern": "yyyy-MM-dd",
|
|
639
|
+
"placeholder": "请选择"
|
|
640
|
+
}
|
|
523
641
|
},
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
642
|
+
"required": false,
|
|
643
|
+
"fieldId": "17737757731c4743ae5d94314b3100ac"
|
|
644
|
+
}, {
|
|
645
|
+
"display": true,
|
|
646
|
+
"paramName": "fieldValue.dd175a49da364740ae627492d1707f46",
|
|
647
|
+
"value": "",
|
|
648
|
+
"formField": {
|
|
649
|
+
"workOrderFieldId": "dd175a49da364740ae627492d1707f46",
|
|
650
|
+
"name": "结束时间",
|
|
651
|
+
"type": "TIME_PICKER",
|
|
652
|
+
"extInfo": {
|
|
653
|
+
"isDelete": true,
|
|
654
|
+
"autoInput": {
|
|
655
|
+
"enable": false,
|
|
656
|
+
"rule": {
|
|
657
|
+
"handler": "",
|
|
658
|
+
"exp": "",
|
|
659
|
+
"type": "reg"
|
|
660
|
+
},
|
|
661
|
+
"source": []
|
|
662
|
+
},
|
|
663
|
+
"pattern": "",
|
|
664
|
+
"mold": "DATE",
|
|
665
|
+
"range": {
|
|
666
|
+
"start": "",
|
|
667
|
+
"end": ""
|
|
668
|
+
},
|
|
669
|
+
"dataTimePattern": "yyyy-MM-dd",
|
|
670
|
+
"placeholder": "请选择"
|
|
671
|
+
}
|
|
554
672
|
},
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
fieldId: 113
|
|
673
|
+
"required": false,
|
|
674
|
+
"fieldId": "dd175a49da364740ae627492d1707f46"
|
|
675
|
+
}, {
|
|
676
|
+
"display": true,
|
|
677
|
+
"paramName": "fieldValue.1c18200f98984b08b4fca0e3031052f0",
|
|
678
|
+
"value": "12:50",
|
|
679
|
+
"formField": {
|
|
680
|
+
"workOrderFieldId": "1c18200f98984b08b4fca0e3031052f0",
|
|
681
|
+
"name": "时分",
|
|
682
|
+
"type": "TIME_PICKER",
|
|
683
|
+
"extInfo": {
|
|
684
|
+
"isDelete": true,
|
|
685
|
+
"autoInput": {
|
|
686
|
+
"enable": false,
|
|
687
|
+
"rule": {
|
|
688
|
+
"handler": "",
|
|
689
|
+
"exp": "",
|
|
690
|
+
"type": "reg"
|
|
691
|
+
},
|
|
692
|
+
"source": []
|
|
693
|
+
},
|
|
694
|
+
"pattern": "",
|
|
695
|
+
"mold": "TIME",
|
|
696
|
+
"range": {
|
|
697
|
+
"start": "",
|
|
698
|
+
"end": ""
|
|
699
|
+
},
|
|
700
|
+
"dataTimePattern": "HH:mm",
|
|
701
|
+
"placeholder": "请选择"
|
|
702
|
+
}
|
|
586
703
|
},
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
704
|
+
"required": false,
|
|
705
|
+
"fieldId": "1c18200f98984b08b4fca0e3031052f0"
|
|
706
|
+
}, {
|
|
707
|
+
"display": true,
|
|
708
|
+
"paramName": "fieldValue.014da015653945a294026c614ca4cdc9",
|
|
709
|
+
"value": "2023-08-15T19:00:00.000Z",
|
|
710
|
+
"formField": {
|
|
711
|
+
"workOrderFieldId": "014da015653945a294026c614ca4cdc9",
|
|
712
|
+
"name": "年月日时分",
|
|
713
|
+
"type": "TIME_PICKER",
|
|
714
|
+
"extInfo": {
|
|
715
|
+
"isDelete": true,
|
|
716
|
+
"autoInput": {
|
|
717
|
+
"enable": false,
|
|
718
|
+
"rule": {
|
|
719
|
+
"handler": "",
|
|
720
|
+
"exp": "",
|
|
721
|
+
"type": "reg"
|
|
722
|
+
},
|
|
723
|
+
"source": []
|
|
724
|
+
},
|
|
725
|
+
"pattern": "",
|
|
726
|
+
"mold": "DATE_TIME",
|
|
727
|
+
"range": {
|
|
728
|
+
"start": "",
|
|
729
|
+
"end": ""
|
|
730
|
+
},
|
|
731
|
+
"dataTimePattern": "yyyy-MM-dd HH:mm",
|
|
732
|
+
"placeholder": "请选择"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"required": false,
|
|
736
|
+
"fieldId": "014da015653945a294026c614ca4cdc9"
|
|
737
|
+
}, {
|
|
738
|
+
"display": true,
|
|
739
|
+
"paramName": "fieldValue.c507ecc6c092475782f89d87056b21bb",
|
|
740
|
+
"value": "",
|
|
741
|
+
"formField": {
|
|
742
|
+
"workOrderFieldId": "c507ecc6c092475782f89d87056b21bb",
|
|
743
|
+
"name": "聊天记录",
|
|
744
|
+
"type": "CHAT_RECORD",
|
|
745
|
+
"extInfo": {
|
|
746
|
+
"visibleWithoutPermission": true,
|
|
747
|
+
"isDelete": true,
|
|
748
|
+
"autoInput": {
|
|
749
|
+
"enable": false,
|
|
750
|
+
"rule": {
|
|
751
|
+
"handler": "",
|
|
752
|
+
"exp": "",
|
|
753
|
+
"type": "reg"
|
|
754
|
+
},
|
|
755
|
+
"source": []
|
|
756
|
+
},
|
|
757
|
+
"range": {
|
|
758
|
+
"start": "",
|
|
759
|
+
"end": ""
|
|
760
|
+
},
|
|
761
|
+
"disabled": false
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
"required": false,
|
|
765
|
+
"fieldId": "c507ecc6c092475782f89d87056b21bb"
|
|
766
|
+
}],
|
|
767
|
+
"formShowName": "测试两个时间字段",
|
|
768
|
+
"webhookId": -37,
|
|
769
|
+
"release": true,
|
|
770
|
+
"name": "测试两个时间字段",
|
|
771
|
+
"description": "",
|
|
772
|
+
"mainId": "ab0f90737c8b4f2d85ba2157e4473110",
|
|
773
|
+
"processConfigId": "64b4eaa54bb7a307dac1a5f0",
|
|
774
|
+
"webHookRequest": {
|
|
775
|
+
"method": "POST",
|
|
776
|
+
"url": "http://bearing.bot-public/order/internal/ab0f90737c8b4f2d85ba2157e4473110",
|
|
777
|
+
"setting": {
|
|
778
|
+
"paramType": "raw",
|
|
779
|
+
"headers": [{
|
|
780
|
+
"value": "application/json;charset=UTF-8",
|
|
781
|
+
"key": "Content-Type"
|
|
782
|
+
}],
|
|
783
|
+
"params": [{
|
|
784
|
+
"value": "ab0f90737c8b4f2d85ba2157e4473110",
|
|
785
|
+
"key": "mid"
|
|
786
|
+
}, {
|
|
787
|
+
"value": "",
|
|
788
|
+
"key": "name"
|
|
789
|
+
}, {
|
|
790
|
+
"value": "",
|
|
791
|
+
"key": "description"
|
|
792
|
+
}, {
|
|
793
|
+
"value": "64b4eaa54bb7a307dac1a5f0",
|
|
794
|
+
"key": "templateId"
|
|
795
|
+
}, {
|
|
796
|
+
"value": "MIDDLE",
|
|
797
|
+
"key": "priority"
|
|
798
|
+
}, {
|
|
799
|
+
"value": "",
|
|
800
|
+
"key": "clientId"
|
|
801
|
+
}, {
|
|
802
|
+
"value": "",
|
|
803
|
+
"key": "assigneeGroupId"
|
|
804
|
+
}, {
|
|
805
|
+
"value": "",
|
|
806
|
+
"key": "assigneeId"
|
|
807
|
+
}, {
|
|
808
|
+
"value": "61f0b187e698d414a7857d56",
|
|
809
|
+
"key": "statusId"
|
|
810
|
+
}, {
|
|
811
|
+
"value": [],
|
|
812
|
+
"key": "followersId"
|
|
813
|
+
}, {
|
|
814
|
+
"value": "ASKBOT_DIALOG_FORM",
|
|
815
|
+
"key": "source"
|
|
816
|
+
}, {
|
|
817
|
+
"value": "",
|
|
818
|
+
"key": "fieldValue.17737757731c4743ae5d94314b3100ac"
|
|
819
|
+
}, {
|
|
820
|
+
"value": "",
|
|
821
|
+
"key": "fieldValue.dd175a49da364740ae627492d1707f46"
|
|
822
|
+
}, {
|
|
823
|
+
"value": "",
|
|
824
|
+
"key": "fieldValue.1c18200f98984b08b4fca0e3031052f0"
|
|
825
|
+
}, {
|
|
826
|
+
"value": "",
|
|
827
|
+
"key": "fieldValue.014da015653945a294026c614ca4cdc9"
|
|
828
|
+
}, {
|
|
829
|
+
"value": "",
|
|
830
|
+
"key": "fieldValue.c507ecc6c092475782f89d87056b21bb"
|
|
831
|
+
}]
|
|
607
832
|
}
|
|
608
|
-
|
|
609
|
-
}
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"triggerWorkOrderLastMsgId": "64c8af87524fbe07a2b8c8b1",
|
|
836
|
+
"formActionId": "f340b796-3e90-4376-9adb-400fb62894c1"
|
|
610
837
|
},
|
|
611
838
|
formList2: {
|
|
612
839
|
formActionId: '11',
|
|
@@ -1547,6 +1547,7 @@ export default {
|
|
|
1547
1547
|
},
|
|
1548
1548
|
//初始化默认值
|
|
1549
1549
|
defaultClick() {
|
|
1550
|
+
let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i);
|
|
1550
1551
|
for (let i = 0; i < this.formList.form.formFieldRelation.length; i++){
|
|
1551
1552
|
let type = this.formList.form.formFieldRelation[i].formField.type
|
|
1552
1553
|
let extInfo = this.formList.form.formFieldRelation[i].formField.extInfo
|
|
@@ -1728,13 +1729,17 @@ export default {
|
|
|
1728
1729
|
if (!this.formList.form.formFieldRelation[i].formField.extInfo.mold ||
|
|
1729
1730
|
this.formList.form.formFieldRelation[i].formField.extInfo.mold == 'TIME' ||
|
|
1730
1731
|
this.getMoldTime(this.formList.form.formFieldRelation[i].formField.formField) == 'TIME'){
|
|
1731
|
-
if (
|
|
1732
|
-
this.
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
this.
|
|
1737
|
-
|
|
1732
|
+
if (!flag){
|
|
1733
|
+
if (this.formList.form.formFieldRelation[i].value.length === 5 && this.formList.form.formFieldRelation[i].value.split(":").length === 2) {
|
|
1734
|
+
this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = this.formList.form.formFieldRelation[i].value;
|
|
1735
|
+
this.formList.form.formFieldRelation[i].value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + this.formList.form.formFieldRelation[i].value + ":00";
|
|
1736
|
+
}
|
|
1737
|
+
else if (this.formList.form.formFieldRelation[i].value.length === 8 && this.formList.form.formFieldRelation[i].value.split(":").length === 3) {
|
|
1738
|
+
this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = this.formList.form.formFieldRelation[i].value;
|
|
1739
|
+
this.formList.form.formFieldRelation[i].value = new Date().getFullYear() + "-" + (new Date().getMonth() + 1) + "-" + new Date().getDate() + " " + this.formList.form.formFieldRelation[i].value;
|
|
1740
|
+
} else {
|
|
1741
|
+
this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = this.formList.form.formFieldRelation[i].value
|
|
1742
|
+
}
|
|
1738
1743
|
} else {
|
|
1739
1744
|
this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = this.formList.form.formFieldRelation[i].value
|
|
1740
1745
|
}
|