@newview/permission-service 1.2.24 → 1.2.25
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 +5 -0
- package/dist/permission-service.js +1175 -224
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ var __publicField = (obj, key, value) => {
|
|
|
6
6
|
};
|
|
7
7
|
import { BaseInstance } from "@newview/base-vue";
|
|
8
8
|
import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, withModifiers } from "vue";
|
|
9
|
-
import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi, InstitutionLinePointApi, InstitutionPointApi, ProjectSummaryApi } from "@newview/permission-api";
|
|
9
|
+
import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi, InstitutionLinePointApi, InstitutionPointApi, ProjectSummaryApi, DataBoardModuleApi, DataInistitutionRelationApi, DataInstitutionBoardRelationApi } from "@newview/permission-api";
|
|
10
10
|
import { QueryWrapper, BaseApi } from "@newview/infrastructure";
|
|
11
11
|
import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
|
|
12
12
|
import { SelectPlatform, BaseLogin } from "@newview/permission-ui";
|
|
@@ -14,7 +14,7 @@ import { SignTaskInfoApi } from "@newview/casign-api";
|
|
|
14
14
|
import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
|
|
15
15
|
import { NvComFormUp } from "@newview/file-ui";
|
|
16
16
|
import { NvMap } from "@newview/map";
|
|
17
|
-
const propDefine$
|
|
17
|
+
const propDefine$l = {
|
|
18
18
|
linkParam: {
|
|
19
19
|
// 带入的参数
|
|
20
20
|
type: String,
|
|
@@ -26,12 +26,12 @@ const propDefine$j = {
|
|
|
26
26
|
default: "-"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
const _sfc_main$
|
|
29
|
+
const _sfc_main$l = defineComponent({
|
|
30
30
|
name: "Platform",
|
|
31
31
|
components: {},
|
|
32
32
|
emits: [""],
|
|
33
33
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
34
|
-
props: propDefine$
|
|
34
|
+
props: propDefine$l,
|
|
35
35
|
setup(props, ctx) {
|
|
36
36
|
return new PlatformInstance$1(props, ctx);
|
|
37
37
|
}
|
|
@@ -408,13 +408,13 @@ const _export_sfc = (sfc, props) => {
|
|
|
408
408
|
}
|
|
409
409
|
return target;
|
|
410
410
|
};
|
|
411
|
-
const _hoisted_1$
|
|
411
|
+
const _hoisted_1$k = {
|
|
412
412
|
class: "nv-flex",
|
|
413
413
|
style: { "justify-content": "space-between" }
|
|
414
414
|
};
|
|
415
415
|
const _hoisted_2$a = { style: { "height": "550px", "overflow-y": "auto" } };
|
|
416
416
|
const _hoisted_3$a = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
417
|
-
function _sfc_render$
|
|
417
|
+
function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
|
|
418
418
|
const _component_NvList = resolveComponent("NvList");
|
|
419
419
|
const _component_Icon = resolveComponent("Icon");
|
|
420
420
|
const _component_Space = resolveComponent("Space");
|
|
@@ -436,7 +436,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
436
436
|
"show-arrow": true
|
|
437
437
|
}, {
|
|
438
438
|
footer: withCtx(() => [
|
|
439
|
-
createElementVNode("div", _hoisted_1$
|
|
439
|
+
createElementVNode("div", _hoisted_1$k, [
|
|
440
440
|
createVNode(_component_Space, null, {
|
|
441
441
|
default: withCtx(() => [
|
|
442
442
|
createVNode(_component_Icon, {
|
|
@@ -589,8 +589,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
589
589
|
_: 1
|
|
590
590
|
});
|
|
591
591
|
}
|
|
592
|
-
const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
593
|
-
const propDefine$
|
|
592
|
+
const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-f58b0adc"]]);
|
|
593
|
+
const propDefine$k = {
|
|
594
594
|
linkParam: {
|
|
595
595
|
// 带入的参数
|
|
596
596
|
type: String,
|
|
@@ -602,12 +602,12 @@ const propDefine$i = {
|
|
|
602
602
|
default: "-"
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
const _sfc_main$
|
|
605
|
+
const _sfc_main$k = defineComponent({
|
|
606
606
|
name: "Module",
|
|
607
607
|
components: { SelectPlatform },
|
|
608
608
|
emits: ["change"],
|
|
609
609
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
610
|
-
props: propDefine$
|
|
610
|
+
props: propDefine$k,
|
|
611
611
|
setup(props, ctx) {
|
|
612
612
|
return new ModuleInstance$1(props, ctx);
|
|
613
613
|
}
|
|
@@ -1433,7 +1433,7 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
|
|
|
1433
1433
|
};
|
|
1434
1434
|
const Module_vue_vue_type_style_index_0_scoped_e41c07fc_lang = "";
|
|
1435
1435
|
const _withScopeId$4 = (n) => (pushScopeId("data-v-e41c07fc"), n = n(), popScopeId(), n);
|
|
1436
|
-
const _hoisted_1$
|
|
1436
|
+
const _hoisted_1$j = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
1437
1437
|
const _hoisted_2$9 = {
|
|
1438
1438
|
class: "import-module",
|
|
1439
1439
|
style: { "height": "650px", "position": "relative" }
|
|
@@ -1444,7 +1444,7 @@ const _hoisted_5$7 = { style: { "height": "calc(100% - 0px)" } };
|
|
|
1444
1444
|
const _hoisted_6$7 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
|
|
1445
1445
|
const _hoisted_7$5 = { style: { "height": "calc(100% - 0px)" } };
|
|
1446
1446
|
const _hoisted_8$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
|
|
1447
|
-
function _sfc_render$
|
|
1447
|
+
function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1448
1448
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
1449
1449
|
const _component_Radio = resolveComponent("Radio");
|
|
1450
1450
|
const _component_RadioGroup = resolveComponent("RadioGroup");
|
|
@@ -1532,7 +1532,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1532
1532
|
}, 8, ["loading", "onClick"])
|
|
1533
1533
|
]),
|
|
1534
1534
|
default: withCtx(() => [
|
|
1535
|
-
createElementVNode("div", _hoisted_1$
|
|
1535
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
1536
1536
|
createVNode(_component_Form, {
|
|
1537
1537
|
model: _ctx.moduleFormModel,
|
|
1538
1538
|
"label-width": 90
|
|
@@ -1667,8 +1667,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1667
1667
|
_: 1
|
|
1668
1668
|
});
|
|
1669
1669
|
}
|
|
1670
|
-
const Module = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1671
|
-
const propDefine$
|
|
1670
|
+
const Module = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-e41c07fc"]]);
|
|
1671
|
+
const propDefine$j = {
|
|
1672
1672
|
linkParam: {
|
|
1673
1673
|
// 带入的参数
|
|
1674
1674
|
type: String,
|
|
@@ -1680,12 +1680,12 @@ const propDefine$h = {
|
|
|
1680
1680
|
default: "-"
|
|
1681
1681
|
}
|
|
1682
1682
|
};
|
|
1683
|
-
const _sfc_main$
|
|
1683
|
+
const _sfc_main$j = defineComponent({
|
|
1684
1684
|
name: "Role",
|
|
1685
1685
|
components: { SelectPlatform },
|
|
1686
1686
|
emits: [""],
|
|
1687
1687
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
1688
|
-
props: propDefine$
|
|
1688
|
+
props: propDefine$j,
|
|
1689
1689
|
setup(props, ctx) {
|
|
1690
1690
|
return new RoleInstance$1(props, ctx);
|
|
1691
1691
|
}
|
|
@@ -2476,14 +2476,14 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
|
|
|
2476
2476
|
//#endregion 导入角色 END
|
|
2477
2477
|
};
|
|
2478
2478
|
const Role_vue_vue_type_style_index_0_scoped_0f25fe31_lang = "";
|
|
2479
|
-
const _hoisted_1$
|
|
2479
|
+
const _hoisted_1$i = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
|
|
2480
2480
|
const _hoisted_2$8 = {
|
|
2481
2481
|
class: "import-role",
|
|
2482
2482
|
style: { "height": "610px", "position": "relative" }
|
|
2483
2483
|
};
|
|
2484
2484
|
const _hoisted_3$8 = { style: { "width": "100%", "height": "100%" } };
|
|
2485
2485
|
const _hoisted_4$8 = { style: { "height": "530px", "overflow-y": "auto" } };
|
|
2486
|
-
function _sfc_render$
|
|
2486
|
+
function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2487
2487
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
2488
2488
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
2489
2489
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -2549,7 +2549,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2549
2549
|
}, 8, ["loading", "onClick"])
|
|
2550
2550
|
]),
|
|
2551
2551
|
default: withCtx(() => [
|
|
2552
|
-
createElementVNode("div", _hoisted_1$
|
|
2552
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
2553
2553
|
createVNode(_component_NvGrid, {
|
|
2554
2554
|
ref: "moduleGrid",
|
|
2555
2555
|
option: _ctx.moduleGridOption
|
|
@@ -2683,8 +2683,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2683
2683
|
_: 1
|
|
2684
2684
|
});
|
|
2685
2685
|
}
|
|
2686
|
-
const Role = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2687
|
-
const propDefine$
|
|
2686
|
+
const Role = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-0f25fe31"]]);
|
|
2687
|
+
const propDefine$i = {
|
|
2688
2688
|
linkParam: {
|
|
2689
2689
|
// 带入的参数
|
|
2690
2690
|
type: String,
|
|
@@ -2696,12 +2696,12 @@ const propDefine$g = {
|
|
|
2696
2696
|
default: "-"
|
|
2697
2697
|
}
|
|
2698
2698
|
};
|
|
2699
|
-
const _sfc_main$
|
|
2699
|
+
const _sfc_main$i = defineComponent({
|
|
2700
2700
|
name: "InstitutionType",
|
|
2701
2701
|
components: {},
|
|
2702
2702
|
emits: [""],
|
|
2703
2703
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
2704
|
-
props: propDefine$
|
|
2704
|
+
props: propDefine$i,
|
|
2705
2705
|
setup(props, ctx) {
|
|
2706
2706
|
return new InstitutionTypeInstance(props, ctx);
|
|
2707
2707
|
}
|
|
@@ -2903,8 +2903,8 @@ class InstitutionTypeInstance extends BaseInstance {
|
|
|
2903
2903
|
//#endregion 编辑机构类型 END
|
|
2904
2904
|
}
|
|
2905
2905
|
const InstitutionType_vue_vue_type_style_index_0_scoped_947fe129_lang = "";
|
|
2906
|
-
const _hoisted_1$
|
|
2907
|
-
function _sfc_render$
|
|
2906
|
+
const _hoisted_1$h = { style: { "height": "350px", "overflow-y": "auto" } };
|
|
2907
|
+
function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
|
|
2908
2908
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
2909
2909
|
const _component_NvBox = resolveComponent("NvBox");
|
|
2910
2910
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
@@ -2957,7 +2957,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2957
2957
|
}, 8, ["loading", "onClick"])
|
|
2958
2958
|
]),
|
|
2959
2959
|
default: withCtx(() => [
|
|
2960
|
-
createElementVNode("div", _hoisted_1$
|
|
2960
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
2961
2961
|
createVNode(_component_Form, {
|
|
2962
2962
|
ref: "refInstitutionTypeForm",
|
|
2963
2963
|
model: _ctx.institutionTypeFormModel,
|
|
@@ -2979,8 +2979,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
2979
2979
|
_: 1
|
|
2980
2980
|
});
|
|
2981
2981
|
}
|
|
2982
|
-
const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2983
|
-
const propDefine$
|
|
2982
|
+
const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-947fe129"]]);
|
|
2983
|
+
const propDefine$h = {
|
|
2984
2984
|
linkParam: {
|
|
2985
2985
|
// 带入的参数
|
|
2986
2986
|
type: String,
|
|
@@ -2992,12 +2992,12 @@ const propDefine$f = {
|
|
|
2992
2992
|
default: "-"
|
|
2993
2993
|
}
|
|
2994
2994
|
};
|
|
2995
|
-
const _sfc_main$
|
|
2995
|
+
const _sfc_main$h = defineComponent({
|
|
2996
2996
|
name: "Institution",
|
|
2997
2997
|
components: { SelectPlatform },
|
|
2998
2998
|
emits: [""],
|
|
2999
2999
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
3000
|
-
props: propDefine$
|
|
3000
|
+
props: propDefine$h,
|
|
3001
3001
|
setup(props, ctx) {
|
|
3002
3002
|
return new InstitutionInstance$1(props, ctx);
|
|
3003
3003
|
}
|
|
@@ -3902,7 +3902,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
|
|
|
3902
3902
|
//#endregion 绑定角色 END
|
|
3903
3903
|
};
|
|
3904
3904
|
const Institution_vue_vue_type_style_index_0_scoped_42799ba1_lang = "";
|
|
3905
|
-
const _hoisted_1$
|
|
3905
|
+
const _hoisted_1$g = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
3906
3906
|
const _hoisted_2$7 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
3907
3907
|
const _hoisted_3$7 = {
|
|
3908
3908
|
class: "import-institution",
|
|
@@ -3911,7 +3911,7 @@ const _hoisted_3$7 = {
|
|
|
3911
3911
|
const _hoisted_4$7 = { style: { "width": "100%", "height": "100%" } };
|
|
3912
3912
|
const _hoisted_5$6 = { style: { "height": "calc(100%)" } };
|
|
3913
3913
|
const _hoisted_6$6 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
|
|
3914
|
-
function _sfc_render$
|
|
3914
|
+
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3915
3915
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
3916
3916
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
3917
3917
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -3981,7 +3981,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3981
3981
|
})
|
|
3982
3982
|
]),
|
|
3983
3983
|
default: withCtx(() => [
|
|
3984
|
-
createElementVNode("div", _hoisted_1$
|
|
3984
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
3985
3985
|
createVNode(_component_Tree, {
|
|
3986
3986
|
data: _ctx.institutionTree,
|
|
3987
3987
|
render: _ctx.renderContent,
|
|
@@ -4179,14 +4179,14 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4179
4179
|
_: 1
|
|
4180
4180
|
});
|
|
4181
4181
|
}
|
|
4182
|
-
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4183
|
-
const propDefine$
|
|
4184
|
-
const _sfc_main$
|
|
4182
|
+
const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-42799ba1"]]);
|
|
4183
|
+
const propDefine$g = {};
|
|
4184
|
+
const _sfc_main$g = defineComponent({
|
|
4185
4185
|
name: "LoginLog",
|
|
4186
4186
|
components: {},
|
|
4187
4187
|
emits: [""],
|
|
4188
4188
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4189
|
-
props: propDefine$
|
|
4189
|
+
props: propDefine$g,
|
|
4190
4190
|
setup(props, ctx) {
|
|
4191
4191
|
return new LoginLogInstance$1(props, ctx);
|
|
4192
4192
|
}
|
|
@@ -4291,18 +4291,18 @@ let LoginLogInstance$1 = class LoginLogInstance extends BaseInstance {
|
|
|
4291
4291
|
//#endregion 登录日志 END
|
|
4292
4292
|
};
|
|
4293
4293
|
const LoginLog_vue_vue_type_style_index_0_scoped_4e2e0184_lang = "";
|
|
4294
|
-
const _hoisted_1$
|
|
4295
|
-
function _sfc_render$
|
|
4294
|
+
const _hoisted_1$f = { class: "loginLog" };
|
|
4295
|
+
function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4296
4296
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
4297
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
4297
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
4298
4298
|
createVNode(_component_NvGrid, {
|
|
4299
4299
|
ref: "loginLogGrid",
|
|
4300
4300
|
option: _ctx.loginLogGridOption
|
|
4301
4301
|
}, null, 8, ["option"])
|
|
4302
4302
|
]);
|
|
4303
4303
|
}
|
|
4304
|
-
const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4305
|
-
const propDefine$
|
|
4304
|
+
const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-4e2e0184"]]);
|
|
4305
|
+
const propDefine$f = {
|
|
4306
4306
|
linkParam: {
|
|
4307
4307
|
// 带入的参数
|
|
4308
4308
|
type: String,
|
|
@@ -4314,12 +4314,12 @@ const propDefine$d = {
|
|
|
4314
4314
|
default: "-"
|
|
4315
4315
|
}
|
|
4316
4316
|
};
|
|
4317
|
-
const _sfc_main$
|
|
4317
|
+
const _sfc_main$f = defineComponent({
|
|
4318
4318
|
name: "Userinfor",
|
|
4319
4319
|
components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin },
|
|
4320
4320
|
emits: [""],
|
|
4321
4321
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4322
|
-
props: propDefine$
|
|
4322
|
+
props: propDefine$f,
|
|
4323
4323
|
setup(props, ctx) {
|
|
4324
4324
|
return new UserinforInstance$1(props, ctx);
|
|
4325
4325
|
}
|
|
@@ -5353,7 +5353,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5353
5353
|
};
|
|
5354
5354
|
const Userinfor_vue_vue_type_style_index_0_scoped_3969fae6_lang = "";
|
|
5355
5355
|
const _withScopeId$3 = (n) => (pushScopeId("data-v-3969fae6"), n = n(), popScopeId(), n);
|
|
5356
|
-
const _hoisted_1$
|
|
5356
|
+
const _hoisted_1$e = { class: "instree-search" };
|
|
5357
5357
|
const _hoisted_2$6 = { class: "instree-list" };
|
|
5358
5358
|
const _hoisted_3$6 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
5359
5359
|
const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -5369,7 +5369,7 @@ const _hoisted_10$2 = { style: { "display": "none" } };
|
|
|
5369
5369
|
const _hoisted_11$2 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
5370
5370
|
const _hoisted_12$1 = ["src"];
|
|
5371
5371
|
const _hoisted_13$1 = ["src"];
|
|
5372
|
-
function _sfc_render$
|
|
5372
|
+
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5373
5373
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
5374
5374
|
const _component_Tree = resolveComponent("Tree");
|
|
5375
5375
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -5412,7 +5412,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5412
5412
|
})
|
|
5413
5413
|
]),
|
|
5414
5414
|
default: withCtx(() => [
|
|
5415
|
-
createElementVNode("div", _hoisted_1$
|
|
5415
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
5416
5416
|
createVNode(_component_SelectPlatform, {
|
|
5417
5417
|
onSelect: _ctx.doChangePlatform,
|
|
5418
5418
|
width: "100%",
|
|
@@ -5731,8 +5731,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5731
5731
|
_: 1
|
|
5732
5732
|
});
|
|
5733
5733
|
}
|
|
5734
|
-
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5735
|
-
const propDefine$
|
|
5734
|
+
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-3969fae6"]]);
|
|
5735
|
+
const propDefine$e = {
|
|
5736
5736
|
linkParam: {
|
|
5737
5737
|
// 带入的参数
|
|
5738
5738
|
type: String,
|
|
@@ -5744,12 +5744,12 @@ const propDefine$c = {
|
|
|
5744
5744
|
default: "-"
|
|
5745
5745
|
}
|
|
5746
5746
|
};
|
|
5747
|
-
const _sfc_main$
|
|
5747
|
+
const _sfc_main$e = defineComponent({
|
|
5748
5748
|
name: "Enterprise",
|
|
5749
5749
|
components: { SelectPlatform },
|
|
5750
5750
|
emits: [""],
|
|
5751
5751
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
5752
|
-
props: propDefine$
|
|
5752
|
+
props: propDefine$e,
|
|
5753
5753
|
setup(props, ctx) {
|
|
5754
5754
|
return new EnterpriseInstance$1(props, ctx);
|
|
5755
5755
|
}
|
|
@@ -6136,8 +6136,8 @@ let EnterpriseInstance$1 = class EnterpriseInstance extends BaseInstance {
|
|
|
6136
6136
|
//#endregion 业务逻辑 编辑企业信息 END
|
|
6137
6137
|
};
|
|
6138
6138
|
const Enterprise_vue_vue_type_style_index_0_scoped_58aa3e77_lang = "";
|
|
6139
|
-
const _hoisted_1$
|
|
6140
|
-
function _sfc_render$
|
|
6139
|
+
const _hoisted_1$d = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
6140
|
+
function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6141
6141
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
6142
6142
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
6143
6143
|
const _component_NvBox = resolveComponent("NvBox");
|
|
@@ -6205,7 +6205,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6205
6205
|
}, 8, ["loading", "onClick"])) : createCommentVNode("", true)
|
|
6206
6206
|
]),
|
|
6207
6207
|
default: withCtx(() => [
|
|
6208
|
-
createElementVNode("div", _hoisted_1$
|
|
6208
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
6209
6209
|
createVNode(_component_Form, {
|
|
6210
6210
|
model: _ctx.enterpriseFormModel,
|
|
6211
6211
|
"label-width": 90
|
|
@@ -6228,7 +6228,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6228
6228
|
_: 1
|
|
6229
6229
|
});
|
|
6230
6230
|
}
|
|
6231
|
-
const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6231
|
+
const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-58aa3e77"]]);
|
|
6232
6232
|
class DBCenterBaseApi extends BaseApi {
|
|
6233
6233
|
get ProxyName() {
|
|
6234
6234
|
return "CalcPythonApi";
|
|
@@ -6258,7 +6258,7 @@ class CorePlatformConfigApi extends DBCenterBaseApi {
|
|
|
6258
6258
|
this.addHeader("tableName", "core_platform_config");
|
|
6259
6259
|
}
|
|
6260
6260
|
}
|
|
6261
|
-
const propDefine$
|
|
6261
|
+
const propDefine$d = {
|
|
6262
6262
|
linkParam: {
|
|
6263
6263
|
// 带入的参数
|
|
6264
6264
|
type: String,
|
|
@@ -6270,14 +6270,14 @@ const propDefine$b = {
|
|
|
6270
6270
|
default: "-"
|
|
6271
6271
|
}
|
|
6272
6272
|
};
|
|
6273
|
-
const _sfc_main$
|
|
6273
|
+
const _sfc_main$d = defineComponent({
|
|
6274
6274
|
name: "Information",
|
|
6275
6275
|
components: {
|
|
6276
6276
|
NvComFormUp
|
|
6277
6277
|
},
|
|
6278
6278
|
emits: [""],
|
|
6279
6279
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
6280
|
-
props: propDefine$
|
|
6280
|
+
props: propDefine$d,
|
|
6281
6281
|
setup(props, ctx) {
|
|
6282
6282
|
return new InformationInstance(props, ctx);
|
|
6283
6283
|
}
|
|
@@ -6642,8 +6642,8 @@ class InformationInstance extends BaseInstance {
|
|
|
6642
6642
|
}
|
|
6643
6643
|
//#endregion 编辑信息 END
|
|
6644
6644
|
}
|
|
6645
|
-
const _hoisted_1$
|
|
6646
|
-
function _sfc_render$
|
|
6645
|
+
const _hoisted_1$c = { style: { "overflow-y": "auto" } };
|
|
6646
|
+
function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6647
6647
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
6648
6648
|
const _component_NvBox = resolveComponent("NvBox");
|
|
6649
6649
|
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
@@ -6700,7 +6700,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6700
6700
|
}, 8, ["loading", "onClick"])
|
|
6701
6701
|
]),
|
|
6702
6702
|
default: withCtx(() => [
|
|
6703
|
-
createElementVNode("div", _hoisted_1$
|
|
6703
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
6704
6704
|
createVNode(_component_Form, {
|
|
6705
6705
|
ref: "refRoleForm",
|
|
6706
6706
|
model: _ctx.roleFormModel,
|
|
@@ -6722,8 +6722,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6722
6722
|
_: 1
|
|
6723
6723
|
});
|
|
6724
6724
|
}
|
|
6725
|
-
const Information = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6726
|
-
const propDefine$
|
|
6725
|
+
const Information = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
|
|
6726
|
+
const propDefine$c = {
|
|
6727
6727
|
linkParam: {
|
|
6728
6728
|
// 带入的参数
|
|
6729
6729
|
type: String,
|
|
@@ -6745,12 +6745,12 @@ const propDefine$a = {
|
|
|
6745
6745
|
default: "BD"
|
|
6746
6746
|
}
|
|
6747
6747
|
};
|
|
6748
|
-
const _sfc_main$
|
|
6748
|
+
const _sfc_main$c = defineComponent({
|
|
6749
6749
|
name: "GeneralConfiguration",
|
|
6750
6750
|
components: {},
|
|
6751
6751
|
emits: [""],
|
|
6752
6752
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
6753
|
-
props: propDefine$
|
|
6753
|
+
props: propDefine$c,
|
|
6754
6754
|
setup(props, ctx) {
|
|
6755
6755
|
return new GeneralConfigurationInstance(props, ctx);
|
|
6756
6756
|
}
|
|
@@ -7277,8 +7277,8 @@ class GeneralConfigurationInstance extends BaseInstance {
|
|
|
7277
7277
|
//#endregion 概况选择modal END
|
|
7278
7278
|
}
|
|
7279
7279
|
const GeneralConfiguration_vue_vue_type_style_index_0_scoped_a01b6a2e_lang = "";
|
|
7280
|
-
const _hoisted_1$
|
|
7281
|
-
function _sfc_render$
|
|
7280
|
+
const _hoisted_1$b = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
7281
|
+
function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7282
7282
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
7283
7283
|
const _component_NvBox = resolveComponent("NvBox");
|
|
7284
7284
|
const _component_Button = resolveComponent("Button");
|
|
@@ -7330,7 +7330,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7330
7330
|
}, 8, ["loading", "onClick"])
|
|
7331
7331
|
]),
|
|
7332
7332
|
default: withCtx(() => [
|
|
7333
|
-
createElementVNode("div", _hoisted_1$
|
|
7333
|
+
createElementVNode("div", _hoisted_1$b, [
|
|
7334
7334
|
createVNode(_component_NvGrid, {
|
|
7335
7335
|
ref: "dicModalGrid",
|
|
7336
7336
|
option: _ctx.dicModalGridOption
|
|
@@ -7343,8 +7343,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7343
7343
|
_: 1
|
|
7344
7344
|
});
|
|
7345
7345
|
}
|
|
7346
|
-
const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7347
|
-
const propDefine$
|
|
7346
|
+
const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-a01b6a2e"]]);
|
|
7347
|
+
const propDefine$b = {
|
|
7348
7348
|
linkParam: {
|
|
7349
7349
|
// 带入的参数
|
|
7350
7350
|
type: String,
|
|
@@ -7356,14 +7356,14 @@ const propDefine$9 = {
|
|
|
7356
7356
|
default: "-"
|
|
7357
7357
|
}
|
|
7358
7358
|
};
|
|
7359
|
-
const _sfc_main$
|
|
7359
|
+
const _sfc_main$b = defineComponent({
|
|
7360
7360
|
name: "Platform",
|
|
7361
7361
|
components: {
|
|
7362
7362
|
GeneralConfiguration
|
|
7363
7363
|
},
|
|
7364
7364
|
emits: [""],
|
|
7365
7365
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
7366
|
-
props: propDefine$
|
|
7366
|
+
props: propDefine$b,
|
|
7367
7367
|
setup(props, ctx) {
|
|
7368
7368
|
return new PlatformInstance2(props, ctx);
|
|
7369
7369
|
}
|
|
@@ -7704,8 +7704,8 @@ class PlatformInstance2 extends BaseInstance {
|
|
|
7704
7704
|
//#endregion 系统平台编辑 END
|
|
7705
7705
|
}
|
|
7706
7706
|
const Platform_vue_vue_type_style_index_0_scoped_fbc0e7f2_lang = "";
|
|
7707
|
-
const _hoisted_1$
|
|
7708
|
-
function _sfc_render$
|
|
7707
|
+
const _hoisted_1$a = { style: { "height": "550px", "overflow-y": "auto" } };
|
|
7708
|
+
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7709
7709
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
7710
7710
|
const _component_NvBox = resolveComponent("NvBox");
|
|
7711
7711
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
@@ -7760,7 +7760,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7760
7760
|
}, 8, ["loading", "onClick"])
|
|
7761
7761
|
]),
|
|
7762
7762
|
default: withCtx(() => [
|
|
7763
|
-
createElementVNode("div", _hoisted_1$
|
|
7763
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
7764
7764
|
createVNode(_component_Form, {
|
|
7765
7765
|
ref: "refPlatformForm",
|
|
7766
7766
|
model: _ctx.platformFormModel,
|
|
@@ -7808,8 +7808,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7808
7808
|
_: 1
|
|
7809
7809
|
});
|
|
7810
7810
|
}
|
|
7811
|
-
const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7812
|
-
const propDefine$
|
|
7811
|
+
const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-fbc0e7f2"]]);
|
|
7812
|
+
const propDefine$a = {
|
|
7813
7813
|
linkParam: {
|
|
7814
7814
|
// 带入的参数
|
|
7815
7815
|
type: String,
|
|
@@ -7821,12 +7821,12 @@ const propDefine$8 = {
|
|
|
7821
7821
|
default: "-"
|
|
7822
7822
|
}
|
|
7823
7823
|
};
|
|
7824
|
-
const _sfc_main$
|
|
7824
|
+
const _sfc_main$a = defineComponent({
|
|
7825
7825
|
name: "Role",
|
|
7826
7826
|
components: { SelectPlatform },
|
|
7827
7827
|
emits: [""],
|
|
7828
7828
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
7829
|
-
props: propDefine$
|
|
7829
|
+
props: propDefine$a,
|
|
7830
7830
|
setup(props, ctx) {
|
|
7831
7831
|
return new RoleInstance2(props, ctx);
|
|
7832
7832
|
}
|
|
@@ -8651,14 +8651,14 @@ class RoleInstance2 extends BaseInstance {
|
|
|
8651
8651
|
//#endregion 导入角色 END
|
|
8652
8652
|
}
|
|
8653
8653
|
const Role_vue_vue_type_style_index_0_scoped_414834fa_lang = "";
|
|
8654
|
-
const _hoisted_1$
|
|
8654
|
+
const _hoisted_1$9 = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
|
|
8655
8655
|
const _hoisted_2$5 = {
|
|
8656
8656
|
class: "import-role",
|
|
8657
8657
|
style: { "height": "610px", "position": "relative" }
|
|
8658
8658
|
};
|
|
8659
8659
|
const _hoisted_3$5 = { style: { "width": "100%", "height": "100%" } };
|
|
8660
8660
|
const _hoisted_4$5 = { style: { "height": "530px", "overflow-y": "auto" } };
|
|
8661
|
-
function _sfc_render$
|
|
8661
|
+
function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8662
8662
|
const _component_Option = resolveComponent("Option");
|
|
8663
8663
|
const _component_Select = resolveComponent("Select");
|
|
8664
8664
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -8761,7 +8761,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8761
8761
|
}, 8, ["loading", "onClick"])
|
|
8762
8762
|
]),
|
|
8763
8763
|
default: withCtx(() => [
|
|
8764
|
-
createElementVNode("div", _hoisted_1$
|
|
8764
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
8765
8765
|
createVNode(_component_NvGrid, {
|
|
8766
8766
|
ref: "moduleGrid",
|
|
8767
8767
|
option: _ctx.moduleGridOption
|
|
@@ -8921,8 +8921,8 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8921
8921
|
_: 1
|
|
8922
8922
|
});
|
|
8923
8923
|
}
|
|
8924
|
-
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8925
|
-
const propDefine$
|
|
8924
|
+
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-414834fa"]]);
|
|
8925
|
+
const propDefine$9 = {
|
|
8926
8926
|
linkParam: {
|
|
8927
8927
|
// 带入的参数
|
|
8928
8928
|
type: String,
|
|
@@ -8934,12 +8934,12 @@ const propDefine$7 = {
|
|
|
8934
8934
|
default: "-"
|
|
8935
8935
|
}
|
|
8936
8936
|
};
|
|
8937
|
-
const _sfc_main$
|
|
8937
|
+
const _sfc_main$9 = defineComponent({
|
|
8938
8938
|
name: "Enterprise",
|
|
8939
8939
|
components: { SelectPlatform },
|
|
8940
8940
|
emits: [""],
|
|
8941
8941
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
8942
|
-
props: propDefine$
|
|
8942
|
+
props: propDefine$9,
|
|
8943
8943
|
setup(props, ctx) {
|
|
8944
8944
|
return new EnterpriseInstance2(props, ctx);
|
|
8945
8945
|
}
|
|
@@ -9350,8 +9350,8 @@ class EnterpriseInstance2 extends BaseInstance {
|
|
|
9350
9350
|
//#endregion 业务逻辑 编辑企业信息 END
|
|
9351
9351
|
}
|
|
9352
9352
|
const Enterprise_vue_vue_type_style_index_0_scoped_57711b94_lang = "";
|
|
9353
|
-
const _hoisted_1$
|
|
9354
|
-
function _sfc_render$
|
|
9353
|
+
const _hoisted_1$8 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
9354
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9355
9355
|
const _component_Option = resolveComponent("Option");
|
|
9356
9356
|
const _component_Select = resolveComponent("Select");
|
|
9357
9357
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -9453,7 +9453,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9453
9453
|
}, 8, ["loading", "onClick"])) : createCommentVNode("", true)
|
|
9454
9454
|
]),
|
|
9455
9455
|
default: withCtx(() => [
|
|
9456
|
-
createElementVNode("div", _hoisted_1$
|
|
9456
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
9457
9457
|
createVNode(_component_Form, {
|
|
9458
9458
|
model: _ctx.enterpriseFormModel,
|
|
9459
9459
|
"label-width": 90
|
|
@@ -9476,8 +9476,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
9476
9476
|
_: 1
|
|
9477
9477
|
});
|
|
9478
9478
|
}
|
|
9479
|
-
const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9480
|
-
const propDefine$
|
|
9479
|
+
const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-57711b94"]]);
|
|
9480
|
+
const propDefine$8 = {
|
|
9481
9481
|
linkParam: {
|
|
9482
9482
|
// 带入的参数
|
|
9483
9483
|
type: String,
|
|
@@ -9489,12 +9489,12 @@ const propDefine$6 = {
|
|
|
9489
9489
|
default: "-"
|
|
9490
9490
|
}
|
|
9491
9491
|
};
|
|
9492
|
-
const _sfc_main$
|
|
9492
|
+
const _sfc_main$8 = defineComponent({
|
|
9493
9493
|
name: "Institution",
|
|
9494
9494
|
components: { SelectPlatform },
|
|
9495
9495
|
emits: [""],
|
|
9496
9496
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
9497
|
-
props: propDefine$
|
|
9497
|
+
props: propDefine$8,
|
|
9498
9498
|
setup(props, ctx) {
|
|
9499
9499
|
return new InstitutionInstance2(props, ctx);
|
|
9500
9500
|
}
|
|
@@ -10440,7 +10440,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
10440
10440
|
//#endregion 绑定角色 END
|
|
10441
10441
|
}
|
|
10442
10442
|
const Institution_vue_vue_type_style_index_0_scoped_ed65a91d_lang = "";
|
|
10443
|
-
const _hoisted_1$
|
|
10443
|
+
const _hoisted_1$7 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
10444
10444
|
const _hoisted_2$4 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
10445
10445
|
const _hoisted_3$4 = {
|
|
10446
10446
|
class: "import-institution",
|
|
@@ -10449,7 +10449,7 @@ const _hoisted_3$4 = {
|
|
|
10449
10449
|
const _hoisted_4$4 = { style: { "width": "100%", "height": "100%" } };
|
|
10450
10450
|
const _hoisted_5$4 = { style: { "height": "calc(100%)" } };
|
|
10451
10451
|
const _hoisted_6$4 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
|
|
10452
|
-
function _sfc_render$
|
|
10452
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10453
10453
|
const _component_Option = resolveComponent("Option");
|
|
10454
10454
|
const _component_Select = resolveComponent("Select");
|
|
10455
10455
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -10554,7 +10554,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10554
10554
|
})
|
|
10555
10555
|
]),
|
|
10556
10556
|
default: withCtx(() => [
|
|
10557
|
-
createElementVNode("div", _hoisted_1$
|
|
10557
|
+
createElementVNode("div", _hoisted_1$7, [
|
|
10558
10558
|
createVNode(_component_Tree, {
|
|
10559
10559
|
data: _ctx.institutionTree,
|
|
10560
10560
|
render: _ctx.renderContent,
|
|
@@ -10752,14 +10752,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10752
10752
|
_: 1
|
|
10753
10753
|
});
|
|
10754
10754
|
}
|
|
10755
|
-
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10756
|
-
const propDefine$
|
|
10757
|
-
const _sfc_main$
|
|
10755
|
+
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-ed65a91d"]]);
|
|
10756
|
+
const propDefine$7 = {};
|
|
10757
|
+
const _sfc_main$7 = defineComponent({
|
|
10758
10758
|
name: "LoginLog",
|
|
10759
10759
|
components: {},
|
|
10760
10760
|
emits: [""],
|
|
10761
10761
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
10762
|
-
props: propDefine$
|
|
10762
|
+
props: propDefine$7,
|
|
10763
10763
|
setup(props, ctx) {
|
|
10764
10764
|
return new LoginLogInstance2(props, ctx);
|
|
10765
10765
|
}
|
|
@@ -10864,18 +10864,18 @@ class LoginLogInstance2 extends BaseInstance {
|
|
|
10864
10864
|
//#endregion 登录日志 END
|
|
10865
10865
|
}
|
|
10866
10866
|
const LoginLog_vue_vue_type_style_index_0_scoped_a0d5af5b_lang = "";
|
|
10867
|
-
const _hoisted_1$
|
|
10868
|
-
function _sfc_render$
|
|
10867
|
+
const _hoisted_1$6 = { class: "loginLog" };
|
|
10868
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10869
10869
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
10870
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10870
|
+
return openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
10871
10871
|
createVNode(_component_NvGrid, {
|
|
10872
10872
|
ref: "loginLogGrid",
|
|
10873
10873
|
option: _ctx.loginLogGridOption
|
|
10874
10874
|
}, null, 8, ["option"])
|
|
10875
10875
|
]);
|
|
10876
10876
|
}
|
|
10877
|
-
const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10878
|
-
const propDefine$
|
|
10877
|
+
const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-a0d5af5b"]]);
|
|
10878
|
+
const propDefine$6 = {
|
|
10879
10879
|
linkParam: {
|
|
10880
10880
|
// 带入的参数
|
|
10881
10881
|
type: String,
|
|
@@ -10887,12 +10887,12 @@ const propDefine$4 = {
|
|
|
10887
10887
|
default: "-"
|
|
10888
10888
|
}
|
|
10889
10889
|
};
|
|
10890
|
-
const _sfc_main$
|
|
10890
|
+
const _sfc_main$6 = defineComponent({
|
|
10891
10891
|
name: "Userinfor",
|
|
10892
10892
|
components: { SelectPlatform, LoginLog, BaseLogin },
|
|
10893
10893
|
emits: [""],
|
|
10894
10894
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
10895
|
-
props: propDefine$
|
|
10895
|
+
props: propDefine$6,
|
|
10896
10896
|
setup(props, ctx) {
|
|
10897
10897
|
return new UserinforInstance2(props, ctx);
|
|
10898
10898
|
}
|
|
@@ -11966,7 +11966,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11966
11966
|
}
|
|
11967
11967
|
const Userinfor_vue_vue_type_style_index_0_scoped_d910e362_lang = "";
|
|
11968
11968
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-d910e362"), n = n(), popScopeId(), n);
|
|
11969
|
-
const _hoisted_1$
|
|
11969
|
+
const _hoisted_1$5 = { class: "instree-search" };
|
|
11970
11970
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
11971
11971
|
const _hoisted_3$3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
11972
11972
|
const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -11982,7 +11982,7 @@ const _hoisted_10$1 = { style: { "display": "none" } };
|
|
|
11982
11982
|
const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
11983
11983
|
const _hoisted_12 = ["src"];
|
|
11984
11984
|
const _hoisted_13 = ["src"];
|
|
11985
|
-
function _sfc_render$
|
|
11985
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11986
11986
|
const _component_Option = resolveComponent("Option");
|
|
11987
11987
|
const _component_Select = resolveComponent("Select");
|
|
11988
11988
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -12027,7 +12027,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12027
12027
|
})
|
|
12028
12028
|
]),
|
|
12029
12029
|
default: withCtx(() => [
|
|
12030
|
-
createElementVNode("div", _hoisted_1$
|
|
12030
|
+
createElementVNode("div", _hoisted_1$5, [
|
|
12031
12031
|
createVNode(_component_NvControlGroup, {
|
|
12032
12032
|
width: "100%",
|
|
12033
12033
|
icon: "md-refresh",
|
|
@@ -12377,8 +12377,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12377
12377
|
_: 1
|
|
12378
12378
|
});
|
|
12379
12379
|
}
|
|
12380
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12381
|
-
const propDefine$
|
|
12380
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-d910e362"]]);
|
|
12381
|
+
const propDefine$5 = {
|
|
12382
12382
|
linkParam: {
|
|
12383
12383
|
// 带入的参数
|
|
12384
12384
|
type: String,
|
|
@@ -12390,12 +12390,12 @@ const propDefine$3 = {
|
|
|
12390
12390
|
default: "-"
|
|
12391
12391
|
}
|
|
12392
12392
|
};
|
|
12393
|
-
const _sfc_main$
|
|
12393
|
+
const _sfc_main$5 = defineComponent({
|
|
12394
12394
|
name: "Module",
|
|
12395
12395
|
components: { SelectPlatform },
|
|
12396
12396
|
emits: ["change"],
|
|
12397
12397
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
12398
|
-
props: propDefine$
|
|
12398
|
+
props: propDefine$5,
|
|
12399
12399
|
setup(props, ctx) {
|
|
12400
12400
|
return new ModuleInstance2(props, ctx);
|
|
12401
12401
|
}
|
|
@@ -13245,7 +13245,7 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
13245
13245
|
}
|
|
13246
13246
|
const Module_vue_vue_type_style_index_0_scoped_23a8ab5f_lang = "";
|
|
13247
13247
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-23a8ab5f"), n = n(), popScopeId(), n);
|
|
13248
|
-
const _hoisted_1$
|
|
13248
|
+
const _hoisted_1$4 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
13249
13249
|
const _hoisted_2$2 = {
|
|
13250
13250
|
class: "import-module",
|
|
13251
13251
|
style: { "height": "650px", "position": "relative" }
|
|
@@ -13256,7 +13256,7 @@ const _hoisted_5$2 = { style: { "height": "calc(100% - 0px)" } };
|
|
|
13256
13256
|
const _hoisted_6$2 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
|
|
13257
13257
|
const _hoisted_7$2 = { style: { "height": "calc(100% - 0px)" } };
|
|
13258
13258
|
const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
|
|
13259
|
-
function _sfc_render$
|
|
13259
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13260
13260
|
const _component_Option = resolveComponent("Option");
|
|
13261
13261
|
const _component_Select = resolveComponent("Select");
|
|
13262
13262
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -13379,7 +13379,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13379
13379
|
}, 8, ["loading", "onClick"])
|
|
13380
13380
|
]),
|
|
13381
13381
|
default: withCtx(() => [
|
|
13382
|
-
createElementVNode("div", _hoisted_1$
|
|
13382
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
13383
13383
|
createVNode(_component_Form, {
|
|
13384
13384
|
model: _ctx.moduleFormModel,
|
|
13385
13385
|
"label-width": 90
|
|
@@ -13514,7 +13514,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13514
13514
|
_: 1
|
|
13515
13515
|
});
|
|
13516
13516
|
}
|
|
13517
|
-
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13517
|
+
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-23a8ab5f"]]);
|
|
13518
13518
|
const type = "FeatureCollection";
|
|
13519
13519
|
const features = [
|
|
13520
13520
|
{
|
|
@@ -26076,7 +26076,7 @@ const shanxi = {
|
|
|
26076
26076
|
crs
|
|
26077
26077
|
};
|
|
26078
26078
|
const style = "";
|
|
26079
|
-
const propDefine$
|
|
26079
|
+
const propDefine$4 = {
|
|
26080
26080
|
linkParam: {
|
|
26081
26081
|
// 带入的参数
|
|
26082
26082
|
type: String,
|
|
@@ -26088,12 +26088,12 @@ const propDefine$2 = {
|
|
|
26088
26088
|
default: "-"
|
|
26089
26089
|
}
|
|
26090
26090
|
};
|
|
26091
|
-
const _sfc_main$
|
|
26091
|
+
const _sfc_main$4 = defineComponent({
|
|
26092
26092
|
name: "Sublinepoins",
|
|
26093
26093
|
components: { SelectPlatform, NvMap },
|
|
26094
26094
|
emits: [""],
|
|
26095
26095
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26096
|
-
props: propDefine$
|
|
26096
|
+
props: propDefine$4,
|
|
26097
26097
|
setup(props, ctx) {
|
|
26098
26098
|
return new ProjectUserinforInstance$1(props, ctx);
|
|
26099
26099
|
}
|
|
@@ -26559,7 +26559,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26559
26559
|
//#endregion 系统平台 END
|
|
26560
26560
|
};
|
|
26561
26561
|
const Sublinepoins_vue_vue_type_style_index_0_scoped_66a288c7_lang = "";
|
|
26562
|
-
const _hoisted_1$
|
|
26562
|
+
const _hoisted_1$3 = { class: "instree-search" };
|
|
26563
26563
|
const _hoisted_2$1 = { class: "instree-list" };
|
|
26564
26564
|
const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
|
|
26565
26565
|
const _hoisted_4$1 = {
|
|
@@ -26571,7 +26571,7 @@ const _hoisted_6$1 = ["onClick"];
|
|
|
26571
26571
|
const _hoisted_7$1 = { style: { "font-size": "16px" } };
|
|
26572
26572
|
const _hoisted_8$1 = ["onClick"];
|
|
26573
26573
|
const _hoisted_9$1 = { style: { "height": "450px" } };
|
|
26574
|
-
function _sfc_render$
|
|
26574
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26575
26575
|
const _component_Option = resolveComponent("Option");
|
|
26576
26576
|
const _component_Select = resolveComponent("Select");
|
|
26577
26577
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -26612,7 +26612,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26612
26612
|
})
|
|
26613
26613
|
]),
|
|
26614
26614
|
default: withCtx(() => [
|
|
26615
|
-
createElementVNode("div", _hoisted_1$
|
|
26615
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
26616
26616
|
createVNode(_component_NvControlGroup, {
|
|
26617
26617
|
width: "100%",
|
|
26618
26618
|
icon: "md-refresh",
|
|
@@ -26805,8 +26805,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26805
26805
|
_: 1
|
|
26806
26806
|
});
|
|
26807
26807
|
}
|
|
26808
|
-
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26809
|
-
const propDefine$
|
|
26808
|
+
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-66a288c7"]]);
|
|
26809
|
+
const propDefine$3 = {
|
|
26810
26810
|
Id: {
|
|
26811
26811
|
default: 0,
|
|
26812
26812
|
type: Number
|
|
@@ -26820,14 +26820,14 @@ const propDefine$1 = {
|
|
|
26820
26820
|
// default: '',
|
|
26821
26821
|
// }
|
|
26822
26822
|
};
|
|
26823
|
-
const _sfc_main$
|
|
26823
|
+
const _sfc_main$3 = defineComponent({
|
|
26824
26824
|
name: "ProjectSummary",
|
|
26825
26825
|
components: {
|
|
26826
26826
|
NvComFormUp
|
|
26827
26827
|
},
|
|
26828
26828
|
emits: ["close", "update"],
|
|
26829
26829
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26830
|
-
props: propDefine$
|
|
26830
|
+
props: propDefine$3,
|
|
26831
26831
|
setup(props, ctx) {
|
|
26832
26832
|
return new ProjectSummaryInstance(props, ctx);
|
|
26833
26833
|
}
|
|
@@ -27114,6 +27114,9 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27114
27114
|
this.isShowSpin.value = false;
|
|
27115
27115
|
}, 500);
|
|
27116
27116
|
} else {
|
|
27117
|
+
this.setProvinceDatas();
|
|
27118
|
+
this.setCityDatas("");
|
|
27119
|
+
this.setAreaDatas("");
|
|
27117
27120
|
setTimeout(() => {
|
|
27118
27121
|
this.isShowSpin.value = false;
|
|
27119
27122
|
}, 500);
|
|
@@ -27175,8 +27178,8 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27175
27178
|
//#endregion 省市区 END
|
|
27176
27179
|
}
|
|
27177
27180
|
const ProjectSummary_vue_vue_type_style_index_0_scoped_73dcbb30_lang = "";
|
|
27178
|
-
const _hoisted_1$
|
|
27179
|
-
function _sfc_render$
|
|
27181
|
+
const _hoisted_1$2 = { class: "form-box" };
|
|
27182
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27180
27183
|
const _component_Spin = resolveComponent("Spin");
|
|
27181
27184
|
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
27182
27185
|
const _component_Form = resolveComponent("Form");
|
|
@@ -27214,7 +27217,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27214
27217
|
]),
|
|
27215
27218
|
_: 1
|
|
27216
27219
|
})) : createCommentVNode("", true),
|
|
27217
|
-
createElementVNode("div", _hoisted_1$
|
|
27220
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
27218
27221
|
createVNode(_component_Form, {
|
|
27219
27222
|
ref: "mainFormRef",
|
|
27220
27223
|
model: _ctx.mainFormModel,
|
|
@@ -27243,8 +27246,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27243
27246
|
_: 1
|
|
27244
27247
|
});
|
|
27245
27248
|
}
|
|
27246
|
-
const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27247
|
-
const propDefine = {
|
|
27249
|
+
const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-73dcbb30"]]);
|
|
27250
|
+
const propDefine$2 = {
|
|
27248
27251
|
linkParam: {
|
|
27249
27252
|
// 带入的参数
|
|
27250
27253
|
type: String,
|
|
@@ -27256,12 +27259,12 @@ const propDefine = {
|
|
|
27256
27259
|
default: "-"
|
|
27257
27260
|
}
|
|
27258
27261
|
};
|
|
27259
|
-
const _sfc_main = defineComponent({
|
|
27262
|
+
const _sfc_main$2 = defineComponent({
|
|
27260
27263
|
name: "ProjectUserinfor",
|
|
27261
27264
|
components: { SelectPlatform, LoginLog, BaseLogin },
|
|
27262
27265
|
emits: [""],
|
|
27263
27266
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
27264
|
-
props: propDefine,
|
|
27267
|
+
props: propDefine$2,
|
|
27265
27268
|
setup(props, ctx) {
|
|
27266
27269
|
return new ProjectUserinforInstance2(props, ctx);
|
|
27267
27270
|
}
|
|
@@ -28329,7 +28332,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
28329
28332
|
}
|
|
28330
28333
|
const ProjectUserinfor_vue_vue_type_style_index_0_scoped_86385f96_lang = "";
|
|
28331
28334
|
const _withScopeId = (n) => (pushScopeId("data-v-86385f96"), n = n(), popScopeId(), n);
|
|
28332
|
-
const _hoisted_1 = { class: "instree-search" };
|
|
28335
|
+
const _hoisted_1$1 = { class: "instree-search" };
|
|
28333
28336
|
const _hoisted_2 = { class: "instree-list" };
|
|
28334
28337
|
const _hoisted_3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
28335
28338
|
const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -28343,7 +28346,7 @@ const _hoisted_8 = { style: { "display": "none" } };
|
|
|
28343
28346
|
const _hoisted_9 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
28344
28347
|
const _hoisted_10 = ["src"];
|
|
28345
28348
|
const _hoisted_11 = ["src"];
|
|
28346
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28349
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28347
28350
|
const _component_Option = resolveComponent("Option");
|
|
28348
28351
|
const _component_Select = resolveComponent("Select");
|
|
28349
28352
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -28388,7 +28391,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28388
28391
|
})
|
|
28389
28392
|
]),
|
|
28390
28393
|
default: withCtx(() => [
|
|
28391
|
-
createElementVNode("div", _hoisted_1, [
|
|
28394
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
28392
28395
|
createVNode(_component_NvControlGroup, {
|
|
28393
28396
|
width: "100%",
|
|
28394
28397
|
icon: "md-refresh",
|
|
@@ -28692,93 +28695,1041 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28692
28695
|
_: 1
|
|
28693
28696
|
});
|
|
28694
28697
|
}
|
|
28695
|
-
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-86385f96"]]);
|
|
28696
|
-
const
|
|
28697
|
-
{
|
|
28698
|
-
//
|
|
28699
|
-
|
|
28700
|
-
|
|
28701
|
-
},
|
|
28702
|
-
{
|
|
28703
|
-
// 菜单模块
|
|
28704
|
-
path: "/permission-service/platform/module",
|
|
28705
|
-
component: Module
|
|
28706
|
-
},
|
|
28707
|
-
{
|
|
28708
|
-
// 角色管理
|
|
28709
|
-
path: "/permission-service/platform/role",
|
|
28710
|
-
component: Role
|
|
28711
|
-
},
|
|
28712
|
-
{
|
|
28713
|
-
// 机构类型
|
|
28714
|
-
path: "/permission-service/institution/institutiontype",
|
|
28715
|
-
component: InstitutionType
|
|
28716
|
-
},
|
|
28717
|
-
{
|
|
28718
|
-
// 组织机构
|
|
28719
|
-
path: "/permission-service/institution/institution",
|
|
28720
|
-
component: Institution
|
|
28721
|
-
},
|
|
28722
|
-
{
|
|
28723
|
-
// 用户管理
|
|
28724
|
-
path: "/permission-service/institution/userinfor",
|
|
28725
|
-
component: Userinfor
|
|
28726
|
-
},
|
|
28727
|
-
{
|
|
28728
|
-
// 企业管理
|
|
28729
|
-
path: "/permission-service/institution/enterprise",
|
|
28730
|
-
component: Enterprise
|
|
28731
|
-
},
|
|
28732
|
-
{
|
|
28733
|
-
// 第三方信息
|
|
28734
|
-
path: "/permission-service/thirdparty/information",
|
|
28735
|
-
component: Information
|
|
28736
|
-
},
|
|
28737
|
-
// 平台设置(二级)
|
|
28738
|
-
{
|
|
28739
|
-
// 项目管理
|
|
28740
|
-
path: "/permission-service/platform/subplatform",
|
|
28741
|
-
component: subplatform
|
|
28742
|
-
},
|
|
28743
|
-
{
|
|
28744
|
-
// 平台角色
|
|
28745
|
-
path: "/permission-service/platform/subrole",
|
|
28746
|
-
component: subrole
|
|
28747
|
-
},
|
|
28748
|
-
{
|
|
28749
|
-
// 平台企业
|
|
28750
|
-
path: "/permission-service/institution/subenterprise",
|
|
28751
|
-
component: subenterprise
|
|
28752
|
-
},
|
|
28753
|
-
{
|
|
28754
|
-
// 平台机构
|
|
28755
|
-
path: "/permission-service/institution/subinstitution",
|
|
28756
|
-
component: subinstitution
|
|
28757
|
-
},
|
|
28758
|
-
{
|
|
28759
|
-
// 平台用户
|
|
28760
|
-
path: "/permission-service/institution/subuserinfor",
|
|
28761
|
-
component: subuserinfor
|
|
28762
|
-
},
|
|
28763
|
-
{
|
|
28764
|
-
// 项目平台用户
|
|
28765
|
-
path: "/permission-service/institution/projectUserinfor",
|
|
28766
|
-
component: projectUser
|
|
28767
|
-
},
|
|
28768
|
-
{
|
|
28769
|
-
// 菜单管理
|
|
28770
|
-
path: "/permission-service/subplatform/subModule",
|
|
28771
|
-
component: subModule
|
|
28772
|
-
},
|
|
28773
|
-
{
|
|
28774
|
-
// 地图定点
|
|
28775
|
-
path: "/permission-service/institution/sublinepoins",
|
|
28776
|
-
component: sublinepoins
|
|
28698
|
+
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-86385f96"]]);
|
|
28699
|
+
const propDefine$1 = {
|
|
28700
|
+
linkParam: {
|
|
28701
|
+
// 带入的参数
|
|
28702
|
+
type: String,
|
|
28703
|
+
default: ""
|
|
28777
28704
|
},
|
|
28778
|
-
{
|
|
28779
|
-
//
|
|
28705
|
+
operates: {
|
|
28706
|
+
// 按钮权限码
|
|
28707
|
+
type: String,
|
|
28708
|
+
default: "-"
|
|
28709
|
+
}
|
|
28710
|
+
};
|
|
28711
|
+
const _sfc_main$1 = defineComponent({
|
|
28712
|
+
name: "Memorabilia",
|
|
28713
|
+
components: { NvComFormUp },
|
|
28714
|
+
emits: [""],
|
|
28715
|
+
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
28716
|
+
props: propDefine$1,
|
|
28717
|
+
setup(props, ctx) {
|
|
28718
|
+
return new Instance$1(props, ctx);
|
|
28719
|
+
}
|
|
28720
|
+
});
|
|
28721
|
+
let Instance$1 = class Instance extends BaseInstance {
|
|
28722
|
+
// 全局属性
|
|
28723
|
+
constructor(props, ctx) {
|
|
28724
|
+
super();
|
|
28725
|
+
__publicField(this, "props");
|
|
28726
|
+
__publicField(this, "ctx");
|
|
28727
|
+
// API实例化
|
|
28728
|
+
__publicField(this, "dataBoardModuleApi", new DataBoardModuleApi());
|
|
28729
|
+
// 私有属性 | private
|
|
28730
|
+
__publicField(this, "platform", this.storageInfo.getCurrentPlatform());
|
|
28731
|
+
__publicField(this, "business", this.storageInfo.getCurrentInsTree());
|
|
28732
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
28733
|
+
__publicField(this, "institutionTree", ref([]));
|
|
28734
|
+
__publicField(this, "loadingInstitutionTree", ref(false));
|
|
28735
|
+
//#region 表格加载 - xxx
|
|
28736
|
+
// 私有属性 | private
|
|
28737
|
+
// 响应属性 | ref、reactive、computed
|
|
28738
|
+
__publicField(this, "currentGroupRow", ref({}));
|
|
28739
|
+
__publicField(this, "groupData", ref());
|
|
28740
|
+
__publicField(this, "orgOption", reactive({
|
|
28741
|
+
// api: this.platformGroupApi,
|
|
28742
|
+
keyField: "Id",
|
|
28743
|
+
titleField: "GroupName"
|
|
28744
|
+
}));
|
|
28745
|
+
__publicField(this, "viewGrid", ref());
|
|
28746
|
+
__publicField(this, "viewGridOption", reactive({
|
|
28747
|
+
api: this.dataBoardModuleApi,
|
|
28748
|
+
setting: {
|
|
28749
|
+
searchConfig: {
|
|
28750
|
+
btnSpan: 6,
|
|
28751
|
+
labelWidth: 120,
|
|
28752
|
+
defaultShowSearch: false
|
|
28753
|
+
},
|
|
28754
|
+
toolbarConfig: {
|
|
28755
|
+
isButtonGroup: false
|
|
28756
|
+
},
|
|
28757
|
+
rowConfig: {
|
|
28758
|
+
isCurrent: false,
|
|
28759
|
+
isHover: true
|
|
28760
|
+
},
|
|
28761
|
+
isPagination: true,
|
|
28762
|
+
pageSize: 10
|
|
28763
|
+
},
|
|
28764
|
+
searchOptions: [
|
|
28765
|
+
{
|
|
28766
|
+
field: "BoardModuleName",
|
|
28767
|
+
title: "看板名称",
|
|
28768
|
+
type: "Input"
|
|
28769
|
+
}
|
|
28770
|
+
],
|
|
28771
|
+
toolbars: [
|
|
28772
|
+
{
|
|
28773
|
+
name: "add",
|
|
28774
|
+
onclick: () => {
|
|
28775
|
+
this.doAdd();
|
|
28776
|
+
}
|
|
28777
|
+
}
|
|
28778
|
+
],
|
|
28779
|
+
rightToolbars: [
|
|
28780
|
+
{ name: "refresh" }
|
|
28781
|
+
],
|
|
28782
|
+
columns: [
|
|
28783
|
+
{
|
|
28784
|
+
colType: "seq"
|
|
28785
|
+
},
|
|
28786
|
+
{ colType: "ro", field: "BoardModuleName", title: "看板名称", align: "left" },
|
|
28787
|
+
{ colType: "ro", field: "BoardModuleAlias", title: "看板别名", align: "left" },
|
|
28788
|
+
{ colType: "ro", field: "Attachparams", title: "传递参数", align: "left" },
|
|
28789
|
+
{ colType: "ro", field: "BoardModuleUrl", title: "模块URL", align: "left" },
|
|
28790
|
+
{ colType: "ro", field: "OrderNo", title: "排序值", align: "center", width: 100 },
|
|
28791
|
+
{
|
|
28792
|
+
title: "操作",
|
|
28793
|
+
width: 120,
|
|
28794
|
+
rowButtons: [
|
|
28795
|
+
{
|
|
28796
|
+
name: "edit",
|
|
28797
|
+
text: "编辑",
|
|
28798
|
+
onclick: (row) => {
|
|
28799
|
+
this.doEditform(row);
|
|
28800
|
+
}
|
|
28801
|
+
},
|
|
28802
|
+
{
|
|
28803
|
+
name: "delete",
|
|
28804
|
+
onclick: (row) => {
|
|
28805
|
+
this.doDelete(row);
|
|
28806
|
+
}
|
|
28807
|
+
}
|
|
28808
|
+
]
|
|
28809
|
+
}
|
|
28810
|
+
],
|
|
28811
|
+
event: {
|
|
28812
|
+
event_search: (data) => {
|
|
28813
|
+
this.viewGrid.value.setPageIndex(1);
|
|
28814
|
+
const keys = Object.keys(data);
|
|
28815
|
+
const queryWrapper = QueryWrapper.create();
|
|
28816
|
+
queryWrapper.eq("1", "1");
|
|
28817
|
+
for (const key of keys) {
|
|
28818
|
+
const value = data[key];
|
|
28819
|
+
if (!this.utilities.isNull(value)) {
|
|
28820
|
+
queryWrapper.like(key, value);
|
|
28821
|
+
}
|
|
28822
|
+
}
|
|
28823
|
+
this.viewGrid.value.loadDataByQuery(queryWrapper);
|
|
28824
|
+
}
|
|
28825
|
+
}
|
|
28826
|
+
}));
|
|
28827
|
+
// 响应式方法 | xxx = () => {}
|
|
28828
|
+
//#endregion 表格加载 - xxx END
|
|
28829
|
+
//#region 表单编辑新增
|
|
28830
|
+
// 私有属性 | private
|
|
28831
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
28832
|
+
__publicField(this, "showEditform", ref(false));
|
|
28833
|
+
__publicField(this, "saveingform", ref(false));
|
|
28834
|
+
__publicField(this, "editformModalTitle", ref("新增-看板模块"));
|
|
28835
|
+
__publicField(this, "refviewform", ref());
|
|
28836
|
+
__publicField(this, "mainFormRef", ref());
|
|
28837
|
+
__publicField(this, "mainFormModel", reactive({
|
|
28838
|
+
Id: 0,
|
|
28839
|
+
BoardModuleName: "",
|
|
28840
|
+
BoardModuleAlias: "",
|
|
28841
|
+
Attachparams: "",
|
|
28842
|
+
OrderNo: 0,
|
|
28843
|
+
BoardModuleUrl: ""
|
|
28844
|
+
}));
|
|
28845
|
+
__publicField(this, "mainFormItems", reactive(
|
|
28846
|
+
[
|
|
28847
|
+
{ model: "BoardModuleName", label: "看板名称", prop: "BoardModuleName", type: "Input", span: 12, rules: [{ required: true, message: "看板模块名称不能为空", trigger: "blur" }] },
|
|
28848
|
+
{ model: "BoardModuleAlias", label: "看板别名", prop: "BoardModuleAlias", type: "Input", span: 12 },
|
|
28849
|
+
{ model: "Attachparams", label: "传递参数", prop: "Attachparams", type: "Input", span: 12 },
|
|
28850
|
+
{ model: "OrderNo", label: "排序值", prop: "OrderNo", type: "Input", inputProp: { type: "number" }, span: 12 },
|
|
28851
|
+
{ model: "BoardModuleUrl", label: "模块URL", prop: "BoardModuleUrl", type: "Input", span: 24 }
|
|
28852
|
+
]
|
|
28853
|
+
));
|
|
28854
|
+
__publicField(this, "mainRules", reactive({
|
|
28855
|
+
ProjectName: [
|
|
28856
|
+
{ required: true, message: "", trigger: "blur" }
|
|
28857
|
+
]
|
|
28858
|
+
}));
|
|
28859
|
+
// 响应式方法 | xxx = () => {}
|
|
28860
|
+
/**保存数据 */
|
|
28861
|
+
__publicField(this, "mainSaveFun", async () => {
|
|
28862
|
+
this.mainFormRef.value.validate(async (valid) => {
|
|
28863
|
+
this.saveingform.value = true;
|
|
28864
|
+
if (valid) {
|
|
28865
|
+
this.refviewform.value.saveTextData();
|
|
28866
|
+
const res = this.utilities.parseApiResult(await this.dataBoardModuleApi.save(this.mainFormModel));
|
|
28867
|
+
if (res && res > 0) {
|
|
28868
|
+
this.message.success("保存成功!");
|
|
28869
|
+
this.showEditform.value = false;
|
|
28870
|
+
this.saveingform.value = false;
|
|
28871
|
+
this.loadViewDataGrid();
|
|
28872
|
+
}
|
|
28873
|
+
}
|
|
28874
|
+
});
|
|
28875
|
+
});
|
|
28876
|
+
this.props = props;
|
|
28877
|
+
this.ctx = ctx;
|
|
28878
|
+
this.initData();
|
|
28879
|
+
}
|
|
28880
|
+
// 私有方法 | private 方法名() {}
|
|
28881
|
+
initData() {
|
|
28882
|
+
onMounted(() => {
|
|
28883
|
+
this.loadViewDataGrid();
|
|
28884
|
+
console.log("onMounted", this.business);
|
|
28885
|
+
});
|
|
28886
|
+
onUnmounted(() => {
|
|
28887
|
+
});
|
|
28888
|
+
}
|
|
28889
|
+
// 私有方法 | private 方法名() {}
|
|
28890
|
+
loadViewDataGrid() {
|
|
28891
|
+
var _a;
|
|
28892
|
+
(_a = this.viewGrid.value) == null ? void 0 : _a.loadDataByQuery(QueryWrapper.create().orderBy(["OrderNo"]));
|
|
28893
|
+
}
|
|
28894
|
+
/**
|
|
28895
|
+
* 新增
|
|
28896
|
+
*/
|
|
28897
|
+
doAdd() {
|
|
28898
|
+
this.showEditform.value = true;
|
|
28899
|
+
this.loadMainDataById({ Id: 0 });
|
|
28900
|
+
}
|
|
28901
|
+
/**
|
|
28902
|
+
* 编辑
|
|
28903
|
+
*/
|
|
28904
|
+
doEditform(row) {
|
|
28905
|
+
this.showEditform.value = true;
|
|
28906
|
+
this.editformModalTitle.value = `编辑-${row.BoardModuleName}`;
|
|
28907
|
+
this.loadMainDataById(row);
|
|
28908
|
+
}
|
|
28909
|
+
/**
|
|
28910
|
+
* 删除
|
|
28911
|
+
*/
|
|
28912
|
+
doDelete(row) {
|
|
28913
|
+
this.modal.confirm({
|
|
28914
|
+
title: "提示",
|
|
28915
|
+
content: `确定要删除'${row.BoardModuleName}'数据吗?`,
|
|
28916
|
+
onOk: async () => {
|
|
28917
|
+
this.dataBoardModuleApi.delete(row.Id).then((res) => {
|
|
28918
|
+
if (res <= 0) {
|
|
28919
|
+
this.message.warning("删除失败,请稍后重试!");
|
|
28920
|
+
return;
|
|
28921
|
+
} else {
|
|
28922
|
+
this.message.success("删除成功");
|
|
28923
|
+
this.loadViewDataGrid();
|
|
28924
|
+
}
|
|
28925
|
+
});
|
|
28926
|
+
}
|
|
28927
|
+
});
|
|
28928
|
+
}
|
|
28929
|
+
// 私有方法 | private 方法名() {}
|
|
28930
|
+
/** 编辑/新增 */
|
|
28931
|
+
async loadMainDataById(row) {
|
|
28932
|
+
if (row.Id === 0) {
|
|
28933
|
+
this.initMainFormModel();
|
|
28934
|
+
return;
|
|
28935
|
+
}
|
|
28936
|
+
this.initMainFormModel(row);
|
|
28937
|
+
}
|
|
28938
|
+
/**初始化数据 */
|
|
28939
|
+
initMainFormModel(row = {}) {
|
|
28940
|
+
this.storageInfo.getUser();
|
|
28941
|
+
Object.assign(this.mainFormModel, Object.assign({
|
|
28942
|
+
Id: 0,
|
|
28943
|
+
BoardModuleName: "",
|
|
28944
|
+
BoardModuleAlias: "",
|
|
28945
|
+
Attachparams: "",
|
|
28946
|
+
OrderNo: 0,
|
|
28947
|
+
BoardModuleUrl: ""
|
|
28948
|
+
}, row));
|
|
28949
|
+
}
|
|
28950
|
+
//#endregion 表单编辑新增 END
|
|
28951
|
+
};
|
|
28952
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
28953
|
+
const _component_NvGrid = resolveComponent("NvGrid");
|
|
28954
|
+
const _component_NvBox = resolveComponent("NvBox");
|
|
28955
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
28956
|
+
const _component_Form = resolveComponent("Form");
|
|
28957
|
+
const _component_NvButton = resolveComponent("NvButton");
|
|
28958
|
+
const _component_NvModal = resolveComponent("NvModal");
|
|
28959
|
+
const _component_NvPage = resolveComponent("NvPage");
|
|
28960
|
+
return openBlock(), createBlock(_component_NvPage, {
|
|
28961
|
+
gutter: 8,
|
|
28962
|
+
class: "nv-flex"
|
|
28963
|
+
}, {
|
|
28964
|
+
default: withCtx(() => [
|
|
28965
|
+
createVNode(_component_NvBox, { title: "看板模块" }, {
|
|
28966
|
+
default: withCtx(() => [
|
|
28967
|
+
createVNode(_component_NvGrid, {
|
|
28968
|
+
ref: "viewGrid",
|
|
28969
|
+
option: _ctx.viewGridOption
|
|
28970
|
+
}, null, 8, ["option"])
|
|
28971
|
+
]),
|
|
28972
|
+
_: 1
|
|
28973
|
+
}),
|
|
28974
|
+
createVNode(_component_NvModal, {
|
|
28975
|
+
modelValue: _ctx.showEditform,
|
|
28976
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.showEditform = $event),
|
|
28977
|
+
draggable: "",
|
|
28978
|
+
mask: true,
|
|
28979
|
+
"mask-closable": false,
|
|
28980
|
+
width: 600,
|
|
28981
|
+
title: _ctx.editformModalTitle
|
|
28982
|
+
}, {
|
|
28983
|
+
footer: withCtx(() => [
|
|
28984
|
+
createVNode(_component_NvButton, {
|
|
28985
|
+
type: "text",
|
|
28986
|
+
onClick: _cache[0] || (_cache[0] = ($event) => _ctx.showEditform = false)
|
|
28987
|
+
}, {
|
|
28988
|
+
default: withCtx(() => [
|
|
28989
|
+
createTextVNode("关闭")
|
|
28990
|
+
]),
|
|
28991
|
+
_: 1
|
|
28992
|
+
}),
|
|
28993
|
+
createVNode(_component_NvButton, {
|
|
28994
|
+
type: "primary",
|
|
28995
|
+
loading: _ctx.saveingform,
|
|
28996
|
+
onClick: _ctx.mainSaveFun
|
|
28997
|
+
}, {
|
|
28998
|
+
default: withCtx(() => [
|
|
28999
|
+
createTextVNode("保存")
|
|
29000
|
+
]),
|
|
29001
|
+
_: 1
|
|
29002
|
+
}, 8, ["loading", "onClick"])
|
|
29003
|
+
]),
|
|
29004
|
+
default: withCtx(() => [
|
|
29005
|
+
createElementVNode("div", null, [
|
|
29006
|
+
createVNode(_component_Form, {
|
|
29007
|
+
ref: "mainFormRef",
|
|
29008
|
+
model: _ctx.mainFormModel,
|
|
29009
|
+
"label-width": 110
|
|
29010
|
+
}, {
|
|
29011
|
+
default: withCtx(() => [
|
|
29012
|
+
_ctx.showEditform ? (openBlock(), createBlock(_component_NvComFormUp, {
|
|
29013
|
+
key: 0,
|
|
29014
|
+
ref: "refviewform",
|
|
29015
|
+
formModel: _ctx.mainFormModel,
|
|
29016
|
+
formItems: _ctx.mainFormItems
|
|
29017
|
+
}, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
|
|
29018
|
+
]),
|
|
29019
|
+
_: 1
|
|
29020
|
+
}, 8, ["model"])
|
|
29021
|
+
])
|
|
29022
|
+
]),
|
|
29023
|
+
_: 1
|
|
29024
|
+
}, 8, ["modelValue", "title"])
|
|
29025
|
+
]),
|
|
29026
|
+
_: 1
|
|
29027
|
+
});
|
|
29028
|
+
}
|
|
29029
|
+
const ViewModule = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
|
|
29030
|
+
const propDefine = {
|
|
29031
|
+
linkParam: {
|
|
29032
|
+
// 带入的参数
|
|
29033
|
+
type: String,
|
|
29034
|
+
default: ""
|
|
29035
|
+
},
|
|
29036
|
+
operates: {
|
|
29037
|
+
// 按钮权限码
|
|
29038
|
+
type: String,
|
|
29039
|
+
default: "-"
|
|
29040
|
+
}
|
|
29041
|
+
};
|
|
29042
|
+
const _sfc_main = defineComponent({
|
|
29043
|
+
name: "GroupRelationships",
|
|
29044
|
+
components: { NvComFormUp },
|
|
29045
|
+
emits: [""],
|
|
29046
|
+
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
29047
|
+
props: propDefine,
|
|
29048
|
+
setup(props, ctx) {
|
|
29049
|
+
return new Instance2(props, ctx);
|
|
29050
|
+
}
|
|
29051
|
+
});
|
|
29052
|
+
class Instance2 extends BaseInstance {
|
|
29053
|
+
// 全局属性
|
|
29054
|
+
constructor(props, ctx) {
|
|
29055
|
+
super();
|
|
29056
|
+
__publicField(this, "props");
|
|
29057
|
+
__publicField(this, "ctx");
|
|
29058
|
+
// API实例化
|
|
29059
|
+
/**获取组织机构数 */
|
|
29060
|
+
__publicField(this, "institutionTreeApi", new InstitutionTreeApi());
|
|
29061
|
+
/**获取看板模块 */
|
|
29062
|
+
__publicField(this, "dataBoardModuleApi", new DataBoardModuleApi());
|
|
29063
|
+
/**集团与项目标段关系配置 */
|
|
29064
|
+
__publicField(this, "dataInistitutionRelationApi", new DataInistitutionRelationApi());
|
|
29065
|
+
/**项目标段对应的看板配置 */
|
|
29066
|
+
__publicField(this, "dataInstitutionBoardRelationApi", new DataInstitutionBoardRelationApi());
|
|
29067
|
+
/**获取平台信息 */
|
|
29068
|
+
__publicField(this, "platformApi", new PlatformApi());
|
|
29069
|
+
// 私有属性 | private
|
|
29070
|
+
__publicField(this, "platform", this.storageInfo.getCurrentPlatform());
|
|
29071
|
+
__publicField(this, "business", this.storageInfo.getCurrentInsTree());
|
|
29072
|
+
//#region 组织机构树
|
|
29073
|
+
// 私有属性 | private
|
|
29074
|
+
/**当前所选机构 */
|
|
29075
|
+
__publicField(this, "selectedInsTree");
|
|
29076
|
+
// 响应属性 | ref、reactive、computed
|
|
29077
|
+
__publicField(this, "institutionTree", ref([]));
|
|
29078
|
+
__publicField(this, "loadingInstitutionTree", ref(false));
|
|
29079
|
+
__publicField(this, "userBoxWidth", ref("calc(100% - 300px)"));
|
|
29080
|
+
// 响应式方法 | xxx = () => {}
|
|
29081
|
+
/**
|
|
29082
|
+
* 改变机构宽度
|
|
29083
|
+
*/
|
|
29084
|
+
__publicField(this, "doChangeUserBoxWidth", (isExpand) => {
|
|
29085
|
+
this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
|
|
29086
|
+
});
|
|
29087
|
+
/**
|
|
29088
|
+
* 渲染机构树内容
|
|
29089
|
+
* @param h
|
|
29090
|
+
* @param param1
|
|
29091
|
+
* @returns
|
|
29092
|
+
*/
|
|
29093
|
+
__publicField(this, "renderInsTreeContent", (h, { root, node, data }) => {
|
|
29094
|
+
return h("span", {
|
|
29095
|
+
style: {
|
|
29096
|
+
display: "inline-block",
|
|
29097
|
+
paddingLeft: "4px",
|
|
29098
|
+
boxSizing: "content-box",
|
|
29099
|
+
border: data.intoDrag ? "1px dashed #2d8cf0" : "0px"
|
|
29100
|
+
}
|
|
29101
|
+
}, [
|
|
29102
|
+
h("span", [
|
|
29103
|
+
h("span", {
|
|
29104
|
+
style: {
|
|
29105
|
+
fontWeight: this.utilities.isNull(data.FakeId) ? "normal" : "bold"
|
|
29106
|
+
}
|
|
29107
|
+
}, this.utilities.getValueNotNull(data.title, "[未知节点]"))
|
|
29108
|
+
])
|
|
29109
|
+
]);
|
|
29110
|
+
});
|
|
29111
|
+
/**
|
|
29112
|
+
* 树选择事件
|
|
29113
|
+
* @param datas
|
|
29114
|
+
*/
|
|
29115
|
+
__publicField(this, "doChangeInsTree", (datas) => {
|
|
29116
|
+
if (datas.length > 0) {
|
|
29117
|
+
this.selectedInsTree = datas[0];
|
|
29118
|
+
console.log(datas, "树选择");
|
|
29119
|
+
this.getPlatData();
|
|
29120
|
+
}
|
|
29121
|
+
});
|
|
29122
|
+
/**
|
|
29123
|
+
* 刷新机构树
|
|
29124
|
+
*/
|
|
29125
|
+
__publicField(this, "doRefreshInsTree", () => {
|
|
29126
|
+
this.loadInsTree();
|
|
29127
|
+
});
|
|
29128
|
+
//#endregion 组织机构树 END
|
|
29129
|
+
//#region 系统平台
|
|
29130
|
+
// 私有属性 | private
|
|
29131
|
+
/**当前机构已绑定的数据 */
|
|
29132
|
+
__publicField(this, "tabSavedData", []);
|
|
29133
|
+
__publicField(this, "columns", [
|
|
29134
|
+
{
|
|
29135
|
+
type: "selection",
|
|
29136
|
+
align: "center",
|
|
29137
|
+
width: 30
|
|
29138
|
+
},
|
|
29139
|
+
{
|
|
29140
|
+
title: "Name",
|
|
29141
|
+
key: "InstitutionAbbreviation",
|
|
29142
|
+
align: "left"
|
|
29143
|
+
}
|
|
29144
|
+
]);
|
|
29145
|
+
__publicField(this, "tableData", ref([]));
|
|
29146
|
+
__publicField(this, "tableSelectData", []);
|
|
29147
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
29148
|
+
/**当前平台id */
|
|
29149
|
+
__publicField(this, "platId", ref(0));
|
|
29150
|
+
__publicField(this, "platData", ref([]));
|
|
29151
|
+
__publicField(this, "spinPlatShow", ref(false));
|
|
29152
|
+
__publicField(this, "tabRef", ref());
|
|
29153
|
+
// 私有方法 | private 方法名() {}
|
|
29154
|
+
// 响应式方法 | xxx = () => {}
|
|
29155
|
+
/**
|
|
29156
|
+
* 系统平台列表
|
|
29157
|
+
*/
|
|
29158
|
+
__publicField(this, "getPlatData", async () => {
|
|
29159
|
+
var _a;
|
|
29160
|
+
this.spinPlatShow.value = true;
|
|
29161
|
+
const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
|
|
29162
|
+
let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
|
|
29163
|
+
PId: platId
|
|
29164
|
+
})).orderBy(["OrderNo"])));
|
|
29165
|
+
console.log(apiResult, "平台信息");
|
|
29166
|
+
apiResult = apiResult.filter((e) => e.PId != 0);
|
|
29167
|
+
this.platData.value = apiResult;
|
|
29168
|
+
this.spinPlatShow.value = false;
|
|
29169
|
+
if (this.platData.value.length > 0) {
|
|
29170
|
+
this.platId.value = this.platData.value[0].Id;
|
|
29171
|
+
this.doPlatformChange(this.platData.value[0].Id);
|
|
29172
|
+
}
|
|
29173
|
+
});
|
|
29174
|
+
/**
|
|
29175
|
+
* 系统平台改变
|
|
29176
|
+
*/
|
|
29177
|
+
__publicField(this, "doPlatformChange", (data) => {
|
|
29178
|
+
this.platId.value = data;
|
|
29179
|
+
this.getInsTree(data);
|
|
29180
|
+
});
|
|
29181
|
+
__publicField(this, "handleTypeChange", (data) => {
|
|
29182
|
+
console.log(data, "类型改变");
|
|
29183
|
+
});
|
|
29184
|
+
/**表格选项发生改变时 */
|
|
29185
|
+
__publicField(this, "selectChange", (datas) => {
|
|
29186
|
+
this.tableSelectData = datas;
|
|
29187
|
+
console.log(datas, "表格选项发生改变时");
|
|
29188
|
+
});
|
|
29189
|
+
__publicField(this, "ptSpin", ref(false));
|
|
29190
|
+
/**保存集团与项目标段关系 */
|
|
29191
|
+
__publicField(this, "saveInistitutionRelation", async () => {
|
|
29192
|
+
console.log(this.selectedInsTree, "机构信息");
|
|
29193
|
+
console.log(this.platId, "表达id");
|
|
29194
|
+
let saveDatas = this.tableSelectData.map((e) => {
|
|
29195
|
+
return {
|
|
29196
|
+
Id: 0,
|
|
29197
|
+
GroupInsTreeId: this.selectedInsTree.Id,
|
|
29198
|
+
GroupInsName: this.selectedInsTree.title,
|
|
29199
|
+
SubPlatformId: this.platId.value,
|
|
29200
|
+
SubInsTreeId: e.Id,
|
|
29201
|
+
SubInsName: e.InstitutionAbbreviation
|
|
29202
|
+
};
|
|
29203
|
+
});
|
|
29204
|
+
debugger;
|
|
29205
|
+
if (saveDatas.length == 0) {
|
|
29206
|
+
if (this.tabSavedData.length > 0) {
|
|
29207
|
+
let ids = this.tabSavedData.map((e) => e.Id).toString();
|
|
29208
|
+
this.dataInistitutionRelationApi.deleteByIds(ids);
|
|
29209
|
+
}
|
|
29210
|
+
this.message.success("保存成功");
|
|
29211
|
+
return;
|
|
29212
|
+
}
|
|
29213
|
+
this.ptSpin.value = true;
|
|
29214
|
+
if (this.tabSavedData.length > 0) {
|
|
29215
|
+
let ids = this.tabSavedData.map((e) => e.Id).toString();
|
|
29216
|
+
this.dataInistitutionRelationApi.deleteByIds(ids);
|
|
29217
|
+
}
|
|
29218
|
+
let saveRes = this.utilities.parseApiResult(await this.dataInistitutionRelationApi.saves(saveDatas));
|
|
29219
|
+
if (saveRes > 0) {
|
|
29220
|
+
this.message.success("保存成功");
|
|
29221
|
+
} else {
|
|
29222
|
+
this.message.warning("保存失败");
|
|
29223
|
+
}
|
|
29224
|
+
this.ptSpin.value = false;
|
|
29225
|
+
console.log(saveDatas, "保存数据");
|
|
29226
|
+
});
|
|
29227
|
+
/**清除所有选择 */
|
|
29228
|
+
__publicField(this, "handleSelectAll", (status) => {
|
|
29229
|
+
this.tabRef.value.selectAll(status);
|
|
29230
|
+
});
|
|
29231
|
+
/**当前选择标段id */
|
|
29232
|
+
__publicField(this, "currentInsTreeId", 0);
|
|
29233
|
+
/**当前标段已选择看板模块数据 */
|
|
29234
|
+
__publicField(this, "currentInsSelectData", []);
|
|
29235
|
+
/**表格行选中时 */
|
|
29236
|
+
__publicField(this, "doRowClick", async (row) => {
|
|
29237
|
+
this.currentInsTreeId = row.Id;
|
|
29238
|
+
let res = this.utilities.parseApiResult(await this.dataInstitutionBoardRelationApi.getEntities(QueryWrapper.create().eq("PlatformId", this.platId.value).eq("InsTreeId", this.currentInsTreeId)));
|
|
29239
|
+
if (res.length > 0) {
|
|
29240
|
+
this.viewGrid.value.getXTable().clearCheckboxRow();
|
|
29241
|
+
this.currentInsSelectData = res;
|
|
29242
|
+
let rows = this.utilities.deepCopy(this.gridData);
|
|
29243
|
+
rows.forEach((e) => {
|
|
29244
|
+
let info = res.find((x) => x.BoardId == e.Id);
|
|
29245
|
+
if (info) {
|
|
29246
|
+
e.OrderNo = info.OrderNo;
|
|
29247
|
+
}
|
|
29248
|
+
});
|
|
29249
|
+
this.viewGrid.value.setDatas(rows);
|
|
29250
|
+
rows = rows.filter((item) => {
|
|
29251
|
+
return res.some((e) => e.BoardId === item.Id);
|
|
29252
|
+
});
|
|
29253
|
+
this.viewGrid.value.getXTable().setCheckboxRow(rows, true);
|
|
29254
|
+
} else {
|
|
29255
|
+
this.currentInsSelectData = [];
|
|
29256
|
+
this.viewGrid.value.setDatas(this.utilities.deepCopy(this.gridData));
|
|
29257
|
+
this.viewGrid.value.getXTable().clearCheckboxRow();
|
|
29258
|
+
}
|
|
29259
|
+
console.log(row, "行点击");
|
|
29260
|
+
});
|
|
29261
|
+
//#endregion 系统平台 END
|
|
29262
|
+
//#region 看板模块
|
|
29263
|
+
// 私有属性 | private
|
|
29264
|
+
__publicField(this, "viewGrid", ref());
|
|
29265
|
+
__publicField(this, "viewGridOption", reactive({
|
|
29266
|
+
api: this.dataBoardModuleApi,
|
|
29267
|
+
setting: {
|
|
29268
|
+
searchConfig: {
|
|
29269
|
+
btnSpan: 6,
|
|
29270
|
+
labelWidth: 120,
|
|
29271
|
+
defaultShowSearch: false
|
|
29272
|
+
},
|
|
29273
|
+
toolbarConfig: {
|
|
29274
|
+
isButtonGroup: false
|
|
29275
|
+
},
|
|
29276
|
+
rowConfig: {
|
|
29277
|
+
isCurrent: false,
|
|
29278
|
+
isHover: true
|
|
29279
|
+
},
|
|
29280
|
+
mode: "edit",
|
|
29281
|
+
editConfig: {
|
|
29282
|
+
trigger: "click",
|
|
29283
|
+
mode: "row",
|
|
29284
|
+
showStatus: true
|
|
29285
|
+
},
|
|
29286
|
+
isPagination: false
|
|
29287
|
+
// pageSize: 10,
|
|
29288
|
+
},
|
|
29289
|
+
searchOptions: [],
|
|
29290
|
+
toolbars: [],
|
|
29291
|
+
rightToolbars: [
|
|
29292
|
+
{ name: "refresh", onclick: this.refresh }
|
|
29293
|
+
],
|
|
29294
|
+
columns: [
|
|
29295
|
+
{
|
|
29296
|
+
colType: "checkbox",
|
|
29297
|
+
width: 50,
|
|
29298
|
+
align: "center"
|
|
29299
|
+
},
|
|
29300
|
+
{ colType: "ro", field: "BoardModuleName", title: "看板名称", align: "left" },
|
|
29301
|
+
{ colType: "ro", field: "BoardModuleAlias", title: "看板别名", align: "left" },
|
|
29302
|
+
{ colType: "ro", field: "Attachparams", title: "传递参数", align: "left" },
|
|
29303
|
+
{ colType: "ro", field: "BoardModuleUrl", title: "模块URL", align: "left" },
|
|
29304
|
+
{ colType: "ed", field: "OrderNo", title: "排序值", align: "center", width: 100 }
|
|
29305
|
+
],
|
|
29306
|
+
event: {}
|
|
29307
|
+
}));
|
|
29308
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
29309
|
+
// 私有方法 | private 方法名() {}
|
|
29310
|
+
__publicField(this, "gridData", []);
|
|
29311
|
+
// 响应式方法 | xxx = () => {}
|
|
29312
|
+
__publicField(this, "viewSpin", ref(false));
|
|
29313
|
+
/**保存项目标段与看板关系 */
|
|
29314
|
+
__publicField(this, "saveInstitutionBoardRelation", async () => {
|
|
29315
|
+
var _a;
|
|
29316
|
+
let gridSelectData = (_a = this.viewGrid.value) == null ? void 0 : _a.getCheckboxDatas();
|
|
29317
|
+
console.log(this.platId, "表达id");
|
|
29318
|
+
let saveDatas = gridSelectData.map((e) => {
|
|
29319
|
+
return {
|
|
29320
|
+
Id: 0,
|
|
29321
|
+
PlatformId: this.platId.value,
|
|
29322
|
+
//平台id
|
|
29323
|
+
InsTreeId: this.currentInsTreeId,
|
|
29324
|
+
BoardId: e.Id,
|
|
29325
|
+
BoardModuleName: e.BoardModuleName,
|
|
29326
|
+
OrderNo: e.OrderNo
|
|
29327
|
+
};
|
|
29328
|
+
});
|
|
29329
|
+
if (saveDatas.length == 0) {
|
|
29330
|
+
if (this.currentInsSelectData.length > 0) {
|
|
29331
|
+
let ids = this.currentInsSelectData.map((e) => e.Id).toString();
|
|
29332
|
+
this.dataInstitutionBoardRelationApi.deleteByIds(ids);
|
|
29333
|
+
}
|
|
29334
|
+
this.currentInsSelectData = [];
|
|
29335
|
+
this.message.success("保存成功");
|
|
29336
|
+
return;
|
|
29337
|
+
}
|
|
29338
|
+
this.viewSpin.value = true;
|
|
29339
|
+
if (this.currentInsSelectData.length > 0) {
|
|
29340
|
+
let ids = this.currentInsSelectData.map((e) => e.Id).toString();
|
|
29341
|
+
this.dataInstitutionBoardRelationApi.deleteByIds(ids);
|
|
29342
|
+
}
|
|
29343
|
+
let saveRes = this.utilities.parseApiResult(await this.dataInstitutionBoardRelationApi.saves(saveDatas));
|
|
29344
|
+
if (saveRes > 0) {
|
|
29345
|
+
this.message.success("保存成功");
|
|
29346
|
+
} else {
|
|
29347
|
+
this.message.warning("保存失败");
|
|
29348
|
+
}
|
|
29349
|
+
this.viewSpin.value = false;
|
|
29350
|
+
console.log(gridSelectData, "grid选中数据");
|
|
29351
|
+
});
|
|
29352
|
+
__publicField(this, "clearChecked", () => {
|
|
29353
|
+
this.viewGrid.value.getXTable().clearCheckboxRow();
|
|
29354
|
+
});
|
|
29355
|
+
this.props = props;
|
|
29356
|
+
this.ctx = ctx;
|
|
29357
|
+
this.initData();
|
|
29358
|
+
}
|
|
29359
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
29360
|
+
// 私有方法 | private 方法名() {}
|
|
29361
|
+
initData() {
|
|
29362
|
+
onMounted(() => {
|
|
29363
|
+
console.log(this.platform, "platform");
|
|
29364
|
+
console.log(this.business, "business");
|
|
29365
|
+
this.loadInsTree();
|
|
29366
|
+
this.loadViewDataGrid();
|
|
29367
|
+
});
|
|
29368
|
+
onUnmounted(() => {
|
|
29369
|
+
});
|
|
29370
|
+
}
|
|
29371
|
+
// 私有方法 | private 方法名() {}
|
|
29372
|
+
/**
|
|
29373
|
+
* 加载机构树
|
|
29374
|
+
*/
|
|
29375
|
+
async loadInsTree() {
|
|
29376
|
+
let hasSelected = false;
|
|
29377
|
+
this.loadingInstitutionTree.value = true;
|
|
29378
|
+
const apiResult = await this.institutionTreeApi.getInstitutionTrees(this.business.PlatformId);
|
|
29379
|
+
const datas = this.utilities.parseApiResult(apiResult);
|
|
29380
|
+
this.loadingInstitutionTree.value = false;
|
|
29381
|
+
const whileChildData = (pId) => {
|
|
29382
|
+
const childDatas = datas.filter((item) => item.PId == pId);
|
|
29383
|
+
for (const data of childDatas) {
|
|
29384
|
+
data.title = data.InstitutionAbbreviation;
|
|
29385
|
+
data.expand = true;
|
|
29386
|
+
const selected = this.utilities.isNull(this.selectedInsTree) ? false : this.selectedInsTree.Id == data.Id;
|
|
29387
|
+
data.selected = selected;
|
|
29388
|
+
if (selected) {
|
|
29389
|
+
hasSelected = true;
|
|
29390
|
+
}
|
|
29391
|
+
const values = whileChildData(data.Id);
|
|
29392
|
+
if (values.length > 0) {
|
|
29393
|
+
data.children = values;
|
|
29394
|
+
}
|
|
29395
|
+
}
|
|
29396
|
+
return childDatas;
|
|
29397
|
+
};
|
|
29398
|
+
this.institutionTree.value = whileChildData(0);
|
|
29399
|
+
if (!hasSelected && this.institutionTree.value.length > 0) {
|
|
29400
|
+
const data = this.institutionTree.value[0];
|
|
29401
|
+
data.selected = true;
|
|
29402
|
+
this.doChangeInsTree([data]);
|
|
29403
|
+
}
|
|
29404
|
+
}
|
|
29405
|
+
/**获取平台下机构信息 */
|
|
29406
|
+
async getInsTree(id) {
|
|
29407
|
+
this.ptSpin.value = true;
|
|
29408
|
+
const apiResult = await this.institutionTreeApi.getInstitutionTrees(id);
|
|
29409
|
+
let datas = this.utilities.parseApiResult(apiResult);
|
|
29410
|
+
datas = datas.filter((e) => e.InstitutionTypeCode == "LJ");
|
|
29411
|
+
this.viewGrid.value.getXTable().clearCheckboxRow();
|
|
29412
|
+
if (datas && datas.length > 0) {
|
|
29413
|
+
datas[0]._highlight = true;
|
|
29414
|
+
this.doRowClick(datas[0]);
|
|
29415
|
+
}
|
|
29416
|
+
let res = this.utilities.parseApiResult(await this.dataInistitutionRelationApi.getEntities(QueryWrapper.create().eq("GroupInsTreeId", this.selectedInsTree.Id).eq("SubPlatformId", this.platId.value)));
|
|
29417
|
+
if (res && res.length > 0) {
|
|
29418
|
+
this.tabSavedData = res;
|
|
29419
|
+
datas.forEach((e) => {
|
|
29420
|
+
let info = res.find((x) => e.Id == x.SubInsTreeId);
|
|
29421
|
+
if (info) {
|
|
29422
|
+
e._checked = true;
|
|
29423
|
+
}
|
|
29424
|
+
});
|
|
29425
|
+
} else {
|
|
29426
|
+
this.tabSavedData = [];
|
|
29427
|
+
}
|
|
29428
|
+
this.ptSpin.value = false;
|
|
29429
|
+
this.tableData.value = datas;
|
|
29430
|
+
}
|
|
29431
|
+
async loadViewDataGrid() {
|
|
29432
|
+
var _a;
|
|
29433
|
+
const datas = this.utilities.parseApiResult(await this.dataBoardModuleApi.getEntities(QueryWrapper.create().orderBy(["OrderNo"])));
|
|
29434
|
+
(_a = this.viewGrid.value) == null ? void 0 : _a.loadData(async (option) => {
|
|
29435
|
+
option.success(datas);
|
|
29436
|
+
});
|
|
29437
|
+
this.gridData = datas;
|
|
29438
|
+
}
|
|
29439
|
+
/**刷新表格 */
|
|
29440
|
+
refresh() {
|
|
29441
|
+
let rows = this.utilities.deepCopy(this.gridData);
|
|
29442
|
+
rows.forEach((e) => {
|
|
29443
|
+
let info = this.currentInsSelectData.find((x) => x.BoardId == e.Id);
|
|
29444
|
+
if (info) {
|
|
29445
|
+
e.OrderNo = info.OrderNo;
|
|
29446
|
+
}
|
|
29447
|
+
});
|
|
29448
|
+
this.viewGrid.value.setDatas(rows);
|
|
29449
|
+
}
|
|
29450
|
+
//#endregion 看板模块 END
|
|
29451
|
+
}
|
|
29452
|
+
const GroupRelationships_vue_vue_type_style_index_0_scoped_05e0f55a_lang = "";
|
|
29453
|
+
const _hoisted_1 = { class: "instree-list" };
|
|
29454
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
29455
|
+
const _component_Tree = resolveComponent("Tree");
|
|
29456
|
+
const _component_Spin = resolveComponent("Spin");
|
|
29457
|
+
const _component_Button = resolveComponent("Button");
|
|
29458
|
+
const _component_Space = resolveComponent("Space");
|
|
29459
|
+
const _component_NvBox = resolveComponent("NvBox");
|
|
29460
|
+
const _component_Option = resolveComponent("Option");
|
|
29461
|
+
const _component_Select = resolveComponent("Select");
|
|
29462
|
+
const _component_NvControlGroup = resolveComponent("NvControlGroup");
|
|
29463
|
+
const _component_Table = resolveComponent("Table");
|
|
29464
|
+
const _component_NvButton = resolveComponent("NvButton");
|
|
29465
|
+
const _component_NvGrid = resolveComponent("NvGrid");
|
|
29466
|
+
const _component_NvPage = resolveComponent("NvPage");
|
|
29467
|
+
return openBlock(), createBlock(_component_NvPage, {
|
|
29468
|
+
gutter: 8,
|
|
29469
|
+
class: "nv-flex"
|
|
29470
|
+
}, {
|
|
29471
|
+
default: withCtx(() => [
|
|
29472
|
+
createVNode(_component_NvBox, {
|
|
29473
|
+
width: "300px",
|
|
29474
|
+
title: "组织机构树",
|
|
29475
|
+
showArrow: true,
|
|
29476
|
+
onChange: _ctx.doChangeUserBoxWidth
|
|
29477
|
+
}, {
|
|
29478
|
+
default: withCtx(() => [
|
|
29479
|
+
createElementVNode("div", _hoisted_1, [
|
|
29480
|
+
createVNode(_component_Tree, {
|
|
29481
|
+
data: _ctx.institutionTree,
|
|
29482
|
+
render: _ctx.renderInsTreeContent,
|
|
29483
|
+
class: "tree-render",
|
|
29484
|
+
onOnSelectChange: _ctx.doChangeInsTree
|
|
29485
|
+
}, null, 8, ["data", "render", "onOnSelectChange"]),
|
|
29486
|
+
withDirectives(createVNode(_component_Spin, { fix: "" }, {
|
|
29487
|
+
default: withCtx(() => [
|
|
29488
|
+
createTextVNode("数据加载中")
|
|
29489
|
+
]),
|
|
29490
|
+
_: 1
|
|
29491
|
+
}, 512), [
|
|
29492
|
+
[vShow, _ctx.loadingInstitutionTree]
|
|
29493
|
+
])
|
|
29494
|
+
]),
|
|
29495
|
+
createVNode(_component_Space, { style: { "width": "100%", "justify-content": "end" } }, {
|
|
29496
|
+
default: withCtx(() => [
|
|
29497
|
+
createVNode(_component_Button, {
|
|
29498
|
+
type: "text",
|
|
29499
|
+
onClick: _ctx.doRefreshInsTree
|
|
29500
|
+
}, {
|
|
29501
|
+
default: withCtx(() => [
|
|
29502
|
+
createTextVNode("刷新")
|
|
29503
|
+
]),
|
|
29504
|
+
_: 1
|
|
29505
|
+
}, 8, ["onClick"])
|
|
29506
|
+
]),
|
|
29507
|
+
_: 1
|
|
29508
|
+
})
|
|
29509
|
+
]),
|
|
29510
|
+
_: 1
|
|
29511
|
+
}, 8, ["onChange"]),
|
|
29512
|
+
createVNode(_component_NvBox, {
|
|
29513
|
+
width: "350px",
|
|
29514
|
+
title: "平台选择",
|
|
29515
|
+
showArrow: true,
|
|
29516
|
+
onChange: _ctx.doChangeUserBoxWidth
|
|
29517
|
+
}, {
|
|
29518
|
+
footer: withCtx(() => [
|
|
29519
|
+
createVNode(_component_Button, {
|
|
29520
|
+
type: "text",
|
|
29521
|
+
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handleSelectAll(false))
|
|
29522
|
+
}, {
|
|
29523
|
+
default: withCtx(() => [
|
|
29524
|
+
createTextVNode("清除")
|
|
29525
|
+
]),
|
|
29526
|
+
_: 1
|
|
29527
|
+
}),
|
|
29528
|
+
createVNode(_component_NvButton, {
|
|
29529
|
+
type: "primary",
|
|
29530
|
+
onClick: _ctx.saveInistitutionRelation
|
|
29531
|
+
}, {
|
|
29532
|
+
default: withCtx(() => [
|
|
29533
|
+
createTextVNode("保存")
|
|
29534
|
+
]),
|
|
29535
|
+
_: 1
|
|
29536
|
+
}, 8, ["onClick"])
|
|
29537
|
+
]),
|
|
29538
|
+
default: withCtx(() => [
|
|
29539
|
+
withDirectives(createVNode(_component_Spin, { fix: "" }, {
|
|
29540
|
+
default: withCtx(() => [
|
|
29541
|
+
createTextVNode("数据加载中")
|
|
29542
|
+
]),
|
|
29543
|
+
_: 1
|
|
29544
|
+
}, 512), [
|
|
29545
|
+
[vShow, _ctx.ptSpin]
|
|
29546
|
+
]),
|
|
29547
|
+
createVNode(_component_NvControlGroup, {
|
|
29548
|
+
width: "320px",
|
|
29549
|
+
icon: "md-refresh",
|
|
29550
|
+
label: "系统平台",
|
|
29551
|
+
labelWidth: 75,
|
|
29552
|
+
onClick: _ctx.getPlatData
|
|
29553
|
+
}, {
|
|
29554
|
+
default: withCtx(() => [
|
|
29555
|
+
createVNode(_component_Select, {
|
|
29556
|
+
modelValue: _ctx.platId,
|
|
29557
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.platId = $event),
|
|
29558
|
+
onOnChange: _ctx.doPlatformChange,
|
|
29559
|
+
transfer: ""
|
|
29560
|
+
}, {
|
|
29561
|
+
default: withCtx(() => [
|
|
29562
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.platData, (item, index2) => {
|
|
29563
|
+
return openBlock(), createBlock(_component_Option, {
|
|
29564
|
+
key: index2,
|
|
29565
|
+
value: item.Id
|
|
29566
|
+
}, {
|
|
29567
|
+
default: withCtx(() => [
|
|
29568
|
+
createTextVNode(toDisplayString(item.PlatformAbbreviation), 1)
|
|
29569
|
+
]),
|
|
29570
|
+
_: 2
|
|
29571
|
+
}, 1032, ["value"]);
|
|
29572
|
+
}), 128))
|
|
29573
|
+
]),
|
|
29574
|
+
_: 1
|
|
29575
|
+
}, 8, ["modelValue", "onOnChange"]),
|
|
29576
|
+
createVNode(_component_Spin, {
|
|
29577
|
+
fix: "",
|
|
29578
|
+
show: _ctx.spinPlatShow
|
|
29579
|
+
}, null, 8, ["show"])
|
|
29580
|
+
]),
|
|
29581
|
+
_: 1
|
|
29582
|
+
}, 8, ["onClick"]),
|
|
29583
|
+
createVNode(_component_Table, {
|
|
29584
|
+
ref: "tabRef",
|
|
29585
|
+
columns: _ctx.columns,
|
|
29586
|
+
data: _ctx.tableData,
|
|
29587
|
+
"show-header": false,
|
|
29588
|
+
onOnSelectionChange: _ctx.selectChange,
|
|
29589
|
+
onOnRowClick: _ctx.doRowClick,
|
|
29590
|
+
"highlight-row": ""
|
|
29591
|
+
}, null, 8, ["columns", "data", "onOnSelectionChange", "onOnRowClick"])
|
|
29592
|
+
]),
|
|
29593
|
+
_: 1
|
|
29594
|
+
}, 8, ["onChange"]),
|
|
29595
|
+
createVNode(_component_NvBox, { title: "看板模块" }, {
|
|
29596
|
+
footer: withCtx(() => [
|
|
29597
|
+
createVNode(_component_Button, {
|
|
29598
|
+
type: "text",
|
|
29599
|
+
onClick: _ctx.clearChecked
|
|
29600
|
+
}, {
|
|
29601
|
+
default: withCtx(() => [
|
|
29602
|
+
createTextVNode("清除")
|
|
29603
|
+
]),
|
|
29604
|
+
_: 1
|
|
29605
|
+
}, 8, ["onClick"]),
|
|
29606
|
+
createVNode(_component_NvButton, {
|
|
29607
|
+
type: "primary",
|
|
29608
|
+
onClick: _ctx.saveInstitutionBoardRelation
|
|
29609
|
+
}, {
|
|
29610
|
+
default: withCtx(() => [
|
|
29611
|
+
createTextVNode("保存")
|
|
29612
|
+
]),
|
|
29613
|
+
_: 1
|
|
29614
|
+
}, 8, ["onClick"])
|
|
29615
|
+
]),
|
|
29616
|
+
default: withCtx(() => [
|
|
29617
|
+
withDirectives(createVNode(_component_Spin, { fix: "" }, {
|
|
29618
|
+
default: withCtx(() => [
|
|
29619
|
+
createTextVNode("数据加载中")
|
|
29620
|
+
]),
|
|
29621
|
+
_: 1
|
|
29622
|
+
}, 512), [
|
|
29623
|
+
[vShow, _ctx.viewSpin]
|
|
29624
|
+
]),
|
|
29625
|
+
createVNode(_component_NvGrid, {
|
|
29626
|
+
ref: "viewGrid",
|
|
29627
|
+
option: _ctx.viewGridOption
|
|
29628
|
+
}, null, 8, ["option"])
|
|
29629
|
+
]),
|
|
29630
|
+
_: 1
|
|
29631
|
+
})
|
|
29632
|
+
]),
|
|
29633
|
+
_: 1
|
|
29634
|
+
});
|
|
29635
|
+
}
|
|
29636
|
+
const GroupRelationships = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-05e0f55a"]]);
|
|
29637
|
+
const index = [
|
|
29638
|
+
{
|
|
29639
|
+
// 系统平台
|
|
29640
|
+
path: "/permission-service/platform/platform",
|
|
29641
|
+
component: Platform
|
|
29642
|
+
},
|
|
29643
|
+
{
|
|
29644
|
+
// 菜单模块
|
|
29645
|
+
path: "/permission-service/platform/module",
|
|
29646
|
+
component: Module
|
|
29647
|
+
},
|
|
29648
|
+
{
|
|
29649
|
+
// 角色管理
|
|
29650
|
+
path: "/permission-service/platform/role",
|
|
29651
|
+
component: Role
|
|
29652
|
+
},
|
|
29653
|
+
{
|
|
29654
|
+
// 机构类型
|
|
29655
|
+
path: "/permission-service/institution/institutiontype",
|
|
29656
|
+
component: InstitutionType
|
|
29657
|
+
},
|
|
29658
|
+
{
|
|
29659
|
+
// 组织机构
|
|
29660
|
+
path: "/permission-service/institution/institution",
|
|
29661
|
+
component: Institution
|
|
29662
|
+
},
|
|
29663
|
+
{
|
|
29664
|
+
// 用户管理
|
|
29665
|
+
path: "/permission-service/institution/userinfor",
|
|
29666
|
+
component: Userinfor
|
|
29667
|
+
},
|
|
29668
|
+
{
|
|
29669
|
+
// 企业管理
|
|
29670
|
+
path: "/permission-service/institution/enterprise",
|
|
29671
|
+
component: Enterprise
|
|
29672
|
+
},
|
|
29673
|
+
{
|
|
29674
|
+
// 第三方信息
|
|
29675
|
+
path: "/permission-service/thirdparty/information",
|
|
29676
|
+
component: Information
|
|
29677
|
+
},
|
|
29678
|
+
// 平台设置(二级)
|
|
29679
|
+
{
|
|
29680
|
+
// 项目管理
|
|
29681
|
+
path: "/permission-service/platform/subplatform",
|
|
29682
|
+
component: subplatform
|
|
29683
|
+
},
|
|
29684
|
+
{
|
|
29685
|
+
// 平台角色
|
|
29686
|
+
path: "/permission-service/platform/subrole",
|
|
29687
|
+
component: subrole
|
|
29688
|
+
},
|
|
29689
|
+
{
|
|
29690
|
+
// 平台企业
|
|
29691
|
+
path: "/permission-service/institution/subenterprise",
|
|
29692
|
+
component: subenterprise
|
|
29693
|
+
},
|
|
29694
|
+
{
|
|
29695
|
+
// 平台机构
|
|
29696
|
+
path: "/permission-service/institution/subinstitution",
|
|
29697
|
+
component: subinstitution
|
|
29698
|
+
},
|
|
29699
|
+
{
|
|
29700
|
+
// 平台用户
|
|
29701
|
+
path: "/permission-service/institution/subuserinfor",
|
|
29702
|
+
component: subuserinfor
|
|
29703
|
+
},
|
|
29704
|
+
{
|
|
29705
|
+
// 项目平台用户
|
|
29706
|
+
path: "/permission-service/institution/projectUserinfor",
|
|
29707
|
+
component: projectUser
|
|
29708
|
+
},
|
|
29709
|
+
{
|
|
29710
|
+
// 菜单管理
|
|
29711
|
+
path: "/permission-service/subplatform/subModule",
|
|
29712
|
+
component: subModule
|
|
29713
|
+
},
|
|
29714
|
+
{
|
|
29715
|
+
// 地图定点
|
|
29716
|
+
path: "/permission-service/institution/sublinepoins",
|
|
29717
|
+
component: sublinepoins
|
|
29718
|
+
},
|
|
29719
|
+
{
|
|
29720
|
+
// 项目概况
|
|
28780
29721
|
path: "/permission-service/projectSummary/ProjectSummary",
|
|
28781
29722
|
component: ProjectSummary
|
|
29723
|
+
},
|
|
29724
|
+
{
|
|
29725
|
+
// 看板模块
|
|
29726
|
+
path: "/viewModule/ViewModule",
|
|
29727
|
+
component: ViewModule
|
|
29728
|
+
},
|
|
29729
|
+
{
|
|
29730
|
+
// 集团关系
|
|
29731
|
+
path: "/groupRelationships/GroupRelationships",
|
|
29732
|
+
component: GroupRelationships
|
|
28782
29733
|
}
|
|
28783
29734
|
];
|
|
28784
29735
|
export {
|