@newview/ui 1.1.83 → 1.1.85

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newview/ui",
3
- "version": "1.1.83",
3
+ "version": "1.1.85",
4
4
  "author": "newview",
5
5
  "type": "module",
6
6
  "main": "./dist/newview-ui.umd.cjs",
@@ -45,26 +45,26 @@ export interface IconSelectProp {
45
45
  onChange?: (event?: any, item?: ComFormItem) => any;
46
46
  }
47
47
 
48
- export interface mileProp{
48
+ export interface mileProp {
49
49
  /**
50
50
  * 是否只读
51
51
  */
52
- readonly?:Boolean
53
-
52
+ readonly?: Boolean
53
+
54
54
  /**
55
55
  * 桩号显示前缀 K、ZK、YK
56
56
  */
57
- prefix?:String
57
+ prefix?: String
58
58
 
59
59
  /**
60
60
  * 占位文本
61
61
  */
62
62
  placeholder?: string;
63
-
63
+
64
64
  /**
65
65
  * 桩号发生改变时触发
66
66
  */
67
- onChange?: (param:{number:string,mile:string}) => any;
67
+ onChange?: (param: { number: string, mile: string }) => any;
68
68
  }
69
69
  /**
70
70
  * 数据转换参数
@@ -344,10 +344,10 @@ export interface InputProp {
344
344
  */
345
345
  onEnter?: (event?: any, item?: ComFormItem) => any;
346
346
 
347
- /**
348
- * append点击事件
349
- */
350
- onTextClick?: (event?: any, item?: ComFormItem) => any;
347
+ /**
348
+ * append点击事件
349
+ */
350
+ onTextClick?: (event?: any, item?: ComFormItem) => any;
351
351
 
352
352
  /**
353
353
  * 设置 icon 属性后,点击图标时触发
@@ -1524,92 +1524,92 @@ export interface ColorPickerProp {
1524
1524
  /**
1525
1525
  * 文件上传参数
1526
1526
  */
1527
- export interface uploadFileProp{
1527
+ export interface uploadFileProp {
1528
1528
  /**
1529
1529
  * 是否多选
1530
1530
  */
1531
- multiple?:boolean;
1531
+ multiple?: boolean;
1532
1532
  /**
1533
1533
  * 分组
1534
1534
  */
1535
- groups?:Array<string>
1535
+ groups?: Array<string>
1536
1536
  /**
1537
1537
  * 是否压缩
1538
1538
  */
1539
- isCompress?:Boolean
1539
+ isCompress?: Boolean
1540
1540
  /**
1541
1541
  * 允许上传格式
1542
1542
  */
1543
- format?:Array<string>
1543
+ format?: Array<string>
1544
1544
  /**
1545
1545
  * 文件大小限制,单位 kb
1546
1546
  */
1547
- maxSize?:Number
1547
+ maxSize?: Number
1548
1548
  /**
1549
1549
  * 单文件
1550
1550
  */
1551
- single?:Boolean
1551
+ single?: Boolean
1552
1552
  /**
1553
1553
  * 空文件时显示信息
1554
1554
  */
1555
- nullMsg?:String
1555
+ nullMsg?: String
1556
1556
  /**
1557
1557
  * 是否只读
1558
1558
  */
1559
- readonly?:Boolean
1559
+ readonly?: Boolean
1560
1560
 
1561
1561
  /** 限制附件上传的数量 */
1562
- uploadQuantity?:Number
1562
+ uploadQuantity?: Number
1563
1563
 
1564
1564
  /** 是否显示文件名称 */
1565
- isShowFileName?:Boolean
1566
-
1565
+ isShowFileName?: Boolean
1566
+
1567
1567
  }
1568
1568
  /**
1569
1569
  * 文件列表上传参数
1570
1570
  */
1571
- export interface uploadFileListProp{
1572
- /** 是否开启分页 */
1573
- isOpenPagination?: boolean;
1574
- /** 分页的条数 */
1575
- pageSize?: Number;
1576
- /**
1577
- * 是否多选
1578
- */
1579
- multiple?:boolean;
1580
- /**
1581
- * 分组
1582
- */
1583
- groups?:Array<string>
1584
- /**
1585
- * 是否压缩
1586
- */
1587
- isCompress?:Boolean
1588
- /**
1589
- * 允许上传格式
1590
- */
1591
- format?:Array<string>
1592
- /**
1593
- * 文件大小限制,单位 kb
1594
- */
1595
- maxSize?:Number
1596
- /**
1597
- * 单文件
1598
- */
1599
- single?:Boolean
1600
- /**
1601
- * 空文件时显示信息
1602
- */
1603
- nullMsg?:String
1604
- /**
1605
- * 是否只读
1606
- */
1607
- readonly?:Boolean
1571
+ export interface uploadFileListProp {
1572
+ /** 是否开启分页 */
1573
+ isOpenPagination?: boolean;
1574
+ /** 分页的条数 */
1575
+ pageSize?: Number;
1576
+ /**
1577
+ * 是否多选
1578
+ */
1579
+ multiple?: boolean;
1580
+ /**
1581
+ * 分组
1582
+ */
1583
+ groups?: Array<string>
1584
+ /**
1585
+ * 是否压缩
1586
+ */
1587
+ isCompress?: Boolean
1588
+ /**
1589
+ * 允许上传格式
1590
+ */
1591
+ format?: Array<string>
1592
+ /**
1593
+ * 文件大小限制,单位 kb
1594
+ */
1595
+ maxSize?: Number
1596
+ /**
1597
+ * 单文件
1598
+ */
1599
+ single?: Boolean
1600
+ /**
1601
+ * 空文件时显示信息
1602
+ */
1603
+ nullMsg?: String
1604
+ /**
1605
+ * 是否只读
1606
+ */
1607
+ readonly?: Boolean
1608
1608
  }
1609
1609
  /**
1610
1610
  * 富文本配置
1611
1611
  */
1612
- export interface textEditorProp{
1612
+ export interface textEditorProp {
1613
1613
  /**
1614
1614
  * 文本高度
1615
1615
  */
@@ -1621,39 +1621,39 @@ export interface textEditorProp{
1621
1621
  /**
1622
1622
  * 是否只读
1623
1623
  */
1624
- readonly?:Boolean
1624
+ readonly?: Boolean
1625
1625
  }
1626
1626
 
1627
1627
  /**
1628
1628
  * 字典项配置
1629
1629
  */
1630
- export interface dicSelProp{
1630
+ export interface dicSelProp {
1631
1631
  /**
1632
1632
  * 是否只读
1633
1633
  */
1634
- readonly?:Boolean
1634
+ readonly?: Boolean
1635
1635
  /**
1636
1636
  * 字典code
1637
1637
  */
1638
- code?:String
1638
+ code?: String
1639
1639
  /**
1640
1640
  * 平台Id
1641
1641
  */
1642
- platformId?:Number
1642
+ platformId?: Number
1643
1643
  }
1644
1644
 
1645
1645
  /**
1646
1646
  * 构件类别选择参数
1647
1647
  */
1648
- export interface structureTypeProp{
1648
+ export interface structureTypeProp {
1649
1649
  /**
1650
1650
  * 是否只读
1651
1651
  */
1652
- readonly?:Boolean
1652
+ readonly?: Boolean
1653
1653
  /**
1654
1654
  * 是否多选
1655
1655
  */
1656
- multiple?:boolean;
1656
+ multiple?: boolean;
1657
1657
 
1658
1658
  }
1659
1659
 
@@ -1664,27 +1664,27 @@ type StructureInstanceSelType = 1 | 2
1664
1664
  /**
1665
1665
  * 构件选择参数
1666
1666
  */
1667
- export interface structureProp{
1667
+ export interface structureProp {
1668
1668
  /**
1669
1669
  * 是否只读
1670
1670
  */
1671
- readonly?:Boolean
1671
+ readonly?: Boolean
1672
1672
  /**
1673
1673
  * 是否多选
1674
1674
  */
1675
- multiple?:boolean;
1675
+ multiple?: boolean;
1676
1676
  /**
1677
1677
  * 构件选择类别 1:单位工程 2:构件
1678
1678
  */
1679
- selType?:StructureInstanceSelType;
1679
+ selType?: StructureInstanceSelType;
1680
1680
  /**
1681
1681
  * 创建机构Id(传入则只查该机构划分的构件)
1682
1682
  */
1683
- businessId?:Number;
1683
+ businessId?: Number;
1684
1684
  /**
1685
1685
  * 构件选择改变
1686
1686
  */
1687
- onChange?: (Ids:any,data:any) => any;
1687
+ onChange?: (Ids: any, data: any) => any;
1688
1688
 
1689
1689
  }
1690
1690
 
@@ -1692,31 +1692,36 @@ export interface structureProp{
1692
1692
  * 签字类型 0:签字 1:盖章
1693
1693
  */
1694
1694
  type signType = 0 | 1
1695
- export interface signProp{
1695
+ export interface signProp {
1696
1696
  /**
1697
1697
  * 是否只读
1698
1698
  */
1699
- readonly?:Boolean
1699
+ readonly?: Boolean
1700
1700
  /**
1701
1701
  * 验章内容
1702
1702
  */
1703
- signContent?:string;
1703
+ signContent?: string;
1704
1704
  /**
1705
1705
  * 签字类型 0:签字 1:盖章
1706
1706
  */
1707
- signType?:signType;
1707
+ signType?: signType;
1708
1708
  /**
1709
1709
  * 是否使用假验章
1710
1710
  */
1711
- isFakeVerifySign?:Boolean;
1711
+ isFakeVerifySign?: Boolean;
1712
+ /**
1713
+ * 是否使用机构签章
1714
+ */
1715
+ isInstitutionSign?: Boolean;
1716
+
1712
1717
 
1713
1718
  /**
1714
1719
  * 签字成功
1715
1720
  * @param event
1716
1721
  * @returns
1717
1722
  */
1718
- onSignSuccess?: (event?:{result,img}) => any;
1719
-
1723
+ onSignSuccess?: (event?: { result, img }) => any;
1724
+
1720
1725
  }
1721
1726
 
1722
1727
  /**
@@ -1843,7 +1848,7 @@ export interface ComFormItem {
1843
1848
  /**
1844
1849
  * 桩号填写参数
1845
1850
  */
1846
- mileProp?:mileProp;
1851
+ mileProp?: mileProp;
1847
1852
 
1848
1853
  /**
1849
1854
  * 对应表单域 model 里的字段
@@ -1888,34 +1893,34 @@ export interface ComFormItem {
1888
1893
  /**
1889
1894
  * 附件上传参数
1890
1895
  */
1891
- uploadFileProp?:uploadFileProp,
1896
+ uploadFileProp?: uploadFileProp,
1892
1897
 
1893
1898
  /**
1894
1899
  * 附件列表上传参数
1895
1900
  */
1896
- uploadFileListProp?:uploadFileListProp,
1901
+ uploadFileListProp?: uploadFileListProp,
1897
1902
 
1898
1903
  /**
1899
1904
  * 富文本参数
1900
1905
  */
1901
- textEditorProp?:textEditorProp,
1906
+ textEditorProp?: textEditorProp,
1902
1907
 
1903
1908
  /**
1904
1909
  * 字典项参数
1905
1910
  */
1906
- dicSelProp?:dicSelProp
1911
+ dicSelProp?: dicSelProp
1907
1912
  /**
1908
1913
  * 构件类别选择参数
1909
1914
  */
1910
- structureTypeProp?:structureTypeProp
1915
+ structureTypeProp?: structureTypeProp
1911
1916
  /**
1912
1917
  * 构件选择参数
1913
1918
  */
1914
- structureProp?:structureProp
1919
+ structureProp?: structureProp
1915
1920
  /**
1916
1921
  * CA签章参数
1917
1922
  */
1918
- signProp?: signProp;
1923
+ signProp?: signProp;
1919
1924
  /**
1920
1925
  * 标签点击事件
1921
1926
  */
package/types/Grid.d.ts CHANGED
@@ -896,6 +896,16 @@ export declare class GridInstance extends BaseInstance {
896
896
  * @param footerData
897
897
  */
898
898
  setFooterData(footerData:Array<any>): void
899
+
900
+
901
+ /**
902
+ * 导出excel
903
+ * @param exportDatas
904
+ * @param fileName
905
+ * @param merges
906
+ * @param style
907
+ */
908
+ exportExcel(exportDatas,fileName,merges,style): void
899
909
  }
900
910
  /**
901
911
  * 正在执行方法中遮罩配置
@@ -837,6 +837,21 @@ export declare class GridInstanceJava extends BaseInstance {
837
837
  * @param _queryWrapper
838
838
  */
839
839
  loadDataByHeaderFilter(_queryWrapper: QueryWrapper): void;
840
+ /**
841
+ * 表尾数据赋值
842
+ * @param footerData
843
+ */
844
+ setFooterData(footerData:Array<any>): void
845
+
846
+
847
+ /**
848
+ * 导出excel
849
+ * @param exportDatas
850
+ * @param fileName
851
+ * @param merges
852
+ * @param style
853
+ */
854
+ exportExcel(exportDatas,fileName,merges,style): void
840
855
  }
841
856
  /**
842
857
  * 正在执行方法中遮罩配置