liyu-pc-base 1.0.742 → 1.0.746

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.
@@ -17,7 +17,7 @@ import { t as te } from "../FieldRender2-DNYqXYK4.js";
17
17
  import { t as ne } from "../SearchRender-D_9ApeWu.js";
18
18
  import { t as re } from "../FormRender3-CqaVZ04D.js";
19
19
  import { _ as ie, a as M, b as ae, c as oe, d as se, f as ce, g as le, h as ue, i as de, l as fe, m as pe, o as me, p as he, r as ge, s as _e, t as ve, u as ye, v as be, y as xe } from "../tablePro-DuM63FdI.js";
20
- import { n as N, r as Se } from "../remotePages-5U8hVj_W.js";
20
+ import { n as N, r as Se } from "../remotePages-Cz8O29pr.js";
21
21
  import { t as Ce } from "../exceljs.min-CEhXwC_V.js";
22
22
  import { gridPageStateSymbol as we } from "./gridPage/utils.js";
23
23
  import { Fragment as Te, KeepAlive as Ee, Transition as De, computed as Oe, createBlock as P, createCommentVNode as ke, createElementBlock as F, createElementVNode as Ae, createTextVNode as je, createVNode as I, customRef as Me, defineComponent as Ne, getCurrentInstance as Pe, h as Fe, inject as Ie, isVNode as Le, markRaw as Re, mergeModels as ze, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeStyle as Ue, onActivated as We, onBeforeMount as Ge, onBeforeUnmount as Ke, onDeactivated as qe, onMounted as Je, onUnmounted as Ye, openBlock as L, provide as Xe, reactive as Ze, ref as R, render as Qe, renderList as $e, renderSlot as et, resolveComponent as z, resolveDynamicComponent as tt, shallowRef as nt, toDisplayString as rt, unref as it, useModel as at, useSlots as ot, vShow as st, watch as ct, watchEffect as lt, withCtx as B, withDirectives as ut, withModifiers as dt } from "vue";
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, r, t as i } from "../../remotePages-5U8hVj_W.js";
1
+ import { a as e, i as t, n, r, t as i } from "../../remotePages-Cz8O29pr.js";
2
2
  export { i as getConditionsHistory, n as getDefaultAndServerConfig, r as getPageConfig, t as getViewSettingsAndPageConfig, e as setConditionsHistory };
@@ -1536,6 +1536,512 @@ var Pe = /* @__PURE__ */ t({
1536
1536
  });
1537
1537
  }
1538
1538
  },
