liyu-pc-base 1.0.453 → 1.0.457
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/dist/components/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { t as l } from "../_plugin-vue_export-helper-D3hKq4w_.js";
|
|
|
5
5
|
import { t as u } from "../lodash-T_IuH2iQ.js";
|
|
6
6
|
import { getApiData as d } from "../api/api-model.js";
|
|
7
7
|
import { D as f, N as p, r as m } from "../function-CCxDERgN.js";
|
|
8
|
-
import { n as h } from "../remotePages-
|
|
8
|
+
import { n as h } from "../remotePages-BTRkqR-c.js";
|
|
9
9
|
import { t as g } from "../RemoteModal-jn_BF1Qc.js";
|
|
10
10
|
import { t as _ } from "../RemoteSelectPro-CC2UDjEo.js";
|
|
11
11
|
import { t as v } from "../JsonObj-Bq62nHPb.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, r as t, t as n } from "../../remotePages-
|
|
1
|
+
import { n as e, r as t, t as n } from "../../remotePages-BTRkqR-c.js";
|
|
2
2
|
export { n as getDefaultAndServerConfig, e as getPageConfig, t as getViewSettingsAndPageConfig };
|
|
@@ -7602,90 +7602,301 @@ async function Yl(e) {
|
|
|
7602
7602
|
var Xl = /* @__PURE__ */ e({
|
|
7603
7603
|
btn_list: () => Zl,
|
|
7604
7604
|
head_btn_list: () => Ql
|
|
7605
|
-
}), Zl = [
|
|
7606
|
-
|
|
7607
|
-
|
|
7608
|
-
|
|
7609
|
-
|
|
7610
|
-
|
|
7611
|
-
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
}
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7623
|
-
|
|
7624
|
-
|
|
7625
|
-
|
|
7605
|
+
}), Zl = [
|
|
7606
|
+
{
|
|
7607
|
+
name: "权限配置",
|
|
7608
|
+
type: "dropdown",
|
|
7609
|
+
is_show: ({ record: e }) => e.is_active,
|
|
7610
|
+
cb: ({ record: e }) => {
|
|
7611
|
+
w(A({
|
|
7612
|
+
visible: !0,
|
|
7613
|
+
role_id: e.id,
|
|
7614
|
+
aim_org_id: e.org_id,
|
|
7615
|
+
component: "AuthEditModal",
|
|
7616
|
+
ok: (e) => {}
|
|
7617
|
+
}));
|
|
7618
|
+
}
|
|
7619
|
+
},
|
|
7620
|
+
{
|
|
7621
|
+
name: "复制角色",
|
|
7622
|
+
type: "dropdown",
|
|
7623
|
+
is_show: ({ record: e }) => e.is_active,
|
|
7624
|
+
cb: ({ record: e, current_org: t }) => {
|
|
7625
|
+
w(A({
|
|
7626
|
+
open: !0,
|
|
7627
|
+
title: "复制角色",
|
|
7628
|
+
form: {
|
|
7629
|
+
settings: {
|
|
7630
|
+
name: "表单名称",
|
|
7631
|
+
labelAlign: "right",
|
|
7632
|
+
layout: "horizontal"
|
|
7633
|
+
},
|
|
7634
|
+
fields: [
|
|
7635
|
+
{
|
|
7636
|
+
type: "input",
|
|
7637
|
+
name: "name",
|
|
7638
|
+
label: "角色名称",
|
|
7639
|
+
disabled: !1,
|
|
7640
|
+
allowClear: !0,
|
|
7641
|
+
inputType: "text",
|
|
7642
|
+
maxlength: 100,
|
|
7643
|
+
defaultValue: "",
|
|
7644
|
+
placeholder: "请填写角色名称"
|
|
7645
|
+
},
|
|
7646
|
+
{
|
|
7647
|
+
type: "input",
|
|
7648
|
+
name: "flag",
|
|
7649
|
+
label: "角色标识",
|
|
7650
|
+
disabled: !1,
|
|
7651
|
+
allowClear: !0,
|
|
7652
|
+
inputType: "text",
|
|
7653
|
+
maxlength: 100,
|
|
7654
|
+
defaultValue: "",
|
|
7655
|
+
placeholder: "请填写角色标识"
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
type: "textarea",
|
|
7659
|
+
name: "desc",
|
|
7660
|
+
label: "角色描述",
|
|
7661
|
+
disabled: !1,
|
|
7662
|
+
allowClear: !0,
|
|
7663
|
+
defaultValue: "",
|
|
7664
|
+
placeholder: "请填写角色描述"
|
|
7665
|
+
}
|
|
7666
|
+
],
|
|
7667
|
+
rules: { name: [{
|
|
7668
|
+
required: !0,
|
|
7669
|
+
message: "角色名称必须填写"
|
|
7670
|
+
}] },
|
|
7671
|
+
model: A({
|
|
7672
|
+
org_id: t.id,
|
|
7673
|
+
name: "",
|
|
7674
|
+
desc: "",
|
|
7675
|
+
flag: ""
|
|
7676
|
+
})
|
|
7677
|
+
},
|
|
7678
|
+
options: {},
|
|
7679
|
+
ok: (n) => {
|
|
7680
|
+
Yl({
|
|
7681
|
+
...n,
|
|
7682
|
+
org_id: t.id,
|
|
7683
|
+
role_id: e.id
|
|
7684
|
+
}).then(() => {
|
|
7685
|
+
al.success("复制角色成功"), l().emit("refresh");
|
|
7686
|
+
});
|
|
7687
|
+
}
|
|
7688
|
+
}));
|
|
7689
|
+
}
|
|
7690
|
+
},
|
|
7691
|
+
{
|
|
7692
|
+
name: "批量改名",
|
|
7693
|
+
model_kind: "form",
|
|
7694
|
+
type: "dropdown",
|
|
7695
|
+
clazz: "primary",
|
|
7696
|
+
model_config: {
|
|
7697
|
+
ok_url: "permission/batch_rename_role",
|
|
7698
|
+
api_fields: { role_id: "id" },
|
|
7626
7699
|
form: {
|
|
7627
7700
|
settings: {
|
|
7628
|
-
name: "表单名称",
|
|
7629
7701
|
labelAlign: "right",
|
|
7630
|
-
layout: "
|
|
7702
|
+
layout: "vertical",
|
|
7703
|
+
col: []
|
|
7631
7704
|
},
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
|
|
7639
|
-
|
|
7640
|
-
|
|
7641
|
-
|
|
7642
|
-
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
|
|
7649
|
-
|
|
7650
|
-
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
7682
|
-
|
|
7683
|
-
|
|
7684
|
-
|
|
7705
|
+
dynamicFieldList: [{
|
|
7706
|
+
key: "80485d8f9a9a47b5747344eebc3b38e3",
|
|
7707
|
+
children: [
|
|
7708
|
+
{
|
|
7709
|
+
type: "input",
|
|
7710
|
+
label: "名称",
|
|
7711
|
+
disabled: !1,
|
|
7712
|
+
allowClear: !0,
|
|
7713
|
+
inputType: "text",
|
|
7714
|
+
addonAfter: null,
|
|
7715
|
+
addonBefore: null,
|
|
7716
|
+
prefix: null,
|
|
7717
|
+
suffix: null,
|
|
7718
|
+
prefixIcon: null,
|
|
7719
|
+
suffixIcon: null,
|
|
7720
|
+
addonBeforeIcon: null,
|
|
7721
|
+
addonAfterIcon: null,
|
|
7722
|
+
placeholder: "请填写名称",
|
|
7723
|
+
maxlength: 100,
|
|
7724
|
+
name: "name",
|
|
7725
|
+
key: "8d93a6f4d69e889d896ae4310e5ee7f0",
|
|
7726
|
+
span: 24,
|
|
7727
|
+
pull: 0,
|
|
7728
|
+
push: 0,
|
|
7729
|
+
offset: 0,
|
|
7730
|
+
queryType: "advanced"
|
|
7731
|
+
},
|
|
7732
|
+
{
|
|
7733
|
+
type: "select",
|
|
7734
|
+
label: "是否修改所有组织",
|
|
7735
|
+
disabled: !1,
|
|
7736
|
+
allowClear: !0,
|
|
7737
|
+
mode: "default",
|
|
7738
|
+
placeholder: "请选择是否修改所有组织",
|
|
7739
|
+
show_search: !1,
|
|
7740
|
+
valueKey: "value",
|
|
7741
|
+
labelKey: "name",
|
|
7742
|
+
name: "all_org",
|
|
7743
|
+
key: "0fe11e5b2a4a9c5a7d8a109580788c1d",
|
|
7744
|
+
span: 24,
|
|
7745
|
+
pull: 0,
|
|
7746
|
+
push: 0,
|
|
7747
|
+
offset: 0,
|
|
7748
|
+
queryType: "advanced"
|
|
7749
|
+
},
|
|
7750
|
+
{
|
|
7751
|
+
type: "remoteselectpro",
|
|
7752
|
+
label: "目标组织",
|
|
7753
|
+
disabled: !1,
|
|
7754
|
+
allowClear: !0,
|
|
7755
|
+
valueKey: "id",
|
|
7756
|
+
labelKeyType: 1,
|
|
7757
|
+
labelKey: "name",
|
|
7758
|
+
labelKeyList: [],
|
|
7759
|
+
labelSpace: "-",
|
|
7760
|
+
mode: "multiple",
|
|
7761
|
+
placeholder: "",
|
|
7762
|
+
show_search: !0,
|
|
7763
|
+
datasourceType: "remote",
|
|
7764
|
+
queryType: "advanced",
|
|
7765
|
+
searchConditions: [[{
|
|
7766
|
+
searchType: 3,
|
|
7767
|
+
field_name: "is_active",
|
|
7768
|
+
operator: "eq",
|
|
7769
|
+
value: [!0],
|
|
7770
|
+
format: "choices",
|
|
7771
|
+
class_name: "bool"
|
|
7772
|
+
}]],
|
|
7773
|
+
simpleSearchConditions: [{
|
|
7774
|
+
searchType: 3,
|
|
7775
|
+
field_name: "is_active",
|
|
7776
|
+
value: !0
|
|
7777
|
+
}],
|
|
7778
|
+
postUrl: "/org/query_organization_list",
|
|
7779
|
+
name: "org_ids",
|
|
7780
|
+
key: "7eae36ea0f07278138ce815838c6a10c",
|
|
7781
|
+
span: 24,
|
|
7782
|
+
pull: 0,
|
|
7783
|
+
push: 0,
|
|
7784
|
+
offset: 0,
|
|
7785
|
+
conditions: [[{
|
|
7786
|
+
watchKey: "all_org",
|
|
7787
|
+
class_name: "bool",
|
|
7788
|
+
operator: "eq",
|
|
7789
|
+
value: [!1]
|
|
7790
|
+
}]],
|
|
7791
|
+
table: {
|
|
7792
|
+
enable: !0,
|
|
7793
|
+
columns: [
|
|
7794
|
+
{
|
|
7795
|
+
title: "名称",
|
|
7796
|
+
dataIndex: "name",
|
|
7797
|
+
cellComponent: null,
|
|
7798
|
+
sorter: { multiple: 1 },
|
|
7799
|
+
autoHeight: !1,
|
|
7800
|
+
autoWidth: !0,
|
|
7801
|
+
width: 150,
|
|
7802
|
+
resizable: !0,
|
|
7803
|
+
ellipsis: !0
|
|
7804
|
+
},
|
|
7805
|
+
{
|
|
7806
|
+
title: "创建时间",
|
|
7807
|
+
dataIndex: "create_time",
|
|
7808
|
+
cellComponent: "datetime",
|
|
7809
|
+
autoHeight: !1,
|
|
7810
|
+
autoWidth: !1,
|
|
7811
|
+
width: 150,
|
|
7812
|
+
resizable: !0,
|
|
7813
|
+
ellipsis: !0
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
title: "更新时间",
|
|
7817
|
+
dataIndex: "update_time",
|
|
7818
|
+
cellComponent: "datetime",
|
|
7819
|
+
autoHeight: !1,
|
|
7820
|
+
autoWidth: !1,
|
|
7821
|
+
width: 150,
|
|
7822
|
+
resizable: !0,
|
|
7823
|
+
ellipsis: !0
|
|
7824
|
+
}
|
|
7825
|
+
],
|
|
7826
|
+
search_config: [{
|
|
7827
|
+
field_name: "name",
|
|
7828
|
+
label: "名称",
|
|
7829
|
+
required_condition: null,
|
|
7830
|
+
allowClear: !0,
|
|
7831
|
+
placeholder: "请输入名称",
|
|
7832
|
+
format: "input",
|
|
7833
|
+
operator_list: [
|
|
7834
|
+
"eq",
|
|
7835
|
+
"contains",
|
|
7836
|
+
"startswith",
|
|
7837
|
+
"endswith",
|
|
7838
|
+
"not_eq",
|
|
7839
|
+
"is_or_not_blank_or_null",
|
|
7840
|
+
"icontains",
|
|
7841
|
+
"istartswith",
|
|
7842
|
+
"iendswith",
|
|
7843
|
+
"notcontains",
|
|
7844
|
+
"notstartswith",
|
|
7845
|
+
"notendswith",
|
|
7846
|
+
"noticontains",
|
|
7847
|
+
"notistartswith",
|
|
7848
|
+
"notiendswith"
|
|
7849
|
+
],
|
|
7850
|
+
default_operator: "icontains",
|
|
7851
|
+
class_name: "str",
|
|
7852
|
+
inputType: "text",
|
|
7853
|
+
autocomplete: "off",
|
|
7854
|
+
type: "input"
|
|
7855
|
+
}]
|
|
7856
|
+
}
|
|
7857
|
+
}
|
|
7858
|
+
]
|
|
7859
|
+
}],
|
|
7860
|
+
model: {
|
|
7861
|
+
name: null,
|
|
7862
|
+
all_org: !0,
|
|
7863
|
+
org_ids: null
|
|
7864
|
+
},
|
|
7865
|
+
rules: {},
|
|
7866
|
+
options: {
|
|
7867
|
+
all_org: [{
|
|
7868
|
+
value: !0,
|
|
7869
|
+
valueType: "bool",
|
|
7870
|
+
name: "是"
|
|
7871
|
+
}, {
|
|
7872
|
+
value: !1,
|
|
7873
|
+
valueType: "bool",
|
|
7874
|
+
name: "否"
|
|
7875
|
+
}],
|
|
7876
|
+
select_62516: [
|
|
7877
|
+
{
|
|
7878
|
+
valueType: "int",
|
|
7879
|
+
value: 1,
|
|
7880
|
+
name: "选项1"
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
valueType: "int",
|
|
7884
|
+
value: 2,
|
|
7885
|
+
name: "选项2"
|
|
7886
|
+
},
|
|
7887
|
+
{
|
|
7888
|
+
valueType: "int",
|
|
7889
|
+
value: 3,
|
|
7890
|
+
name: "选项3"
|
|
7891
|
+
}
|
|
7892
|
+
]
|
|
7893
|
+
}
|
|
7685
7894
|
}
|
|
7686
|
-
}
|
|
7895
|
+
},
|
|
7896
|
+
order: 3,
|
|
7897
|
+
authority: "permission/batch_rename_role"
|
|
7687
7898
|
}
|
|
7688
|
-
|
|
7899
|
+
], Ql = [
|
|
7689
7900
|
{
|
|
7690
7901
|
name: "导出权限",
|
|
7691
7902
|
clazz: "primary",
|
|
@@ -7699,12 +7910,12 @@ var Xl = /* @__PURE__ */ e({
|
|
|
7699
7910
|
model_config: { component: "ImportRole" }
|
|
7700
7911
|
},
|
|
7701
7912
|
{
|
|
7702
|
-
name: "
|
|
7913
|
+
name: "同步角色",
|
|
7703
7914
|
model_kind: "custom_component",
|
|
7704
7915
|
type: "dropdown",
|
|
7705
7916
|
clazz: "primary",
|
|
7706
7917
|
model_config: {
|
|
7707
|
-
title: "
|
|
7918
|
+
title: "同步角色",
|
|
7708
7919
|
component: "SyncRole"
|
|
7709
7920
|
},
|
|
7710
7921
|
authority: "permission/sync_role"
|