askbot-dragon 1.5.71-beta → 1.5.73-beta

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.
@@ -13,10 +13,10 @@
13
13
  </div>
14
14
  </div> -->
15
15
 
16
- <!-- <form-template
16
+ <form-template
17
17
  :formList="formList2"
18
18
  @submitClick="submitClick"
19
- ></form-template> -->
19
+ ></form-template>
20
20
  <!-- <form-template
21
21
  :formList="formList"
22
22
  @submitClick="submitClick"
@@ -77,7 +77,7 @@
77
77
  </template>
78
78
  <script>
79
79
  import TextMessage from '@/components/message/TextMessage'
80
- // import FormTemplate from "@/components/formTemplate";
80
+ import FormTemplate from "@/components/formTemplate";
81
81
 
82
82
  /*import FormTemplate from "@/components/formTemplate";
83
83
  import TextMessage from "@/components/message/TextMessage";*/
@@ -131,7 +131,7 @@ export default {
131
131
  // AiGuide,
132
132
  AnswerVoice,
133
133
  // FormTemplate,
134
- // FormTemplate,
134
+ FormTemplate,
135
135
  // FileType,
136
136
  // ChatContent,
137
137
  AnswerDocknowledge,
@@ -1656,954 +1656,664 @@ export default {
1656
1656
  formList2: {
1657
1657
  formActionId: '11',
1658
1658
  "form": {
1659
- "formFieldRelation": [
1660
- {
1661
- "fieldId": "workorder_description",
1662
- "paramName": "description",
1663
- "formField": {
1664
- "id": null,
1665
- "name": "问题描述",
1666
- "description": null,
1667
- "type": "TEXTAREA",
1668
- "deleted": null,
1669
- "lastOperatorId": null,
1670
- "mainId": null,
1671
- "extInfo": {
1672
- "visibleWithoutPermission": true,
1673
- "isDelete": false,
1674
- "autoInput": {
1675
- "enable": false,
1676
- "rule": {
1677
- "handler": "",
1678
- "exp": "",
1679
- "type": "reg"
1680
- },
1681
- "source": [
1659
+ "formShowName":"请假申请",
1660
+ "webhookId":486,
1661
+ "release":true,
1662
+ "description":"请假申请",
1663
+ "updateTime":1700035604000,
1664
+ "processConfigId":"441",
1665
+ "formFieldRelation":[
1666
+ {
1667
+ "display":false,
1668
+ "paramName":"empNo",
1669
+ "value":"21120072",
1670
+ "formField":{
1671
+ "deleted":false,
1672
+ "createTime":1690442179000,
1673
+ "name":"工号",
1674
+ "description":"",
1675
+ "updateTime":1690442179000,
1676
+ "id":329,
1677
+ "lastOperatorId":114788,
1678
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1679
+ "type":"INPUT",
1680
+ "extInfo":{
1681
+ "WebHookParameter":[
1682
1682
 
1683
- ]
1684
- },
1685
- "range": {
1686
- "start": "",
1687
- "end": ""
1688
- },
1689
- "disabled": true,
1690
- "placeholder": "请输入"
1691
- },
1692
- "createTime": null,
1693
- "updateTime": null,
1694
- "required": null,
1695
- "workOrderFieldId": "daca9a30d4854909b65bae98fc32df5e"
1696
- },
1697
- "value": "",
1698
- "display": true,
1699
- "required": true,
1700
- "editable": null,
1701
- "checkText": true,
1702
- "checkImage": false,
1703
- "checkAttachment": false
1704
- },
1705
- {
1706
- "fieldId": "workorder_priority",
1707
- "paramName": "priority",
1708
- "formField": {
1709
- "id": null,
1710
- "name": "优先级",
1711
- "description": null,
1712
- "type": "SELECT",
1713
- "deleted": null,
1714
- "lastOperatorId": null,
1715
- "mainId": null,
1716
- "extInfo": {
1717
- "option": [
1718
- {
1719
- "label": "紧急",
1720
- "value": "URGENT"
1721
- },
1722
- {
1723
- "label": "",
1724
- "value": "HIGH"
1725
- },
1726
- {
1727
- "label": "中",
1728
- "value": "MIDDLE"
1729
- },
1730
- {
1731
- "label": "低",
1732
- "value": "LOW"
1683
+ ],
1684
+ "value":""
1685
+ }
1686
+ },
1687
+ "required":true,
1688
+ "fieldId":329,
1689
+ "relationDisplay":true
1690
+ },
1691
+ {
1692
+ "display":true,
1693
+ "paramName":"type",
1694
+ "value":"0",
1695
+ "formField":{
1696
+ "deleted":false,
1697
+ "createTime":1700035412000,
1698
+ "name":"请假类别",
1699
+ "description":"请假类别",
1700
+ "updateTime":1700035412000,
1701
+ "id":393,
1702
+ "lastOperatorId":123152,
1703
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1704
+ "type":"SELECT",
1705
+ "extInfo":{
1706
+ "WebHookParameter":[
1707
+
1708
+ ],
1709
+ "remark":{
1710
+ "enable":false,
1711
+ "text":""
1712
+ },
1713
+ "value":[
1714
+
1715
+ ],
1716
+ "option":[
1717
+ {
1718
+ "_default":"false",
1719
+ "label":"事假",
1720
+ "value":"0"
1721
+ },
1722
+ {
1723
+ "_default":"false",
1724
+ "label":"婚假",
1725
+ "value":"1"
1726
+ },
1727
+ {
1728
+ "_default":"false",
1729
+ "label":"调休假",
1730
+ "value":"2"
1731
+ },
1732
+ {
1733
+ "_default":"false",
1734
+ "label":"病假",
1735
+ "value":"3"
1736
+ },
1737
+ {
1738
+ "_default":"false",
1739
+ "label":"丧假",
1740
+ "value":"4"
1741
+ },
1742
+ {
1743
+ "_default":"false",
1744
+ "label":"产假",
1745
+ "value":"5"
1746
+ },
1747
+ {
1748
+ "_default":"false",
1749
+ "label":"工伤假",
1750
+ "value":"6"
1751
+ },
1752
+ {
1753
+ "_default":"false",
1754
+ "label":"外出",
1755
+ "value":"7"
1756
+ },
1757
+ {
1758
+ "_default":"false",
1759
+ "label":"其它假",
1760
+ "value":"8"
1761
+ },
1762
+ {
1763
+ "_default":"false",
1764
+ "label":"排休",
1765
+ "value":"9"
1766
+ }
1767
+ ]
1768
+ }
1769
+ },
1770
+ "required":true,
1771
+ "fieldId":393,
1772
+ "relationDisplay":true
1773
+ },
1774
+ {
1775
+ "display":true,
1776
+ "paramName":"startDate",
1777
+ "value":"",
1778
+ "formField":{
1779
+ "deleted":false,
1780
+ "createTime":1699502119000,
1781
+ "name":"开始日期",
1782
+ "description":"开始日期",
1783
+ "updateTime":1699502119000,
1784
+ "id":375,
1785
+ "lastOperatorId":123152,
1786
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1787
+ "type":"DATE_PICKER",
1788
+ "extInfo":{
1789
+ "WebHookParameter":[
1790
+
1791
+ ],
1792
+ "remark":{
1793
+ "enable":false,
1794
+ "text":""
1795
+ },
1796
+ "value":""
1797
+ }
1798
+ },
1799
+ "required":true,
1800
+ "fieldId":375,
1801
+ "relationDisplay":true
1802
+ },
1803
+ {
1804
+ "display":true,
1805
+ "paramName":"starttime",
1806
+ "value":"",
1807
+ "formField":{
1808
+ "deleted":false,
1809
+ "createTime":1699502135000,
1810
+ "name":"开始时间",
1811
+ "description":"开始时间",
1812
+ "updateTime":1699502230000,
1813
+ "id":376,
1814
+ "lastOperatorId":123152,
1815
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1816
+ "type":"TIME_PICKER",
1817
+ "extInfo":{
1818
+ "WebHookParameter":[
1819
+
1820
+ ],
1821
+ "remark":{
1822
+ "enable":false,
1823
+ "text":""
1824
+ },
1825
+ "value":""
1826
+ }
1827
+ },
1828
+ "required":true,
1829
+ "fieldId":376,
1830
+ "relationDisplay":true
1831
+ },
1832
+ {
1833
+ "display":true,
1834
+ "paramName":"endDate",
1835
+ "value":"",
1836
+ "formField":{
1837
+ "deleted":false,
1838
+ "createTime":1699501619000,
1839
+ "name":"结束日期",
1840
+ "description":"结束日期",
1841
+ "updateTime":1699501619000,
1842
+ "id":372,
1843
+ "lastOperatorId":123152,
1844
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1845
+ "type":"DATE_PICKER",
1846
+ "extInfo":{
1847
+ "WebHookParameter":[
1848
+
1849
+ ],
1850
+ "remark":{
1851
+ "enable":false,
1852
+ "text":""
1853
+ },
1854
+ "value":""
1855
+ }
1856
+ },
1857
+ "required":true,
1858
+ "fieldId":372,
1859
+ "relationDisplay":true
1860
+ },
1861
+ {
1862
+ "display":true,
1863
+ "paramName":"endtime",
1864
+ "value":"",
1865
+ "formField":{
1866
+ "deleted":false,
1867
+ "createTime":1699501639000,
1868
+ "name":"结束时间",
1869
+ "description":"结束时刻",
1870
+ "updateTime":1699501639000,
1871
+ "id":373,
1872
+ "lastOperatorId":123152,
1873
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1874
+ "type":"TIME_PICKER",
1875
+ "extInfo":{
1876
+ "WebHookParameter":[
1877
+
1878
+ ],
1879
+ "remark":{
1880
+ "enable":false,
1881
+ "text":""
1882
+ },
1883
+ "value":""
1884
+ }
1885
+ },
1886
+ "required":true,
1887
+ "fieldId":373,
1888
+ "relationDisplay":true
1889
+ },
1890
+ {
1891
+ "display":true,
1892
+ "paramName":"hour",
1893
+ "value":"",
1894
+ "formField":{
1895
+ "deleted":false,
1896
+ "createTime":1700035520000,
1897
+ "name":"请假小时",
1898
+ "description":"请假小时",
1899
+ "updateTime":1700035520000,
1900
+ "id":395,
1901
+ "lastOperatorId":123152,
1902
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1903
+ "type":"INPUT",
1904
+ "extInfo":{
1905
+ "WebHookParameter":[
1906
+
1907
+ ],
1908
+ "remark":{
1909
+ "enable":false,
1910
+ "text":""
1911
+ },
1912
+ "value":""
1913
+ }
1914
+ },
1915
+ "required":true,
1916
+ "fieldId":395,
1917
+ "relationDisplay":true
1918
+ },
1919
+ {
1920
+ "display":true,
1921
+ "paramName":"reason",
1922
+ "value":"",
1923
+ "formField":{
1924
+ "deleted":false,
1925
+ "createTime":1700035437000,
1926
+ "name":"请假事由",
1927
+ "description":"请假事由",
1928
+ "updateTime":1700035437000,
1929
+ "id":394,
1930
+ "lastOperatorId":123152,
1931
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1932
+ "type":"TEXTAREA",
1933
+ "extInfo":{
1934
+ "WebHookParameter":[
1935
+
1936
+ ],
1937
+ "remark":{
1938
+ "enable":false,
1939
+ "text":""
1940
+ },
1941
+ "value":""
1942
+ }
1943
+ },
1944
+ "required":true,
1945
+ "fieldId":394,
1946
+ "relationDisplay":true
1733
1947
  }
1734
- ]
1735
- },
1736
- "createTime": null,
1737
- "updateTime": null,
1738
- "required": null,
1739
- "workOrderFieldId": "bb5ef098dded450aa913db9d937d46cb"
1740
- },
1741
- "value": "MIDDLE",
1742
- "display": true,
1743
- "required": true,
1744
- "editable": null,
1745
- "checkText": null,
1746
- "checkImage": null,
1747
- "checkAttachment": null
1748
- },
1749
- {
1750
- "fieldId": "workorder_clientId",
1751
- "paramName": "clientId",
1752
- "formField": {
1753
- "id": null,
1754
- "name": "客户",
1755
- "description": null,
1756
- "type": "SELECT",
1757
- "deleted": null,
1758
- "lastOperatorId": null,
1759
- "mainId": null,
1760
- "extInfo": {
1761
- "option": [
1762
- {
1763
- "label": "王亚欣",
1764
- "value": "6209d5e86248b4245573f705"
1765
- },
1766
- {
1767
- "label": "吴可贤",
1768
- "value": "620a171b42aa263ff58e33e3"
1769
- },
1770
- {
1771
- "label": "吴明岩",
1772
- "value": "620b140442aa263ff58e3478"
1773
- },
1774
- {
1775
- "label": "张强",
1776
- "value": "620b5abc42aa263ff58e34ec"
1777
- },
1778
- {
1779
- "label": "刁瑶杭",
1780
- "value": "620db565f40ceb69a5aa8181"
1781
- },
1782
- {
1783
- "label": "高鹏",
1784
- "value": "620e2ca9d8ba600c9a2d358f"
1785
- },
1786
- {
1787
- "label": "王瑞环",
1788
- "value": "620f4e1ee54fe02dba1c726d"
1789
- },
1790
- {
1791
- "label": "",
1792
- "value": "62451452e9400a78800d707f"
1793
- },
1794
- {
1795
- "label": "",
1796
- "value": "6245197a93a0c05af32f3229"
1797
- },
1798
- {
1799
- "label": "",
1800
- "value": "624e47304b08c03b19dca885"
1801
- },
1802
- {
1803
- "label": "",
1804
- "value": "62501e5f3b5f4b14eb17363d"
1805
- },
1806
- {
1807
- "label": "陈勇",
1808
- "value": "6262647381054277d250fc8f"
1809
- },
1810
- {
1811
- "label": "user001",
1812
- "value": "62a982e8f73a463ad01a9212"
1813
- },
1814
- {
1815
- "label": "易姑娘",
1816
- "value": "62b18f31715fc440a4368f7f"
1817
- },
1818
- {
1819
- "label": "张庆雷",
1820
- "value": "62e581f39b47ef5305214385"
1821
- },
1822
- {
1823
- "label": "吴可贤",
1824
- "value": "632070ba1d16876a4eb8df8e"
1825
- },
1826
- {
1827
- "label": "woWeMoBwAACYR3trQ2LYHWtyOfpplqkw",
1828
- "value": "632193c71955025d5b782e98"
1948
+ ],
1949
+ "deleted":false,
1950
+ "createTime":1700035441000,
1951
+ "releasedFields":[
1952
+ {
1953
+ "deleted":false,
1954
+ "createTime":1690442179000,
1955
+ "name":"工号",
1956
+ "description":"",
1957
+ "updateTime":1690442179000,
1958
+ "id":329,
1959
+ "lastOperatorId":114788,
1960
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1961
+ "type":"INPUT",
1962
+ "required":true,
1963
+ "extInfo":{
1964
+ "WebHookParameter":[
1965
+
1966
+ ],
1967
+ "value":""
1968
+ }
1829
1969
  },
1830
1970
  {
1831
- "label": "刘玉丽",
1832
- "value": "632198911955025d5b782f6f"
1971
+ "deleted":false,
1972
+ "createTime":1700035412000,
1973
+ "name":"请假类别",
1974
+ "description":"请假类别",
1975
+ "updateTime":1700035412000,
1976
+ "id":393,
1977
+ "lastOperatorId":123152,
1978
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
1979
+ "type":"SELECT",
1980
+ "required":true,
1981
+ "extInfo":{
1982
+ "WebHookParameter":[
1983
+
1984
+ ],
1985
+ "remark":{
1986
+ "enable":false,
1987
+ "text":""
1988
+ },
1989
+ "value":[
1990
+
1991
+ ],
1992
+ "option":[
1993
+ {
1994
+ "_default":"false",
1995
+ "label":"事假",
1996
+ "value":"0"
1997
+ },
1998
+ {
1999
+ "_default":"false",
2000
+ "label":"婚假",
2001
+ "value":"1"
2002
+ },
2003
+ {
2004
+ "_default":"false",
2005
+ "label":"调休假",
2006
+ "value":"2"
2007
+ },
2008
+ {
2009
+ "_default":"false",
2010
+ "label":"病假",
2011
+ "value":"3"
2012
+ },
2013
+ {
2014
+ "_default":"false",
2015
+ "label":"丧假",
2016
+ "value":"4"
2017
+ },
2018
+ {
2019
+ "_default":"false",
2020
+ "label":"产假",
2021
+ "value":"5"
2022
+ },
2023
+ {
2024
+ "_default":"false",
2025
+ "label":"工伤假",
2026
+ "value":"6"
2027
+ },
2028
+ {
2029
+ "_default":"false",
2030
+ "label":"外出",
2031
+ "value":"7"
2032
+ },
2033
+ {
2034
+ "_default":"false",
2035
+ "label":"其它假",
2036
+ "value":"8"
2037
+ },
2038
+ {
2039
+ "_default":"false",
2040
+ "label":"排休",
2041
+ "value":"9"
2042
+ }
2043
+ ]
2044
+ }
1833
2045
  },
1834
2046
  {
1835
- "label": "woWeMoBwAAfQSn5vV66oK9CVkGqkXeCQ",
1836
- "value": "6321a13a1955025d5b7830af"
2047
+ "deleted":false,
2048
+ "createTime":1699502119000,
2049
+ "name":"开始日期",
2050
+ "description":"开始日期",
2051
+ "updateTime":1699502119000,
2052
+ "id":375,
2053
+ "lastOperatorId":123152,
2054
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2055
+ "type":"DATE_PICKER",
2056
+ "required":true,
2057
+ "extInfo":{
2058
+ "WebHookParameter":[
2059
+
2060
+ ],
2061
+ "remark":{
2062
+ "enable":false,
2063
+ "text":""
2064
+ },
2065
+ "value":""
2066
+ }
1837
2067
  },
1838
2068
  {
1839
- "label": "吴可贤",
1840
- "value": "6321a5501955025d5b783157"
2069
+ "deleted":false,
2070
+ "createTime":1699502135000,
2071
+ "name":"开始时间",
2072
+ "description":"开始时间",
2073
+ "updateTime":1699502230000,
2074
+ "id":376,
2075
+ "lastOperatorId":123152,
2076
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2077
+ "type":"TIME_PICKER",
2078
+ "required":true,
2079
+ "extInfo":{
2080
+ "WebHookParameter":[
2081
+
2082
+ ],
2083
+ "remark":{
2084
+ "enable":false,
2085
+ "text":""
2086
+ },
2087
+ "value":""
2088
+ }
1841
2089
  },
1842
2090
  {
1843
- "label": "吴可贤",
1844
- "value": "6322947430a9260e44b922b5"
2091
+ "deleted":false,
2092
+ "createTime":1699501619000,
2093
+ "name":"结束日期",
2094
+ "description":"结束日期",
2095
+ "updateTime":1699501619000,
2096
+ "id":372,
2097
+ "lastOperatorId":123152,
2098
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2099
+ "type":"DATE_PICKER",
2100
+ "required":true,
2101
+ "extInfo":{
2102
+ "WebHookParameter":[
2103
+
2104
+ ],
2105
+ "remark":{
2106
+ "enable":false,
2107
+ "text":""
2108
+ },
2109
+ "value":""
2110
+ }
1845
2111
  },
1846
2112
  {
1847
- "label": "刘玉丽",
1848
- "value": "632d200213829c04275cca59"
2113
+ "deleted":false,
2114
+ "createTime":1699501639000,
2115
+ "name":"结束时间",
2116
+ "description":"结束时刻",
2117
+ "updateTime":1699501639000,
2118
+ "id":373,
2119
+ "lastOperatorId":123152,
2120
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2121
+ "type":"TIME_PICKER",
2122
+ "required":true,
2123
+ "extInfo":{
2124
+ "WebHookParameter":[
2125
+
2126
+ ],
2127
+ "remark":{
2128
+ "enable":false,
2129
+ "text":""
2130
+ },
2131
+ "value":""
2132
+ }
1849
2133
  },
1850
2134
  {
1851
- "label": "梁鹏宇",
1852
- "value": "63563d86fc4113707ec5d98d"
2135
+ "deleted":false,
2136
+ "createTime":1700035520000,
2137
+ "name":"请假小时",
2138
+ "description":"请假小时",
2139
+ "updateTime":1700035520000,
2140
+ "id":395,
2141
+ "lastOperatorId":123152,
2142
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2143
+ "type":"INPUT",
2144
+ "required":true,
2145
+ "extInfo":{
2146
+ "WebHookParameter":[
2147
+
2148
+ ],
2149
+ "remark":{
2150
+ "enable":false,
2151
+ "text":""
2152
+ },
2153
+ "value":""
2154
+ }
1853
2155
  },
1854
2156
  {
1855
- "label": "刘玉丽",
1856
- "value": "6357d99b1b1eb75a61f8eaee"
1857
- },
1858
- {
1859
- "label": "刁瑶杭",
1860
- "value": "63999c2eaed2b44cfc689ad9"
1861
- },
1862
- {
1863
- "label": "张志伟",
1864
- "value": "63999c6daed2b44cfc689add"
1865
- },
1866
- {
1867
- "label": "20221229-WRH",
1868
- "value": "63ad626cd4fb400a4d9fe610"
1869
- },
1870
- {
1871
- "label": "王亚欣",
1872
- "value": "63b7bfae89fda82164bab58a"
1873
- },
1874
- {
1875
- "label": "王亚欣1",
1876
- "value": "63b7c07889fda82164bab58b"
1877
- },
1878
- {
1879
- "label": "王亚欣2",
1880
- "value": "63b7cf1acbc79f039b1b11a7"
1881
- },
1882
- {
1883
- "label": "张志伟",
1884
- "value": "63e1c8c50ad6333a85fc1000"
1885
- }
1886
- ]
1887
- },
1888
- "createTime": null,
1889
- "updateTime": null,
1890
- "required": null,
1891
- "workOrderFieldId": ""
1892
- },
1893
- "value": "",
1894
- "display": true,
1895
- "required": false,
1896
- "editable": null,
1897
- "checkText": null,
1898
- "checkImage": null,
1899
- "checkAttachment": null
1900
- },
1901
- {
1902
- "fieldId": "workorder_statusId",
1903
- "paramName": "statusId",
1904
- "formField": {
1905
- "id": null,
1906
- "name": "状态",
1907
- "description": null,
1908
- "type": "SELECT",
1909
- "deleted": null,
1910
- "lastOperatorId": null,
1911
- "mainId": null,
1912
- "extInfo": {
1913
- "option": [
1914
- {
1915
- "label": "新建",
1916
- "value": "61f0b187e698d414a7857d56"
1917
- },
1918
- {
1919
- "label": "解决中",
1920
- "value": "61f0b187e698d414a7857d57"
1921
- },
1922
- {
1923
- "label": "已解决",
1924
- "value": "61f0b187e698d414a7857d58"
1925
- },
1926
- {
1927
- "label": "已关闭",
1928
- "value": "61f0b187e698d414a7857d59"
1929
- },
1930
- {
1931
- "label": "已取消",
1932
- "value": "62e203c8153437474c3a83ab"
1933
- },
1934
- {
1935
- "label": "待现场处理",
1936
- "value": "6358a63bce442906c9e08ff8"
1937
- }
1938
- ]
1939
- },
1940
- "createTime": null,
1941
- "updateTime": null,
1942
- "required": null,
1943
- "workOrderFieldId": "7b064290985b4ad59310221b260688a6"
1944
- },
1945
- "value": "61f0b187e698d414a7857d56",
1946
- "display": true,
1947
- "required": true,
1948
- "editable": null,
1949
- "checkText": null,
1950
- "checkImage": null,
1951
- "checkAttachment": null
1952
- },
1953
- {
1954
- "fieldId": "fdf7acd1b9454cdaa266c2d3e2c18dc6",
1955
- "paramName": "fieldValue.fdf7acd1b9454cdaa266c2d3e2c18dc6",
1956
- "formField": {
1957
- "id": null,
1958
- "name": "单行输入框",
1959
- "description": null,
1960
- "type": "INPUT",
1961
- "deleted": null,
1962
- "lastOperatorId": null,
1963
- "mainId": null,
1964
- "extInfo": {
1965
- "unit": "",
1966
- "isDelete": true,
1967
- "autoInput": {
1968
- "enable": false,
1969
- "rule": {
1970
- "handler": "",
1971
- "type": "reg",
1972
- "exp": ""
1973
- },
1974
- "source": [
2157
+ "deleted":false,
2158
+ "createTime":1700035437000,
2159
+ "name":"请假事由",
2160
+ "description":"请假事由",
2161
+ "updateTime":1700035437000,
2162
+ "id":394,
2163
+ "lastOperatorId":123152,
2164
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2165
+ "type":"TEXTAREA",
2166
+ "required":true,
2167
+ "extInfo":{
2168
+ "WebHookParameter":[
1975
2169
 
2170
+ ],
2171
+ "remark":{
2172
+ "enable":false,
2173
+ "text":""
2174
+ },
2175
+ "value":""
2176
+ }
2177
+ }
2178
+ ],
2179
+ "scope":{
2180
+ "scope":0,
2181
+ "botIds":[
2182
+ 4891
1976
2183
  ]
1977
- },
1978
- "range": {
1979
- "start": "",
1980
- "end": ""
1981
- },
1982
- "inputType": "TEXT",
1983
- "placeholder": "请输入",
1984
- "maxNum": 100
1985
2184
  },
1986
- "createTime": null,
1987
- "updateTime": null,
1988
- "required": null,
1989
- "workOrderFieldId": "fdf7acd1b9454cdaa266c2d3e2c18dc6"
1990
- },
1991
- "value": "",
1992
- "display": true,
1993
- "required": false,
1994
- "editable": null,
1995
- "checkText": null,
1996
- "checkImage": null,
1997
- "checkAttachment": null
1998
- },
1999
- {
2000
- "fieldId": "607ecbcd92174570bfa67e3fdb1e6022",
2001
- "paramName": "fieldValue.607ecbcd92174570bfa67e3fdb1e6022",
2002
- "formField": {
2003
- "id": null,
2004
- "name": "多行输入框",
2005
- "description": null,
2006
- "type": "TEXTAREA",
2007
- "deleted": null,
2008
- "lastOperatorId": null,
2009
- "mainId": null,
2010
- "extInfo": {
2011
- "isDelete": true,
2012
- "autoInput": {
2013
- "enable": false,
2014
- "rule": {
2015
- "handler": "",
2016
- "exp": "",
2017
- "type": "reg"
2018
- },
2019
- "source": [
2185
+ "name":"请假申请",
2186
+ "id":441,
2187
+ "mainId":"27f97e86582345e2b83c577166e45dfc",
2188
+ "webHookRequest":{
2189
+ "method":"POST",
2190
+ "name":"请假申请",
2191
+ "url":"https://gateway.shuixing.cn/ops/askbot/doCreateRequest",
2192
+ "setting":{
2193
+ "authorization":{
2020
2194
 
2021
- ]
2022
- },
2023
- "range": {
2024
- "start": "",
2025
- "end": ""
2026
- },
2027
- "placeholder": "请输入",
2028
- "maxNum": 100
2029
- },
2030
- "createTime": null,
2031
- "updateTime": null,
2032
- "required": null,
2033
- "workOrderFieldId": "607ecbcd92174570bfa67e3fdb1e6022"
2034
- },
2035
- "value": "",
2036
- "display": true,
2037
- "required": false,
2038
- "editable": null,
2039
- "checkText": null,
2040
- "checkImage": null,
2041
- "checkAttachment": null
2042
- },
2043
- {
2044
- "fieldId": "e5d2e9e98baa45f3871899bd9c6879c8",
2045
- "paramName": "fieldValue.e5d2e9e98baa45f3871899bd9c6879c8",
2046
- "formField": {
2047
- "id": null,
2048
- "name": "单选",
2049
- "description": null,
2050
- "type": "RADIO",
2051
- "deleted": null,
2052
- "lastOperatorId": null,
2053
- "mainId": null,
2054
- "extInfo": {
2055
- "isDelete": true,
2056
- "autoInput": {
2057
- "enable": false,
2058
- "rule": {
2059
- "handler": "",
2060
- "type": "dict",
2061
- "exp": ""
2062
- },
2063
- "source": [
2195
+ },
2196
+ "paramType":"raw",
2197
+ "headers":[
2198
+ {
2199
+ "value":"application/json;charset=UTF-8",
2200
+ "key":"content-type"
2201
+ }
2202
+ ],
2203
+ "response":{
2204
+ "sendResponse":{
2205
+ "msg":"success",
2206
+ "code":"200",
2207
+ "data":""
2208
+ },
2209
+ "config":[
2210
+ {
2211
+ "multivalued":false,
2212
+ "name":"返回说明",
2213
+ "value":"msg"
2214
+ },
2215
+ {
2216
+ "multivalued":false,
2217
+ "name":"返回状态",
2218
+ "value":"code"
2219
+ }
2220
+ ]
2221
+ },
2222
+ "body":{
2223
+ "params":[
2224
+ {
2225
+ "description":"",
2226
+ "value":"",
2227
+ "key":""
2228
+ }
2229
+ ],
2230
+ "type":"none"
2231
+ },
2232
+ "params":[
2233
+ {
2234
+ "entityName":[
2064
2235
 
2065
- ]
2066
- },
2067
- "options": [
2068
- {
2069
- "_default": false,
2070
- "label": "选项一",
2071
- "relationItems": [
2236
+ ],
2237
+ "value":"102521",
2238
+ "key":"workflowId",
2239
+ "required":true
2240
+ },
2241
+ {
2242
+ "entityName":[
2072
2243
 
2073
- ],
2074
- "value": "选项一",
2075
- "requiredItems": [
2244
+ ],
2245
+ "value":"21120072",
2246
+ "key":"empNo",
2247
+ "required":true
2248
+ },
2249
+ {
2250
+ "entityName":[
2076
2251
 
2077
- ]
2078
- },
2079
- {
2080
- "_default": false,
2081
- "label": "选项二",
2082
- "relationItems": [
2252
+ ],
2253
+ "value":"08:00",
2254
+ "key":"starttime",
2255
+ "required":true
2256
+ },
2257
+ {
2258
+ "entityName":[
2083
2259
 
2084
- ],
2085
- "value": "选项二",
2086
- "requiredItems": [
2260
+ ],
2261
+ "value":"2023-11-10",
2262
+ "key":"startDate",
2263
+ "required":true
2264
+ },
2265
+ {
2266
+ "entityName":[
2087
2267
 
2088
- ]
2089
- },
2090
- {
2091
- "_default": false,
2092
- "label": "选项三",
2093
- "relationItems": [
2268
+ ],
2269
+ "value":"0",
2270
+ "key":"type",
2271
+ "required":true
2272
+ },
2273
+ {
2274
+ "entityName":[
2094
2275
 
2095
- ],
2096
- "value": "选项三",
2097
- "requiredItems": [
2276
+ ],
2277
+ "value":"2023-11-15",
2278
+ "key":"endDate",
2279
+ "required":true
2280
+ },
2281
+ {
2282
+ "entityName":[
2098
2283
 
2099
- ]
2100
- }
2101
- ],
2102
- "range": {
2103
- "start": "",
2104
- "end": ""
2105
- },
2106
- "placeholder": "请选择",
2107
- "dependent": {
2108
-
2109
- }
2110
- },
2111
- "createTime": null,
2112
- "updateTime": null,
2113
- "required": null,
2114
- "workOrderFieldId": "e5d2e9e98baa45f3871899bd9c6879c8"
2115
- },
2116
- "value": "",
2117
- "display": true,
2118
- "required": true,
2119
- "editable": null,
2120
- "checkText": null,
2121
- "checkImage": null,
2122
- "checkAttachment": null
2123
- },
2124
- {
2125
- "fieldId": "5ed1f159280249d592d6a1fe4906b45a",
2126
- "paramName": "fieldValue.5ed1f159280249d592d6a1fe4906b45a",
2127
- "formField": {
2128
- "id": null,
2129
- "name": "多选",
2130
- "description": null,
2131
- "type": "CHECKBOX",
2132
- "deleted": null,
2133
- "lastOperatorId": null,
2134
- "mainId": null,
2135
- "extInfo": {
2136
- "isDelete": true,
2137
- "autoInput": {
2138
- "enable": false,
2139
- "rule": {
2140
- "handler": "",
2141
- "type": "dict",
2142
- "exp": ""
2143
- },
2144
- "source": [
2145
-
2146
- ]
2147
- },
2148
- "options": [
2149
- {
2150
- "_default": false,
2151
- "label": "选项一",
2152
- "relationItems": [
2153
-
2154
- ],
2155
- "value": "选项一",
2156
- "requiredItems": [
2157
-
2158
- ]
2159
- },
2160
- {
2161
- "_default": false,
2162
- "label": "选项二",
2163
- "relationItems": [
2164
-
2165
- ],
2166
- "value": "选项二",
2167
- "requiredItems": [
2168
-
2169
- ]
2170
- },
2171
- {
2172
- "_default": false,
2173
- "label": "选项三",
2174
- "relationItems": [
2175
-
2176
- ],
2177
- "value": "选项三",
2178
- "requiredItems": [
2179
-
2180
- ]
2181
- }
2182
- ],
2183
- "range": {
2184
- "start": "",
2185
- "end": ""
2186
- },
2187
- "placeholder": "请选择",
2188
- "dependent": {
2189
-
2190
- }
2191
- },
2192
- "createTime": null,
2193
- "updateTime": null,
2194
- "required": null,
2195
- "workOrderFieldId": "5ed1f159280249d592d6a1fe4906b45a"
2196
- },
2197
- "value": [
2198
-
2199
- ],
2200
- "display": true,
2201
- "required": false,
2202
- "editable": null,
2203
- "checkText": null,
2204
- "checkImage": null,
2205
- "checkAttachment": null
2206
- },
2207
- {
2208
- "fieldId": "b528c61380e7482b90790a7d2ec32a15",
2209
- "paramName": "fieldValue.b528c61380e7482b90790a7d2ec32a15",
2210
- "formField": {
2211
- "id": null,
2212
- "name": "下拉",
2213
- "description": null,
2214
- "type": "SELECT",
2215
- "deleted": null,
2216
- "lastOperatorId": null,
2217
- "mainId": null,
2218
- "extInfo": {
2219
- "isDelete": true,
2220
- "autoInput": {
2221
- "enable": false,
2222
- "rule": {
2223
- "handler": "",
2224
- "type": "dict",
2225
- "exp": ""
2226
- },
2227
- "source": [
2228
-
2229
- ]
2230
- },
2231
- "options": [
2232
- {
2233
- "_default": false,
2234
- "label": "选项一",
2235
- "relationItems": [
2236
-
2237
- ],
2238
- "value": "选项一",
2239
- "requiredItems": [
2240
-
2241
- ]
2242
- },
2243
- {
2244
- "_default": false,
2245
- "label": "选项二",
2246
- "relationItems": [
2247
-
2248
- ],
2249
- "value": "选项二",
2250
- "requiredItems": [
2251
-
2252
- ]
2253
- },
2254
- {
2255
- "_default": false,
2256
- "label": "选项三",
2257
- "relationItems": [
2258
-
2259
- ],
2260
- "value": "选项三",
2261
- "requiredItems": [
2262
-
2263
- ]
2264
- }
2265
- ],
2266
- "range": {
2267
- "start": "",
2268
- "end": ""
2269
- },
2270
- "selectType": "单选",
2271
- "placeholder": "请选择",
2272
- "dependent": {
2273
-
2274
- }
2275
- },
2276
- "createTime": null,
2277
- "updateTime": null,
2278
- "required": null,
2279
- "workOrderFieldId": "b528c61380e7482b90790a7d2ec32a15"
2280
- },
2281
- "value": "",
2282
- "display": true,
2283
- "required": false,
2284
- "editable": null,
2285
- "checkText": null,
2286
- "checkImage": null,
2287
- "checkAttachment": null
2288
- },
2289
- {
2290
- "fieldId": "9be4636de4ca49a6bbea56e618b786d2",
2291
- "paramName": "fieldValue.9be4636de4ca49a6bbea56e618b786d2",
2292
- "formField": {
2293
- "id": null,
2294
- "name": "级联",
2295
- "description": null,
2296
- "type": "CASCADER",
2297
- "deleted": null,
2298
- "lastOperatorId": null,
2299
- "mainId": null,
2300
- "extInfo": {
2301
- "isDelete": true,
2302
- "autoInput": {
2303
- "enable": false,
2304
- "rule": {
2305
- "handler": "",
2306
- "type": "dict",
2307
- "exp": ""
2308
- },
2309
- "source": [
2310
-
2311
- ]
2312
- },
2313
- "range": {
2314
- "start": "",
2315
- "end": ""
2316
- },
2317
- "selectType": "单选",
2318
- "placeholder": "请选择",
2319
- "dependent": {
2320
-
2321
- },
2322
- "cascadeDown": {
2323
- "options": [
2324
- {
2325
- "_default": false,
2326
- "children": [
2327
- {
2328
- "_default": false,
2329
- "children": [
2330
- {
2331
- "_default": false,
2332
- "label": "级联3",
2333
- "relationItems": [
2284
+ ],
2285
+ "value":"18:00",
2286
+ "key":"endtime",
2287
+ "required":true
2288
+ },
2289
+ {
2290
+ "entityName":[
2334
2291
 
2335
2292
  ],
2336
- "value": "级联3"
2337
- }
2338
- ],
2339
- "label": "级联2",
2340
- "relationItems": [
2341
-
2342
- ],
2343
- "value": "级联2"
2344
- }
2345
- ],
2346
- "label": "级联1",
2347
- "relationItems": [
2293
+ "value":"测试",
2294
+ "key":"reason",
2295
+ "required":true
2296
+ },
2297
+ {
2298
+ "entityName":[
2348
2299
 
2349
- ],
2350
- "value": "级联1",
2351
- "requiredItems": [
2300
+ ],
2301
+ "value":"OA-001",
2302
+ "key":"businessId",
2303
+ "required":true
2304
+ },
2305
+ {
2306
+ "entityName":[
2352
2307
 
2308
+ ],
2309
+ "value":"5",
2310
+ "key":"hour",
2311
+ "required":true
2312
+ }
2353
2313
  ]
2354
- }
2355
- ]
2356
- }
2357
- },
2358
- "createTime": null,
2359
- "updateTime": null,
2360
- "required": null,
2361
- "workOrderFieldId": "9be4636de4ca49a6bbea56e618b786d2"
2362
- },
2363
- "value": "",
2364
- "display": true,
2365
- "required": false,
2366
- "editable": null,
2367
- "checkText": null,
2368
- "checkImage": null,
2369
- "checkAttachment": null
2370
- },
2371
- {
2372
- "fieldId": "bc60066811c743e8aeb7bbaacaa8edbc",
2373
- "paramName": "fieldValue.bc60066811c743e8aeb7bbaacaa8edbc",
2374
- "formField": {
2375
- "id": null,
2376
- "name": "时间日期",
2377
- "description": null,
2378
- "type": "TIME_PICKER",
2379
- "deleted": null,
2380
- "lastOperatorId": null,
2381
- "mainId": null,
2382
- "extInfo": {
2383
- "isDelete": true,
2384
- "autoInput": {
2385
- "enable": false,
2386
- "rule": {
2387
- "handler": "",
2388
- "exp": "",
2389
- "type": "reg"
2390
- },
2391
- "source": [
2392
-
2393
- ]
2394
- },
2395
- "pattern": "",
2396
- "mold": "DATE",
2397
- "range": {
2398
- "start": "",
2399
- "end": ""
2400
- },
2401
- "dataTimePattern": "yyyy-MM-dd",
2402
- "placeholder": "请选择"
2403
- },
2404
- "createTime": null,
2405
- "updateTime": null,
2406
- "required": null,
2407
- "workOrderFieldId": "bc60066811c743e8aeb7bbaacaa8edbc"
2408
- },
2409
- "value": "",
2410
- "display": true,
2411
- "required": false,
2412
- "editable": null,
2413
- "checkText": null,
2414
- "checkImage": null,
2415
- "checkAttachment": null
2416
- },
2417
- {
2418
- "fieldId": "8ce0df1696244000a2cc6838f5eaf762",
2419
- "paramName": "fieldValue.8ce0df1696244000a2cc6838f5eaf762",
2420
- "formField": {
2421
- "id": null,
2422
- "name": "图片",
2423
- "description": null,
2424
- "type": "IMAGE",
2425
- "deleted": null,
2426
- "lastOperatorId": null,
2427
- "mainId": null,
2428
- "extInfo": {
2429
- "watermark": {
2430
- "enable": false,
2431
- "text": ""
2432
- },
2433
- "isDelete": true,
2434
- "autoInput": {
2435
- "enable": false,
2436
- "rule": {
2437
- "handler": "",
2438
- "exp": "",
2439
- "type": "reg"
2440
- },
2441
- "source": [
2442
-
2443
- ]
2444
- },
2445
- "limit": "1",
2446
- "range": {
2447
- "start": "",
2448
- "end": ""
2449
- },
2450
- "placeholder": "请选择"
2451
- },
2452
- "createTime": null,
2453
- "updateTime": null,
2454
- "required": null,
2455
- "workOrderFieldId": "8ce0df1696244000a2cc6838f5eaf762"
2456
- },
2457
- "value": "",
2458
- "display": true,
2459
- "required": false,
2460
- "editable": null,
2461
- "checkText": null,
2462
- "checkImage": null,
2463
- "checkAttachment": null
2464
- },
2465
- {
2466
- "fieldId": "8111d974d5af40f1b0353d5fb18c2098",
2467
- "paramName": "fieldValue.8111d974d5af40f1b0353d5fb18c2098",
2468
- "formField": {
2469
- "id": null,
2470
- "name": "视频",
2471
- "description": null,
2472
- "type": "VIDEO",
2473
- "deleted": null,
2474
- "lastOperatorId": null,
2475
- "mainId": null,
2476
- "extInfo": {
2477
- "watermark": {
2478
- "enable": false,
2479
- "text": ""
2480
- },
2481
- "isDelete": true,
2482
- "autoInput": {
2483
- "enable": false,
2484
- "rule": {
2485
- "handler": "",
2486
- "exp": "",
2487
- "type": "reg"
2488
- },
2489
- "source": [
2490
-
2491
- ]
2492
- },
2493
- "limit": "1",
2494
- "range": {
2495
- "start": "",
2496
- "end": ""
2497
- },
2498
- "placeholder": "请选择"
2499
- },
2500
- "createTime": null,
2501
- "updateTime": null,
2502
- "required": null,
2503
- "workOrderFieldId": "8111d974d5af40f1b0353d5fb18c2098"
2504
- },
2505
- "value": "",
2506
- "display": true,
2507
- "required": false,
2508
- "editable": null,
2509
- "checkText": null,
2510
- "checkImage": null,
2511
- "checkAttachment": null
2512
- },
2513
- {
2514
- "fieldId": "12b77f62db1c497c9ab1acbf926865db",
2515
- "paramName": "fieldValue.12b77f62db1c497c9ab1acbf926865db",
2516
- "formField": {
2517
- "id": null,
2518
- "name": "附件",
2519
- "description": null,
2520
- "type": "ATTACHMENT",
2521
- "deleted": null,
2522
- "lastOperatorId": null,
2523
- "mainId": null,
2524
- "extInfo": {
2525
- "watermark": {
2526
- "enable": false,
2527
- "text": ""
2528
- },
2529
- "isDelete": true,
2530
- "autoInput": {
2531
- "enable": false,
2532
- "rule": {
2533
- "handler": "",
2534
- "exp": "",
2535
- "type": "reg"
2536
- },
2537
- "source": [
2538
-
2539
- ]
2540
- },
2541
- "limit": "4",
2542
- "range": {
2543
- "start": "",
2544
- "end": ""
2545
- },
2546
- "placeholder": "请选择"
2547
- },
2548
- "createTime": null,
2549
- "updateTime": null,
2550
- "required": null,
2551
- "workOrderFieldId": "12b77f62db1c497c9ab1acbf926865db"
2552
- },
2553
- "value": "",
2554
- "display": true,
2555
- "required": false,
2556
- "editable": null,
2557
- "checkText": null,
2558
- "checkImage": null,
2559
- "checkAttachment": null
2560
- },
2561
- {
2562
- "fieldId": "f7b90668eade4002a9fb50440daa7583",
2563
- "paramName": "fieldValue.f7b90668eade4002a9fb50440daa7583",
2564
- "formField": {
2565
- "id": null,
2566
- "name": "聊天记录",
2567
- "description": null,
2568
- "type": "CHAT_RECORD",
2569
- "deleted": null,
2570
- "lastOperatorId": null,
2571
- "mainId": null,
2572
- "extInfo": {
2573
- "visibleWithoutPermission": true,
2574
- "isDelete": true,
2575
- "autoInput": {
2576
- "enable": false,
2577
- "rule": {
2578
- "handler": "",
2579
- "exp": "",
2580
- "type": "reg"
2581
- },
2582
- "source": [
2583
-
2584
- ]
2585
- },
2586
- "range": {
2587
- "start": "",
2588
- "end": ""
2589
- },
2590
- "disabled": false
2591
- },
2592
- "createTime": null,
2593
- "updateTime": null,
2594
- "required": null,
2595
- "workOrderFieldId": "f7b90668eade4002a9fb50440daa7583"
2596
- },
2597
- "value": "",
2598
- "display": true,
2599
- "required": false,
2600
- "editable": null,
2601
- "checkText": null,
2602
- "checkImage": null,
2603
- "checkAttachment": null
2314
+ }
2315
+ }
2604
2316
  }
2605
- ]
2606
- }
2607
2317
  },
2608
2318
  formList3: {
2609
2319
  formActionId: '13',