1539
+ {
1540
+ name: "批量添加组织",
1541
+ model_kind: "form",
1542
+ type: "dropdown",
1543
+ clazz: "primary",
1544
+ model_config: {
1545
+ form: {
1546
+ settings: {
1547
+ labelAlign: "right",
1548
+ layout: "vertical",
1549
+ col: []
1550
+ },
1551
+ dynamicFieldList: [{
1552
+ group_name: "分组名称",
1553
+ key: "4830ed2d089d3a277515df9b66f4c899",
1554
+ children: [{
1555
+ type: "remoteselectpro",
1556
+ label: "组织",
1557
+ disabled: !1,
1558
+ allowClear: !0,
1559
+ valueKey: "id",
1560
+ labelKeyType: 2,
1561
+ labelKey: "name",
1562
+ labelKeyList: ["name", "id"],
1563
+ labelSpace: "-",
1564
+ mode: "multiple",
1565
+ placeholder: "",
1566
+ show_search: !0,
1567
+ datasourceType: "remote",
1568
+ queryType: "advanced",
1569
+ searchConditions: [[{
1570
+ searchType: 3,
1571
+ field_name: "is_active",
1572
+ operator: "eq",
1573
+ value: [!0],
1574
+ format: "choices",
1575
+ class_name: "bool"
1576
+ }]],
1577
+ simpleSearchConditions: [{
1578
+ searchType: 3,
1579
+ field_name: "is_active",
1580
+ value: !0
1581
+ }],
1582
+ postUrl: "/org/query_organization_list",
1583
+ name: "org_ids",
1584
+ key: "79cadeeacffc3aca27fdd4359c68d791",
1585
+ span: 24,
1586
+ pull: 0,
1587
+ push: 0,
1588
+ offset: 0,
1589
+ table: {
1590
+ enable: !0,
1591
+ columns: [
1592
+ {
1593
+ title: "名称",
1594
+ dataIndex: "name",
1595
+ cellComponent: null,
1596
+ sorter: { multiple: 1 },
1597
+ autoHeight: !1,
1598
+ autoWidth: !1,
1599
+ width: 150,
1600
+ resizable: !0,
1601
+ ellipsis: !0
1602
+ },
1603
+ {
1604
+ title: "组织类型",
1605
+ dataIndex: "flag",
1606
+ cellComponent: null,
1607
+ sorter: { multiple: 1 },
1608
+ autoHeight: !1,
1609
+ autoWidth: !1,
1610
+ width: 150,
1611
+ resizable: !0,
1612
+ ellipsis: !0
1613
+ },
1614
+ {
1615
+ title: "是否可用",
1616
+ dataIndex: "is_active",
1617
+ cellComponent: "boolean",
1618
+ filterMultiple: !1,
1619
+ contentMap: {
1620
+ true: "可用",
1621
+ false: "禁用"
1622
+ },
1623
+ colorMap: {
1624
+ true: "green",
1625
+ false: "red"
1626
+ },
1627
+ filters: [{
1628
+ value: "true",
1629
+ text: "可用"
1630
+ }, {
1631
+ value: "false",
1632
+ text: "禁用"
1633
+ }],
1634
+ autoHeight: !1,
1635
+ autoWidth: !1,
1636
+ width: 150,
1637
+ resizable: !0,
1638
+ ellipsis: !0
1639
+ },
1640
+ {
1641
+ title: "创建时间",
1642
+ dataIndex: "create_time",
1643
+ cellComponent: "datetime",
1644
+ autoHeight: !1,
1645
+ autoWidth: !1,
1646
+ width: 150,
1647
+ resizable: !0,
1648
+ ellipsis: !0
1649
+ },
1650
+ {
1651
+ title: "更新时间",
1652
+ dataIndex: "update_time",
1653
+ cellComponent: "datetime",
1654
+ autoHeight: !1,
1655
+ autoWidth: !1,
1656
+ width: 150,
1657
+ resizable: !0,
1658
+ ellipsis: !0
1659
+ }
1660
+ ],
1661
+ search_config: [
1662
+ {
1663
+ field_name: "create_time",
1664
+ label: "创建时间",
1665
+ required_condition: null,
1666
+ allowClear: !0,
1667
+ placeholder: "请输入创建时间",
1668
+ showTime: !0,
1669
+ valueFormat: "YYYY-MM-DD HH:mm",
1670
+ dateFormat: "YYYY-MM-DD HH:mm",
1671
+ format: "input",
1672
+ operator_list: [
1673
+ "between",
1674
+ "gt",
1675
+ "lt",
1676
+ "eq",
1677
+ "gte",
1678
+ "lte",
1679
+ "notbetween",
1680
+ "_eq",
1681
+ "is_or_not_null",
1682
+ "not_eq"
1683
+ ],
1684
+ default_operator: "between",
1685
+ class_name: "datetime",
1686
+ autocomplete: "off",
1687
+ size: "small",
1688
+ type: "datepicker"
1689
+ },
1690
+ {
1691
+ field_name: "update_time",
1692
+ label: "更新时间",
1693
+ required_condition: null,
1694
+ allowClear: !0,
1695
+ placeholder: "请输入更新时间",
1696
+ showTime: !0,
1697
+ valueFormat: "YYYY-MM-DD HH:mm",
1698
+ dateFormat: "YYYY-MM-DD HH:mm",
1699
+ format: "input",
1700
+ operator_list: [
1701
+ "between",
1702
+ "gt",
1703
+ "lt",
1704
+ "eq",
1705
+ "gte",
1706
+ "lte",
1707
+ "notbetween",
1708
+ "_eq",
1709
+ "is_or_not_null",
1710
+ "not_eq"
1711
+ ],
1712
+ default_operator: "between",
1713
+ class_name: "datetime",
1714
+ autocomplete: "off",
1715
+ size: "small",
1716
+ type: "datepicker"
1717
+ },
1718
+ {
1719
+ field_name: "name",
1720
+ label: "名称",
1721
+ required_condition: null,
1722
+ allowClear: !0,
1723
+ placeholder: "请输入名称",
1724
+ format: "input",
1725
+ operator_list: [
1726
+ "eq",
1727
+ "contains",
1728
+ "startswith",
1729
+ "endswith",
1730
+ "not_eq",
1731
+ "is_or_not_blank_or_null",
1732
+ "icontains",
1733
+ "istartswith",
1734
+ "iendswith",
1735
+ "notcontains",
1736
+ "notstartswith",
1737
+ "notendswith",
1738
+ "noticontains",
1739
+ "notistartswith",
1740
+ "notiendswith"
1741
+ ],
1742
+ default_operator: "icontains",
1743
+ class_name: "str",
1744
+ inputType: "text",
1745
+ autocomplete: "off",
1746
+ type: "input"
1747
+ },
1748
+ {
1749
+ field_name: "flag",
1750
+ label: "组织类型",
1751
+ required_condition: null,
1752
+ allowClear: !0,
1753
+ placeholder: "请输入组织类型",
1754
+ format: "input",
1755
+ operator_list: [
1756
+ "eq",
1757
+ "contains",
1758
+ "startswith",
1759
+ "endswith",
1760
+ "not_eq",
1761
+ "is_or_not_blank_or_null",
1762
+ "icontains",
1763
+ "istartswith",
1764
+ "iendswith",
1765
+ "notcontains",
1766
+ "notstartswith",
1767
+ "notendswith",
1768
+ "noticontains",
1769
+ "notistartswith",
1770
+ "notiendswith"
1771
+ ],
1772
+ default_operator: "icontains",
1773
+ class_name: "str",
1774
+ inputType: "text",
1775
+ autocomplete: "off",
1776
+ type: "input"
1777
+ }
1778
+ ]
1779
+ },
1780
+ extendedFields: []
1781
+ }]
1782
+ }],
1783
+ model: { org_ids: [] },
1784
+ rules: {},
1785
+ options: {}
1786
+ },
1787
+ title: "批量添加组织",
1788
+ batch_api_fields: { menu_ids: "id" },
1789
+ ok_url: "/permission/batch_add_menu_orgs"
1790
+ }
1791
+ },
1792
+ {
1793
+ name: "批量删除组织",
1794
+ model_kind: "form",
1795
+ type: "dropdown",
1796
+ clazz: "primary",
1797
+ model_config: {
1798
+ form: {
1799
+ settings: {
1800
+ labelAlign: "right",
1801
+ layout: "vertical",
1802
+ col: []
1803
+ },
1804
+ dynamicFieldList: [{
1805
+ group_name: "分组名称",
1806
+ key: "4830ed2d089d3a277515df9b66f4c899",
1807
+ children: [{
1808
+ type: "remoteselectpro",
1809
+ label: "组织",
1810
+ disabled: !1,
1811
+ allowClear: !0,
1812
+ valueKey: "id",
1813
+ labelKeyType: 2,
1814
+ labelKey: "name",
1815
+ labelKeyList: ["name", "id"],
1816
+ labelSpace: "-",
1817
+ mode: "multiple",
1818
+ placeholder: "",
1819
+ show_search: !0,
1820
+ datasourceType: "remote",
1821
+ queryType: "advanced",
1822
+ searchConditions: [[{
1823
+ searchType: 3,
1824
+ field_name: "is_active",
1825
+ operator: "eq",
1826
+ value: [!0],
1827
+ format: "choices",
1828
+ class_name: "bool"
1829
+ }]],
1830
+ simpleSearchConditions: [{
1831
+ searchType: 3,
1832
+ field_name: "is_active",
1833
+ value: !0
1834
+ }],
1835
+ postUrl: "/org/query_organization_list",
1836
+ name: "org_ids",
1837
+ key: "79cadeeacffc3aca27fdd4359c68d791",
1838
+ span: 24,
1839
+ pull: 0,
1840
+ push: 0,
1841
+ offset: 0,
1842
+ table: {
1843
+ enable: !0,
1844
+ columns: [
1845
+ {
1846
+ title: "名称",
1847
+ dataIndex: "name",
1848
+ cellComponent: null,
1849
+ sorter: { multiple: 1 },
1850
+ autoHeight: !1,
1851
+ autoWidth: !1,
1852
+ width: 150,
1853
+ resizable: !0,
1854
+ ellipsis: !0
1855
+ },
1856
+ {
1857
+ title: "组织类型",
1858
+ dataIndex: "flag",
1859
+ cellComponent: null,
1860
+ sorter: { multiple: 1 },
1861
+ autoHeight: !1,
1862
+ autoWidth: !1,
1863
+ width: 150,
1864
+ resizable: !0,
1865
+ ellipsis: !0
1866
+ },
1867
+ {
1868
+ title: "是否可用",
1869
+ dataIndex: "is_active",
1870
+ cellComponent: "boolean",
1871
+ filterMultiple: !1,
1872
+ contentMap: {
1873
+ true: "可用",
1874
+ false: "禁用"
1875
+ },
1876
+ colorMap: {
1877
+ true: "green",
1878
+ false: "red"
1879
+ },
1880
+ filters: [{
1881
+ value: "true",
1882
+ text: "可用"
1883
+ }, {
1884
+ value: "false",
1885
+ text: "禁用"
1886
+ }],
1887
+ autoHeight: !1,
1888
+ autoWidth: !1,
1889
+ width: 150,
1890
+ resizable: !0,
1891
+ ellipsis: !0
1892
+ },
1893
+ {
1894
+ title: "创建时间",
1895
+ dataIndex: "create_time",
1896
+ cellComponent: "datetime",
1897
+ autoHeight: !1,
1898
+ autoWidth: !1,
1899
+ width: 150,
1900
+ resizable: !0,
1901
+ ellipsis: !0
1902
+ },
1903
+ {
1904
+ title: "更新时间",
1905
+ dataIndex: "update_time",
1906
+ cellComponent: "datetime",
1907
+ autoHeight: !1,
1908
+ autoWidth: !1,
1909
+ width: 150,
1910
+ resizable: !0,
1911
+ ellipsis: !0
1912
+ }
1913
+ ],
1914
+ search_config: [
1915
+ {
1916
+ field_name: "create_time",
1917
+ label: "创建时间",
1918
+ required_condition: null,
1919
+ allowClear: !0,
1920
+ placeholder: "请输入创建时间",
1921
+ showTime: !0,
1922
+ valueFormat: "YYYY-MM-DD HH:mm",
1923
+ dateFormat: "YYYY-MM-DD HH:mm",
1924
+ format: "input",
1925
+ operator_list: [
1926
+ "between",
1927
+ "gt",
1928
+ "lt",
1929
+ "eq",
1930
+ "gte",
1931
+ "lte",
1932
+ "notbetween",
1933
+ "_eq",
1934
+ "is_or_not_null",
1935
+ "not_eq"
1936
+ ],
1937
+ default_operator: "between",
1938
+ class_name: "datetime",
1939
+ autocomplete: "off",
1940
+ size: "small",
1941
+ type: "datepicker"
1942
+ },
1943
+ {
1944
+ field_name: "update_time",
1945
+ label: "更新时间",
1946
+ required_condition: null,
1947
+ allowClear: !0,
1948
+ placeholder: "请输入更新时间",
1949
+ showTime: !0,
1950
+ valueFormat: "YYYY-MM-DD HH:mm",
1951
+ dateFormat: "YYYY-MM-DD HH:mm",
1952
+ format: "input",
1953
+ operator_list: [
1954
+ "between",
1955
+ "gt",
1956
+ "lt",
1957
+ "eq",
1958
+ "gte",
1959
+ "lte",
1960
+ "notbetween",
1961
+ "_eq",
1962
+ "is_or_not_null",
1963
+ "not_eq"
1964
+ ],
1965
+ default_operator: "between",
1966
+ class_name: "datetime",
1967
+ autocomplete: "off",
1968
+ size: "small",
1969
+ type: "datepicker"
1970
+ },
1971
+ {
1972
+ field_name: "name",
1973
+ label: "名称",
1974
+ required_condition: null,
1975
+ allowClear: !0,
1976
+ placeholder: "请输入名称",
1977
+ format: "input",
1978
+ operator_list: [
1979
+ "eq",
1980
+ "contains",
1981
+ "startswith",
1982
+ "endswith",
1983
+ "not_eq",
1984
+ "is_or_not_blank_or_null",
1985
+ "icontains",
1986
+ "istartswith",
1987
+ "iendswith",
1988
+ "notcontains",
1989
+ "notstartswith",
1990
+ "notendswith",
1991
+ "noticontains",
1992
+ "notistartswith",
1993
+ "notiendswith"
1994
+ ],
1995
+ default_operator: "icontains",
1996
+ class_name: "str",
1997
+ inputType: "text",
1998
+ autocomplete: "off",
1999
+ type: "input"
2000
+ },
2001
+ {
2002
+ field_name: "flag",
2003
+ label: "组织类型",
2004
+ required_condition: null,
2005
+ allowClear: !0,
2006
+ placeholder: "请输入组织类型",
2007
+ format: "input",
2008
+ operator_list: [
2009
+ "eq",
2010
+ "contains",
2011
+ "startswith",
2012
+ "endswith",
2013
+ "not_eq",
2014
+ "is_or_not_blank_or_null",
2015
+ "icontains",
2016
+ "istartswith",
2017
+ "iendswith",
2018
+ "notcontains",
2019
+ "notstartswith",
2020
+ "notendswith",
2021
+ "noticontains",
2022
+ "notistartswith",
2023
+ "notiendswith"
2024
+ ],
2025
+ default_operator: "icontains",
2026
+ class_name: "str",
2027
+ inputType: "text",
2028
+ autocomplete: "off",
2029
+ type: "input"
2030
+ }
2031
+ ]
2032
+ },
2033
+ extendedFields: []
2034
+ }]
2035
+ }],
2036
+ model: { org_ids: [] },
2037
+ rules: {},
2038
+ options: {}
2039
+ },
2040
+ title: "批量删除组织",
2041
+ batch_api_fields: { menu_ids: "id" },
2042
+ ok_url: "/permission/batch_remove_menu_orgs"
2043
+ }
2044
+ },
1539
2045
  {
1540
2046
  name: "导出菜单",
1541
2047
  clazz: "primary",
@@ -1709,7 +2215,7 @@ var Pe = /* @__PURE__ */ t({
1709
2215
  dataIndex: "org_id_list",
1710
2216
  minWidth: 400,
1711
2217
  checked: !1,
1712
- cellComponent: "json",
2218
+ cellComponent: "json_tag",
1713
2219
  resizable: !0
1714
2220
  },
1715
2221
  {