askbot-dragon 0.8.30 → 0.9.2
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
|
@@ -490,326 +490,710 @@ export default {
|
|
|
490
490
|
},
|
|
491
491
|
formList2: {
|
|
492
492
|
formActionId: '11',
|
|
493
|
-
"form":
|
|
494
|
-
"
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
493
|
+
"form":{
|
|
494
|
+
"formFieldRelation": [
|
|
495
|
+
{
|
|
496
|
+
"display": true,
|
|
497
|
+
"paramName": "description",
|
|
498
|
+
"value": "",
|
|
499
|
+
"formField": {
|
|
500
|
+
"workOrderFieldId": "cf6dcae9907f410a9fb20838372d94a3",
|
|
501
|
+
"name": "问题描述",
|
|
502
|
+
"type": "TEXTAREA",
|
|
503
|
+
"extInfo": {
|
|
504
|
+
"visibleWithoutPermission": true,
|
|
505
|
+
"isDelete": false,
|
|
506
|
+
"autoInput": {
|
|
507
|
+
"enable": false,
|
|
508
|
+
"rule": {
|
|
509
|
+
"handler": "",
|
|
510
|
+
"exp": "",
|
|
511
|
+
"type": "reg"
|
|
512
|
+
},
|
|
513
|
+
"source": [
|
|
514
|
+
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
"range": {
|
|
518
|
+
"start": "",
|
|
519
|
+
"end": ""
|
|
520
|
+
},
|
|
521
|
+
"disabled": true,
|
|
522
|
+
"placeholder": "故障描述"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"required": true,
|
|
526
|
+
"fieldId": "workorder_description"
|
|
514
527
|
},
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
528
|
+
{
|
|
529
|
+
"display": false,
|
|
530
|
+
"paramName": "priority",
|
|
531
|
+
"value": "MIDDLE",
|
|
532
|
+
"formField": {
|
|
533
|
+
"workOrderFieldId": "c2b3aa60dc62454585f35c9298f8f742",
|
|
534
|
+
"name": "优先级",
|
|
535
|
+
"type": "SELECT",
|
|
536
|
+
"extInfo": {
|
|
537
|
+
"option": [
|
|
538
|
+
{
|
|
539
|
+
"label": "紧急",
|
|
540
|
+
"value": "URGENT"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"label": "高",
|
|
544
|
+
"value": "HIGH"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"label": "中",
|
|
548
|
+
"value": "MIDDLE"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"label": "低",
|
|
552
|
+
"value": "LOW"
|
|
553
|
+
}
|
|
554
|
+
]
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"required": true,
|
|
558
|
+
"fieldId": "workorder_priority"
|
|
529
559
|
},
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
560
|
+
{
|
|
561
|
+
"display": false,
|
|
562
|
+
"paramName": "clientId",
|
|
563
|
+
"value": "",
|
|
564
|
+
"formField": {
|
|
565
|
+
"workOrderFieldId": "",
|
|
566
|
+
"name": "客户",
|
|
567
|
+
"type": "SELECT",
|
|
568
|
+
"extInfo": {
|
|
569
|
+
"option": [
|
|
570
|
+
{
|
|
571
|
+
"label": "woWeMoBwAAuVBh99lkM5EeUzFn47YI-Q",
|
|
572
|
+
"value": "63082e3df82611324e0a2d6d"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"label": "woWeMoBwAA-zPwE_r9SW1g3Z_rNOPpbw",
|
|
576
|
+
"value": "6344e433614f1e553d2df727"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
"required": false,
|
|
582
|
+
"fieldId": "workorder_clientId"
|
|
549
583
|
},
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
584
|
+
{
|
|
585
|
+
"display": false,
|
|
586
|
+
"paramName": "statusId",
|
|
587
|
+
"value": "63072fa308dabd41ab806ee5",
|
|
588
|
+
"formField": {
|
|
589
|
+
"workOrderFieldId": "164c56671b714a90b556ef324cad81ab",
|
|
590
|
+
"name": "状态",
|
|
591
|
+
"type": "SELECT",
|
|
592
|
+
"extInfo": {
|
|
593
|
+
"option": [
|
|
594
|
+
{
|
|
595
|
+
"label": "新建",
|
|
596
|
+
"value": "63072fa308dabd41ab806ee5"
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"label": "解决中",
|
|
600
|
+
"value": "63072fa308dabd41ab806ee6"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"label": "已解决",
|
|
604
|
+
"value": "63072fa308dabd41ab806ee7"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"label": "已关闭",
|
|
608
|
+
"value": "63072fa308dabd41ab806ee8"
|
|
609
|
+
}
|
|
610
|
+
]
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"required": true,
|
|
614
|
+
"fieldId": "workorder_statusId"
|
|
570
615
|
},
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
616
|
+
{
|
|
617
|
+
"display": true,
|
|
618
|
+
"paramName": "fieldValue.ba1ad3b6a9224f82aca2669e25a7f53b",
|
|
619
|
+
"value": "",
|
|
620
|
+
"formField": {
|
|
621
|
+
"workOrderFieldId": "ba1ad3b6a9224f82aca2669e25a7f53b",
|
|
622
|
+
"name": "归属地",
|
|
623
|
+
"type": "RADIO",
|
|
624
|
+
"extInfo": {
|
|
625
|
+
"isDelete": true,
|
|
626
|
+
"autoInput": {
|
|
627
|
+
"enable": false,
|
|
628
|
+
"rule": {
|
|
629
|
+
"handler": "",
|
|
630
|
+
"type": "dict",
|
|
631
|
+
"exp": ""
|
|
632
|
+
},
|
|
633
|
+
"source": [
|
|
634
|
+
|
|
635
|
+
]
|
|
636
|
+
},
|
|
637
|
+
"options": [
|
|
638
|
+
{
|
|
639
|
+
"_default": "false",
|
|
640
|
+
"relationTags": [
|
|
641
|
+
{
|
|
642
|
+
"name": "楼层",
|
|
643
|
+
"id": "10557da84231430aa1bb866adfbc7a9d"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "楼层方位",
|
|
647
|
+
"id": "df603a2028c64403864fe86992b58fc6"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "维修类别",
|
|
651
|
+
"id": "73ea91093fbd4421ae4af006ebe01cc2"
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"label": "丽水总部大楼",
|
|
655
|
+
"relationItems": [
|
|
656
|
+
"10557da84231430aa1bb866adfbc7a9d",
|
|
657
|
+
"df603a2028c64403864fe86992b58fc6",
|
|
658
|
+
"73ea91093fbd4421ae4af006ebe01cc2"
|
|
659
|
+
],
|
|
660
|
+
"value": "丽水总部大楼",
|
|
661
|
+
"requiredItems": [
|
|
662
|
+
"10557da84231430aa1bb866adfbc7a9d",
|
|
663
|
+
"df603a2028c64403864fe86992b58fc6",
|
|
664
|
+
"73ea91093fbd4421ae4af006ebe01cc2"
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"_default": "false",
|
|
669
|
+
"relationTags": [
|
|
670
|
+
{
|
|
671
|
+
"name": "维修类别",
|
|
672
|
+
"id": "22f44fe2fe9f418db773e0ec5e24074c"
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"label": "安徽六安",
|
|
676
|
+
"relationItems": [
|
|
677
|
+
"22f44fe2fe9f418db773e0ec5e24074c"
|
|
678
|
+
],
|
|
679
|
+
"value": "安徽六安",
|
|
680
|
+
"requiredItems": [
|
|
681
|
+
"22f44fe2fe9f418db773e0ec5e24074c"
|
|
682
|
+
]
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"range": {
|
|
686
|
+
"start": "",
|
|
687
|
+
"end": ""
|
|
688
|
+
},
|
|
689
|
+
"placeholder": "请选择",
|
|
690
|
+
"associatedAction": [
|
|
691
|
+
"relationItems",
|
|
692
|
+
"requiredItems"
|
|
693
|
+
],
|
|
694
|
+
"dependent": {
|
|
695
|
+
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
"required": false,
|
|
700
|
+
"fieldId": "ba1ad3b6a9224f82aca2669e25a7f53b"
|
|
591
701
|
},
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
"name": "选择店铺设备",
|
|
614
|
-
"description": "",
|
|
615
|
-
"updateTime": "2022-05-16T10:55:06.000+0000",
|
|
616
|
-
"id": 294,
|
|
617
|
-
"lastOperatorId": 329,
|
|
618
|
-
"mainId": "90df4764122240de939331d372546c28",
|
|
619
|
-
"type": "OPTION",
|
|
620
|
-
"extInfo": {
|
|
621
|
-
"WebHookParameter": [],
|
|
622
|
-
"value": [],
|
|
623
|
-
"option": []
|
|
624
|
-
}
|
|
625
|
-
}, {
|
|
626
|
-
"deleted": false,
|
|
627
|
-
"createTime": "2021-03-30T10:48:37.000+0000",
|
|
628
|
-
"name": "工单描述",
|
|
629
|
-
"description": "请详细描述问题",
|
|
630
|
-
"updateTime": "2021-06-01T08:58:29.000+0000",
|
|
631
|
-
"id": 159,
|
|
632
|
-
"lastOperatorId": 462,
|
|
633
|
-
"mainId": "90df4764122240de939331d372546c28",
|
|
634
|
-
"type": "TEXTAREA",
|
|
635
|
-
"required": true,
|
|
636
|
-
"extInfo": {
|
|
637
|
-
"WebHookParameter": [],
|
|
638
|
-
"value": ""
|
|
639
|
-
}
|
|
640
|
-
}, {
|
|
641
|
-
"deleted": false,
|
|
642
|
-
"createTime": "2021-04-27T09:15:17.000+0000",
|
|
643
|
-
"name": "报障人ID",
|
|
644
|
-
"description": "报障人ID",
|
|
645
|
-
"updateTime": "2021-04-27T09:15:17.000+0000",
|
|
646
|
-
"id": 182,
|
|
647
|
-
"lastOperatorId": 329,
|
|
648
|
-
"mainId": "90df4764122240de939331d372546c28",
|
|
649
|
-
"type": "INPUT",
|
|
650
|
-
"required": true,
|
|
651
|
-
"extInfo": {
|
|
652
|
-
"WebHookParameter": [],
|
|
653
|
-
"value": ""
|
|
654
|
-
}
|
|
655
|
-
}, {
|
|
656
|
-
"deleted": false,
|
|
657
|
-
"createTime": "2021-05-20T07:03:46.000+0000",
|
|
658
|
-
"name": "拍照上传图片",
|
|
659
|
-
"description": "可上传图片的字段",
|
|
660
|
-
"updateTime": "2021-07-19T08:56:39.000+0000",
|
|
661
|
-
"id": 196,
|
|
662
|
-
"lastOperatorId": 329,
|
|
663
|
-
"mainId": "90df4764122240de939331d372546c28",
|
|
664
|
-
"type": "FILE",
|
|
665
|
-
"required": false,
|
|
666
|
-
"extInfo": {
|
|
667
|
-
"limitNum": "9",
|
|
668
|
-
"fileLimit": "more",
|
|
669
|
-
"WebHookParameter": []
|
|
670
|
-
}
|
|
671
|
-
}],
|
|
672
|
-
"scope": {
|
|
673
|
-
"scope": 0
|
|
674
|
-
},
|
|
675
|
-
"name": "ITC报障单",
|
|
676
|
-
"id": 348,
|
|
677
|
-
"mainId": "90df4764122240de939331d372546c28",
|
|
678
|
-
"webHookRequest": {
|
|
679
|
-
"method": "POST",
|
|
680
|
-
"name": "添加可上传附件的报障工单",
|
|
681
|
-
"url": "https://open.askbot.cn/api/access/baili/app/questionWarning/addQuestionWithFile",
|
|
682
|
-
"setting": {
|
|
683
|
-
"authorization": {},
|
|
684
|
-
"paramType": "raw",
|
|
685
|
-
"headers": [{
|
|
686
|
-
"description": "",
|
|
687
|
-
"value": "",
|
|
688
|
-
"key": ""
|
|
689
|
-
}, {
|
|
690
|
-
"value": "application/json;charset=UTF-8",
|
|
691
|
-
"key": "content-type"
|
|
692
|
-
}],
|
|
693
|
-
"response": {
|
|
694
|
-
"sendResponse": {
|
|
695
|
-
"data": {
|
|
696
|
-
"unitTypeId": "2",
|
|
697
|
-
"secondCategoryNo": "03013",
|
|
698
|
-
"raisedTime": "2021-05-20 14:45:35",
|
|
699
|
-
"clearReceivedTime": false,
|
|
700
|
-
"orgAddress": "深圳市南山区后海滨路与东滨路交汇处兰香一街8号百丽大厦10楼",
|
|
701
|
-
"categoryName": "网络硬件类",
|
|
702
|
-
"initCategory": "资讯+网络硬件类-办公软件类-其他软件类#网络硬件类",
|
|
703
|
-
"clearExpectedStartHandleTime": false,
|
|
704
|
-
"mangerCity": "",
|
|
705
|
-
"directType": 2,
|
|
706
|
-
"majorCategoryNo": "M02",
|
|
707
|
-
"organTypeNo": "99",
|
|
708
|
-
"provinceNo": "",
|
|
709
|
-
"categoryNo": "03",
|
|
710
|
-
"unitId": 36795,
|
|
711
|
-
"id": "8a6a88057988837001798885b7380006",
|
|
712
|
-
"zoneName": "信息中心",
|
|
713
|
-
"sourceFrom": 10,
|
|
714
|
-
"cityNo": "440300",
|
|
715
|
-
"questionDesc": "测试(请忽略!!!)",
|
|
716
|
-
"requestByNo": "810375",
|
|
717
|
-
"unitName": "店铺系统组",
|
|
718
|
-
"refuseNum": 0,
|
|
719
|
-
"majorCategoryName": "资讯",
|
|
720
|
-
"questionNo": "QN20210520000012",
|
|
721
|
-
"bizCityNo": "",
|
|
722
|
-
"thirdCategoryNo": "03013002",
|
|
723
|
-
"updateUser": "王杰",
|
|
724
|
-
"updateTime": "2021-05-20 14:45:35",
|
|
725
|
-
"requestByName": "王杰",
|
|
726
|
-
"thirdCategoryName": "其他软件类",
|
|
727
|
-
"mixRangeStr": "99_X1_440300",
|
|
728
|
-
"zoneNo": "X1",
|
|
729
|
-
"managerCityNo": "",
|
|
730
|
-
"createTime": "2021-05-20 14:45:35",
|
|
731
|
-
"bizCity": "",
|
|
732
|
-
"secondCategoryName": "办公软件类",
|
|
733
|
-
"clearExpectedEndHandleTime": false,
|
|
734
|
-
"createUser": "王杰",
|
|
735
|
-
"provinceName": "",
|
|
736
|
-
"locationCity": "深圳",
|
|
737
|
-
"clearHandledTime": false,
|
|
738
|
-
"status": 0
|
|
702
|
+
{
|
|
703
|
+
"display": true,
|
|
704
|
+
"paramName": "fieldValue.10557da84231430aa1bb866adfbc7a9d",
|
|
705
|
+
"value": "",
|
|
706
|
+
"formField": {
|
|
707
|
+
"workOrderFieldId": "10557da84231430aa1bb866adfbc7a9d",
|
|
708
|
+
"name": "楼层",
|
|
709
|
+
"type": "INPUT",
|
|
710
|
+
"extInfo": {
|
|
711
|
+
"unit": "",
|
|
712
|
+
"isDelete": true,
|
|
713
|
+
"autoInput": {
|
|
714
|
+
"enable": false,
|
|
715
|
+
"rule": {
|
|
716
|
+
"handler": "",
|
|
717
|
+
"type": "reg",
|
|
718
|
+
"exp": ""
|
|
719
|
+
},
|
|
720
|
+
"source": [
|
|
721
|
+
|
|
722
|
+
]
|
|
739
723
|
},
|
|
740
|
-
"
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
"
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
"
|
|
750
|
-
"
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
"
|
|
757
|
-
|
|
758
|
-
"value": "data.id"
|
|
759
|
-
}]
|
|
724
|
+
"requiredDependentFieldId": {
|
|
725
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
726
|
+
"丽水总部大楼"
|
|
727
|
+
]
|
|
728
|
+
},
|
|
729
|
+
"range": {
|
|
730
|
+
"start": "",
|
|
731
|
+
"end": ""
|
|
732
|
+
},
|
|
733
|
+
"inputType": "TEXT",
|
|
734
|
+
"dependentFieldId": {
|
|
735
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
736
|
+
"丽水总部大楼"
|
|
737
|
+
]
|
|
738
|
+
},
|
|
739
|
+
"placeholder": "请输入",
|
|
740
|
+
"maxNum": 100
|
|
741
|
+
}
|
|
760
742
|
},
|
|
761
|
-
"
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
743
|
+
"required": false,
|
|
744
|
+
"fieldId": "10557da84231430aa1bb866adfbc7a9d"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"display": true,
|
|
748
|
+
"paramName": "fieldValue.df603a2028c64403864fe86992b58fc6",
|
|
749
|
+
"value": "",
|
|
750
|
+
"formField": {
|
|
751
|
+
"workOrderFieldId": "df603a2028c64403864fe86992b58fc6",
|
|
752
|
+
"name": "楼层方位",
|
|
753
|
+
"type": "RADIO",
|
|
754
|
+
"extInfo": {
|
|
755
|
+
"isDelete": true,
|
|
756
|
+
"autoInput": {
|
|
757
|
+
"enable": false,
|
|
758
|
+
"rule": {
|
|
759
|
+
"handler": "",
|
|
760
|
+
"type": "dict",
|
|
761
|
+
"exp": ""
|
|
762
|
+
},
|
|
763
|
+
"source": [
|
|
764
|
+
|
|
765
|
+
]
|
|
766
|
+
},
|
|
767
|
+
"options": [
|
|
768
|
+
{
|
|
769
|
+
"_default": false,
|
|
770
|
+
"label": "东面",
|
|
771
|
+
"relationItems": [
|
|
772
|
+
|
|
773
|
+
],
|
|
774
|
+
"value": "东面",
|
|
775
|
+
"requiredItems": [
|
|
776
|
+
|
|
777
|
+
]
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
"_default": false,
|
|
781
|
+
"label": "南面",
|
|
782
|
+
"relationItems": [
|
|
783
|
+
|
|
784
|
+
],
|
|
785
|
+
"value": "南面",
|
|
786
|
+
"requiredItems": [
|
|
787
|
+
|
|
788
|
+
]
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"_default": false,
|
|
792
|
+
"label": "西面",
|
|
793
|
+
"relationItems": [
|
|
794
|
+
|
|
795
|
+
],
|
|
796
|
+
"value": "西面",
|
|
797
|
+
"requiredItems": [
|
|
798
|
+
|
|
799
|
+
]
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
"_default": "false",
|
|
803
|
+
"label": "北面",
|
|
804
|
+
"value": "北面"
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"requiredDependentFieldId": {
|
|
808
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
809
|
+
"丽水总部大楼"
|
|
810
|
+
]
|
|
811
|
+
},
|
|
812
|
+
"range": {
|
|
813
|
+
"start": "",
|
|
814
|
+
"end": ""
|
|
815
|
+
},
|
|
816
|
+
"dependentFieldId": {
|
|
817
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
818
|
+
"丽水总部大楼"
|
|
819
|
+
]
|
|
820
|
+
},
|
|
821
|
+
"placeholder": "请选择",
|
|
822
|
+
"dependent": {
|
|
823
|
+
|
|
824
|
+
}
|
|
825
|
+
}
|
|
768
826
|
},
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
"
|
|
781
|
-
"
|
|
782
|
-
"
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
827
|
+
"required": false,
|
|
828
|
+
"fieldId": "df603a2028c64403864fe86992b58fc6"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"display": true,
|
|
832
|
+
"paramName": "fieldValue.73ea91093fbd4421ae4af006ebe01cc2",
|
|
833
|
+
"value": [
|
|
834
|
+
|
|
835
|
+
],
|
|
836
|
+
"formField": {
|
|
837
|
+
"workOrderFieldId": "73ea91093fbd4421ae4af006ebe01cc2",
|
|
838
|
+
"name": "维修类别",
|
|
839
|
+
"type": "CASCADER",
|
|
840
|
+
"extInfo": {
|
|
841
|
+
"isDelete": true,
|
|
842
|
+
"autoInput": {
|
|
843
|
+
"enable": false,
|
|
844
|
+
"rule": {
|
|
845
|
+
"handler": "",
|
|
846
|
+
"type": "dict",
|
|
847
|
+
"exp": ""
|
|
848
|
+
},
|
|
849
|
+
"source": [
|
|
850
|
+
|
|
851
|
+
]
|
|
852
|
+
},
|
|
853
|
+
"requiredDependentFieldId": {
|
|
854
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
855
|
+
"丽水总部大楼"
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
"range": {
|
|
859
|
+
"start": "",
|
|
860
|
+
"end": ""
|
|
861
|
+
},
|
|
862
|
+
"selectType": "单选",
|
|
863
|
+
"dependentFieldId": {
|
|
864
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
865
|
+
"丽水总部大楼"
|
|
866
|
+
]
|
|
867
|
+
},
|
|
868
|
+
"placeholder": "请选择",
|
|
869
|
+
"dependent": {
|
|
870
|
+
|
|
871
|
+
},
|
|
872
|
+
"fieldValue": [
|
|
873
|
+
|
|
874
|
+
],
|
|
875
|
+
"cascadeDown": {
|
|
876
|
+
"options": [
|
|
877
|
+
{
|
|
878
|
+
"_default": false,
|
|
879
|
+
"children": [
|
|
880
|
+
{
|
|
881
|
+
"_default": false,
|
|
882
|
+
"children": [
|
|
883
|
+
{
|
|
884
|
+
"_default": false,
|
|
885
|
+
"label": "开机显示屏不亮",
|
|
886
|
+
"relationItems": [
|
|
887
|
+
|
|
888
|
+
],
|
|
889
|
+
"value": "开机显示屏不亮"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"_default": false,
|
|
893
|
+
"label": "其他",
|
|
894
|
+
"relationItems": [
|
|
895
|
+
|
|
896
|
+
],
|
|
897
|
+
"value": "其他"
|
|
898
|
+
}
|
|
899
|
+
],
|
|
900
|
+
"label": "硬件类",
|
|
901
|
+
"relationItems": [
|
|
902
|
+
|
|
903
|
+
],
|
|
904
|
+
"value": "硬件类"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"_default": false,
|
|
908
|
+
"children": [
|
|
909
|
+
{
|
|
910
|
+
"_default": false,
|
|
911
|
+
"label": "公司业务系统打不开",
|
|
912
|
+
"relationItems": [
|
|
913
|
+
|
|
914
|
+
],
|
|
915
|
+
"value": "公司业务系统打不开"
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"_default": false,
|
|
919
|
+
"label": "其他",
|
|
920
|
+
"relationItems": [
|
|
921
|
+
|
|
922
|
+
],
|
|
923
|
+
"value": "其他"
|
|
924
|
+
}
|
|
925
|
+
],
|
|
926
|
+
"label": "软件类",
|
|
927
|
+
"relationItems": [
|
|
928
|
+
|
|
929
|
+
],
|
|
930
|
+
"value": "软件类"
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"label": "计算机电子相关类(服饰板块)",
|
|
934
|
+
"relationItems": [
|
|
935
|
+
|
|
936
|
+
],
|
|
937
|
+
"value": "计算机电子相关类(服饰板块)",
|
|
938
|
+
"requiredItems": [
|
|
939
|
+
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
{
|
|
943
|
+
"_default": false,
|
|
944
|
+
"children": [
|
|
945
|
+
{
|
|
946
|
+
"_default": false,
|
|
947
|
+
"children": [
|
|
948
|
+
{
|
|
949
|
+
"_default": false,
|
|
950
|
+
"label": "水管问题",
|
|
951
|
+
"relationItems": [
|
|
952
|
+
|
|
953
|
+
],
|
|
954
|
+
"value": "水管问题"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"_default": false,
|
|
958
|
+
"label": "电灯不亮",
|
|
959
|
+
"relationItems": [
|
|
960
|
+
|
|
961
|
+
],
|
|
962
|
+
"value": "电灯不亮"
|
|
963
|
+
}
|
|
964
|
+
],
|
|
965
|
+
"label": "生活类",
|
|
966
|
+
"relationItems": [
|
|
967
|
+
|
|
968
|
+
],
|
|
969
|
+
"value": "生活类"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"_default": false,
|
|
973
|
+
"children": [
|
|
974
|
+
{
|
|
975
|
+
"_default": false,
|
|
976
|
+
"label": "门窗坏",
|
|
977
|
+
"relationItems": [
|
|
978
|
+
|
|
979
|
+
],
|
|
980
|
+
"value": "门窗坏"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"_default": false,
|
|
984
|
+
"label": "桌子坏",
|
|
985
|
+
"relationItems": [
|
|
986
|
+
|
|
987
|
+
],
|
|
988
|
+
"value": "桌子坏"
|
|
989
|
+
}
|
|
990
|
+
],
|
|
991
|
+
"label": "桌椅类",
|
|
992
|
+
"relationItems": [
|
|
993
|
+
|
|
994
|
+
],
|
|
995
|
+
"value": "桌椅类"
|
|
996
|
+
}
|
|
997
|
+
],
|
|
998
|
+
"label": "水电生活办公类",
|
|
999
|
+
"relationItems": [
|
|
1000
|
+
|
|
1001
|
+
],
|
|
1002
|
+
"value": "水电生活办公类"
|
|
1003
|
+
}
|
|
1004
|
+
]
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"required": false,
|
|
1009
|
+
"fieldId": "73ea91093fbd4421ae4af006ebe01cc2"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"display": true,
|
|
1013
|
+
"paramName": "fieldValue.22f44fe2fe9f418db773e0ec5e24074c",
|
|
1014
|
+
"value": [
|
|
1015
|
+
""
|
|
1016
|
+
],
|
|
1017
|
+
"formField": {
|
|
1018
|
+
"workOrderFieldId": "22f44fe2fe9f418db773e0ec5e24074c",
|
|
1019
|
+
"name": "维修类别",
|
|
1020
|
+
"type": "CASCADER",
|
|
1021
|
+
"extInfo": {
|
|
1022
|
+
"isDelete": true,
|
|
1023
|
+
"autoInput": {
|
|
1024
|
+
"enable": false,
|
|
1025
|
+
"rule": {
|
|
1026
|
+
"handler": "",
|
|
1027
|
+
"type": "dict",
|
|
1028
|
+
"exp": ""
|
|
1029
|
+
},
|
|
1030
|
+
"source": [
|
|
1031
|
+
|
|
1032
|
+
]
|
|
1033
|
+
},
|
|
1034
|
+
"requiredDependentFieldId": {
|
|
1035
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
1036
|
+
"安徽六安"
|
|
1037
|
+
]
|
|
1038
|
+
},
|
|
1039
|
+
"range": {
|
|
1040
|
+
"start": "",
|
|
1041
|
+
"end": ""
|
|
1042
|
+
},
|
|
1043
|
+
"selectType": "单选",
|
|
1044
|
+
"dependentFieldId": {
|
|
1045
|
+
"ba1ad3b6a9224f82aca2669e25a7f53b": [
|
|
1046
|
+
"安徽六安"
|
|
1047
|
+
]
|
|
1048
|
+
},
|
|
1049
|
+
"placeholder": "请选择",
|
|
1050
|
+
"dependent": {
|
|
1051
|
+
|
|
1052
|
+
},
|
|
1053
|
+
"cascadeDown": {
|
|
1054
|
+
"options": [
|
|
1055
|
+
{
|
|
1056
|
+
"_default": false,
|
|
1057
|
+
"children": [
|
|
1058
|
+
{
|
|
1059
|
+
"_default": false,
|
|
1060
|
+
"children": [
|
|
1061
|
+
{
|
|
1062
|
+
"_default": false,
|
|
1063
|
+
"label": "软件问题",
|
|
1064
|
+
"relationItems": [
|
|
1065
|
+
|
|
1066
|
+
],
|
|
1067
|
+
"value": "软件问题"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"_default": false,
|
|
1071
|
+
"label": "电脑无法开机",
|
|
1072
|
+
"relationItems": [
|
|
1073
|
+
|
|
1074
|
+
],
|
|
1075
|
+
"value": "电脑无法开机"
|
|
1076
|
+
}
|
|
1077
|
+
],
|
|
1078
|
+
"label": "电脑故障",
|
|
1079
|
+
"relationItems": [
|
|
1080
|
+
|
|
1081
|
+
],
|
|
1082
|
+
"value": "电脑故障"
|
|
1083
|
+
}
|
|
1084
|
+
],
|
|
1085
|
+
"label": "IT类",
|
|
1086
|
+
"relationItems": [
|
|
1087
|
+
|
|
1088
|
+
],
|
|
1089
|
+
"value": "IT类",
|
|
1090
|
+
"requiredItems": [
|
|
1091
|
+
|
|
1092
|
+
]
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
"_default": false,
|
|
1096
|
+
"children": [
|
|
1097
|
+
{
|
|
1098
|
+
"_default": false,
|
|
1099
|
+
"children": [
|
|
1100
|
+
{
|
|
1101
|
+
"_default": false,
|
|
1102
|
+
"label": "空调问题",
|
|
1103
|
+
"relationItems": [
|
|
1104
|
+
|
|
1105
|
+
],
|
|
1106
|
+
"value": "空调问题"
|
|
1107
|
+
},
|
|
1108
|
+
{
|
|
1109
|
+
"_default": false,
|
|
1110
|
+
"label": "电灯问题",
|
|
1111
|
+
"relationItems": [
|
|
1112
|
+
|
|
1113
|
+
],
|
|
1114
|
+
"value": "电灯问题"
|
|
1115
|
+
}
|
|
1116
|
+
],
|
|
1117
|
+
"label": "生产类",
|
|
1118
|
+
"relationItems": [
|
|
1119
|
+
|
|
1120
|
+
],
|
|
1121
|
+
"value": "生产类"
|
|
1122
|
+
},
|
|
1123
|
+
{
|
|
1124
|
+
"_default": false,
|
|
1125
|
+
"children": [
|
|
1126
|
+
{
|
|
1127
|
+
"_default": false,
|
|
1128
|
+
"label": "食堂设备问题",
|
|
1129
|
+
"relationItems": [
|
|
1130
|
+
|
|
1131
|
+
],
|
|
1132
|
+
"value": "食堂设备问题"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"_default": false,
|
|
1136
|
+
"label": "商铺设备问题",
|
|
1137
|
+
"relationItems": [
|
|
1138
|
+
|
|
1139
|
+
],
|
|
1140
|
+
"value": "商铺设备问题"
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"label": "生活类",
|
|
1144
|
+
"relationItems": [
|
|
1145
|
+
|
|
1146
|
+
],
|
|
1147
|
+
"value": "生活类"
|
|
1148
|
+
}
|
|
1149
|
+
],
|
|
1150
|
+
"label": "公用设备类",
|
|
1151
|
+
"relationItems": [
|
|
1152
|
+
|
|
1153
|
+
],
|
|
1154
|
+
"value": "公用设备类"
|
|
1155
|
+
}
|
|
1156
|
+
]
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"required": false,
|
|
1161
|
+
"fieldId": "22f44fe2fe9f418db773e0ec5e24074c"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"display": true,
|
|
1165
|
+
"paramName": "fieldValue.e90295e2c760460c95480ee61fe160ad",
|
|
1166
|
+
"value": "",
|
|
1167
|
+
"formField": {
|
|
1168
|
+
"workOrderFieldId": "e90295e2c760460c95480ee61fe160ad",
|
|
1169
|
+
"name": "聊天记录",
|
|
1170
|
+
"type": "CHAT_RECORD",
|
|
1171
|
+
"extInfo": {
|
|
1172
|
+
"visibleWithoutPermission": true,
|
|
1173
|
+
"isDelete": true,
|
|
1174
|
+
"autoInput": {
|
|
1175
|
+
"enable": false,
|
|
1176
|
+
"rule": {
|
|
1177
|
+
"handler": "",
|
|
1178
|
+
"exp": "",
|
|
1179
|
+
"type": "reg"
|
|
1180
|
+
},
|
|
1181
|
+
"source": [
|
|
1182
|
+
|
|
1183
|
+
]
|
|
1184
|
+
},
|
|
1185
|
+
"range": {
|
|
1186
|
+
"start": "",
|
|
1187
|
+
"end": ""
|
|
1188
|
+
},
|
|
1189
|
+
"disabled": false
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
"required": false,
|
|
1193
|
+
"fieldId": "e90295e2c760460c95480ee61fe160ad"
|
|
810
1194
|
}
|
|
811
|
-
|
|
812
|
-
}
|
|
1195
|
+
]
|
|
1196
|
+
}
|
|
813
1197
|
},
|
|
814
1198
|
text: {
|
|
815
1199
|
template:
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
v-model="item.value"
|
|
64
64
|
:config="{...ckeditor.editorConfig,placeholder:item.formField.extInfo && item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请输入'}"
|
|
65
65
|
v-else-if="item.fieldId==='workorder_description'"
|
|
66
|
+
@ready="(editor)=>currentEditor=editor"
|
|
66
67
|
></ckeditor>
|
|
67
68
|
<el-date-picker
|
|
68
69
|
v-model=item.value
|
|
@@ -624,7 +625,7 @@
|
|
|
624
625
|
</select-popup>
|
|
625
626
|
</van-popup>
|
|
626
627
|
</div>
|
|
627
|
-
<div v-else-if="item.formField.type==='CASCADER'" class="form-field-item-value">
|
|
628
|
+
<div v-else-if="item.formField.type==='CASCADER'" :key="JSON.stringify(item.formField)" class="form-field-item-value">
|
|
628
629
|
<van-field
|
|
629
630
|
readonly
|
|
630
631
|
clickable
|
|
@@ -862,7 +863,8 @@ export default {
|
|
|
862
863
|
refDefaultValue:{},
|
|
863
864
|
selectOptionWidth:null,
|
|
864
865
|
fieldValue:{},
|
|
865
|
-
optionsList:{}
|
|
866
|
+
optionsList:{},
|
|
867
|
+
currentEditor:null
|
|
866
868
|
}
|
|
867
869
|
},
|
|
868
870
|
props: {
|
|
@@ -1368,6 +1370,29 @@ export default {
|
|
|
1368
1370
|
this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId] = name
|
|
1369
1371
|
}
|
|
1370
1372
|
}
|
|
1373
|
+
/*如何工单描述中只有一个链接地址,则将链接地址替换成图片*/
|
|
1374
|
+
if (this.formList.form.formFieldRelation[i].fieldId === 'workorder_description' &&
|
|
1375
|
+
this.formList.form.formFieldRelation[i].value.search(/<img /i) < 0 &&
|
|
1376
|
+
this.formList.form.formFieldRelation[i].value.indexOf('https://guoranopen-zjk')!==-1){
|
|
1377
|
+
let value = this.formList.form.formFieldRelation[i].value
|
|
1378
|
+
this.formList.form.formFieldRelation[i].value = ""
|
|
1379
|
+
let blob = null
|
|
1380
|
+
let file = null
|
|
1381
|
+
let xhr = new XMLHttpRequest()
|
|
1382
|
+
xhr.open('GET', value)
|
|
1383
|
+
xhr.responseType = 'blob'
|
|
1384
|
+
// 加载时处理(异步)
|
|
1385
|
+
xhr.onload = (res) => {
|
|
1386
|
+
// 获取返回结果
|
|
1387
|
+
blob = xhr.response
|
|
1388
|
+
file = new File([blob],'图片')
|
|
1389
|
+
let obj = {
|
|
1390
|
+
file:[file]
|
|
1391
|
+
}
|
|
1392
|
+
this.currentEditor.commands.get("imageUpload").execute(obj)
|
|
1393
|
+
}
|
|
1394
|
+
xhr.send()
|
|
1395
|
+
}
|
|
1371
1396
|
}
|
|
1372
1397
|
for (let i = 0; i < this.formList.form.formFieldRelation.length; i++) {
|
|
1373
1398
|
let type = this.formList.form.formFieldRelation[i].formField.type
|
package/src/components/tree.vue
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
</template>
|
|
28
28
|
|
|
29
29
|
<script>
|
|
30
|
+
/* eslint-disable */
|
|
30
31
|
export default {
|
|
31
32
|
name: "tree",
|
|
32
33
|
data(){
|
|
@@ -36,14 +37,14 @@ export default {
|
|
|
36
37
|
value:"value"
|
|
37
38
|
},
|
|
38
39
|
checked:'',
|
|
39
|
-
dataTree:[],
|
|
40
|
+
// dataTree:[],
|
|
40
41
|
checkList:[],
|
|
41
42
|
checkDatas:[]
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
props:["dataOptions"],
|
|
45
46
|
methods:{
|
|
46
|
-
|
|
47
|
+
saveData(){
|
|
47
48
|
this.checkList = []
|
|
48
49
|
this.checkDatas = []
|
|
49
50
|
this.ergodicData(this.dataTree,this.checkList)
|
|
@@ -89,18 +90,34 @@ export default {
|
|
|
89
90
|
return list
|
|
90
91
|
},
|
|
91
92
|
},
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
computed: {
|
|
94
|
+
dataTree() {
|
|
95
|
+
let arr = []
|
|
96
|
+
if (this.dataOptions.extInfo.cascadeDown.options){
|
|
97
|
+
arr = this.dataOptions.extInfo.cascadeDown.options
|
|
98
|
+
}
|
|
99
|
+
else if (this.dataOptions.extInfo.cascade){
|
|
100
|
+
arr = this.dataOptions.extInfo.cascade
|
|
101
|
+
}
|
|
102
|
+
else if (this.dataOptions.extInfo.cascadeDown && this.dataOptions.extInfo.cascadeDown[0]){
|
|
103
|
+
arr = this.dataOptions.extInfo.cascadeDown[0].options
|
|
104
|
+
}
|
|
105
|
+
return arr
|
|
101
106
|
}
|
|
102
|
-
|
|
103
|
-
|
|
107
|
+
},
|
|
108
|
+
// mounted() {
|
|
109
|
+
// if (this.dataOptions.extInfo.cascadeDown.options){
|
|
110
|
+
// debugger
|
|
111
|
+
// this.dataTree = this.dataOptions.extInfo.cascadeDown.options
|
|
112
|
+
// }
|
|
113
|
+
// else if (this.dataOptions.extInfo.cascade){
|
|
114
|
+
// this.dataTree = this.dataOptions.extInfo.cascade
|
|
115
|
+
// }
|
|
116
|
+
// else if (this.dataOptions.extInfo.cascadeDown && this.dataOptions.extInfo.cascadeDown[0]){
|
|
117
|
+
// this.dataTree = this.dataOptions.extInfo.cascadeDown[0].options
|
|
118
|
+
// }
|
|
119
|
+
// console.debug('dataTree',this.dataOptions,this.dataTree)
|
|
120
|
+
// }
|
|
104
121
|
};
|
|
105
122
|
</script>
|
|
106
123
|
|