@newview/permission-service 1.2.55 → 1.2.57
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/README.md +4 -0
- package/dist/permission-service.js +915 -235
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,11 @@ import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, Insti
|
|
|
10
10
|
import { BaseApi, QueryWrapper, request } from "@newview/infrastructure";
|
|
11
11
|
import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
|
|
12
12
|
import { SelectPlatform, BaseLogin, PersonSel, getUserSealImg } from "@newview/permission-ui";
|
|
13
|
-
import { SignTaskInfoApi } from "@newview/casign-api";
|
|
14
13
|
import { NvComFormUp } from "@newview/file-ui";
|
|
14
|
+
import { SignTaskInfoApi } from "@newview/casign-api";
|
|
15
15
|
import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
|
|
16
16
|
import { FileApi, OSSFileApi, FileInfoApi } from "@newview/fileservice-api";
|
|
17
|
+
import "@newview/tools";
|
|
17
18
|
import { NvMap } from "@newview/map";
|
|
18
19
|
class DBCenterBaseApi extends BaseApi {
|
|
19
20
|
get ProxyName() {
|
|
@@ -44,7 +45,7 @@ class CorePlatformConfigApi extends DBCenterBaseApi {
|
|
|
44
45
|
this.addHeader("tableName", "core_platform_config");
|
|
45
46
|
}
|
|
46
47
|
}
|
|
47
|
-
const propDefine$
|
|
48
|
+
const propDefine$o = {
|
|
48
49
|
linkParam: {
|
|
49
50
|
// 带入的参数
|
|
50
51
|
type: String,
|
|
@@ -56,12 +57,12 @@ const propDefine$n = {
|
|
|
56
57
|
default: "-"
|
|
57
58
|
}
|
|
58
59
|
};
|
|
59
|
-
const _sfc_main$
|
|
60
|
+
const _sfc_main$o = defineComponent({
|
|
60
61
|
name: "Platform",
|
|
61
62
|
components: {},
|
|
62
63
|
emits: [""],
|
|
63
64
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
64
|
-
props: propDefine$
|
|
65
|
+
props: propDefine$o,
|
|
65
66
|
setup(props, ctx) {
|
|
66
67
|
return new PlatformInstance$1(props, ctx);
|
|
67
68
|
}
|
|
@@ -555,13 +556,13 @@ const _export_sfc = (sfc, props) => {
|
|
|
555
556
|
}
|
|
556
557
|
return target;
|
|
557
558
|
};
|
|
558
|
-
const _hoisted_1$
|
|
559
|
+
const _hoisted_1$n = {
|
|
559
560
|
class: "nv-flex",
|
|
560
561
|
style: { "justify-content": "space-between" }
|
|
561
562
|
};
|
|
562
563
|
const _hoisted_2$c = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
563
564
|
const _hoisted_3$c = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
564
|
-
function _sfc_render$
|
|
565
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
565
566
|
const _component_NvList = resolveComponent("NvList");
|
|
566
567
|
const _component_Icon = resolveComponent("Icon");
|
|
567
568
|
const _component_Space = resolveComponent("Space");
|
|
@@ -583,7 +584,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
583
584
|
"show-arrow": true
|
|
584
585
|
}, {
|
|
585
586
|
footer: withCtx(() => [
|
|
586
|
-
createElementVNode("div", _hoisted_1$
|
|
587
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
587
588
|
createVNode(_component_Space, null, {
|
|
588
589
|
default: withCtx(() => [
|
|
589
590
|
createVNode(_component_Icon, {
|
|
@@ -779,8 +780,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
779
780
|
_: 1
|
|
780
781
|
});
|
|
781
782
|
}
|
|
782
|
-
const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
783
|
-
const propDefine$
|
|
783
|
+
const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-7e8dbe7a"]]);
|
|
784
|
+
const propDefine$n = {
|
|
784
785
|
linkParam: {
|
|
785
786
|
// 带入的参数
|
|
786
787
|
type: String,
|
|
@@ -792,12 +793,12 @@ const propDefine$m = {
|
|
|
792
793
|
default: "-"
|
|
793
794
|
}
|
|
794
795
|
};
|
|
795
|
-
const _sfc_main$
|
|
796
|
+
const _sfc_main$n = defineComponent({
|
|
796
797
|
name: "Module",
|
|
797
798
|
components: { SelectPlatform },
|
|
798
799
|
emits: ["change"],
|
|
799
800
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
800
|
-
props: propDefine$
|
|
801
|
+
props: propDefine$n,
|
|
801
802
|
setup(props, ctx) {
|
|
802
803
|
return new ModuleInstance$1(props, ctx);
|
|
803
804
|
}
|
|
@@ -938,7 +939,8 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
|
|
|
938
939
|
const dict = {
|
|
939
940
|
0: "路由",
|
|
940
941
|
1: "链接",
|
|
941
|
-
2: "低代码"
|
|
942
|
+
2: "低代码",
|
|
943
|
+
3: "静态图片"
|
|
942
944
|
};
|
|
943
945
|
return dict[params.row["LoadMode"]];
|
|
944
946
|
}
|
|
@@ -1113,7 +1115,8 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
|
|
|
1113
1115
|
datas: [
|
|
1114
1116
|
{ text: "路由", value: 0 },
|
|
1115
1117
|
{ text: "链接", value: 1 },
|
|
1116
|
-
{ text: "低代码", value:
|
|
1118
|
+
{ text: "低代码", value: 2 },
|
|
1119
|
+
{ text: "静态图片", value: 3 }
|
|
1117
1120
|
]
|
|
1118
1121
|
}
|
|
1119
1122
|
},
|
|
@@ -1623,7 +1626,7 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
|
|
|
1623
1626
|
};
|
|
1624
1627
|
const Module_vue_vue_type_style_index_0_scoped_e41c07fc_lang = "";
|
|
1625
1628
|
const _withScopeId$6 = (n) => (pushScopeId("data-v-e41c07fc"), n = n(), popScopeId(), n);
|
|
1626
|
-
const _hoisted_1$
|
|
1629
|
+
const _hoisted_1$m = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
1627
1630
|
const _hoisted_2$b = {
|
|
1628
1631
|
class: "import-module",
|
|
1629
1632
|
style: { "height": "650px", "position": "relative" }
|
|
@@ -1634,7 +1637,7 @@ const _hoisted_5$9 = { style: { "height": "calc(100% - 0px)" } };
|
|
|
1634
1637
|
const _hoisted_6$9 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
|
|
1635
1638
|
const _hoisted_7$7 = { style: { "height": "calc(100% - 0px)" } };
|
|
1636
1639
|
const _hoisted_8$7 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
|
|
1637
|
-
function _sfc_render$
|
|
1640
|
+
function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1638
1641
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
1639
1642
|
const _component_Radio = resolveComponent("Radio");
|
|
1640
1643
|
const _component_RadioGroup = resolveComponent("RadioGroup");
|
|
@@ -1722,7 +1725,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1722
1725
|
}, 8, ["loading", "onClick"])
|
|
1723
1726
|
]),
|
|
1724
1727
|
default: withCtx(() => [
|
|
1725
|
-
createElementVNode("div", _hoisted_1$
|
|
1728
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
1726
1729
|
createVNode(_component_Form, {
|
|
1727
1730
|
model: _ctx.moduleFormModel,
|
|
1728
1731
|
"label-width": 90
|
|
@@ -1857,8 +1860,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1857
1860
|
_: 1
|
|
1858
1861
|
});
|
|
1859
1862
|
}
|
|
1860
|
-
const Module = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1861
|
-
const propDefine$
|
|
1863
|
+
const Module = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-e41c07fc"]]);
|
|
1864
|
+
const propDefine$m = {
|
|
1862
1865
|
linkParam: {
|
|
1863
1866
|
// 带入的参数
|
|
1864
1867
|
type: String,
|
|
@@ -1870,12 +1873,12 @@ const propDefine$l = {
|
|
|
1870
1873
|
default: "-"
|
|
1871
1874
|
}
|
|
1872
1875
|
};
|
|
1873
|
-
const _sfc_main$
|
|
1876
|
+
const _sfc_main$m = defineComponent({
|
|
1874
1877
|
name: "Role",
|
|
1875
1878
|
components: { SelectPlatform },
|
|
1876
1879
|
emits: [""],
|
|
1877
1880
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
1878
|
-
props: propDefine$
|
|
1881
|
+
props: propDefine$m,
|
|
1879
1882
|
setup(props, ctx) {
|
|
1880
1883
|
return new RoleInstance$1(props, ctx);
|
|
1881
1884
|
}
|
|
@@ -2320,7 +2323,6 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
|
|
|
2320
2323
|
if (value) {
|
|
2321
2324
|
params.row.IsChk = value;
|
|
2322
2325
|
this.setRoleModuleIsChange(params.row);
|
|
2323
|
-
this.changeParentRoleModuleStatus(params.row);
|
|
2324
2326
|
}
|
|
2325
2327
|
}
|
|
2326
2328
|
}, () => chkList);
|
|
@@ -2606,13 +2608,13 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
|
|
|
2606
2608
|
isChange = true;
|
|
2607
2609
|
} else {
|
|
2608
2610
|
for (const item of data.OrgRoleOperates) {
|
|
2609
|
-
if (data.RoleOperates.filter((
|
|
2611
|
+
if (data.RoleOperates.filter((d2) => d2 == item).length == 0) {
|
|
2610
2612
|
isChange = true;
|
|
2611
2613
|
break;
|
|
2612
2614
|
}
|
|
2613
2615
|
}
|
|
2614
2616
|
for (const item of data.RoleOperates) {
|
|
2615
|
-
if (data.OrgRoleOperates.filter((
|
|
2617
|
+
if (data.OrgRoleOperates.filter((d2) => d2 == item).length == 0) {
|
|
2616
2618
|
isChange = true;
|
|
2617
2619
|
break;
|
|
2618
2620
|
}
|
|
@@ -2628,7 +2630,7 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
|
|
|
2628
2630
|
const datas = this.moduleGrid.value.getDatas();
|
|
2629
2631
|
const parentDatas = datas.filter((item) => item.Id == data.PId && item.IsChk == !data.IsChk);
|
|
2630
2632
|
for (const item of parentDatas) {
|
|
2631
|
-
item.IsChk = data.IsChk == false ? datas.filter((
|
|
2633
|
+
item.IsChk = data.IsChk == false ? datas.filter((d2) => d2.PId == item.Id && d2.IsChk == true).length > 0 : true;
|
|
2632
2634
|
this.setRoleModuleIsChange(item);
|
|
2633
2635
|
this.changeParentRoleModuleStatus(item);
|
|
2634
2636
|
}
|
|
@@ -2667,14 +2669,14 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
|
|
|
2667
2669
|
//#endregion 导入角色 END
|
|
2668
2670
|
};
|
|
2669
2671
|
const Role_vue_vue_type_style_index_0_scoped_a12a6a42_lang = "";
|
|
2670
|
-
const _hoisted_1$
|
|
2672
|
+
const _hoisted_1$l = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
|
|
2671
2673
|
const _hoisted_2$a = {
|
|
2672
2674
|
class: "import-role",
|
|
2673
2675
|
style: { "height": "610px", "position": "relative" }
|
|
2674
2676
|
};
|
|
2675
2677
|
const _hoisted_3$a = { style: { "width": "100%", "height": "100%" } };
|
|
2676
2678
|
const _hoisted_4$a = { style: { "height": "530px", "overflow-y": "auto" } };
|
|
2677
|
-
function _sfc_render$
|
|
2679
|
+
function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2678
2680
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
2679
2681
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
2680
2682
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -2740,7 +2742,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2740
2742
|
}, 8, ["loading", "onClick"])
|
|
2741
2743
|
]),
|
|
2742
2744
|
default: withCtx(() => [
|
|
2743
|
-
createElementVNode("div", _hoisted_1$
|
|
2745
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
2744
2746
|
createVNode(_component_NvGrid, {
|
|
2745
2747
|
ref: "moduleGrid",
|
|
2746
2748
|
option: _ctx.moduleGridOption
|
|
@@ -2874,8 +2876,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2874
2876
|
_: 1
|
|
2875
2877
|
});
|
|
2876
2878
|
}
|
|
2877
|
-
const Role = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2878
|
-
const propDefine$
|
|
2879
|
+
const Role = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a12a6a42"]]);
|
|
2880
|
+
const propDefine$l = {
|
|
2879
2881
|
linkParam: {
|
|
2880
2882
|
// 带入的参数
|
|
2881
2883
|
type: String,
|
|
@@ -2887,12 +2889,12 @@ const propDefine$k = {
|
|
|
2887
2889
|
default: "-"
|
|
2888
2890
|
}
|
|
2889
2891
|
};
|
|
2890
|
-
const _sfc_main$
|
|
2892
|
+
const _sfc_main$l = defineComponent({
|
|
2891
2893
|
name: "InstitutionType",
|
|
2892
2894
|
components: {},
|
|
2893
2895
|
emits: [""],
|
|
2894
2896
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
2895
|
-
props: propDefine$
|
|
2897
|
+
props: propDefine$l,
|
|
2896
2898
|
setup(props, ctx) {
|
|
2897
2899
|
return new InstitutionTypeInstance(props, ctx);
|
|
2898
2900
|
}
|
|
@@ -3094,8 +3096,8 @@ class InstitutionTypeInstance extends BaseInstance {
|
|
|
3094
3096
|
//#endregion 编辑机构类型 END
|
|
3095
3097
|
}
|
|
3096
3098
|
const InstitutionType_vue_vue_type_style_index_0_scoped_947fe129_lang = "";
|
|
3097
|
-
const _hoisted_1$
|
|
3098
|
-
function _sfc_render$
|
|
3099
|
+
const _hoisted_1$k = { style: { "height": "350px", "overflow-y": "auto" } };
|
|
3100
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3099
3101
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
3100
3102
|
const _component_NvBox = resolveComponent("NvBox");
|
|
3101
3103
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
@@ -3148,7 +3150,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3148
3150
|
}, 8, ["loading", "onClick"])
|
|
3149
3151
|
]),
|
|
3150
3152
|
default: withCtx(() => [
|
|
3151
|
-
createElementVNode("div", _hoisted_1$
|
|
3153
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
3152
3154
|
createVNode(_component_Form, {
|
|
3153
3155
|
ref: "refInstitutionTypeForm",
|
|
3154
3156
|
model: _ctx.institutionTypeFormModel,
|
|
@@ -3170,8 +3172,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3170
3172
|
_: 1
|
|
3171
3173
|
});
|
|
3172
3174
|
}
|
|
3173
|
-
const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3174
|
-
const propDefine$
|
|
3175
|
+
const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-947fe129"]]);
|
|
3176
|
+
const propDefine$k = {
|
|
3175
3177
|
linkParam: {
|
|
3176
3178
|
// 带入的参数
|
|
3177
3179
|
type: String,
|
|
@@ -3183,12 +3185,12 @@ const propDefine$j = {
|
|
|
3183
3185
|
default: "-"
|
|
3184
3186
|
}
|
|
3185
3187
|
};
|
|
3186
|
-
const _sfc_main$
|
|
3188
|
+
const _sfc_main$k = defineComponent({
|
|
3187
3189
|
name: "Institution",
|
|
3188
|
-
components: { SelectPlatform },
|
|
3190
|
+
components: { SelectPlatform, NvComFormUp },
|
|
3189
3191
|
emits: [""],
|
|
3190
3192
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
3191
|
-
props: propDefine$
|
|
3193
|
+
props: propDefine$k,
|
|
3192
3194
|
setup(props, ctx) {
|
|
3193
3195
|
return new InstitutionInstance$1(props, ctx);
|
|
3194
3196
|
}
|
|
@@ -3393,7 +3395,8 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3393
3395
|
OrderNo: 1,
|
|
3394
3396
|
LastUpdateUserId: 0,
|
|
3395
3397
|
LastUpdateUserName: "",
|
|
3396
|
-
LastUpdateDate: ""
|
|
3398
|
+
LastUpdateDate: "",
|
|
3399
|
+
token: this.utilities.getUniqueCode()
|
|
3397
3400
|
}));
|
|
3398
3401
|
__publicField(this, "institutionFormItems", reactive([
|
|
3399
3402
|
{ model: "InstitutionName", label: "机构名称", prop: "InstitutionName", type: "Input", span: 24, inputProp: { placeholder: "请输入机构名称" } },
|
|
@@ -3426,7 +3429,17 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3426
3429
|
}
|
|
3427
3430
|
},
|
|
3428
3431
|
{ model: "InstitutionCode", label: "机构编码", prop: "InstitutionCode", type: "Input", span: 24, inputProp: { placeholder: "请输入机构编码" } },
|
|
3429
|
-
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 }
|
|
3432
|
+
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 },
|
|
3433
|
+
{
|
|
3434
|
+
label: "签章",
|
|
3435
|
+
model: "token",
|
|
3436
|
+
prop: "token",
|
|
3437
|
+
type: "UploadFile",
|
|
3438
|
+
span: 24,
|
|
3439
|
+
uploadFileProp: {
|
|
3440
|
+
uploadQuantity: 1
|
|
3441
|
+
}
|
|
3442
|
+
}
|
|
3430
3443
|
]));
|
|
3431
3444
|
// 响应式方法 | xxx = () => {}
|
|
3432
3445
|
/**
|
|
@@ -3440,7 +3453,8 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3440
3453
|
InstitutionName: this.institutionFormModel.InstitutionName,
|
|
3441
3454
|
LastUpdateUserId: this.institutionFormModel.LastUpdateUserId,
|
|
3442
3455
|
LastUpdateUserName: this.institutionFormModel.LastUpdateUserName,
|
|
3443
|
-
LastUpdateDate: this.institutionFormModel.LastUpdateDate
|
|
3456
|
+
LastUpdateDate: this.institutionFormModel.LastUpdateDate,
|
|
3457
|
+
token: this.institutionFormModel.token
|
|
3444
3458
|
});
|
|
3445
3459
|
let result = this.utilities.parseApiResult(apiResult);
|
|
3446
3460
|
if (result <= 0) {
|
|
@@ -3897,6 +3911,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3897
3911
|
doEditInstitution(data) {
|
|
3898
3912
|
const user = this.storageInfo.getUser();
|
|
3899
3913
|
this.institutionFormModel.Id = data.Id;
|
|
3914
|
+
this.institutionFormModel.token = data.token;
|
|
3900
3915
|
this.institutionFormModel.EnterpriseId = data.EnterpriseId;
|
|
3901
3916
|
this.institutionFormModel.InstitutionPlatformId = data.InstitutionPlatformId;
|
|
3902
3917
|
this.institutionFormModel.InstitutionCode = data.InstitutionCode;
|
|
@@ -3915,7 +3930,9 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3915
3930
|
*/
|
|
3916
3931
|
doAddInstitution() {
|
|
3917
3932
|
const user = this.storageInfo.getUser();
|
|
3933
|
+
debugger;
|
|
3918
3934
|
this.institutionFormModel.Id = 0;
|
|
3935
|
+
this.institutionFormModel.token = this.utilities.getUniqueCode();
|
|
3919
3936
|
this.institutionFormModel.EnterpriseId = 0;
|
|
3920
3937
|
this.institutionFormModel.InstitutionPlatformId = 0;
|
|
3921
3938
|
this.institutionFormModel.InstitutionCode = "";
|
|
@@ -4092,8 +4109,8 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
4092
4109
|
}
|
|
4093
4110
|
//#endregion 绑定角色 END
|
|
4094
4111
|
};
|
|
4095
|
-
const
|
|
4096
|
-
const _hoisted_1$
|
|
4112
|
+
const Institution_vue_vue_type_style_index_0_scoped_9978b252_lang = "";
|
|
4113
|
+
const _hoisted_1$j = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
4097
4114
|
const _hoisted_2$9 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
4098
4115
|
const _hoisted_3$9 = {
|
|
4099
4116
|
class: "import-institution",
|
|
@@ -4102,7 +4119,7 @@ const _hoisted_3$9 = {
|
|
|
4102
4119
|
const _hoisted_4$9 = { style: { "width": "100%", "height": "100%" } };
|
|
4103
4120
|
const _hoisted_5$8 = { style: { "height": "calc(100%)" } };
|
|
4104
4121
|
const _hoisted_6$8 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
|
|
4105
|
-
function _sfc_render$
|
|
4122
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4106
4123
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
4107
4124
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
4108
4125
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -4110,7 +4127,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4110
4127
|
const _component_Spin = resolveComponent("Spin");
|
|
4111
4128
|
const _component_Button = resolveComponent("Button");
|
|
4112
4129
|
const _component_Space = resolveComponent("Space");
|
|
4113
|
-
const
|
|
4130
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
4114
4131
|
const _component_Form = resolveComponent("Form");
|
|
4115
4132
|
const _component_Modal = resolveComponent("Modal");
|
|
4116
4133
|
const _component_Option = resolveComponent("Option");
|
|
@@ -4172,7 +4189,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4172
4189
|
})
|
|
4173
4190
|
]),
|
|
4174
4191
|
default: withCtx(() => [
|
|
4175
|
-
createElementVNode("div", _hoisted_1$
|
|
4192
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
4176
4193
|
createVNode(_component_Tree, {
|
|
4177
4194
|
data: _ctx.institutionTree,
|
|
4178
4195
|
render: _ctx.renderContent,
|
|
@@ -4237,7 +4254,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4237
4254
|
"label-width": 90
|
|
4238
4255
|
}, {
|
|
4239
4256
|
default: withCtx(() => [
|
|
4240
|
-
createVNode(
|
|
4257
|
+
createVNode(_component_NvComFormUp, {
|
|
4241
4258
|
ref: "institutionComForm",
|
|
4242
4259
|
formModel: _ctx.institutionFormModel,
|
|
4243
4260
|
formItems: _ctx.institutionFormItems
|
|
@@ -4370,14 +4387,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4370
4387
|
_: 1
|
|
4371
4388
|
});
|
|
4372
4389
|
}
|
|
4373
|
-
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4374
|
-
const propDefine$
|
|
4375
|
-
const _sfc_main$
|
|
4390
|
+
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-9978b252"]]);
|
|
4391
|
+
const propDefine$j = {};
|
|
4392
|
+
const _sfc_main$j = defineComponent({
|
|
4376
4393
|
name: "LoginLog",
|
|
4377
4394
|
components: {},
|
|
4378
4395
|
emits: [""],
|
|
4379
4396
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4380
|
-
props: propDefine$
|
|
4397
|
+
props: propDefine$j,
|
|
4381
4398
|
setup(props, ctx) {
|
|
4382
4399
|
return new LoginLogInstance$1(props, ctx);
|
|
4383
4400
|
}
|
|
@@ -4482,18 +4499,18 @@ let LoginLogInstance$1 = class LoginLogInstance extends BaseInstance {
|
|
|
4482
4499
|
//#endregion 登录日志 END
|
|
4483
4500
|
};
|
|
4484
4501
|
const LoginLog_vue_vue_type_style_index_0_scoped_4e2e0184_lang = "";
|
|
4485
|
-
const _hoisted_1$
|
|
4486
|
-
function _sfc_render$
|
|
4502
|
+
const _hoisted_1$i = { class: "loginLog" };
|
|
4503
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4487
4504
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
4488
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4505
|
+
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
4489
4506
|
createVNode(_component_NvGrid, {
|
|
4490
4507
|
ref: "loginLogGrid",
|
|
4491
4508
|
option: _ctx.loginLogGridOption
|
|
4492
4509
|
}, null, 8, ["option"])
|
|
4493
4510
|
]);
|
|
4494
4511
|
}
|
|
4495
|
-
const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4496
|
-
const propDefine$
|
|
4512
|
+
const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-4e2e0184"]]);
|
|
4513
|
+
const propDefine$i = {
|
|
4497
4514
|
linkParam: {
|
|
4498
4515
|
// 带入的参数
|
|
4499
4516
|
type: String,
|
|
@@ -4505,12 +4522,12 @@ const propDefine$h = {
|
|
|
4505
4522
|
default: "-"
|
|
4506
4523
|
}
|
|
4507
4524
|
};
|
|
4508
|
-
const _sfc_main$
|
|
4525
|
+
const _sfc_main$i = defineComponent({
|
|
4509
4526
|
name: "Userinfor",
|
|
4510
4527
|
components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin, NvComFormUp },
|
|
4511
4528
|
emits: [""],
|
|
4512
4529
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4513
|
-
props: propDefine$
|
|
4530
|
+
props: propDefine$i,
|
|
4514
4531
|
setup(props, ctx) {
|
|
4515
4532
|
return new UserinforInstance$1(props, ctx);
|
|
4516
4533
|
}
|
|
@@ -5041,7 +5058,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5041
5058
|
let userRoles = this.utilities.parseApiResult(apiResult);
|
|
5042
5059
|
let insertRecords = [];
|
|
5043
5060
|
for (const item of chkDatas) {
|
|
5044
|
-
if (userRoles.findIndex((
|
|
5061
|
+
if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
|
|
5045
5062
|
insertRecords.push({
|
|
5046
5063
|
PlatformId: this.selectedPlatform.Id,
|
|
5047
5064
|
UserId: this.currentUser.Id,
|
|
@@ -5051,7 +5068,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5051
5068
|
}
|
|
5052
5069
|
let deleteRecords = [];
|
|
5053
5070
|
for (const item of userRoles) {
|
|
5054
|
-
if (chkDatas.findIndex((
|
|
5071
|
+
if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
|
|
5055
5072
|
deleteRecords.push(item.Id);
|
|
5056
5073
|
}
|
|
5057
5074
|
}
|
|
@@ -5748,7 +5765,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5748
5765
|
};
|
|
5749
5766
|
const Userinfor_vue_vue_type_style_index_0_scoped_3d0ba4ac_lang = "";
|
|
5750
5767
|
const _withScopeId$5 = (n) => (pushScopeId("data-v-3d0ba4ac"), n = n(), popScopeId(), n);
|
|
5751
|
-
const _hoisted_1$
|
|
5768
|
+
const _hoisted_1$h = { class: "instree-search" };
|
|
5752
5769
|
const _hoisted_2$8 = { class: "instree-list" };
|
|
5753
5770
|
const _hoisted_3$8 = { style: { "height": "774px", "overflow-y": "auto" } };
|
|
5754
5771
|
const _hoisted_4$8 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -5775,7 +5792,7 @@ const _hoisted_18$3 = {
|
|
|
5775
5792
|
key: 1,
|
|
5776
5793
|
class: "nv-c-v-center"
|
|
5777
5794
|
};
|
|
5778
|
-
function _sfc_render$
|
|
5795
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5779
5796
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
5780
5797
|
const _component_Tree = resolveComponent("Tree");
|
|
5781
5798
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -5825,7 +5842,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5825
5842
|
})
|
|
5826
5843
|
]),
|
|
5827
5844
|
default: withCtx(() => [
|
|
5828
|
-
createElementVNode("div", _hoisted_1$
|
|
5845
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
5829
5846
|
createVNode(_component_SelectPlatform, {
|
|
5830
5847
|
onSelect: _ctx.doChangePlatform,
|
|
5831
5848
|
width: "100%",
|
|
@@ -6238,8 +6255,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6238
6255
|
_: 1
|
|
6239
6256
|
});
|
|
6240
6257
|
}
|
|
6241
|
-
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6242
|
-
const propDefine$
|
|
6258
|
+
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-3d0ba4ac"]]);
|
|
6259
|
+
const propDefine$h = {
|
|
6243
6260
|
linkParam: {
|
|
6244
6261
|
// 带入的参数
|
|
6245
6262
|
type: String,
|
|
@@ -6251,12 +6268,12 @@ const propDefine$g = {
|
|
|
6251
6268
|
default: "-"
|
|
6252
6269
|
}
|
|
6253
6270
|
};
|
|
6254
|
-
const _sfc_main$
|
|
6271
|
+
const _sfc_main$h = defineComponent({
|
|
6255
6272
|
name: "UserinforSL",
|
|
6256
6273
|
components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin, NvComFormUp },
|
|
6257
6274
|
emits: [""],
|
|
6258
6275
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
6259
|
-
props: propDefine$
|
|
6276
|
+
props: propDefine$h,
|
|
6260
6277
|
setup(props, ctx) {
|
|
6261
6278
|
return new UserinforSLInstance$1(props, ctx);
|
|
6262
6279
|
}
|
|
@@ -6794,7 +6811,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
|
|
|
6794
6811
|
let userRoles = this.utilities.parseApiResult(apiResult);
|
|
6795
6812
|
let insertRecords = [];
|
|
6796
6813
|
for (const item of chkDatas) {
|
|
6797
|
-
if (userRoles.findIndex((
|
|
6814
|
+
if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
|
|
6798
6815
|
insertRecords.push({
|
|
6799
6816
|
PlatformId: this.selectedPlatform.Id,
|
|
6800
6817
|
UserId: this.currentUser.Id,
|
|
@@ -6804,7 +6821,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
|
|
|
6804
6821
|
}
|
|
6805
6822
|
let deleteRecords = [];
|
|
6806
6823
|
for (const item of userRoles) {
|
|
6807
|
-
if (chkDatas.findIndex((
|
|
6824
|
+
if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
|
|
6808
6825
|
deleteRecords.push(item.Id);
|
|
6809
6826
|
}
|
|
6810
6827
|
}
|
|
@@ -7619,7 +7636,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
|
|
|
7619
7636
|
};
|
|
7620
7637
|
const UserinforSL_vue_vue_type_style_index_0_scoped_f0eab966_lang = "";
|
|
7621
7638
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-f0eab966"), n = n(), popScopeId(), n);
|
|
7622
|
-
const _hoisted_1$
|
|
7639
|
+
const _hoisted_1$g = { class: "instree-search" };
|
|
7623
7640
|
const _hoisted_2$7 = { class: "instree-list" };
|
|
7624
7641
|
const _hoisted_3$7 = { style: { "height": "774px", "overflow-y": "auto" } };
|
|
7625
7642
|
const _hoisted_4$7 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -7651,7 +7668,7 @@ const _hoisted_20$1 = {
|
|
|
7651
7668
|
key: 1,
|
|
7652
7669
|
class: "nv-c-v-center"
|
|
7653
7670
|
};
|
|
7654
|
-
function _sfc_render$
|
|
7671
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7655
7672
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
7656
7673
|
const _component_Tree = resolveComponent("Tree");
|
|
7657
7674
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -7703,7 +7720,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7703
7720
|
})
|
|
7704
7721
|
]),
|
|
7705
7722
|
default: withCtx(() => [
|
|
7706
|
-
createElementVNode("div", _hoisted_1$
|
|
7723
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
7707
7724
|
createVNode(_component_SelectPlatform, {
|
|
7708
7725
|
onSelect: _ctx.doChangePlatform,
|
|
7709
7726
|
width: "100%",
|
|
@@ -8187,8 +8204,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8187
8204
|
_: 1
|
|
8188
8205
|
});
|
|
8189
8206
|
}
|
|
8190
|
-
const UserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8191
|
-
const propDefine$
|
|
8207
|
+
const UserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-f0eab966"]]);
|
|
8208
|
+
const propDefine$g = {
|
|
8192
8209
|
linkParam: {
|
|
8193
8210
|
// 带入的参数
|
|
8194
8211
|
type: String,
|
|
@@ -8200,12 +8217,12 @@ const propDefine$f = {
|
|
|
8200
8217
|
default: "-"
|
|
8201
8218
|
}
|
|
8202
8219
|
};
|
|
8203
|
-
const _sfc_main$
|
|
8220
|
+
const _sfc_main$g = defineComponent({
|
|
8204
8221
|
name: "Enterprise",
|
|
8205
8222
|
components: { SelectPlatform },
|
|
8206
8223
|
emits: [""],
|
|
8207
8224
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
8208
|
-
props: propDefine$
|
|
8225
|
+
props: propDefine$g,
|
|
8209
8226
|
setup(props, ctx) {
|
|
8210
8227
|
return new EnterpriseInstance$1(props, ctx);
|
|
8211
8228
|
}
|
|
@@ -8592,8 +8609,8 @@ let EnterpriseInstance$1 = class EnterpriseInstance extends BaseInstance {
|
|
|
8592
8609
|
//#endregion 业务逻辑 编辑企业信息 END
|
|
8593
8610
|
};
|
|
8594
8611
|
const Enterprise_vue_vue_type_style_index_0_scoped_58aa3e77_lang = "";
|
|
8595
|
-
const _hoisted_1$
|
|
8596
|
-
function _sfc_render$
|
|
8612
|
+
const _hoisted_1$f = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
8613
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8597
8614
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
8598
8615
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
8599
8616
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -8661,7 +8678,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8661
8678
|
}, 8, ["loading", "onClick"])) : createCommentVNode("", true)
|
|
8662
8679
|
]),
|
|
8663
8680
|
default: withCtx(() => [
|
|
8664
|
-
createElementVNode("div", _hoisted_1$
|
|
8681
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
8665
8682
|
createVNode(_component_Form, {
|
|
8666
8683
|
model: _ctx.enterpriseFormModel,
|
|
8667
8684
|
"label-width": 90
|
|
@@ -8684,8 +8701,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8684
8701
|
_: 1
|
|
8685
8702
|
});
|
|
8686
8703
|
}
|
|
8687
|
-
const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8688
|
-
const propDefine$
|
|
8704
|
+
const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-58aa3e77"]]);
|
|
8705
|
+
const propDefine$f = {
|
|
8689
8706
|
linkParam: {
|
|
8690
8707
|
// 带入的参数
|
|
8691
8708
|
type: String,
|
|
@@ -8697,14 +8714,14 @@ const propDefine$e = {
|
|
|
8697
8714
|
default: "-"
|
|
8698
8715
|
}
|
|
8699
8716
|
};
|
|
8700
|
-
const _sfc_main$
|
|
8717
|
+
const _sfc_main$f = defineComponent({
|
|
8701
8718
|
name: "Information",
|
|
8702
8719
|
components: {
|
|
8703
8720
|
NvComFormUp
|
|
8704
8721
|
},
|
|
8705
8722
|
emits: [""],
|
|
8706
8723
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
8707
|
-
props: propDefine$
|
|
8724
|
+
props: propDefine$f,
|
|
8708
8725
|
setup(props, ctx) {
|
|
8709
8726
|
return new InformationInstance(props, ctx);
|
|
8710
8727
|
}
|
|
@@ -9069,8 +9086,8 @@ class InformationInstance extends BaseInstance {
|
|
|
9069
9086
|
}
|
|
9070
9087
|
//#endregion 编辑信息 END
|
|
9071
9088
|
}
|
|
9072
|
-
const _hoisted_1$
|
|
9073
|
-
function _sfc_render$
|
|
9089
|
+
const _hoisted_1$e = { style: { "overflow-y": "auto" } };
|
|
9090
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9074
9091
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
9075
9092
|
const _component_NvBox = resolveComponent("NvBox");
|
|
9076
9093
|
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
@@ -9127,7 +9144,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9127
9144
|
}, 8, ["loading", "onClick"])
|
|
9128
9145
|
]),
|
|
9129
9146
|
default: withCtx(() => [
|
|
9130
|
-
createElementVNode("div", _hoisted_1$
|
|
9147
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
9131
9148
|
createVNode(_component_Form, {
|
|
9132
9149
|
ref: "refRoleForm",
|
|
9133
9150
|
model: _ctx.roleFormModel,
|
|
@@ -9149,8 +9166,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9149
9166
|
_: 1
|
|
9150
9167
|
});
|
|
9151
9168
|
}
|
|
9152
|
-
const Information = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9153
|
-
const propDefine$
|
|
9169
|
+
const Information = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
|
|
9170
|
+
const propDefine$e = {
|
|
9154
9171
|
linkParam: {
|
|
9155
9172
|
// 带入的参数
|
|
9156
9173
|
type: String,
|
|
@@ -9172,12 +9189,12 @@ const propDefine$d = {
|
|
|
9172
9189
|
default: "BD"
|
|
9173
9190
|
}
|
|
9174
9191
|
};
|
|
9175
|
-
const _sfc_main$
|
|
9192
|
+
const _sfc_main$e = defineComponent({
|
|
9176
9193
|
name: "GeneralConfiguration",
|
|
9177
9194
|
components: {},
|
|
9178
9195
|
emits: [""],
|
|
9179
9196
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
9180
|
-
props: propDefine$
|
|
9197
|
+
props: propDefine$e,
|
|
9181
9198
|
setup(props, ctx) {
|
|
9182
9199
|
return new GeneralConfigurationInstance(props, ctx);
|
|
9183
9200
|
}
|
|
@@ -9452,9 +9469,9 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9452
9469
|
}
|
|
9453
9470
|
let gridRes = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(this.nowRow.ProjectConfig)) : this.utilities.deepCopy(JSON.parse(this.nowRow.ConstructConfig));
|
|
9454
9471
|
gridRes.forEach((x) => {
|
|
9455
|
-
data.forEach((
|
|
9456
|
-
if (x.model ==
|
|
9457
|
-
Object.assign(x,
|
|
9472
|
+
data.forEach((s2) => {
|
|
9473
|
+
if (x.model == s2.model) {
|
|
9474
|
+
Object.assign(x, s2);
|
|
9458
9475
|
}
|
|
9459
9476
|
});
|
|
9460
9477
|
});
|
|
@@ -9489,9 +9506,9 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9489
9506
|
onOk: async () => {
|
|
9490
9507
|
let res = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(this.nowRow.ProjectConfig)) : this.utilities.deepCopy(JSON.parse(this.nowRow.ConstructConfig));
|
|
9491
9508
|
data.forEach((x) => {
|
|
9492
|
-
res.forEach((
|
|
9493
|
-
if (x.prop ==
|
|
9494
|
-
res.splice(
|
|
9509
|
+
res.forEach((s2, i2) => {
|
|
9510
|
+
if (x.prop == s2.prop) {
|
|
9511
|
+
res.splice(i2, 1);
|
|
9495
9512
|
}
|
|
9496
9513
|
});
|
|
9497
9514
|
});
|
|
@@ -9607,7 +9624,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9607
9624
|
}
|
|
9608
9625
|
this.isShowDicModalLoading.value = true;
|
|
9609
9626
|
let newArr = [];
|
|
9610
|
-
data.forEach((x,
|
|
9627
|
+
data.forEach((x, i2) => {
|
|
9611
9628
|
newArr.push({
|
|
9612
9629
|
label: x.DetailInfor,
|
|
9613
9630
|
prop: x.DetailValue,
|
|
@@ -9616,7 +9633,7 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9616
9633
|
seltype: "Input",
|
|
9617
9634
|
append: "",
|
|
9618
9635
|
span: 8,
|
|
9619
|
-
orderNum:
|
|
9636
|
+
orderNum: i2,
|
|
9620
9637
|
// 排序号
|
|
9621
9638
|
requiredd: 1,
|
|
9622
9639
|
// 1 必填 0 可空
|
|
@@ -9671,9 +9688,6 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9671
9688
|
PlatformId: this.props.platformInfo.Id
|
|
9672
9689
|
})));
|
|
9673
9690
|
if (res && res.length > 0) {
|
|
9674
|
-
if (this.utilities.isNull(res[0].ProjectConfig)) {
|
|
9675
|
-
res[0].ProjectConfig = "[]";
|
|
9676
|
-
}
|
|
9677
9691
|
Object.assign(this.nowRow, res[0]);
|
|
9678
9692
|
let data = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(res[0].ProjectConfig)) : this.utilities.deepCopy(JSON.parse(res[0].ConstructConfig));
|
|
9679
9693
|
if (data && data.length > 0) {
|
|
@@ -9707,8 +9721,8 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
9707
9721
|
//#endregion 概况选择modal END
|
|
9708
9722
|
}
|
|
9709
9723
|
const GeneralConfiguration_vue_vue_type_style_index_0_scoped_a01b6a2e_lang = "";
|
|
9710
|
-
const _hoisted_1$
|
|
9711
|
-
function _sfc_render$
|
|
9724
|
+
const _hoisted_1$d = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
9725
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9712
9726
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
9713
9727
|
const _component_NvBox = resolveComponent("NvBox");
|
|
9714
9728
|
const _component_Button = resolveComponent("Button");
|
|
@@ -9760,7 +9774,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9760
9774
|
}, 8, ["loading", "onClick"])
|
|
9761
9775
|
]),
|
|
9762
9776
|
default: withCtx(() => [
|
|
9763
|
-
createElementVNode("div", _hoisted_1$
|
|
9777
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
9764
9778
|
createVNode(_component_NvGrid, {
|
|
9765
9779
|
ref: "dicModalGrid",
|
|
9766
9780
|
option: _ctx.dicModalGridOption
|
|
@@ -9773,8 +9787,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9773
9787
|
_: 1
|
|
9774
9788
|
});
|
|
9775
9789
|
}
|
|
9776
|
-
const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9777
|
-
const propDefine$
|
|
9790
|
+
const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-a01b6a2e"]]);
|
|
9791
|
+
const propDefine$d = {
|
|
9778
9792
|
linkParam: {
|
|
9779
9793
|
// 带入的参数
|
|
9780
9794
|
type: String,
|
|
@@ -9786,7 +9800,7 @@ const propDefine$c = {
|
|
|
9786
9800
|
default: "-"
|
|
9787
9801
|
}
|
|
9788
9802
|
};
|
|
9789
|
-
const _sfc_main$
|
|
9803
|
+
const _sfc_main$d = defineComponent({
|
|
9790
9804
|
name: "Platform",
|
|
9791
9805
|
components: {
|
|
9792
9806
|
GeneralConfiguration,
|
|
@@ -9794,7 +9808,7 @@ const _sfc_main$c = defineComponent({
|
|
|
9794
9808
|
},
|
|
9795
9809
|
emits: [""],
|
|
9796
9810
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
9797
|
-
props: propDefine$
|
|
9811
|
+
props: propDefine$d,
|
|
9798
9812
|
setup(props, ctx) {
|
|
9799
9813
|
return new PlatformInstance2(props, ctx);
|
|
9800
9814
|
}
|
|
@@ -10048,6 +10062,7 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
10048
10062
|
PlatformType: 1,
|
|
10049
10063
|
AppId: "",
|
|
10050
10064
|
AppSecret: "",
|
|
10065
|
+
PlatformYear: "",
|
|
10051
10066
|
LastUpdateUserId: this.storageInfo.getUser().Id,
|
|
10052
10067
|
LastUpdateUserName: this.storageInfo.getUser().UserName,
|
|
10053
10068
|
LastUpdateDate: this.utilities.getCurrentDate()
|
|
@@ -10083,6 +10098,7 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
10083
10098
|
multiple: false
|
|
10084
10099
|
}
|
|
10085
10100
|
},
|
|
10101
|
+
{ model: "PlatformYear", prop: "PlatformYear", label: "项目年份", type: "DatePicker", datePickerProp: { transfer: true, type: "year" }, span: 24 },
|
|
10086
10102
|
{ model: "AppId", label: "小程序AppId", prop: "AppId", type: "Input", span: 24 },
|
|
10087
10103
|
{ model: "AppSecret", label: "小程序秘钥", prop: "AppSecret", type: "Input", span: 24 }
|
|
10088
10104
|
]));
|
|
@@ -10122,7 +10138,7 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
10122
10138
|
}, true);
|
|
10123
10139
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
10124
10140
|
this.platformGrid.value.loadData(async (option) => {
|
|
10125
|
-
const apiResult = await this.platformApi.getEntitiesPageDynamic(option.page, option.pageSize, QueryWrapper.create().eq("Id", platId).or((
|
|
10141
|
+
const apiResult = await this.platformApi.getEntitiesPageDynamic(option.page, option.pageSize, QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
10126
10142
|
PId: platId
|
|
10127
10143
|
})).orderBy(["OrderNo"]));
|
|
10128
10144
|
const data = this.utilities.parseApiResult(apiResult);
|
|
@@ -10217,7 +10233,8 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
10217
10233
|
AppSecret: "",
|
|
10218
10234
|
LastUpdateUserId: this.storageInfo.getUser().Id,
|
|
10219
10235
|
LastUpdateUserName: this.storageInfo.getUser().UserName,
|
|
10220
|
-
LastUpdateDate: this.utilities.getCurrentDate()
|
|
10236
|
+
LastUpdateDate: this.utilities.getCurrentDate(),
|
|
10237
|
+
PlatformYear: ""
|
|
10221
10238
|
};
|
|
10222
10239
|
} else {
|
|
10223
10240
|
this.platConfigFormModel.value = res;
|
|
@@ -10230,8 +10247,8 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
10230
10247
|
//#endregion 扩展信息 END
|
|
10231
10248
|
}
|
|
10232
10249
|
const Platform_vue_vue_type_style_index_0_scoped_d318c7ed_lang = "";
|
|
10233
|
-
const _hoisted_1$
|
|
10234
|
-
function _sfc_render$
|
|
10250
|
+
const _hoisted_1$c = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
10251
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10235
10252
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
10236
10253
|
const _component_NvBox = resolveComponent("NvBox");
|
|
10237
10254
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
@@ -10286,7 +10303,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10286
10303
|
}, 8, ["loading", "onClick"])
|
|
10287
10304
|
]),
|
|
10288
10305
|
default: withCtx(() => [
|
|
10289
|
-
createElementVNode("div", _hoisted_1$
|
|
10306
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
10290
10307
|
createVNode(_component_Form, {
|
|
10291
10308
|
ref: "refPlatformForm",
|
|
10292
10309
|
model: _ctx.platformFormModel,
|
|
@@ -10377,8 +10394,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10377
10394
|
_: 1
|
|
10378
10395
|
});
|
|
10379
10396
|
}
|
|
10380
|
-
const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10381
|
-
const propDefine$
|
|
10397
|
+
const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-d318c7ed"]]);
|
|
10398
|
+
const propDefine$c = {
|
|
10382
10399
|
linkParam: {
|
|
10383
10400
|
// 带入的参数
|
|
10384
10401
|
type: String,
|
|
@@ -10390,12 +10407,12 @@ const propDefine$b = {
|
|
|
10390
10407
|
default: "-"
|
|
10391
10408
|
}
|
|
10392
10409
|
};
|
|
10393
|
-
const _sfc_main$
|
|
10410
|
+
const _sfc_main$c = defineComponent({
|
|
10394
10411
|
name: "Role",
|
|
10395
10412
|
components: { SelectPlatform },
|
|
10396
10413
|
emits: [""],
|
|
10397
10414
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
10398
|
-
props: propDefine$
|
|
10415
|
+
props: propDefine$c,
|
|
10399
10416
|
setup(props, ctx) {
|
|
10400
10417
|
return new RoleInstance2(props, ctx);
|
|
10401
10418
|
}
|
|
@@ -10429,7 +10446,7 @@ class RoleInstance2 extends BaseInstance {
|
|
|
10429
10446
|
var _a;
|
|
10430
10447
|
this.spinPlatShow.value = true;
|
|
10431
10448
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
10432
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
10449
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
10433
10450
|
PId: platId
|
|
10434
10451
|
})).orderBy(["OrderNo"]));
|
|
10435
10452
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -11156,13 +11173,13 @@ class RoleInstance2 extends BaseInstance {
|
|
|
11156
11173
|
isChange = true;
|
|
11157
11174
|
} else {
|
|
11158
11175
|
for (const item of data.OrgRoleOperates) {
|
|
11159
|
-
if (data.RoleOperates.filter((
|
|
11176
|
+
if (data.RoleOperates.filter((d2) => d2 == item).length == 0) {
|
|
11160
11177
|
isChange = true;
|
|
11161
11178
|
break;
|
|
11162
11179
|
}
|
|
11163
11180
|
}
|
|
11164
11181
|
for (const item of data.RoleOperates) {
|
|
11165
|
-
if (data.OrgRoleOperates.filter((
|
|
11182
|
+
if (data.OrgRoleOperates.filter((d2) => d2 == item).length == 0) {
|
|
11166
11183
|
isChange = true;
|
|
11167
11184
|
break;
|
|
11168
11185
|
}
|
|
@@ -11178,7 +11195,7 @@ class RoleInstance2 extends BaseInstance {
|
|
|
11178
11195
|
const datas = this.moduleGrid.value.getDatas();
|
|
11179
11196
|
const parentDatas = datas.filter((item) => item.Id == data.PId && item.IsChk == !data.IsChk);
|
|
11180
11197
|
for (const item of parentDatas) {
|
|
11181
|
-
item.IsChk = data.IsChk == false ? datas.filter((
|
|
11198
|
+
item.IsChk = data.IsChk == false ? datas.filter((d2) => d2.PId == item.Id && d2.IsChk == true).length > 0 : true;
|
|
11182
11199
|
this.setRoleModuleIsChange(item);
|
|
11183
11200
|
this.changeParentRoleModuleStatus(item);
|
|
11184
11201
|
}
|
|
@@ -11197,7 +11214,7 @@ class RoleInstance2 extends BaseInstance {
|
|
|
11197
11214
|
async loadOriginPlatforms() {
|
|
11198
11215
|
var _a;
|
|
11199
11216
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
11200
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((
|
|
11217
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i2) => i2.allEq({
|
|
11201
11218
|
PId: platId
|
|
11202
11219
|
})).orderBy(["OrderNo"]));
|
|
11203
11220
|
this.originPlatform.list = this.utilities.parseApiResult(apiResult);
|
|
@@ -11221,14 +11238,14 @@ class RoleInstance2 extends BaseInstance {
|
|
|
11221
11238
|
//#endregion 导入角色 END
|
|
11222
11239
|
}
|
|
11223
11240
|
const Role_vue_vue_type_style_index_0_scoped_bbf1cb02_lang = "";
|
|
11224
|
-
const _hoisted_1$
|
|
11241
|
+
const _hoisted_1$b = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
|
|
11225
11242
|
const _hoisted_2$6 = {
|
|
11226
11243
|
class: "import-role",
|
|
11227
11244
|
style: { "height": "610px", "position": "relative" }
|
|
11228
11245
|
};
|
|
11229
11246
|
const _hoisted_3$6 = { style: { "width": "100%", "height": "100%" } };
|
|
11230
11247
|
const _hoisted_4$6 = { style: { "height": "530px", "overflow-y": "auto" } };
|
|
11231
|
-
function _sfc_render$
|
|
11248
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11232
11249
|
const _component_Option = resolveComponent("Option");
|
|
11233
11250
|
const _component_Select = resolveComponent("Select");
|
|
11234
11251
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -11331,7 +11348,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11331
11348
|
}, 8, ["loading", "onClick"])
|
|
11332
11349
|
]),
|
|
11333
11350
|
default: withCtx(() => [
|
|
11334
|
-
createElementVNode("div", _hoisted_1$
|
|
11351
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
11335
11352
|
createVNode(_component_NvGrid, {
|
|
11336
11353
|
ref: "moduleGrid",
|
|
11337
11354
|
option: _ctx.moduleGridOption
|
|
@@ -11491,8 +11508,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11491
11508
|
_: 1
|
|
11492
11509
|
});
|
|
11493
11510
|
}
|
|
11494
|
-
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11495
|
-
const propDefine$
|
|
11511
|
+
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-bbf1cb02"]]);
|
|
11512
|
+
const propDefine$b = {
|
|
11496
11513
|
linkParam: {
|
|
11497
11514
|
// 带入的参数
|
|
11498
11515
|
type: String,
|
|
@@ -11504,12 +11521,12 @@ const propDefine$a = {
|
|
|
11504
11521
|
default: "-"
|
|
11505
11522
|
}
|
|
11506
11523
|
};
|
|
11507
|
-
const _sfc_main$
|
|
11524
|
+
const _sfc_main$b = defineComponent({
|
|
11508
11525
|
name: "Enterprise",
|
|
11509
11526
|
components: { SelectPlatform },
|
|
11510
11527
|
emits: [""],
|
|
11511
11528
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
11512
|
-
props: propDefine$
|
|
11529
|
+
props: propDefine$b,
|
|
11513
11530
|
setup(props, ctx) {
|
|
11514
11531
|
return new EnterpriseInstance2(props, ctx);
|
|
11515
11532
|
}
|
|
@@ -11920,8 +11937,8 @@ class EnterpriseInstance2 extends BaseInstance {
|
|
|
11920
11937
|
//#endregion 业务逻辑 编辑企业信息 END
|
|
11921
11938
|
}
|
|
11922
11939
|
const Enterprise_vue_vue_type_style_index_0_scoped_57711b94_lang = "";
|
|
11923
|
-
const _hoisted_1$
|
|
11924
|
-
function _sfc_render$
|
|
11940
|
+
const _hoisted_1$a = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
11941
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11925
11942
|
const _component_Option = resolveComponent("Option");
|
|
11926
11943
|
const _component_Select = resolveComponent("Select");
|
|
11927
11944
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -12023,7 +12040,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12023
12040
|
}, 8, ["loading", "onClick"])) : createCommentVNode("", true)
|
|
12024
12041
|
]),
|
|
12025
12042
|
default: withCtx(() => [
|
|
12026
|
-
createElementVNode("div", _hoisted_1$
|
|
12043
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
12027
12044
|
createVNode(_component_Form, {
|
|
12028
12045
|
model: _ctx.enterpriseFormModel,
|
|
12029
12046
|
"label-width": 90
|
|
@@ -12046,8 +12063,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12046
12063
|
_: 1
|
|
12047
12064
|
});
|
|
12048
12065
|
}
|
|
12049
|
-
const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12050
|
-
const propDefine$
|
|
12066
|
+
const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-57711b94"]]);
|
|
12067
|
+
const propDefine$a = {
|
|
12051
12068
|
linkParam: {
|
|
12052
12069
|
// 带入的参数
|
|
12053
12070
|
type: String,
|
|
@@ -12059,12 +12076,12 @@ const propDefine$9 = {
|
|
|
12059
12076
|
default: "-"
|
|
12060
12077
|
}
|
|
12061
12078
|
};
|
|
12062
|
-
const _sfc_main$
|
|
12079
|
+
const _sfc_main$a = defineComponent({
|
|
12063
12080
|
name: "Institution",
|
|
12064
|
-
components: { SelectPlatform },
|
|
12081
|
+
components: { SelectPlatform, NvComFormUp },
|
|
12065
12082
|
emits: [""],
|
|
12066
12083
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
12067
|
-
props: propDefine$
|
|
12084
|
+
props: propDefine$a,
|
|
12068
12085
|
setup(props, ctx) {
|
|
12069
12086
|
return new InstitutionInstance2(props, ctx);
|
|
12070
12087
|
}
|
|
@@ -12099,7 +12116,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12099
12116
|
var _a;
|
|
12100
12117
|
this.spinPlatShow.value = true;
|
|
12101
12118
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
12102
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
12119
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
12103
12120
|
PId: platId
|
|
12104
12121
|
})).orderBy(["OrderNo"]));
|
|
12105
12122
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -12298,7 +12315,8 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12298
12315
|
OrderNo: 1,
|
|
12299
12316
|
LastUpdateUserId: 0,
|
|
12300
12317
|
LastUpdateUserName: "",
|
|
12301
|
-
LastUpdateDate: ""
|
|
12318
|
+
LastUpdateDate: "",
|
|
12319
|
+
token: this.utilities.getUniqueCode()
|
|
12302
12320
|
}));
|
|
12303
12321
|
__publicField(this, "institutionFormItems", reactive([
|
|
12304
12322
|
{ model: "InstitutionName", label: "机构名称", prop: "InstitutionName", type: "Input", span: 24, inputProp: { placeholder: "请输入机构名称" } },
|
|
@@ -12331,7 +12349,17 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12331
12349
|
}
|
|
12332
12350
|
},
|
|
12333
12351
|
{ model: "InstitutionCode", label: "机构编码", prop: "InstitutionCode", type: "Input", span: 24, inputProp: { placeholder: "请输入机构编码" } },
|
|
12334
|
-
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 }
|
|
12352
|
+
{ model: "OrderNo", label: "排序号", prop: "OrderNo", type: "InputNumber", span: 24 },
|
|
12353
|
+
{
|
|
12354
|
+
label: "签章",
|
|
12355
|
+
model: "token",
|
|
12356
|
+
prop: "token",
|
|
12357
|
+
type: "UploadFile",
|
|
12358
|
+
span: 24,
|
|
12359
|
+
uploadFileProp: {
|
|
12360
|
+
uploadQuantity: 1
|
|
12361
|
+
}
|
|
12362
|
+
}
|
|
12335
12363
|
]));
|
|
12336
12364
|
// 响应式方法 | xxx = () => {}
|
|
12337
12365
|
/**
|
|
@@ -12345,7 +12373,8 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12345
12373
|
InstitutionName: this.institutionFormModel.InstitutionName,
|
|
12346
12374
|
LastUpdateUserId: this.institutionFormModel.LastUpdateUserId,
|
|
12347
12375
|
LastUpdateUserName: this.institutionFormModel.LastUpdateUserName,
|
|
12348
|
-
LastUpdateDate: this.institutionFormModel.LastUpdateDate
|
|
12376
|
+
LastUpdateDate: this.institutionFormModel.LastUpdateDate,
|
|
12377
|
+
token: this.institutionFormModel.token
|
|
12349
12378
|
});
|
|
12350
12379
|
let result = this.utilities.parseApiResult(apiResult);
|
|
12351
12380
|
if (result <= 0) {
|
|
@@ -12810,6 +12839,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12810
12839
|
doEditInstitution(data) {
|
|
12811
12840
|
const user = this.storageInfo.getUser();
|
|
12812
12841
|
this.institutionFormModel.Id = data.Id;
|
|
12842
|
+
this.institutionFormModel.token = data.token;
|
|
12813
12843
|
this.institutionFormModel.EnterpriseId = data.EnterpriseId;
|
|
12814
12844
|
this.institutionFormModel.InstitutionPlatformId = data.InstitutionPlatformId;
|
|
12815
12845
|
this.institutionFormModel.InstitutionCode = data.InstitutionCode;
|
|
@@ -12829,6 +12859,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12829
12859
|
doAddInstitution() {
|
|
12830
12860
|
const user = this.storageInfo.getUser();
|
|
12831
12861
|
this.institutionFormModel.Id = 0;
|
|
12862
|
+
this.institutionFormModel.token = this.utilities.getUniqueCode();
|
|
12832
12863
|
this.institutionFormModel.EnterpriseId = 0;
|
|
12833
12864
|
this.institutionFormModel.InstitutionPlatformId = 0;
|
|
12834
12865
|
this.institutionFormModel.InstitutionCode = "";
|
|
@@ -12856,7 +12887,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
12856
12887
|
async loadOriginPlatforms() {
|
|
12857
12888
|
var _a;
|
|
12858
12889
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
12859
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((
|
|
12890
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i2) => i2.allEq({
|
|
12860
12891
|
PId: platId
|
|
12861
12892
|
})).orderBy(["OrderNo"]));
|
|
12862
12893
|
this.originPlatform.list = this.utilities.parseApiResult(apiResult);
|
|
@@ -13009,8 +13040,8 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
13009
13040
|
}
|
|
13010
13041
|
//#endregion 绑定角色 END
|
|
13011
13042
|
}
|
|
13012
|
-
const
|
|
13013
|
-
const _hoisted_1$
|
|
13043
|
+
const Institution_vue_vue_type_style_index_0_scoped_30aec484_lang = "";
|
|
13044
|
+
const _hoisted_1$9 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
13014
13045
|
const _hoisted_2$5 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
13015
13046
|
const _hoisted_3$5 = {
|
|
13016
13047
|
class: "import-institution",
|
|
@@ -13019,7 +13050,7 @@ const _hoisted_3$5 = {
|
|
|
13019
13050
|
const _hoisted_4$5 = { style: { "width": "100%", "height": "100%" } };
|
|
13020
13051
|
const _hoisted_5$5 = { style: { "height": "calc(100%)" } };
|
|
13021
13052
|
const _hoisted_6$5 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
|
|
13022
|
-
function _sfc_render$
|
|
13053
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13023
13054
|
const _component_Option = resolveComponent("Option");
|
|
13024
13055
|
const _component_Select = resolveComponent("Select");
|
|
13025
13056
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -13029,7 +13060,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13029
13060
|
const _component_Tree = resolveComponent("Tree");
|
|
13030
13061
|
const _component_Button = resolveComponent("Button");
|
|
13031
13062
|
const _component_Space = resolveComponent("Space");
|
|
13032
|
-
const
|
|
13063
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
13033
13064
|
const _component_Form = resolveComponent("Form");
|
|
13034
13065
|
const _component_Modal = resolveComponent("Modal");
|
|
13035
13066
|
const _component_NvPage = resolveComponent("NvPage");
|
|
@@ -13124,7 +13155,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13124
13155
|
})
|
|
13125
13156
|
]),
|
|
13126
13157
|
default: withCtx(() => [
|
|
13127
|
-
createElementVNode("div", _hoisted_1$
|
|
13158
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
13128
13159
|
createVNode(_component_Tree, {
|
|
13129
13160
|
data: _ctx.institutionTree,
|
|
13130
13161
|
render: _ctx.renderContent,
|
|
@@ -13189,7 +13220,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13189
13220
|
"label-width": 90
|
|
13190
13221
|
}, {
|
|
13191
13222
|
default: withCtx(() => [
|
|
13192
|
-
createVNode(
|
|
13223
|
+
createVNode(_component_NvComFormUp, {
|
|
13193
13224
|
ref: "institutionComForm",
|
|
13194
13225
|
formModel: _ctx.institutionFormModel,
|
|
13195
13226
|
formItems: _ctx.institutionFormItems
|
|
@@ -13322,14 +13353,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13322
13353
|
_: 1
|
|
13323
13354
|
});
|
|
13324
13355
|
}
|
|
13325
|
-
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13326
|
-
const propDefine$
|
|
13327
|
-
const _sfc_main$
|
|
13356
|
+
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-30aec484"]]);
|
|
13357
|
+
const propDefine$9 = {};
|
|
13358
|
+
const _sfc_main$9 = defineComponent({
|
|
13328
13359
|
name: "LoginLog",
|
|
13329
13360
|
components: {},
|
|
13330
13361
|
emits: [""],
|
|
13331
13362
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
13332
|
-
props: propDefine$
|
|
13363
|
+
props: propDefine$9,
|
|
13333
13364
|
setup(props, ctx) {
|
|
13334
13365
|
return new LoginLogInstance2(props, ctx);
|
|
13335
13366
|
}
|
|
@@ -13434,18 +13465,18 @@ class LoginLogInstance2 extends BaseInstance {
|
|
|
13434
13465
|
//#endregion 登录日志 END
|
|
13435
13466
|
}
|
|
13436
13467
|
const LoginLog_vue_vue_type_style_index_0_scoped_a0d5af5b_lang = "";
|
|
13437
|
-
const _hoisted_1$
|
|
13438
|
-
function _sfc_render$
|
|
13468
|
+
const _hoisted_1$8 = { class: "loginLog" };
|
|
13469
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13439
13470
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
13440
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13471
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
13441
13472
|
createVNode(_component_NvGrid, {
|
|
13442
13473
|
ref: "loginLogGrid",
|
|
13443
13474
|
option: _ctx.loginLogGridOption
|
|
13444
13475
|
}, null, 8, ["option"])
|
|
13445
13476
|
]);
|
|
13446
13477
|
}
|
|
13447
|
-
const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13448
|
-
const propDefine$
|
|
13478
|
+
const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-a0d5af5b"]]);
|
|
13479
|
+
const propDefine$8 = {
|
|
13449
13480
|
linkParam: {
|
|
13450
13481
|
// 带入的参数
|
|
13451
13482
|
type: String,
|
|
@@ -13457,12 +13488,12 @@ const propDefine$7 = {
|
|
|
13457
13488
|
default: "-"
|
|
13458
13489
|
}
|
|
13459
13490
|
};
|
|
13460
|
-
const _sfc_main$
|
|
13491
|
+
const _sfc_main$8 = defineComponent({
|
|
13461
13492
|
name: "Userinfor",
|
|
13462
13493
|
components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
|
|
13463
13494
|
emits: [""],
|
|
13464
13495
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
13465
|
-
props: propDefine$
|
|
13496
|
+
props: propDefine$8,
|
|
13466
13497
|
setup(props, ctx) {
|
|
13467
13498
|
return new UserinforInstance2(props, ctx);
|
|
13468
13499
|
}
|
|
@@ -13499,7 +13530,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
13499
13530
|
var _a;
|
|
13500
13531
|
this.spinPlatShow.value = true;
|
|
13501
13532
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
13502
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
13533
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
13503
13534
|
PId: platId
|
|
13504
13535
|
})).orderBy(["OrderNo"]));
|
|
13505
13536
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -14050,7 +14081,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
14050
14081
|
let userRoles = this.utilities.parseApiResult(apiResult);
|
|
14051
14082
|
let insertRecords = [];
|
|
14052
14083
|
for (const item of chkDatas) {
|
|
14053
|
-
if (userRoles.findIndex((
|
|
14084
|
+
if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
|
|
14054
14085
|
insertRecords.push({
|
|
14055
14086
|
PlatformId: this.selectedPlatform.Id,
|
|
14056
14087
|
UserId: this.currentUser.Id,
|
|
@@ -14060,7 +14091,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
14060
14091
|
}
|
|
14061
14092
|
let deleteRecords = [];
|
|
14062
14093
|
for (const item of userRoles) {
|
|
14063
|
-
if (chkDatas.findIndex((
|
|
14094
|
+
if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
|
|
14064
14095
|
deleteRecords.push(item.Id);
|
|
14065
14096
|
}
|
|
14066
14097
|
}
|
|
@@ -14986,7 +15017,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
14986
15017
|
}
|
|
14987
15018
|
const Userinfor_vue_vue_type_style_index_0_scoped_bed8ccac_lang = "";
|
|
14988
15019
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-bed8ccac"), n = n(), popScopeId(), n);
|
|
14989
|
-
const _hoisted_1$
|
|
15020
|
+
const _hoisted_1$7 = { class: "instree-search" };
|
|
14990
15021
|
const _hoisted_2$4 = { class: "instree-list" };
|
|
14991
15022
|
const _hoisted_3$4 = { style: { "height": "750px", "overflow-y": "auto" } };
|
|
14992
15023
|
const _hoisted_4$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -15013,7 +15044,7 @@ const _hoisted_18$1 = {
|
|
|
15013
15044
|
key: 1,
|
|
15014
15045
|
class: "nv-c-v-center"
|
|
15015
15046
|
};
|
|
15016
|
-
function _sfc_render$
|
|
15047
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15017
15048
|
const _component_Option = resolveComponent("Option");
|
|
15018
15049
|
const _component_Select = resolveComponent("Select");
|
|
15019
15050
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -15065,7 +15096,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15065
15096
|
})
|
|
15066
15097
|
]),
|
|
15067
15098
|
default: withCtx(() => [
|
|
15068
|
-
createElementVNode("div", _hoisted_1$
|
|
15099
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
15069
15100
|
createVNode(_component_NvControlGroup, {
|
|
15070
15101
|
width: "100%",
|
|
15071
15102
|
icon: "md-refresh",
|
|
@@ -15543,8 +15574,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
15543
15574
|
_: 1
|
|
15544
15575
|
});
|
|
15545
15576
|
}
|
|
15546
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15547
|
-
const propDefine$
|
|
15577
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-bed8ccac"]]);
|
|
15578
|
+
const propDefine$7 = {
|
|
15548
15579
|
linkParam: {
|
|
15549
15580
|
// 带入的参数
|
|
15550
15581
|
type: String,
|
|
@@ -15556,12 +15587,12 @@ const propDefine$6 = {
|
|
|
15556
15587
|
default: "-"
|
|
15557
15588
|
}
|
|
15558
15589
|
};
|
|
15559
|
-
const _sfc_main$
|
|
15590
|
+
const _sfc_main$7 = defineComponent({
|
|
15560
15591
|
name: "UserinforSL",
|
|
15561
15592
|
components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
|
|
15562
15593
|
emits: [""],
|
|
15563
15594
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
15564
|
-
props: propDefine$
|
|
15595
|
+
props: propDefine$7,
|
|
15565
15596
|
setup(props, ctx) {
|
|
15566
15597
|
return new UserinforSLInstance2(props, ctx);
|
|
15567
15598
|
}
|
|
@@ -15642,7 +15673,7 @@ class UserinforSLInstance2 extends BaseInstance {
|
|
|
15642
15673
|
var _a;
|
|
15643
15674
|
this.spinPlatShow.value = true;
|
|
15644
15675
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
15645
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
15676
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
15646
15677
|
PId: platId
|
|
15647
15678
|
})).orderBy(["OrderNo"]));
|
|
15648
15679
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -16200,7 +16231,7 @@ class UserinforSLInstance2 extends BaseInstance {
|
|
|
16200
16231
|
let userRoles = this.utilities.parseApiResult(apiResult);
|
|
16201
16232
|
let insertRecords = [];
|
|
16202
16233
|
for (const item of chkDatas) {
|
|
16203
|
-
if (userRoles.findIndex((
|
|
16234
|
+
if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
|
|
16204
16235
|
insertRecords.push({
|
|
16205
16236
|
PlatformId: this.selectedPlatform.Id,
|
|
16206
16237
|
UserId: this.currentUser.Id,
|
|
@@ -16210,7 +16241,7 @@ class UserinforSLInstance2 extends BaseInstance {
|
|
|
16210
16241
|
}
|
|
16211
16242
|
let deleteRecords = [];
|
|
16212
16243
|
for (const item of userRoles) {
|
|
16213
|
-
if (chkDatas.findIndex((
|
|
16244
|
+
if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
|
|
16214
16245
|
deleteRecords.push(item.Id);
|
|
16215
16246
|
}
|
|
16216
16247
|
}
|
|
@@ -17212,7 +17243,7 @@ class UserinforSLInstance2 extends BaseInstance {
|
|
|
17212
17243
|
}
|
|
17213
17244
|
const UserinforSL_vue_vue_type_style_index_0_scoped_b5ff2a50_lang = "";
|
|
17214
17245
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-b5ff2a50"), n = n(), popScopeId(), n);
|
|
17215
|
-
const _hoisted_1$
|
|
17246
|
+
const _hoisted_1$6 = { class: "instree-search" };
|
|
17216
17247
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
17217
17248
|
const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
|
|
17218
17249
|
const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -17244,7 +17275,7 @@ const _hoisted_20 = {
|
|
|
17244
17275
|
key: 1,
|
|
17245
17276
|
class: "nv-c-v-center"
|
|
17246
17277
|
};
|
|
17247
|
-
function _sfc_render$
|
|
17278
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17248
17279
|
const _component_Option = resolveComponent("Option");
|
|
17249
17280
|
const _component_Select = resolveComponent("Select");
|
|
17250
17281
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -17296,7 +17327,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17296
17327
|
})
|
|
17297
17328
|
]),
|
|
17298
17329
|
default: withCtx(() => [
|
|
17299
|
-
createElementVNode("div", _hoisted_1$
|
|
17330
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
17300
17331
|
createVNode(_component_NvControlGroup, {
|
|
17301
17332
|
width: "100%",
|
|
17302
17333
|
icon: "md-refresh",
|
|
@@ -17845,7 +17876,644 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17845
17876
|
_: 1
|
|
17846
17877
|
});
|
|
17847
17878
|
}
|
|
17848
|
-
const subuserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17879
|
+
const subuserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-b5ff2a50"]]);
|
|
17880
|
+
function r(t, e) {
|
|
17881
|
+
for (var n = 0; n < e.length; n++) {
|
|
17882
|
+
var r2 = e[n];
|
|
17883
|
+
r2.enumerable = r2.enumerable || false, r2.configurable = true, "value" in r2 && (r2.writable = true), Object.defineProperty(t, s(r2.key), r2);
|
|
17884
|
+
}
|
|
17885
|
+
}
|
|
17886
|
+
function o(t, e, n) {
|
|
17887
|
+
return e && r(t.prototype, e), n && r(t, n), Object.defineProperty(t, "prototype", { writable: false }), t;
|
|
17888
|
+
}
|
|
17889
|
+
function i(t, e) {
|
|
17890
|
+
t.prototype = Object.create(e.prototype), t.prototype.constructor = t, u(t, e);
|
|
17891
|
+
}
|
|
17892
|
+
function u(t, e) {
|
|
17893
|
+
return u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
17894
|
+
return t2.__proto__ = e2, t2;
|
|
17895
|
+
}, u(t, e);
|
|
17896
|
+
}
|
|
17897
|
+
function s(t) {
|
|
17898
|
+
var e = function(t2) {
|
|
17899
|
+
if ("object" != typeof t2 || !t2)
|
|
17900
|
+
return t2;
|
|
17901
|
+
var e2 = t2[Symbol.toPrimitive];
|
|
17902
|
+
if (void 0 !== e2) {
|
|
17903
|
+
var n = e2.call(t2, "string");
|
|
17904
|
+
if ("object" != typeof n)
|
|
17905
|
+
return n;
|
|
17906
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
17907
|
+
}
|
|
17908
|
+
return String(t2);
|
|
17909
|
+
}(t);
|
|
17910
|
+
return "symbol" == typeof e ? e : e + "";
|
|
17911
|
+
}
|
|
17912
|
+
var d = /* @__PURE__ */ function(t) {
|
|
17913
|
+
function e() {
|
|
17914
|
+
return t.apply(this, arguments) || this;
|
|
17915
|
+
}
|
|
17916
|
+
return i(e, t), o(e, [{ key: "ProxyName", get: function() {
|
|
17917
|
+
return "PermissionApi";
|
|
17918
|
+
} }]);
|
|
17919
|
+
}(BaseApi), y = /* @__PURE__ */ function(t) {
|
|
17920
|
+
function e() {
|
|
17921
|
+
return t.apply(this, arguments) || this;
|
|
17922
|
+
}
|
|
17923
|
+
return i(e, t), o(e, [{ key: "ControllerName", get: function() {
|
|
17924
|
+
return "Platform";
|
|
17925
|
+
} }]);
|
|
17926
|
+
}(d), C = /* @__PURE__ */ function(t) {
|
|
17927
|
+
function e() {
|
|
17928
|
+
return t.apply(this, arguments) || this;
|
|
17929
|
+
}
|
|
17930
|
+
return i(e, t), o(e, [{ key: "ControllerName", get: function() {
|
|
17931
|
+
return "LoginLog";
|
|
17932
|
+
} }]);
|
|
17933
|
+
}(d);
|
|
17934
|
+
const propDefine$6 = {
|
|
17935
|
+
linkParam: {
|
|
17936
|
+
// 带入的参数
|
|
17937
|
+
type: String,
|
|
17938
|
+
default: ""
|
|
17939
|
+
},
|
|
17940
|
+
operates: {
|
|
17941
|
+
// 按钮权限码
|
|
17942
|
+
type: String,
|
|
17943
|
+
default: "-"
|
|
17944
|
+
}
|
|
17945
|
+
};
|
|
17946
|
+
const _sfc_main$6 = defineComponent({
|
|
17947
|
+
name: "PromotionalVideo",
|
|
17948
|
+
components: {
|
|
17949
|
+
NvComFormUp
|
|
17950
|
+
},
|
|
17951
|
+
emits: [""],
|
|
17952
|
+
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
17953
|
+
props: propDefine$6,
|
|
17954
|
+
setup(props, ctx) {
|
|
17955
|
+
return new Instance$2(props, ctx);
|
|
17956
|
+
}
|
|
17957
|
+
});
|
|
17958
|
+
let Instance$2 = class Instance extends BaseInstance {
|
|
17959
|
+
constructor(props, ctx) {
|
|
17960
|
+
super();
|
|
17961
|
+
__publicField(this, "props");
|
|
17962
|
+
__publicField(this, "ctx");
|
|
17963
|
+
// 全局属性
|
|
17964
|
+
/** 主表 */
|
|
17965
|
+
__publicField(this, "mainApi", new C());
|
|
17966
|
+
/** 人员信息 */
|
|
17967
|
+
__publicField(this, "userInfo", this.storageInfo.getUser());
|
|
17968
|
+
/** 机构信息 */
|
|
17969
|
+
__publicField(this, "businessInfo", this.storageInfo.getCurrentInsTree());
|
|
17970
|
+
/** 项目信息 */
|
|
17971
|
+
__publicField(this, "projectInfo", this.storageInfo.getCurrentPlatform());
|
|
17972
|
+
__publicField(this, "platformApi", new y());
|
|
17973
|
+
//#region Grid
|
|
17974
|
+
// 私有属性 | private
|
|
17975
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
17976
|
+
// refTest2 = ref(0);
|
|
17977
|
+
__publicField(this, "mainGridRef", ref());
|
|
17978
|
+
__publicField(this, "mainGridOption", reactive({
|
|
17979
|
+
api: this.mainApi,
|
|
17980
|
+
setting: {
|
|
17981
|
+
border: true,
|
|
17982
|
+
searchConfig: {
|
|
17983
|
+
btnSpan: 6,
|
|
17984
|
+
labelWidth: 130,
|
|
17985
|
+
defaultShowSearch: false
|
|
17986
|
+
},
|
|
17987
|
+
editConfig: {
|
|
17988
|
+
trigger: "click",
|
|
17989
|
+
autoClear: false
|
|
17990
|
+
},
|
|
17991
|
+
toolbarConfig: {
|
|
17992
|
+
isButtonGroup: false,
|
|
17993
|
+
maxShow: 6
|
|
17994
|
+
},
|
|
17995
|
+
rowConfig: {
|
|
17996
|
+
isHover: true
|
|
17997
|
+
},
|
|
17998
|
+
isPagination: true,
|
|
17999
|
+
pageSize: 15
|
|
18000
|
+
},
|
|
18001
|
+
searchOptions: [
|
|
18002
|
+
{
|
|
18003
|
+
type: "Input",
|
|
18004
|
+
field: "UserName",
|
|
18005
|
+
title: "用户姓名",
|
|
18006
|
+
span: 12
|
|
18007
|
+
},
|
|
18008
|
+
{
|
|
18009
|
+
type: "Input",
|
|
18010
|
+
field: "Account",
|
|
18011
|
+
title: "用户账号",
|
|
18012
|
+
span: 12
|
|
18013
|
+
},
|
|
18014
|
+
{
|
|
18015
|
+
type: "Input",
|
|
18016
|
+
field: "Phone",
|
|
18017
|
+
title: "手机号",
|
|
18018
|
+
span: 12
|
|
18019
|
+
},
|
|
18020
|
+
{
|
|
18021
|
+
type: "Input",
|
|
18022
|
+
field: "IPAddress",
|
|
18023
|
+
title: "登录IP",
|
|
18024
|
+
span: 12
|
|
18025
|
+
},
|
|
18026
|
+
{
|
|
18027
|
+
type: "DatePicker",
|
|
18028
|
+
field: "LoginDate",
|
|
18029
|
+
title: "登录日期",
|
|
18030
|
+
span: 12
|
|
18031
|
+
}
|
|
18032
|
+
],
|
|
18033
|
+
toolbars: [
|
|
18034
|
+
// {
|
|
18035
|
+
// name: "add",
|
|
18036
|
+
// onclick: () => {
|
|
18037
|
+
// this.doAddMain();
|
|
18038
|
+
// },
|
|
18039
|
+
// isShow: () => {
|
|
18040
|
+
// return this.props.operates.includes("Add")
|
|
18041
|
+
// }
|
|
18042
|
+
// },
|
|
18043
|
+
],
|
|
18044
|
+
rightToolbars: [
|
|
18045
|
+
{
|
|
18046
|
+
name: "refresh"
|
|
18047
|
+
}
|
|
18048
|
+
],
|
|
18049
|
+
columns: [
|
|
18050
|
+
{ colType: "seq" },
|
|
18051
|
+
{
|
|
18052
|
+
colType: "ro",
|
|
18053
|
+
field: "LoginLocation",
|
|
18054
|
+
align: "center",
|
|
18055
|
+
title: "登录位置(基于离线IP数据库获取的)",
|
|
18056
|
+
minWidth: 300
|
|
18057
|
+
},
|
|
18058
|
+
{
|
|
18059
|
+
colType: "ro",
|
|
18060
|
+
field: "UserName",
|
|
18061
|
+
align: "center",
|
|
18062
|
+
title: "用户姓名",
|
|
18063
|
+
width: 150
|
|
18064
|
+
},
|
|
18065
|
+
{
|
|
18066
|
+
colType: "ro",
|
|
18067
|
+
field: "Account",
|
|
18068
|
+
align: "center",
|
|
18069
|
+
title: "用户账号",
|
|
18070
|
+
width: 150
|
|
18071
|
+
},
|
|
18072
|
+
{
|
|
18073
|
+
colType: "ro",
|
|
18074
|
+
field: "Phone",
|
|
18075
|
+
align: "center",
|
|
18076
|
+
title: "手机号",
|
|
18077
|
+
width: 150
|
|
18078
|
+
},
|
|
18079
|
+
{
|
|
18080
|
+
colType: "ro",
|
|
18081
|
+
field: "IPAddress",
|
|
18082
|
+
align: "center",
|
|
18083
|
+
title: "登录IP",
|
|
18084
|
+
width: 150
|
|
18085
|
+
},
|
|
18086
|
+
{
|
|
18087
|
+
colType: "ro",
|
|
18088
|
+
field: "LoginDate",
|
|
18089
|
+
align: "center",
|
|
18090
|
+
title: "登录时间",
|
|
18091
|
+
width: 150
|
|
18092
|
+
},
|
|
18093
|
+
{
|
|
18094
|
+
colType: "ro",
|
|
18095
|
+
field: "LoginType",
|
|
18096
|
+
align: "center",
|
|
18097
|
+
title: "登录类型",
|
|
18098
|
+
width: 150
|
|
18099
|
+
}
|
|
18100
|
+
// {
|
|
18101
|
+
// title: '操作', width: 140 , rowButtons: [
|
|
18102
|
+
// {
|
|
18103
|
+
// name: 'view', text: '查看', type: 'primary',
|
|
18104
|
+
// onclick: (row: any) => {
|
|
18105
|
+
// this.doViewMain(row)
|
|
18106
|
+
// },
|
|
18107
|
+
// isShow: (row: any) => {
|
|
18108
|
+
// return (
|
|
18109
|
+
// row.CreateUserId != this.userInfo.id && this.props.operates.includes("View")
|
|
18110
|
+
// );
|
|
18111
|
+
// },
|
|
18112
|
+
// },
|
|
18113
|
+
// {
|
|
18114
|
+
// name: 'view_',
|
|
18115
|
+
// text: '编辑',
|
|
18116
|
+
// type: 'primary',
|
|
18117
|
+
// onclick: (row: any) => {
|
|
18118
|
+
// this.doEditMain(row)
|
|
18119
|
+
// },
|
|
18120
|
+
// isShow: (row: any) => {
|
|
18121
|
+
// return (
|
|
18122
|
+
// row.CreateUserId == this.userInfo.id && this.props.operates.includes("Edit")
|
|
18123
|
+
// );
|
|
18124
|
+
// },
|
|
18125
|
+
// },
|
|
18126
|
+
// {
|
|
18127
|
+
// name: "delete",
|
|
18128
|
+
// text: "删除",
|
|
18129
|
+
// onclick: (row: any, btn: any) => {
|
|
18130
|
+
// this.doDeleteMain(row)
|
|
18131
|
+
// },
|
|
18132
|
+
// isShow: (row: any) => {
|
|
18133
|
+
// return (
|
|
18134
|
+
// row.CreateUserId == this.userInfo.id && this.props.operates.includes("Delete")
|
|
18135
|
+
// );
|
|
18136
|
+
// },
|
|
18137
|
+
// },
|
|
18138
|
+
// ]
|
|
18139
|
+
// }
|
|
18140
|
+
],
|
|
18141
|
+
event: {
|
|
18142
|
+
/** 搜索事件 */
|
|
18143
|
+
event_search: (data) => {
|
|
18144
|
+
var _a, _b;
|
|
18145
|
+
(_a = this.mainGridRef.value) == null ? void 0 : _a.setPageIndex(1);
|
|
18146
|
+
let qw = QueryWrapper.create();
|
|
18147
|
+
if (!this.utilities.isNull(data.UserName)) {
|
|
18148
|
+
qw.like("UserName", data.UserName);
|
|
18149
|
+
}
|
|
18150
|
+
if (!this.utilities.isNull(data.Account)) {
|
|
18151
|
+
qw.like("Account", data.Account);
|
|
18152
|
+
}
|
|
18153
|
+
if (!this.utilities.isNull(data.Phone)) {
|
|
18154
|
+
qw.like("Phone", data.Phone);
|
|
18155
|
+
}
|
|
18156
|
+
if (!this.utilities.isNull(data.IPAddress)) {
|
|
18157
|
+
qw.like("IPAddress", data.IPAddress);
|
|
18158
|
+
}
|
|
18159
|
+
if (!this.utilities.isNull(data.LoginDate)) {
|
|
18160
|
+
qw.like("LoginDate", data.LoginDate);
|
|
18161
|
+
}
|
|
18162
|
+
if (!this.utilities.isNull(data.LoginType)) {
|
|
18163
|
+
qw.like("LoginType", data.LoginType);
|
|
18164
|
+
}
|
|
18165
|
+
(_b = this.mainGridRef.value) == null ? void 0 : _b.loadDataByQuery(qw);
|
|
18166
|
+
}
|
|
18167
|
+
}
|
|
18168
|
+
}));
|
|
18169
|
+
// 私有方法 | private 方法名() {}
|
|
18170
|
+
__publicField(this, "activeOrgId", ref(0));
|
|
18171
|
+
__publicField(this, "activeParent", ref(""));
|
|
18172
|
+
// 响应式方法 | xxx = () => {}
|
|
18173
|
+
// doBtnClick2 = () = {}
|
|
18174
|
+
//#endregion Grid END
|
|
18175
|
+
//#region Form
|
|
18176
|
+
// 私有属性 | private
|
|
18177
|
+
// private business2Test1: number = 0;
|
|
18178
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
18179
|
+
// refTest2 = ref(0);
|
|
18180
|
+
/** 表单弹窗 显隐 */
|
|
18181
|
+
__publicField(this, "isShowModal", ref(false));
|
|
18182
|
+
/** 表单弹窗 标题 */
|
|
18183
|
+
__publicField(this, "modalTitle", ref("新增-登录日志"));
|
|
18184
|
+
/** 表单 保存按钮loading */
|
|
18185
|
+
__publicField(this, "saveingMainLoading", ref(false));
|
|
18186
|
+
/** 是否只读 */
|
|
18187
|
+
__publicField(this, "onlyView", ref(false));
|
|
18188
|
+
__publicField(this, "mainFormRef", ref());
|
|
18189
|
+
__publicField(this, "mainComFormRef", ref());
|
|
18190
|
+
/** 表单数据 */
|
|
18191
|
+
__publicField(this, "mainFormModel", reactive({
|
|
18192
|
+
Id: 0,
|
|
18193
|
+
personName: ""
|
|
18194
|
+
}));
|
|
18195
|
+
/** 表单项 */
|
|
18196
|
+
__publicField(this, "mainFormItems", reactive([
|
|
18197
|
+
{
|
|
18198
|
+
type: "Input",
|
|
18199
|
+
model: "LoginLocation",
|
|
18200
|
+
prop: "LoginLocation",
|
|
18201
|
+
label: "登录位置(基于离线IP数据库获取的)",
|
|
18202
|
+
span: 12,
|
|
18203
|
+
inputProp: {
|
|
18204
|
+
type: "textarea",
|
|
18205
|
+
rows: 4,
|
|
18206
|
+
maxlength: 500,
|
|
18207
|
+
// 控制最大输入长度
|
|
18208
|
+
"show-word-limit": true
|
|
18209
|
+
// 是否显示输入字数
|
|
18210
|
+
}
|
|
18211
|
+
},
|
|
18212
|
+
{
|
|
18213
|
+
type: "Input",
|
|
18214
|
+
model: "UserName",
|
|
18215
|
+
prop: "UserName",
|
|
18216
|
+
label: "用户姓名",
|
|
18217
|
+
span: 12
|
|
18218
|
+
},
|
|
18219
|
+
{
|
|
18220
|
+
type: "Input",
|
|
18221
|
+
model: "Account",
|
|
18222
|
+
prop: "Account",
|
|
18223
|
+
label: "用户账号",
|
|
18224
|
+
span: 12
|
|
18225
|
+
},
|
|
18226
|
+
{
|
|
18227
|
+
type: "Input",
|
|
18228
|
+
model: "Phone",
|
|
18229
|
+
prop: "Phone",
|
|
18230
|
+
label: "手机号",
|
|
18231
|
+
span: 12
|
|
18232
|
+
},
|
|
18233
|
+
{
|
|
18234
|
+
type: "Input",
|
|
18235
|
+
model: "IPAddress",
|
|
18236
|
+
prop: "IPAddress",
|
|
18237
|
+
label: "登录IP",
|
|
18238
|
+
span: 12
|
|
18239
|
+
},
|
|
18240
|
+
{
|
|
18241
|
+
type: "DatePicker",
|
|
18242
|
+
model: "LoginDate",
|
|
18243
|
+
prop: "LoginDate",
|
|
18244
|
+
label: "登录日期",
|
|
18245
|
+
span: 12,
|
|
18246
|
+
datePickerProp: {
|
|
18247
|
+
transfer: true,
|
|
18248
|
+
editable: false
|
|
18249
|
+
}
|
|
18250
|
+
}
|
|
18251
|
+
]));
|
|
18252
|
+
/** 表单校验规则 */
|
|
18253
|
+
__publicField(this, "mainFormRules", reactive({
|
|
18254
|
+
UserName: [{ required: true, message: "用户姓名不能为空", trigger: "blur" }],
|
|
18255
|
+
Account: [{ required: true, message: "用户账号不能为空", trigger: "blur" }],
|
|
18256
|
+
Phone: [{ required: true, message: "手机号不能为空", trigger: "blur" }],
|
|
18257
|
+
IPAddress: [{ required: true, message: "登录IP不能为空", trigger: "blur" }],
|
|
18258
|
+
LoginDate: [{ required: true, message: "登录日期不能为空", trigger: "blur" }],
|
|
18259
|
+
LoginType: [{ required: true, message: "登录类型 密码登录、验证码登录、扫码登录不能为空", trigger: "blur" }]
|
|
18260
|
+
}));
|
|
18261
|
+
// 私有方法 | private 方法名() {}
|
|
18262
|
+
// private test2() {}
|
|
18263
|
+
// 响应式方法 | xxx = () => {}
|
|
18264
|
+
// doBtnClick2 = () = {}
|
|
18265
|
+
/** 主表单保存 */
|
|
18266
|
+
__publicField(this, "doSaveMain", async () => {
|
|
18267
|
+
console.log(this.mainFormModel);
|
|
18268
|
+
let validate = await this.mainFormRef.value.validate();
|
|
18269
|
+
if (!validate)
|
|
18270
|
+
return;
|
|
18271
|
+
let BId = this.utilities.parseApiResult(await this.mainApi.save(this.mainFormModel));
|
|
18272
|
+
if (BId && BId > 0) {
|
|
18273
|
+
this.message.success("保存成功");
|
|
18274
|
+
this.isShowModal.value = false;
|
|
18275
|
+
this.mainGridRef.value.refreshData();
|
|
18276
|
+
} else {
|
|
18277
|
+
this.message.success("保存失败");
|
|
18278
|
+
}
|
|
18279
|
+
});
|
|
18280
|
+
__publicField(this, "platId", ref(0));
|
|
18281
|
+
__publicField(this, "platData", ref([]));
|
|
18282
|
+
__publicField(this, "spinPlatShow", ref(false));
|
|
18283
|
+
__publicField(this, "selectedPlatform");
|
|
18284
|
+
__publicField(this, "getPlatData", async () => {
|
|
18285
|
+
var _a;
|
|
18286
|
+
this.spinPlatShow.value = true;
|
|
18287
|
+
let qw = QueryWrapper.create();
|
|
18288
|
+
if (this.props.linkParam == "sub") {
|
|
18289
|
+
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
18290
|
+
qw.eq("Id", platId).or((i2) => i2.allEq({
|
|
18291
|
+
PId: platId
|
|
18292
|
+
})).orderBy(["OrderNo"]);
|
|
18293
|
+
} else if (this.props.linkParam == "")
|
|
18294
|
+
;
|
|
18295
|
+
else {
|
|
18296
|
+
qw.eq("Id", this.props.linkParam).or((i2) => i2.allEq({
|
|
18297
|
+
PId: this.props.linkParam
|
|
18298
|
+
})).orderBy(["OrderNo"]);
|
|
18299
|
+
}
|
|
18300
|
+
const apiResult = await this.platformApi.getEntities(qw);
|
|
18301
|
+
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
18302
|
+
this.spinPlatShow.value = false;
|
|
18303
|
+
if (this.platData.value.length > 0) {
|
|
18304
|
+
this.platId.value = this.platData.value[0].Id;
|
|
18305
|
+
nextTick(() => {
|
|
18306
|
+
this.doPlatformChange(this.platData.value[0]);
|
|
18307
|
+
});
|
|
18308
|
+
}
|
|
18309
|
+
});
|
|
18310
|
+
__publicField(this, "doPlatformChange", (data) => {
|
|
18311
|
+
const res = this.platData.value.find((item) => item.Id == this.platId.value);
|
|
18312
|
+
if (this.utilities.isNull(res)) {
|
|
18313
|
+
return;
|
|
18314
|
+
}
|
|
18315
|
+
this.selectedPlatform = res;
|
|
18316
|
+
this.loadMainData();
|
|
18317
|
+
});
|
|
18318
|
+
this.props = props;
|
|
18319
|
+
this.ctx = ctx;
|
|
18320
|
+
this.init();
|
|
18321
|
+
}
|
|
18322
|
+
init() {
|
|
18323
|
+
onMounted(() => {
|
|
18324
|
+
this.getPlatData();
|
|
18325
|
+
});
|
|
18326
|
+
}
|
|
18327
|
+
/** 获取主表数据 */
|
|
18328
|
+
async loadMainData() {
|
|
18329
|
+
var _a;
|
|
18330
|
+
(_a = this.mainGridRef.value) == null ? void 0 : _a.loadData(async (options) => {
|
|
18331
|
+
let qw = QueryWrapper.create().eq("PlatformId", this.selectedPlatform.Id).orderBy(["LoginDate"], false);
|
|
18332
|
+
let datas = this.utilities.parseApiResult(await this.mainApi.getEntitiesPageDynamic(options.page, options.pageSize, qw));
|
|
18333
|
+
console.log(datas);
|
|
18334
|
+
options.success(datas);
|
|
18335
|
+
});
|
|
18336
|
+
}
|
|
18337
|
+
/** 新增 */
|
|
18338
|
+
doAddMain() {
|
|
18339
|
+
var _a, _b;
|
|
18340
|
+
this.initMainForm({
|
|
18341
|
+
Id: 0,
|
|
18342
|
+
LoginLocation: "",
|
|
18343
|
+
UserName: "",
|
|
18344
|
+
Account: "",
|
|
18345
|
+
Phone: "",
|
|
18346
|
+
IPAddress: "",
|
|
18347
|
+
LoginDate: this.utilities.getCurrentDate(),
|
|
18348
|
+
LoginType: "",
|
|
18349
|
+
InsTreeId: (_a = this.businessInfo) == null ? void 0 : _a.Id,
|
|
18350
|
+
PlatformId: (_b = this.projectInfo) == null ? void 0 : _b.Id,
|
|
18351
|
+
CreateTime: this.utilities.getCurrentDate(),
|
|
18352
|
+
CreateUserId: this.userInfo.id
|
|
18353
|
+
});
|
|
18354
|
+
}
|
|
18355
|
+
/** 编辑 */
|
|
18356
|
+
doEditMain(row) {
|
|
18357
|
+
this.initMainForm(row);
|
|
18358
|
+
}
|
|
18359
|
+
/** 查看 */
|
|
18360
|
+
doViewMain(row) {
|
|
18361
|
+
this.initMainForm(row, true);
|
|
18362
|
+
}
|
|
18363
|
+
/** 初始化表单 */
|
|
18364
|
+
initMainForm(row, onlyview = false) {
|
|
18365
|
+
Object.assign(this.mainFormModel, row);
|
|
18366
|
+
this.onlyView.value = onlyview;
|
|
18367
|
+
this.modalTitle.value = onlyview ? "查看-登录日志" : row.Id > 0 ? "编辑-登录日志" : "新增-登录日志";
|
|
18368
|
+
this.isShowModal.value = true;
|
|
18369
|
+
}
|
|
18370
|
+
/** 删除 */
|
|
18371
|
+
async doDeleteMain(row) {
|
|
18372
|
+
let deleteStr = `${row.LoginLocation ? row.LoginLocation : "该条数据"}`;
|
|
18373
|
+
this.modal.confirm({
|
|
18374
|
+
title: "提示",
|
|
18375
|
+
content: `确定要删除${deleteStr}吗`,
|
|
18376
|
+
onOk: async () => {
|
|
18377
|
+
const apiResult = await this.mainApi.delete(row.Id);
|
|
18378
|
+
const result = this.utilities.parseApiResult(apiResult);
|
|
18379
|
+
if (result) {
|
|
18380
|
+
this.message.success("删除成功!");
|
|
18381
|
+
this.mainGridRef.value.refreshData();
|
|
18382
|
+
} else {
|
|
18383
|
+
this.message.warning("操作异常, 请稍后重试!");
|
|
18384
|
+
}
|
|
18385
|
+
}
|
|
18386
|
+
});
|
|
18387
|
+
}
|
|
18388
|
+
//#endregion Form END
|
|
18389
|
+
};
|
|
18390
|
+
const _hoisted_1$5 = {
|
|
18391
|
+
class: "nv-flex-col",
|
|
18392
|
+
style: { "height": "600px" }
|
|
18393
|
+
};
|
|
18394
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18395
|
+
const _component_Option = resolveComponent("Option");
|
|
18396
|
+
const _component_Select = resolveComponent("Select");
|
|
18397
|
+
const _component_Spin = resolveComponent("Spin");
|
|
18398
|
+
const _component_NvControlGroup = resolveComponent("NvControlGroup");
|
|
18399
|
+
const _component_NvGrid = resolveComponent("NvGrid");
|
|
18400
|
+
const _component_NvBox = resolveComponent("NvBox");
|
|
18401
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
18402
|
+
const _component_Form = resolveComponent("Form");
|
|
18403
|
+
const _component_Button = resolveComponent("Button");
|
|
18404
|
+
const _component_NvButton = resolveComponent("NvButton");
|
|
18405
|
+
const _component_NvModal = resolveComponent("NvModal");
|
|
18406
|
+
const _component_NvPage = resolveComponent("NvPage");
|
|
18407
|
+
return openBlock(), createBlock(_component_NvPage, { gutter: 8 }, {
|
|
18408
|
+
default: withCtx(() => [
|
|
18409
|
+
createVNode(_component_NvBox, { title: "登录日志" }, {
|
|
18410
|
+
default: withCtx(() => [
|
|
18411
|
+
createVNode(_component_NvGrid, {
|
|
18412
|
+
ref: "mainGridRef",
|
|
18413
|
+
option: _ctx.mainGridOption
|
|
18414
|
+
}, {
|
|
18415
|
+
default: withCtx(() => [
|
|
18416
|
+
createVNode(_component_NvControlGroup, {
|
|
18417
|
+
width: "380px",
|
|
18418
|
+
icon: "md-refresh",
|
|
18419
|
+
label: "系统平台",
|
|
18420
|
+
labelWidth: 75,
|
|
18421
|
+
onClick: _ctx.getPlatData
|
|
18422
|
+
}, {
|
|
18423
|
+
default: withCtx(() => [
|
|
18424
|
+
createVNode(_component_Select, {
|
|
18425
|
+
modelValue: _ctx.platId,
|
|
18426
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.platId = $event),
|
|
18427
|
+
onOnChange: _ctx.doPlatformChange,
|
|
18428
|
+
transfer: ""
|
|
18429
|
+
}, {
|
|
18430
|
+
default: withCtx(() => [
|
|
18431
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.platData, (item, index2) => {
|
|
18432
|
+
return openBlock(), createBlock(_component_Option, {
|
|
18433
|
+
key: index2,
|
|
18434
|
+
value: item.Id
|
|
18435
|
+
}, {
|
|
18436
|
+
default: withCtx(() => [
|
|
18437
|
+
createTextVNode(toDisplayString(item.PlatformAbbreviation), 1)
|
|
18438
|
+
]),
|
|
18439
|
+
_: 2
|
|
18440
|
+
}, 1032, ["value"]);
|
|
18441
|
+
}), 128))
|
|
18442
|
+
]),
|
|
18443
|
+
_: 1
|
|
18444
|
+
}, 8, ["modelValue", "onOnChange"]),
|
|
18445
|
+
createVNode(_component_Spin, {
|
|
18446
|
+
fix: "",
|
|
18447
|
+
show: _ctx.spinPlatShow
|
|
18448
|
+
}, null, 8, ["show"])
|
|
18449
|
+
]),
|
|
18450
|
+
_: 1
|
|
18451
|
+
}, 8, ["onClick"])
|
|
18452
|
+
]),
|
|
18453
|
+
_: 1
|
|
18454
|
+
}, 8, ["option"])
|
|
18455
|
+
]),
|
|
18456
|
+
_: 1
|
|
18457
|
+
}),
|
|
18458
|
+
createVNode(_component_NvModal, {
|
|
18459
|
+
modelValue: _ctx.isShowModal,
|
|
18460
|
+
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.isShowModal = $event),
|
|
18461
|
+
mask: true,
|
|
18462
|
+
"mask-closable": false,
|
|
18463
|
+
width: 1200,
|
|
18464
|
+
title: _ctx.modalTitle,
|
|
18465
|
+
"z-index": 500
|
|
18466
|
+
}, {
|
|
18467
|
+
footer: withCtx(() => [
|
|
18468
|
+
createVNode(_component_Button, {
|
|
18469
|
+
type: "text",
|
|
18470
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.isShowModal = false)
|
|
18471
|
+
}, {
|
|
18472
|
+
default: withCtx(() => [
|
|
18473
|
+
createTextVNode("关闭")
|
|
18474
|
+
]),
|
|
18475
|
+
_: 1
|
|
18476
|
+
}),
|
|
18477
|
+
createVNode(_component_NvButton, {
|
|
18478
|
+
type: "primary",
|
|
18479
|
+
loading: _ctx.saveingMainLoading,
|
|
18480
|
+
onClick: _ctx.doSaveMain
|
|
18481
|
+
}, {
|
|
18482
|
+
default: withCtx(() => [
|
|
18483
|
+
createTextVNode("保存")
|
|
18484
|
+
]),
|
|
18485
|
+
_: 1
|
|
18486
|
+
}, 8, ["loading", "onClick"])
|
|
18487
|
+
]),
|
|
18488
|
+
default: withCtx(() => [
|
|
18489
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
18490
|
+
_ctx.isShowModal ? (openBlock(), createBlock(_component_Form, {
|
|
18491
|
+
key: 0,
|
|
18492
|
+
class: "nv-pos-r",
|
|
18493
|
+
ref: "mainFormRef",
|
|
18494
|
+
model: _ctx.mainFormModel,
|
|
18495
|
+
"label-width": 115,
|
|
18496
|
+
rules: _ctx.mainFormRules
|
|
18497
|
+
}, {
|
|
18498
|
+
default: withCtx(() => [
|
|
18499
|
+
createVNode(_component_NvComFormUp, {
|
|
18500
|
+
ref: "mainComFormRef",
|
|
18501
|
+
formModel: _ctx.mainFormModel,
|
|
18502
|
+
formItems: _ctx.mainFormItems,
|
|
18503
|
+
onlyView: false
|
|
18504
|
+
}, null, 8, ["formModel", "formItems"])
|
|
18505
|
+
]),
|
|
18506
|
+
_: 1
|
|
18507
|
+
}, 8, ["model", "rules"])) : createCommentVNode("", true)
|
|
18508
|
+
])
|
|
18509
|
+
]),
|
|
18510
|
+
_: 1
|
|
18511
|
+
}, 8, ["modelValue", "title"])
|
|
18512
|
+
]),
|
|
18513
|
+
_: 1
|
|
18514
|
+
});
|
|
18515
|
+
}
|
|
18516
|
+
const SubLoginInfo = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
|
|
17849
18517
|
const propDefine$5 = {
|
|
17850
18518
|
linkParam: {
|
|
17851
18519
|
// 带入的参数
|
|
@@ -17891,7 +18559,7 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
17891
18559
|
var _a;
|
|
17892
18560
|
this.spinPlatShow.value = true;
|
|
17893
18561
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
17894
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
18562
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
17895
18563
|
PId: platId
|
|
17896
18564
|
})).orderBy(["OrderNo"]));
|
|
17897
18565
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -18030,7 +18698,8 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
18030
18698
|
const dict = {
|
|
18031
18699
|
0: "路由",
|
|
18032
18700
|
1: "链接",
|
|
18033
|
-
2: "低代码"
|
|
18701
|
+
2: "低代码",
|
|
18702
|
+
3: "静态图片"
|
|
18034
18703
|
};
|
|
18035
18704
|
return dict[params.row["LoadMode"]];
|
|
18036
18705
|
}
|
|
@@ -18201,7 +18870,8 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
18201
18870
|
datas: [
|
|
18202
18871
|
{ text: "路由", value: 0 },
|
|
18203
18872
|
{ text: "链接", value: 1 },
|
|
18204
|
-
{ text: "低代码", value:
|
|
18873
|
+
{ text: "低代码", value: 2 },
|
|
18874
|
+
{ text: "静态图片", value: 3 }
|
|
18205
18875
|
]
|
|
18206
18876
|
}
|
|
18207
18877
|
},
|
|
@@ -18661,7 +19331,7 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
18661
19331
|
async loadOriginPlatforms() {
|
|
18662
19332
|
var _a;
|
|
18663
19333
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
18664
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.selectedPlatform.Id).or((
|
|
19334
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.selectedPlatform.Id).or((i2) => i2.allEq({
|
|
18665
19335
|
PId: platId
|
|
18666
19336
|
})).orderBy(["OrderNo"]));
|
|
18667
19337
|
this.originPlatform.list = this.utilities.parseApiResult(apiResult);
|
|
@@ -31582,9 +32252,9 @@ var Utils = {
|
|
|
31582
32252
|
}
|
|
31583
32253
|
}
|
|
31584
32254
|
const argArray = [];
|
|
31585
|
-
for (let
|
|
32255
|
+
for (let i2 = 1; i2 <= maxLength; i2++) {
|
|
31586
32256
|
let dollar = "";
|
|
31587
|
-
for (let j = 0; j <
|
|
32257
|
+
for (let j = 0; j < i2; j++) {
|
|
31588
32258
|
dollar += "$";
|
|
31589
32259
|
}
|
|
31590
32260
|
argArray.push(dollar);
|
|
@@ -32109,8 +32779,8 @@ Enumerable.prototype.traverseDepthFirst = function(func, resultSelector) {
|
|
|
32109
32779
|
try {
|
|
32110
32780
|
Utils.dispose(enumerator);
|
|
32111
32781
|
} finally {
|
|
32112
|
-
Enumerable.from(enumeratorStack).forEach(function(
|
|
32113
|
-
|
|
32782
|
+
Enumerable.from(enumeratorStack).forEach(function(s2) {
|
|
32783
|
+
s2.dispose();
|
|
32114
32784
|
});
|
|
32115
32785
|
}
|
|
32116
32786
|
}
|
|
@@ -32963,8 +33633,8 @@ Enumerable.prototype.shuffle = function() {
|
|
|
32963
33633
|
},
|
|
32964
33634
|
function() {
|
|
32965
33635
|
if (buffer.length > 0) {
|
|
32966
|
-
const
|
|
32967
|
-
return this.yieldReturn(buffer.splice(
|
|
33636
|
+
const i2 = Math.floor(Math.random() * buffer.length);
|
|
33637
|
+
return this.yieldReturn(buffer.splice(i2, 1)[0]);
|
|
32968
33638
|
}
|
|
32969
33639
|
return false;
|
|
32970
33640
|
},
|
|
@@ -33132,8 +33802,8 @@ Enumerable.prototype.average = function(selector) {
|
|
|
33132
33802
|
Enumerable.prototype.count = function(predicate) {
|
|
33133
33803
|
predicate = predicate == null ? Functions.True : Utils.createLambda(predicate);
|
|
33134
33804
|
var count = 0;
|
|
33135
|
-
this.forEach(function(x,
|
|
33136
|
-
if (predicate(x,
|
|
33805
|
+
this.forEach(function(x, i2) {
|
|
33806
|
+
if (predicate(x, i2))
|
|
33137
33807
|
++count;
|
|
33138
33808
|
});
|
|
33139
33809
|
return count;
|
|
@@ -33174,8 +33844,8 @@ Enumerable.prototype.sum = function(selector) {
|
|
|
33174
33844
|
Enumerable.prototype.elementAt = function(index2) {
|
|
33175
33845
|
var value;
|
|
33176
33846
|
var found = false;
|
|
33177
|
-
this.forEach(function(x,
|
|
33178
|
-
if (
|
|
33847
|
+
this.forEach(function(x, i2) {
|
|
33848
|
+
if (i2 == index2) {
|
|
33179
33849
|
value = x;
|
|
33180
33850
|
found = true;
|
|
33181
33851
|
return false;
|
|
@@ -33190,8 +33860,8 @@ Enumerable.prototype.elementAtOrDefault = function(index2, defaultValue) {
|
|
|
33190
33860
|
defaultValue = null;
|
|
33191
33861
|
var value;
|
|
33192
33862
|
var found = false;
|
|
33193
|
-
this.forEach(function(x,
|
|
33194
|
-
if (
|
|
33863
|
+
this.forEach(function(x, i2) {
|
|
33864
|
+
if (i2 == index2) {
|
|
33195
33865
|
value = x;
|
|
33196
33866
|
found = true;
|
|
33197
33867
|
return false;
|
|
@@ -33437,16 +34107,16 @@ Enumerable.prototype.takeFromLast = function(count) {
|
|
|
33437
34107
|
Enumerable.prototype.indexOf = function(item) {
|
|
33438
34108
|
var found = null;
|
|
33439
34109
|
if (typeof item === Types.Function) {
|
|
33440
|
-
this.forEach(function(x,
|
|
33441
|
-
if (item(x,
|
|
33442
|
-
found =
|
|
34110
|
+
this.forEach(function(x, i2) {
|
|
34111
|
+
if (item(x, i2)) {
|
|
34112
|
+
found = i2;
|
|
33443
34113
|
return false;
|
|
33444
34114
|
}
|
|
33445
34115
|
});
|
|
33446
34116
|
} else {
|
|
33447
|
-
this.forEach(function(x,
|
|
34117
|
+
this.forEach(function(x, i2) {
|
|
33448
34118
|
if (x === item) {
|
|
33449
|
-
found =
|
|
34119
|
+
found = i2;
|
|
33450
34120
|
return false;
|
|
33451
34121
|
}
|
|
33452
34122
|
});
|
|
@@ -33456,14 +34126,14 @@ Enumerable.prototype.indexOf = function(item) {
|
|
|
33456
34126
|
Enumerable.prototype.lastIndexOf = function(item) {
|
|
33457
34127
|
var result = -1;
|
|
33458
34128
|
if (typeof item === Types.Function) {
|
|
33459
|
-
this.forEach(function(x,
|
|
33460
|
-
if (item(x,
|
|
33461
|
-
result =
|
|
34129
|
+
this.forEach(function(x, i2) {
|
|
34130
|
+
if (item(x, i2))
|
|
34131
|
+
result = i2;
|
|
33462
34132
|
});
|
|
33463
34133
|
} else {
|
|
33464
|
-
this.forEach(function(x,
|
|
34134
|
+
this.forEach(function(x, i2) {
|
|
33465
34135
|
if (x === item)
|
|
33466
|
-
result =
|
|
34136
|
+
result = i2;
|
|
33467
34137
|
});
|
|
33468
34138
|
}
|
|
33469
34139
|
return result;
|
|
@@ -33791,8 +34461,8 @@ SortContext.prototype.GenerateKeys = function(source) {
|
|
|
33791
34461
|
var len = source.length;
|
|
33792
34462
|
var keySelector = this.keySelector;
|
|
33793
34463
|
var keys = new Array(len);
|
|
33794
|
-
for (let
|
|
33795
|
-
keys[
|
|
34464
|
+
for (let i2 = 0; i2 < len; i2++)
|
|
34465
|
+
keys[i2] = keySelector(source[i2]);
|
|
33796
34466
|
this.keys = keys;
|
|
33797
34467
|
if (this.child != null)
|
|
33798
34468
|
this.child.GenerateKeys(source);
|
|
@@ -34075,10 +34745,10 @@ var Dictionary = function() {
|
|
|
34075
34745
|
var entry = new HashEntry(key, value);
|
|
34076
34746
|
if (callHasOwnProperty(this.buckets, hash)) {
|
|
34077
34747
|
const array = this.buckets[hash];
|
|
34078
|
-
for (let
|
|
34079
|
-
if (this.compareSelector(array[
|
|
34080
|
-
this.entryList.replace(array[
|
|
34081
|
-
array[
|
|
34748
|
+
for (let i2 = 0; i2 < array.length; i2++) {
|
|
34749
|
+
if (this.compareSelector(array[i2].key) === compareKey) {
|
|
34750
|
+
this.entryList.replace(array[i2], entry);
|
|
34751
|
+
array[i2] = entry;
|
|
34082
34752
|
return;
|
|
34083
34753
|
}
|
|
34084
34754
|
}
|
|
@@ -34095,8 +34765,8 @@ var Dictionary = function() {
|
|
|
34095
34765
|
if (!callHasOwnProperty(this.buckets, hash))
|
|
34096
34766
|
return void 0;
|
|
34097
34767
|
var array = this.buckets[hash];
|
|
34098
|
-
for (let
|
|
34099
|
-
const entry = array[
|
|
34768
|
+
for (let i2 = 0; i2 < array.length; i2++) {
|
|
34769
|
+
const entry = array[i2];
|
|
34100
34770
|
if (this.compareSelector(entry.key) === compareKey)
|
|
34101
34771
|
return entry.value;
|
|
34102
34772
|
}
|
|
@@ -34107,11 +34777,11 @@ var Dictionary = function() {
|
|
|
34107
34777
|
var hash = computeHashCode(compareKey);
|
|
34108
34778
|
if (callHasOwnProperty(this.buckets, hash)) {
|
|
34109
34779
|
const array = this.buckets[hash];
|
|
34110
|
-
for (let
|
|
34111
|
-
if (this.compareSelector(array[
|
|
34780
|
+
for (let i2 = 0; i2 < array.length; i2++) {
|
|
34781
|
+
if (this.compareSelector(array[i2].key) === compareKey) {
|
|
34112
34782
|
const newEntry = new HashEntry(key, value);
|
|
34113
|
-
this.entryList.replace(array[
|
|
34114
|
-
array[
|
|
34783
|
+
this.entryList.replace(array[i2], newEntry);
|
|
34784
|
+
array[i2] = newEntry;
|
|
34115
34785
|
return true;
|
|
34116
34786
|
}
|
|
34117
34787
|
}
|
|
@@ -34124,8 +34794,8 @@ var Dictionary = function() {
|
|
|
34124
34794
|
if (!callHasOwnProperty(this.buckets, hash))
|
|
34125
34795
|
return false;
|
|
34126
34796
|
var array = this.buckets[hash];
|
|
34127
|
-
for (let
|
|
34128
|
-
if (this.compareSelector(array[
|
|
34797
|
+
for (let i2 = 0; i2 < array.length; i2++) {
|
|
34798
|
+
if (this.compareSelector(array[i2].key) === compareKey)
|
|
34129
34799
|
return true;
|
|
34130
34800
|
}
|
|
34131
34801
|
return false;
|
|
@@ -34141,10 +34811,10 @@ var Dictionary = function() {
|
|
|
34141
34811
|
if (!callHasOwnProperty(this.buckets, hash))
|
|
34142
34812
|
return;
|
|
34143
34813
|
var array = this.buckets[hash];
|
|
34144
|
-
for (let
|
|
34145
|
-
if (this.compareSelector(array[
|
|
34146
|
-
this.entryList.remove(array[
|
|
34147
|
-
array.splice(
|
|
34814
|
+
for (let i2 = 0; i2 < array.length; i2++) {
|
|
34815
|
+
if (this.compareSelector(array[i2].key) === compareKey) {
|
|
34816
|
+
this.entryList.remove(array[i2]);
|
|
34817
|
+
array.splice(i2, 1);
|
|
34148
34818
|
if (array.length == 0)
|
|
34149
34819
|
delete this.buckets[hash];
|
|
34150
34820
|
this.countField--;
|
|
@@ -34412,7 +35082,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
34412
35082
|
var _a;
|
|
34413
35083
|
this.spinPlatShow.value = true;
|
|
34414
35084
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
34415
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
35085
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
34416
35086
|
PId: platId
|
|
34417
35087
|
})).orderBy(["OrderNo"]));
|
|
34418
35088
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -35086,7 +35756,7 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
35086
35756
|
if (arr && arr.length > 0) {
|
|
35087
35757
|
this.isShowForm.value = true;
|
|
35088
35758
|
this.isShowSpin.value = true;
|
|
35089
|
-
arr.forEach((x,
|
|
35759
|
+
arr.forEach((x, i2) => {
|
|
35090
35760
|
if (x.type == "region") {
|
|
35091
35761
|
let regionArr = [
|
|
35092
35762
|
{
|
|
@@ -35145,7 +35815,7 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
35145
35815
|
] : []
|
|
35146
35816
|
}
|
|
35147
35817
|
];
|
|
35148
|
-
arr.splice(
|
|
35818
|
+
arr.splice(i2, 1, ...regionArr);
|
|
35149
35819
|
}
|
|
35150
35820
|
if (x.requiredd > 0) {
|
|
35151
35821
|
switch (x.type) {
|
|
@@ -35174,15 +35844,15 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
35174
35844
|
}
|
|
35175
35845
|
this.mainFormItems.splice(0, this.mainFormItems.length, ...arr);
|
|
35176
35846
|
console.log("xxxxxxxxxxxxx", this.mainFormItems);
|
|
35177
|
-
this.mainFormItems.forEach((x,
|
|
35847
|
+
this.mainFormItems.forEach((x, i2) => {
|
|
35178
35848
|
if (x.model == "Province") {
|
|
35179
|
-
this.provinceIndex.value =
|
|
35849
|
+
this.provinceIndex.value = i2;
|
|
35180
35850
|
}
|
|
35181
35851
|
if (x.model == "City") {
|
|
35182
|
-
this.cityIndex.value =
|
|
35852
|
+
this.cityIndex.value = i2;
|
|
35183
35853
|
}
|
|
35184
35854
|
if (x.model == "Area") {
|
|
35185
|
-
this.areaIndex.value =
|
|
35855
|
+
this.areaIndex.value = i2;
|
|
35186
35856
|
}
|
|
35187
35857
|
});
|
|
35188
35858
|
console.log("xxxxxxxxxxxxx", this.mainFormItems);
|
|
@@ -35439,7 +36109,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
35439
36109
|
var _a;
|
|
35440
36110
|
this.spinPlatShow.value = true;
|
|
35441
36111
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
35442
|
-
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
36112
|
+
const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
35443
36113
|
PId: platId
|
|
35444
36114
|
})).orderBy(["OrderNo"]));
|
|
35445
36115
|
this.platData.value = this.utilities.parseApiResult(apiResult);
|
|
@@ -35947,7 +36617,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
35947
36617
|
let userRoles = this.utilities.parseApiResult(apiResult);
|
|
35948
36618
|
let insertRecords = [];
|
|
35949
36619
|
for (const item of chkDatas) {
|
|
35950
|
-
if (userRoles.findIndex((
|
|
36620
|
+
if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
|
|
35951
36621
|
insertRecords.push({
|
|
35952
36622
|
PlatformId: this.selectedPlatform.Id,
|
|
35953
36623
|
UserId: this.currentUser.Id,
|
|
@@ -35957,7 +36627,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
35957
36627
|
}
|
|
35958
36628
|
let deleteRecords = [];
|
|
35959
36629
|
for (const item of userRoles) {
|
|
35960
|
-
if (chkDatas.findIndex((
|
|
36630
|
+
if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
|
|
35961
36631
|
deleteRecords.push(item.Id);
|
|
35962
36632
|
}
|
|
35963
36633
|
}
|
|
@@ -36880,7 +37550,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
36880
37550
|
return new Instance$1(props, ctx);
|
|
36881
37551
|
}
|
|
36882
37552
|
});
|
|
36883
|
-
let Instance$1 = class
|
|
37553
|
+
let Instance$1 = class Instance2 extends BaseInstance {
|
|
36884
37554
|
// 全局属性
|
|
36885
37555
|
constructor(props, ctx) {
|
|
36886
37556
|
super();
|
|
@@ -37208,10 +37878,10 @@ const _sfc_main = defineComponent({
|
|
|
37208
37878
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
37209
37879
|
props: propDefine,
|
|
37210
37880
|
setup(props, ctx) {
|
|
37211
|
-
return new
|
|
37881
|
+
return new Instance3(props, ctx);
|
|
37212
37882
|
}
|
|
37213
37883
|
});
|
|
37214
|
-
class
|
|
37884
|
+
class Instance3 extends BaseInstance {
|
|
37215
37885
|
// 全局属性
|
|
37216
37886
|
constructor(props, ctx) {
|
|
37217
37887
|
super();
|
|
@@ -37321,7 +37991,7 @@ class Instance2 extends BaseInstance {
|
|
|
37321
37991
|
var _a;
|
|
37322
37992
|
this.spinPlatShow.value = true;
|
|
37323
37993
|
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
37324
|
-
let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((
|
|
37994
|
+
let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
|
|
37325
37995
|
PId: platId
|
|
37326
37996
|
})).orderBy(["OrderNo"])));
|
|
37327
37997
|
console.log(apiResult, "平台信息");
|
|
@@ -37842,6 +38512,11 @@ const index = [
|
|
|
37842
38512
|
component: Information
|
|
37843
38513
|
},
|
|
37844
38514
|
// 平台设置(二级)
|
|
38515
|
+
{
|
|
38516
|
+
// 菜单模块
|
|
38517
|
+
path: "/permission-service/platform/submodule",
|
|
38518
|
+
component: Module
|
|
38519
|
+
},
|
|
37845
38520
|
{
|
|
37846
38521
|
// 项目管理
|
|
37847
38522
|
path: "/permission-service/platform/subplatform",
|
|
@@ -37882,6 +38557,11 @@ const index = [
|
|
|
37882
38557
|
path: "/permission-service/subplatform/subModule",
|
|
37883
38558
|
component: subModule
|
|
37884
38559
|
},
|
|
38560
|
+
{
|
|
38561
|
+
// 登录日志
|
|
38562
|
+
path: "/permission-service/subplatform/sublogininfo",
|
|
38563
|
+
component: SubLoginInfo
|
|
38564
|
+
},
|
|
37885
38565
|
{
|
|
37886
38566
|
// 地图定点
|
|
37887
38567
|
path: "/permission-service/institution/sublinepoins",
|