@newview/permission-service 1.2.23 → 1.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/permission-service.js +579 -134
- 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 } 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 } 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$j = {
|
|
18
18
|
linkParam: {
|
|
19
19
|
// 带入的参数
|
|
20
20
|
type: String,
|
|
@@ -26,12 +26,12 @@ const propDefine$i = {
|
|
|
26
26
|
default: "-"
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
const _sfc_main$
|
|
29
|
+
const _sfc_main$j = defineComponent({
|
|
30
30
|
name: "Platform",
|
|
31
31
|
components: {},
|
|
32
32
|
emits: [""],
|
|
33
33
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
34
|
-
props: propDefine$
|
|
34
|
+
props: propDefine$j,
|
|
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$j = {
|
|
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$j(_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$i(_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$j, [
|
|
440
440
|
createVNode(_component_Space, null, {
|
|
441
441
|
default: withCtx(() => [
|
|
442
442
|
createVNode(_component_Icon, {
|
|
@@ -589,8 +589,8 @@ function _sfc_render$i(_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$j, [["render", _sfc_render$j], ["__scopeId", "data-v-f58b0adc"]]);
|
|
593
|
+
const propDefine$i = {
|
|
594
594
|
linkParam: {
|
|
595
595
|
// 带入的参数
|
|
596
596
|
type: String,
|
|
@@ -602,12 +602,12 @@ const propDefine$h = {
|
|
|
602
602
|
default: "-"
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
const _sfc_main$
|
|
605
|
+
const _sfc_main$i = 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$i,
|
|
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$i = { 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$i(_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$h(_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$i, [
|
|
1536
1536
|
createVNode(_component_Form, {
|
|
1537
1537
|
model: _ctx.moduleFormModel,
|
|
1538
1538
|
"label-width": 90
|
|
@@ -1667,8 +1667,8 @@ function _sfc_render$h(_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$i, [["render", _sfc_render$i], ["__scopeId", "data-v-e41c07fc"]]);
|
|
1671
|
+
const propDefine$h = {
|
|
1672
1672
|
linkParam: {
|
|
1673
1673
|
// 带入的参数
|
|
1674
1674
|
type: String,
|
|
@@ -1680,12 +1680,12 @@ const propDefine$g = {
|
|
|
1680
1680
|
default: "-"
|
|
1681
1681
|
}
|
|
1682
1682
|
};
|
|
1683
|
-
const _sfc_main$
|
|
1683
|
+
const _sfc_main$h = defineComponent({
|
|
1684
1684
|
name: "Role",
|
|
1685
1685
|
components: { SelectPlatform },
|
|
1686
1686
|
emits: [""],
|
|
1687
1687
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
1688
|
-
props: propDefine$
|
|
1688
|
+
props: propDefine$h,
|
|
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$h = { 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$h(_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$g(_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$h, [
|
|
2553
2553
|
createVNode(_component_NvGrid, {
|
|
2554
2554
|
ref: "moduleGrid",
|
|
2555
2555
|
option: _ctx.moduleGridOption
|
|
@@ -2683,8 +2683,8 @@ function _sfc_render$g(_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$h, [["render", _sfc_render$h], ["__scopeId", "data-v-0f25fe31"]]);
|
|
2687
|
+
const propDefine$g = {
|
|
2688
2688
|
linkParam: {
|
|
2689
2689
|
// 带入的参数
|
|
2690
2690
|
type: String,
|
|
@@ -2696,12 +2696,12 @@ const propDefine$f = {
|
|
|
2696
2696
|
default: "-"
|
|
2697
2697
|
}
|
|
2698
2698
|
};
|
|
2699
|
-
const _sfc_main$
|
|
2699
|
+
const _sfc_main$g = defineComponent({
|
|
2700
2700
|
name: "InstitutionType",
|
|
2701
2701
|
components: {},
|
|
2702
2702
|
emits: [""],
|
|
2703
2703
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
2704
|
-
props: propDefine$
|
|
2704
|
+
props: propDefine$g,
|
|
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$g = { style: { "height": "350px", "overflow-y": "auto" } };
|
|
2907
|
+
function _sfc_render$g(_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$f(_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$g, [
|
|
2961
2961
|
createVNode(_component_Form, {
|
|
2962
2962
|
ref: "refInstitutionTypeForm",
|
|
2963
2963
|
model: _ctx.institutionTypeFormModel,
|
|
@@ -2979,8 +2979,8 @@ function _sfc_render$f(_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$g, [["render", _sfc_render$g], ["__scopeId", "data-v-947fe129"]]);
|
|
2983
|
+
const propDefine$f = {
|
|
2984
2984
|
linkParam: {
|
|
2985
2985
|
// 带入的参数
|
|
2986
2986
|
type: String,
|
|
@@ -2992,12 +2992,12 @@ const propDefine$e = {
|
|
|
2992
2992
|
default: "-"
|
|
2993
2993
|
}
|
|
2994
2994
|
};
|
|
2995
|
-
const _sfc_main$
|
|
2995
|
+
const _sfc_main$f = defineComponent({
|
|
2996
2996
|
name: "Institution",
|
|
2997
2997
|
components: { SelectPlatform },
|
|
2998
2998
|
emits: [""],
|
|
2999
2999
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
3000
|
-
props: propDefine$
|
|
3000
|
+
props: propDefine$f,
|
|
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$f = { 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$f(_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$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
3981
3981
|
})
|
|
3982
3982
|
]),
|
|
3983
3983
|
default: withCtx(() => [
|
|
3984
|
-
createElementVNode("div", _hoisted_1$
|
|
3984
|
+
createElementVNode("div", _hoisted_1$f, [
|
|
3985
3985
|
createVNode(_component_Tree, {
|
|
3986
3986
|
data: _ctx.institutionTree,
|
|
3987
3987
|
render: _ctx.renderContent,
|
|
@@ -4179,14 +4179,14 @@ function _sfc_render$e(_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$f, [["render", _sfc_render$f], ["__scopeId", "data-v-42799ba1"]]);
|
|
4183
|
+
const propDefine$e = {};
|
|
4184
|
+
const _sfc_main$e = defineComponent({
|
|
4185
4185
|
name: "LoginLog",
|
|
4186
4186
|
components: {},
|
|
4187
4187
|
emits: [""],
|
|
4188
4188
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4189
|
-
props: propDefine$
|
|
4189
|
+
props: propDefine$e,
|
|
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$e = { class: "loginLog" };
|
|
4295
|
+
function _sfc_render$e(_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$e, [
|
|
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$e, [["render", _sfc_render$e], ["__scopeId", "data-v-4e2e0184"]]);
|
|
4305
|
+
const propDefine$d = {
|
|
4306
4306
|
linkParam: {
|
|
4307
4307
|
// 带入的参数
|
|
4308
4308
|
type: String,
|
|
@@ -4314,12 +4314,12 @@ const propDefine$c = {
|
|
|
4314
4314
|
default: "-"
|
|
4315
4315
|
}
|
|
4316
4316
|
};
|
|
4317
|
-
const _sfc_main$
|
|
4317
|
+
const _sfc_main$d = 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$d,
|
|
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$d = { 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$d(_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$c(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5412
5412
|
})
|
|
5413
5413
|
]),
|
|
5414
5414
|
default: withCtx(() => [
|
|
5415
|
-
createElementVNode("div", _hoisted_1$
|
|
5415
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
5416
5416
|
createVNode(_component_SelectPlatform, {
|
|
5417
5417
|
onSelect: _ctx.doChangePlatform,
|
|
5418
5418
|
width: "100%",
|
|
@@ -5731,8 +5731,8 @@ function _sfc_render$c(_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$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3969fae6"]]);
|
|
5735
|
+
const propDefine$c = {
|
|
5736
5736
|
linkParam: {
|
|
5737
5737
|
// 带入的参数
|
|
5738
5738
|
type: String,
|
|
@@ -5744,12 +5744,12 @@ const propDefine$b = {
|
|
|
5744
5744
|
default: "-"
|
|
5745
5745
|
}
|
|
5746
5746
|
};
|
|
5747
|
-
const _sfc_main$
|
|
5747
|
+
const _sfc_main$c = defineComponent({
|
|
5748
5748
|
name: "Enterprise",
|
|
5749
5749
|
components: { SelectPlatform },
|
|
5750
5750
|
emits: [""],
|
|
5751
5751
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
5752
|
-
props: propDefine$
|
|
5752
|
+
props: propDefine$c,
|
|
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$c = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
6140
|
+
function _sfc_render$c(_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$b(_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$c, [
|
|
6209
6209
|
createVNode(_component_Form, {
|
|
6210
6210
|
model: _ctx.enterpriseFormModel,
|
|
6211
6211
|
"label-width": 90
|
|
@@ -6228,7 +6228,7 @@ function _sfc_render$b(_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$c, [["render", _sfc_render$c], ["__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$b = {
|
|
6262
6262
|
linkParam: {
|
|
6263
6263
|
// 带入的参数
|
|
6264
6264
|
type: String,
|
|
@@ -6270,14 +6270,14 @@ const propDefine$a = {
|
|
|
6270
6270
|
default: "-"
|
|
6271
6271
|
}
|
|
6272
6272
|
};
|
|
6273
|
-
const _sfc_main$
|
|
6273
|
+
const _sfc_main$b = 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$b,
|
|
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$b = { style: { "overflow-y": "auto" } };
|
|
6646
|
+
function _sfc_render$b(_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$a(_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$b, [
|
|
6704
6704
|
createVNode(_component_Form, {
|
|
6705
6705
|
ref: "refRoleForm",
|
|
6706
6706
|
model: _ctx.roleFormModel,
|
|
@@ -6722,8 +6722,8 @@ function _sfc_render$a(_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$b, [["render", _sfc_render$b]]);
|
|
6726
|
+
const propDefine$a = {
|
|
6727
6727
|
linkParam: {
|
|
6728
6728
|
// 带入的参数
|
|
6729
6729
|
type: String,
|
|
@@ -6745,12 +6745,12 @@ const propDefine$9 = {
|
|
|
6745
6745
|
default: "BD"
|
|
6746
6746
|
}
|
|
6747
6747
|
};
|
|
6748
|
-
const _sfc_main$
|
|
6748
|
+
const _sfc_main$a = defineComponent({
|
|
6749
6749
|
name: "GeneralConfiguration",
|
|
6750
6750
|
components: {},
|
|
6751
6751
|
emits: [""],
|
|
6752
6752
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
6753
|
-
props: propDefine$
|
|
6753
|
+
props: propDefine$a,
|
|
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$a = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
7281
|
+
function _sfc_render$a(_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$9(_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$a, [
|
|
7334
7334
|
createVNode(_component_NvGrid, {
|
|
7335
7335
|
ref: "dicModalGrid",
|
|
7336
7336
|
option: _ctx.dicModalGridOption
|
|
@@ -7343,8 +7343,8 @@ function _sfc_render$9(_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$a, [["render", _sfc_render$a], ["__scopeId", "data-v-a01b6a2e"]]);
|
|
7347
|
+
const propDefine$9 = {
|
|
7348
7348
|
linkParam: {
|
|
7349
7349
|
// 带入的参数
|
|
7350
7350
|
type: String,
|
|
@@ -7356,14 +7356,14 @@ const propDefine$8 = {
|
|
|
7356
7356
|
default: "-"
|
|
7357
7357
|
}
|
|
7358
7358
|
};
|
|
7359
|
-
const _sfc_main$
|
|
7359
|
+
const _sfc_main$9 = 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$9,
|
|
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$9 = { style: { "height": "550px", "overflow-y": "auto" } };
|
|
7708
|
+
function _sfc_render$9(_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$8(_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$9, [
|
|
7764
7764
|
createVNode(_component_Form, {
|
|
7765
7765
|
ref: "refPlatformForm",
|
|
7766
7766
|
model: _ctx.platformFormModel,
|
|
@@ -7808,8 +7808,8 @@ function _sfc_render$8(_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$9, [["render", _sfc_render$9], ["__scopeId", "data-v-fbc0e7f2"]]);
|
|
7812
|
+
const propDefine$8 = {
|
|
7813
7813
|
linkParam: {
|
|
7814
7814
|
// 带入的参数
|
|
7815
7815
|
type: String,
|
|
@@ -7821,12 +7821,12 @@ const propDefine$7 = {
|
|
|
7821
7821
|
default: "-"
|
|
7822
7822
|
}
|
|
7823
7823
|
};
|
|
7824
|
-
const _sfc_main$
|
|
7824
|
+
const _sfc_main$8 = defineComponent({
|
|
7825
7825
|
name: "Role",
|
|
7826
7826
|
components: { SelectPlatform },
|
|
7827
7827
|
emits: [""],
|
|
7828
7828
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
7829
|
-
props: propDefine$
|
|
7829
|
+
props: propDefine$8,
|
|
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$8 = { 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$8(_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$7(_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$8, [
|
|
8765
8765
|
createVNode(_component_NvGrid, {
|
|
8766
8766
|
ref: "moduleGrid",
|
|
8767
8767
|
option: _ctx.moduleGridOption
|
|
@@ -8921,8 +8921,8 @@ function _sfc_render$7(_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$8, [["render", _sfc_render$8], ["__scopeId", "data-v-414834fa"]]);
|
|
8925
|
+
const propDefine$7 = {
|
|
8926
8926
|
linkParam: {
|
|
8927
8927
|
// 带入的参数
|
|
8928
8928
|
type: String,
|
|
@@ -8934,12 +8934,12 @@ const propDefine$6 = {
|
|
|
8934
8934
|
default: "-"
|
|
8935
8935
|
}
|
|
8936
8936
|
};
|
|
8937
|
-
const _sfc_main$
|
|
8937
|
+
const _sfc_main$7 = defineComponent({
|
|
8938
8938
|
name: "Enterprise",
|
|
8939
8939
|
components: { SelectPlatform },
|
|
8940
8940
|
emits: [""],
|
|
8941
8941
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
8942
|
-
props: propDefine$
|
|
8942
|
+
props: propDefine$7,
|
|
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$7 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
9354
|
+
function _sfc_render$7(_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$6(_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$7, [
|
|
9457
9457
|
createVNode(_component_Form, {
|
|
9458
9458
|
model: _ctx.enterpriseFormModel,
|
|
9459
9459
|
"label-width": 90
|
|
@@ -9476,8 +9476,8 @@ function _sfc_render$6(_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$7, [["render", _sfc_render$7], ["__scopeId", "data-v-57711b94"]]);
|
|
9480
|
+
const propDefine$6 = {
|
|
9481
9481
|
linkParam: {
|
|
9482
9482
|
// 带入的参数
|
|
9483
9483
|
type: String,
|
|
@@ -9489,12 +9489,12 @@ const propDefine$5 = {
|
|
|
9489
9489
|
default: "-"
|
|
9490
9490
|
}
|
|
9491
9491
|
};
|
|
9492
|
-
const _sfc_main$
|
|
9492
|
+
const _sfc_main$6 = defineComponent({
|
|
9493
9493
|
name: "Institution",
|
|
9494
9494
|
components: { SelectPlatform },
|
|
9495
9495
|
emits: [""],
|
|
9496
9496
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
9497
|
-
props: propDefine$
|
|
9497
|
+
props: propDefine$6,
|
|
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$6 = { 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$6(_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$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10554
10554
|
})
|
|
10555
10555
|
]),
|
|
10556
10556
|
default: withCtx(() => [
|
|
10557
|
-
createElementVNode("div", _hoisted_1$
|
|
10557
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
10558
10558
|
createVNode(_component_Tree, {
|
|
10559
10559
|
data: _ctx.institutionTree,
|
|
10560
10560
|
render: _ctx.renderContent,
|
|
@@ -10752,14 +10752,14 @@ function _sfc_render$5(_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$6, [["render", _sfc_render$6], ["__scopeId", "data-v-ed65a91d"]]);
|
|
10756
|
+
const propDefine$5 = {};
|
|
10757
|
+
const _sfc_main$5 = defineComponent({
|
|
10758
10758
|
name: "LoginLog",
|
|
10759
10759
|
components: {},
|
|
10760
10760
|
emits: [""],
|
|
10761
10761
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
10762
|
-
props: propDefine$
|
|
10762
|
+
props: propDefine$5,
|
|
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$5 = { class: "loginLog" };
|
|
10868
|
+
function _sfc_render$5(_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$5, [
|
|
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$5, [["render", _sfc_render$5], ["__scopeId", "data-v-a0d5af5b"]]);
|
|
10878
|
+
const propDefine$4 = {
|
|
10879
10879
|
linkParam: {
|
|
10880
10880
|
// 带入的参数
|
|
10881
10881
|
type: String,
|
|
@@ -10887,12 +10887,12 @@ const propDefine$3 = {
|
|
|
10887
10887
|
default: "-"
|
|
10888
10888
|
}
|
|
10889
10889
|
};
|
|
10890
|
-
const _sfc_main$
|
|
10890
|
+
const _sfc_main$4 = 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$4,
|
|
10896
10896
|
setup(props, ctx) {
|
|
10897
10897
|
return new UserinforInstance2(props, ctx);
|
|
10898
10898
|
}
|
|
@@ -11342,6 +11342,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11342
11342
|
this.saveingUser.value = false;
|
|
11343
11343
|
return;
|
|
11344
11344
|
}
|
|
11345
|
+
debugger;
|
|
11345
11346
|
apiResult = await this.userinforApi.save(this.userFormModel);
|
|
11346
11347
|
result = this.utilities.parseApiResult(apiResult);
|
|
11347
11348
|
if (this.userFormModel.Id == 0) {
|
|
@@ -11963,9 +11964,9 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11963
11964
|
// 响应式方法 | xxx = () => {}
|
|
11964
11965
|
//#endregion 重置密码 END
|
|
11965
11966
|
}
|
|
11966
|
-
const
|
|
11967
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
11968
|
-
const _hoisted_1$
|
|
11967
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_d910e362_lang = "";
|
|
11968
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-d910e362"), n = n(), popScopeId(), n);
|
|
11969
|
+
const _hoisted_1$4 = { class: "instree-search" };
|
|
11969
11970
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
11970
11971
|
const _hoisted_3$3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
11971
11972
|
const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
@@ -11981,7 +11982,7 @@ const _hoisted_10$1 = { style: { "display": "none" } };
|
|
|
11981
11982
|
const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
11982
11983
|
const _hoisted_12 = ["src"];
|
|
11983
11984
|
const _hoisted_13 = ["src"];
|
|
11984
|
-
function _sfc_render$
|
|
11985
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11985
11986
|
const _component_Option = resolveComponent("Option");
|
|
11986
11987
|
const _component_Select = resolveComponent("Select");
|
|
11987
11988
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -12026,7 +12027,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12026
12027
|
})
|
|
12027
12028
|
]),
|
|
12028
12029
|
default: withCtx(() => [
|
|
12029
|
-
createElementVNode("div", _hoisted_1$
|
|
12030
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
12030
12031
|
createVNode(_component_NvControlGroup, {
|
|
12031
12032
|
width: "100%",
|
|
12032
12033
|
icon: "md-refresh",
|
|
@@ -12085,7 +12086,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12085
12086
|
}, 8, ["onChange"]),
|
|
12086
12087
|
createVNode(_component_NvBox, {
|
|
12087
12088
|
width: _ctx.userBoxWidth,
|
|
12088
|
-
title: "用户列表"
|
|
12089
|
+
title: "用户列表1"
|
|
12089
12090
|
}, {
|
|
12090
12091
|
default: withCtx(() => [
|
|
12091
12092
|
createVNode(_component_NvGrid, {
|
|
@@ -12376,8 +12377,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12376
12377
|
_: 1
|
|
12377
12378
|
});
|
|
12378
12379
|
}
|
|
12379
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12380
|
-
const propDefine$
|
|
12380
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-d910e362"]]);
|
|
12381
|
+
const propDefine$3 = {
|
|
12381
12382
|
linkParam: {
|
|
12382
12383
|
// 带入的参数
|
|
12383
12384
|
type: String,
|
|
@@ -12389,12 +12390,12 @@ const propDefine$2 = {
|
|
|
12389
12390
|
default: "-"
|
|
12390
12391
|
}
|
|
12391
12392
|
};
|
|
12392
|
-
const _sfc_main$
|
|
12393
|
+
const _sfc_main$3 = defineComponent({
|
|
12393
12394
|
name: "Module",
|
|
12394
12395
|
components: { SelectPlatform },
|
|
12395
12396
|
emits: ["change"],
|
|
12396
12397
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
12397
|
-
props: propDefine$
|
|
12398
|
+
props: propDefine$3,
|
|
12398
12399
|
setup(props, ctx) {
|
|
12399
12400
|
return new ModuleInstance2(props, ctx);
|
|
12400
12401
|
}
|
|
@@ -13244,7 +13245,7 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
13244
13245
|
}
|
|
13245
13246
|
const Module_vue_vue_type_style_index_0_scoped_23a8ab5f_lang = "";
|
|
13246
13247
|
const _withScopeId$1 = (n) => (pushScopeId("data-v-23a8ab5f"), n = n(), popScopeId(), n);
|
|
13247
|
-
const _hoisted_1$
|
|
13248
|
+
const _hoisted_1$3 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
13248
13249
|
const _hoisted_2$2 = {
|
|
13249
13250
|
class: "import-module",
|
|
13250
13251
|
style: { "height": "650px", "position": "relative" }
|
|
@@ -13255,7 +13256,7 @@ const _hoisted_5$2 = { style: { "height": "calc(100% - 0px)" } };
|
|
|
13255
13256
|
const _hoisted_6$2 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
|
|
13256
13257
|
const _hoisted_7$2 = { style: { "height": "calc(100% - 0px)" } };
|
|
13257
13258
|
const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
|
|
13258
|
-
function _sfc_render$
|
|
13259
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13259
13260
|
const _component_Option = resolveComponent("Option");
|
|
13260
13261
|
const _component_Select = resolveComponent("Select");
|
|
13261
13262
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -13378,7 +13379,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13378
13379
|
}, 8, ["loading", "onClick"])
|
|
13379
13380
|
]),
|
|
13380
13381
|
default: withCtx(() => [
|
|
13381
|
-
createElementVNode("div", _hoisted_1$
|
|
13382
|
+
createElementVNode("div", _hoisted_1$3, [
|
|
13382
13383
|
createVNode(_component_Form, {
|
|
13383
13384
|
model: _ctx.moduleFormModel,
|
|
13384
13385
|
"label-width": 90
|
|
@@ -13513,7 +13514,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13513
13514
|
_: 1
|
|
13514
13515
|
});
|
|
13515
13516
|
}
|
|
13516
|
-
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13517
|
+
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-23a8ab5f"]]);
|
|
13517
13518
|
const type = "FeatureCollection";
|
|
13518
13519
|
const features = [
|
|
13519
13520
|
{
|
|
@@ -26075,7 +26076,7 @@ const shanxi = {
|
|
|
26075
26076
|
crs
|
|
26076
26077
|
};
|
|
26077
26078
|
const style = "";
|
|
26078
|
-
const propDefine$
|
|
26079
|
+
const propDefine$2 = {
|
|
26079
26080
|
linkParam: {
|
|
26080
26081
|
// 带入的参数
|
|
26081
26082
|
type: String,
|
|
@@ -26087,12 +26088,12 @@ const propDefine$1 = {
|
|
|
26087
26088
|
default: "-"
|
|
26088
26089
|
}
|
|
26089
26090
|
};
|
|
26090
|
-
const _sfc_main$
|
|
26091
|
+
const _sfc_main$2 = defineComponent({
|
|
26091
26092
|
name: "Sublinepoins",
|
|
26092
26093
|
components: { SelectPlatform, NvMap },
|
|
26093
26094
|
emits: [""],
|
|
26094
26095
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26095
|
-
props: propDefine$
|
|
26096
|
+
props: propDefine$2,
|
|
26096
26097
|
setup(props, ctx) {
|
|
26097
26098
|
return new ProjectUserinforInstance$1(props, ctx);
|
|
26098
26099
|
}
|
|
@@ -26245,7 +26246,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26245
26246
|
this.NvMap1.value.setCenter([item.Latitude, item.Longitude]);
|
|
26246
26247
|
});
|
|
26247
26248
|
/** 删除点 */
|
|
26248
|
-
__publicField(this, "removePoint", async (
|
|
26249
|
+
__publicField(this, "removePoint", async (delectAll, item) => {
|
|
26249
26250
|
let res2;
|
|
26250
26251
|
if (delectAll) {
|
|
26251
26252
|
const ids = this.pointData.value.map((e) => {
|
|
@@ -26557,8 +26558,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26557
26558
|
}
|
|
26558
26559
|
//#endregion 系统平台 END
|
|
26559
26560
|
};
|
|
26560
|
-
const
|
|
26561
|
-
const _hoisted_1$
|
|
26561
|
+
const Sublinepoins_vue_vue_type_style_index_0_scoped_66a288c7_lang = "";
|
|
26562
|
+
const _hoisted_1$2 = { class: "instree-search" };
|
|
26562
26563
|
const _hoisted_2$1 = { class: "instree-list" };
|
|
26563
26564
|
const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
|
|
26564
26565
|
const _hoisted_4$1 = {
|
|
@@ -26570,7 +26571,7 @@ const _hoisted_6$1 = ["onClick"];
|
|
|
26570
26571
|
const _hoisted_7$1 = { style: { "font-size": "16px" } };
|
|
26571
26572
|
const _hoisted_8$1 = ["onClick"];
|
|
26572
26573
|
const _hoisted_9$1 = { style: { "height": "450px" } };
|
|
26573
|
-
function _sfc_render$
|
|
26574
|
+
function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
26574
26575
|
const _component_Option = resolveComponent("Option");
|
|
26575
26576
|
const _component_Select = resolveComponent("Select");
|
|
26576
26577
|
const _component_Spin = resolveComponent("Spin");
|
|
@@ -26611,7 +26612,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26611
26612
|
})
|
|
26612
26613
|
]),
|
|
26613
26614
|
default: withCtx(() => [
|
|
26614
|
-
createElementVNode("div", _hoisted_1$
|
|
26615
|
+
createElementVNode("div", _hoisted_1$2, [
|
|
26615
26616
|
createVNode(_component_NvControlGroup, {
|
|
26616
26617
|
width: "100%",
|
|
26617
26618
|
icon: "md-refresh",
|
|
@@ -26734,7 +26735,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26734
26735
|
createVNode(_component_Button, {
|
|
26735
26736
|
type: "error",
|
|
26736
26737
|
ghost: "",
|
|
26737
|
-
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.removePoint(
|
|
26738
|
+
onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.removePoint(true), ["stop"]))
|
|
26738
26739
|
}, {
|
|
26739
26740
|
default: withCtx(() => [
|
|
26740
26741
|
createTextVNode("删除全部")
|
|
@@ -26757,7 +26758,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26757
26758
|
createElementVNode("div", {
|
|
26758
26759
|
style: { "color": "red" },
|
|
26759
26760
|
class: "nv-c-p",
|
|
26760
|
-
onClick: withModifiers(($event) => _ctx.removePoint(
|
|
26761
|
+
onClick: withModifiers(($event) => _ctx.removePoint(false, item), ["stop"])
|
|
26761
26762
|
}, "删除", 8, _hoisted_8$1)
|
|
26762
26763
|
], 8, _hoisted_6$1);
|
|
26763
26764
|
}), 128))
|
|
@@ -26804,7 +26805,445 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
26804
26805
|
_: 1
|
|
26805
26806
|
});
|
|
26806
26807
|
}
|
|
26807
|
-
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
26808
|
+
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-66a288c7"]]);
|
|
26809
|
+
const propDefine$1 = {
|
|
26810
|
+
Id: {
|
|
26811
|
+
default: 0,
|
|
26812
|
+
type: Number
|
|
26813
|
+
}
|
|
26814
|
+
// platformId: {
|
|
26815
|
+
// type: Number,
|
|
26816
|
+
// default: 0,
|
|
26817
|
+
// },
|
|
26818
|
+
// configType: {
|
|
26819
|
+
// type: String,
|
|
26820
|
+
// default: '',
|
|
26821
|
+
// }
|
|
26822
|
+
};
|
|
26823
|
+
const _sfc_main$1 = defineComponent({
|
|
26824
|
+
name: "ProjectSummary",
|
|
26825
|
+
components: {
|
|
26826
|
+
NvComFormUp
|
|
26827
|
+
},
|
|
26828
|
+
emits: ["close", "update"],
|
|
26829
|
+
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26830
|
+
props: propDefine$1,
|
|
26831
|
+
setup(props, ctx) {
|
|
26832
|
+
return new ProjectSummaryInstance(props, ctx);
|
|
26833
|
+
}
|
|
26834
|
+
});
|
|
26835
|
+
class ProjectSummaryInstance extends BaseInstance {
|
|
26836
|
+
// 概况类型 GC :项目概况, BD :标段概况
|
|
26837
|
+
constructor(props, ctx) {
|
|
26838
|
+
super();
|
|
26839
|
+
__publicField(this, "props");
|
|
26840
|
+
__publicField(this, "ctx");
|
|
26841
|
+
// API实例化
|
|
26842
|
+
__publicField(this, "corePlatformConfigApi", new CorePlatformConfigApi());
|
|
26843
|
+
__publicField(this, "projectSummaryApi", new ProjectSummaryApi());
|
|
26844
|
+
// private mainApi = new BF_PedestalApi()
|
|
26845
|
+
__publicField(this, "provinceApi", new ProvinceApi());
|
|
26846
|
+
__publicField(this, "cityApi", new CityApi());
|
|
26847
|
+
__publicField(this, "areaApi", new AreaApi());
|
|
26848
|
+
// 全局属性
|
|
26849
|
+
/**机构数据 */
|
|
26850
|
+
__publicField(this, "business", this.storageInfo.getCurrentInsTree());
|
|
26851
|
+
// 机构树
|
|
26852
|
+
__publicField(this, "platformId", this.storageInfo.getCurrentPlatform().Id);
|
|
26853
|
+
// 平台Id
|
|
26854
|
+
__publicField(this, "configType", "GC");
|
|
26855
|
+
//#region 业务逻辑
|
|
26856
|
+
// 私有属性 | private
|
|
26857
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
26858
|
+
__publicField(this, "refbigform", ref());
|
|
26859
|
+
__publicField(this, "isShowSpin", ref(false));
|
|
26860
|
+
__publicField(this, "isShowForm", ref(true));
|
|
26861
|
+
__publicField(this, "nowData", reactive({
|
|
26862
|
+
Id: 0,
|
|
26863
|
+
CreateUserId: 0,
|
|
26864
|
+
CreateUserName: "",
|
|
26865
|
+
CreateDate: "",
|
|
26866
|
+
Province: "",
|
|
26867
|
+
City: "",
|
|
26868
|
+
Area: ""
|
|
26869
|
+
}));
|
|
26870
|
+
__publicField(this, "mainSaveFunLoading", ref(false));
|
|
26871
|
+
__publicField(this, "mainFormRef", ref());
|
|
26872
|
+
__publicField(this, "mainFormModel", reactive({
|
|
26873
|
+
Id: 0,
|
|
26874
|
+
Province: "",
|
|
26875
|
+
City: "",
|
|
26876
|
+
Area: ""
|
|
26877
|
+
}));
|
|
26878
|
+
__publicField(this, "mainFormItems", reactive([
|
|
26879
|
+
// { model: 'MemorabiliaContent', label: '大事记内容', prop: 'MemorabiliaContent', type: 'TextEditor', textHeight: 250, span: 24 },
|
|
26880
|
+
]));
|
|
26881
|
+
__publicField(this, "mainRules", reactive({
|
|
26882
|
+
ProjectName: [
|
|
26883
|
+
{ required: true, message: "", trigger: "blur" }
|
|
26884
|
+
]
|
|
26885
|
+
}));
|
|
26886
|
+
// 响应式方法 | xxx = () => {}
|
|
26887
|
+
// doBtnClick2 = () = {}
|
|
26888
|
+
/**保存数据 */
|
|
26889
|
+
__publicField(this, "mainSaveFun", async () => {
|
|
26890
|
+
this.mainFormRef.value.validate(async (valid) => {
|
|
26891
|
+
var _a, _b, _c, _d, _e, _f;
|
|
26892
|
+
if (valid) {
|
|
26893
|
+
this.mainSaveFunLoading.value = true;
|
|
26894
|
+
let saveObj = {
|
|
26895
|
+
Id: this.nowData.Id == 0 ? 0 : this.nowData.Id,
|
|
26896
|
+
PlatformId: this.platformId,
|
|
26897
|
+
PlatformName: this.storageInfo.getCurrentPlatform().PlatformName,
|
|
26898
|
+
InsTreeId: (_a = this.business) == null ? void 0 : _a.Id,
|
|
26899
|
+
InstitutionId: (_b = this.business) == null ? void 0 : _b.InstitutionId,
|
|
26900
|
+
InsName: (_c = this.business) == null ? void 0 : _c.InstitutionName,
|
|
26901
|
+
DataType: this.configType == "GC" ? 1 : this.configType == "BD" ? 2 : 0,
|
|
26902
|
+
ConfigData: JSON.stringify(this.utilities.deepCopy(this.mainFormModel)),
|
|
26903
|
+
CreateUserId: this.nowData.Id == 0 ? this.storageInfo.getUser().Id : (_d = this.nowData) == null ? void 0 : _d.CreateUserId,
|
|
26904
|
+
CreateUserName: this.nowData.Id == 0 ? this.storageInfo.getUser().UserName : (_e = this.nowData) == null ? void 0 : _e.CreateUserName,
|
|
26905
|
+
CreateDate: this.nowData.Id == 0 ? this.utilities.getCurrentDate() : (_f = this.nowData) == null ? void 0 : _f.CreateDate,
|
|
26906
|
+
UpdateDate: this.utilities.getCurrentDate(),
|
|
26907
|
+
Province: this.mainFormModel.Province,
|
|
26908
|
+
City: this.mainFormModel.City,
|
|
26909
|
+
Area: this.mainFormModel.Area
|
|
26910
|
+
};
|
|
26911
|
+
this.refbigform.value.saveTextData();
|
|
26912
|
+
const res = this.utilities.parseApiResult(await this.projectSummaryApi.save(saveObj));
|
|
26913
|
+
if (res && res > 0) {
|
|
26914
|
+
this.message.success("保存成功!");
|
|
26915
|
+
this.init();
|
|
26916
|
+
} else {
|
|
26917
|
+
this.message.error("保存失败,请稍后重试!");
|
|
26918
|
+
}
|
|
26919
|
+
this.mainSaveFunLoading.value = false;
|
|
26920
|
+
}
|
|
26921
|
+
});
|
|
26922
|
+
});
|
|
26923
|
+
//#endregion 业务逻辑 END
|
|
26924
|
+
//#region 省市区
|
|
26925
|
+
// 私有属性 | private
|
|
26926
|
+
// private business2Test1: number = 0;
|
|
26927
|
+
__publicField(this, "provinces", []);
|
|
26928
|
+
__publicField(this, "cities", []);
|
|
26929
|
+
__publicField(this, "areas", []);
|
|
26930
|
+
__publicField(this, "provinceList", []);
|
|
26931
|
+
__publicField(this, "cityList", []);
|
|
26932
|
+
__publicField(this, "areaList", []);
|
|
26933
|
+
// 响应属性 | ref、reactive、computed、watch
|
|
26934
|
+
// refTest2 = ref(0);
|
|
26935
|
+
__publicField(this, "provinceIndex", ref(null));
|
|
26936
|
+
__publicField(this, "cityIndex", ref(null));
|
|
26937
|
+
__publicField(this, "areaIndex", ref(null));
|
|
26938
|
+
this.props = props;
|
|
26939
|
+
this.ctx = ctx;
|
|
26940
|
+
this.init();
|
|
26941
|
+
}
|
|
26942
|
+
async init() {
|
|
26943
|
+
await this.useArea();
|
|
26944
|
+
await this.loadPlatformConfig();
|
|
26945
|
+
}
|
|
26946
|
+
// 私有方法 | private 方法名() {}
|
|
26947
|
+
/** 根据平台id 获取项目概况配置信息 */
|
|
26948
|
+
async loadPlatformConfig() {
|
|
26949
|
+
let res = this.utilities.parseApiResult(await this.corePlatformConfigApi.getEntities(QueryWrapper.create().eq("PlatformId", this.platformId)));
|
|
26950
|
+
if (res && res.length > 0) {
|
|
26951
|
+
let arr = this.configType == "GC" ? JSON.parse(res[0].ProjectConfig) : this.configType == "BD" ? JSON.parse(res[0].ConstructConfig) : [];
|
|
26952
|
+
if (arr && arr.length > 0) {
|
|
26953
|
+
this.isShowForm.value = true;
|
|
26954
|
+
this.isShowSpin.value = true;
|
|
26955
|
+
arr.forEach((x, i) => {
|
|
26956
|
+
if (x.type == "region") {
|
|
26957
|
+
let regionArr = [
|
|
26958
|
+
{
|
|
26959
|
+
label: "省份",
|
|
26960
|
+
type: "Select",
|
|
26961
|
+
model: "Province",
|
|
26962
|
+
prop: "Province",
|
|
26963
|
+
orderNum: x.orderNum,
|
|
26964
|
+
span: x.span,
|
|
26965
|
+
selectProp: {
|
|
26966
|
+
datas: [],
|
|
26967
|
+
onChange: (event, item) => {
|
|
26968
|
+
this.setCityDatas(event);
|
|
26969
|
+
this.setAreaDatas("");
|
|
26970
|
+
},
|
|
26971
|
+
transfer: true,
|
|
26972
|
+
filterable: true
|
|
26973
|
+
},
|
|
26974
|
+
rules: x.requiredd == 1 ? [
|
|
26975
|
+
{ required: true, message: "省份不能为空", trigger: "change" }
|
|
26976
|
+
] : []
|
|
26977
|
+
},
|
|
26978
|
+
{
|
|
26979
|
+
label: "城市",
|
|
26980
|
+
type: "Select",
|
|
26981
|
+
model: "City",
|
|
26982
|
+
prop: "City",
|
|
26983
|
+
orderNum: x.orderNum,
|
|
26984
|
+
span: x.span,
|
|
26985
|
+
selectProp: {
|
|
26986
|
+
datas: [],
|
|
26987
|
+
onChange: (event, item) => {
|
|
26988
|
+
this.setAreaDatas(event);
|
|
26989
|
+
},
|
|
26990
|
+
transfer: true,
|
|
26991
|
+
filterable: true
|
|
26992
|
+
},
|
|
26993
|
+
rules: x.requiredd == 1 ? [
|
|
26994
|
+
{ required: true, message: "城市不能为空", trigger: "change" }
|
|
26995
|
+
] : []
|
|
26996
|
+
},
|
|
26997
|
+
{
|
|
26998
|
+
label: "区县",
|
|
26999
|
+
type: "Select",
|
|
27000
|
+
model: "Area",
|
|
27001
|
+
prop: "Area",
|
|
27002
|
+
orderNum: x.orderNum,
|
|
27003
|
+
span: x.span,
|
|
27004
|
+
selectProp: {
|
|
27005
|
+
datas: [],
|
|
27006
|
+
transfer: true,
|
|
27007
|
+
filterable: true
|
|
27008
|
+
},
|
|
27009
|
+
rules: x.requiredd == 1 ? [
|
|
27010
|
+
{ required: true, message: "区县不能为空", trigger: "change" }
|
|
27011
|
+
] : []
|
|
27012
|
+
}
|
|
27013
|
+
];
|
|
27014
|
+
arr.splice(i, 1, ...regionArr);
|
|
27015
|
+
}
|
|
27016
|
+
if (x.requiredd > 0) {
|
|
27017
|
+
switch (x.type) {
|
|
27018
|
+
case "Input":
|
|
27019
|
+
x.rules = [
|
|
27020
|
+
{ required: true, message: x.message, trigger: "blur" }
|
|
27021
|
+
];
|
|
27022
|
+
break;
|
|
27023
|
+
case "DatePicker":
|
|
27024
|
+
x.rules = [
|
|
27025
|
+
{ required: true, type: "date", message: x.message, trigger: "change" }
|
|
27026
|
+
];
|
|
27027
|
+
break;
|
|
27028
|
+
case "InputNumber":
|
|
27029
|
+
x.rules = [
|
|
27030
|
+
{ required: true, type: "number", message: x.message, trigger: "change" }
|
|
27031
|
+
];
|
|
27032
|
+
break;
|
|
27033
|
+
}
|
|
27034
|
+
}
|
|
27035
|
+
});
|
|
27036
|
+
arr = this.utilities.deepCopy(arr).sort((a, b) => a.orderNum - b.orderNum);
|
|
27037
|
+
} else {
|
|
27038
|
+
this.isShowForm.value = false;
|
|
27039
|
+
return;
|
|
27040
|
+
}
|
|
27041
|
+
this.mainFormItems.splice(0, this.mainFormItems.length, ...arr);
|
|
27042
|
+
console.log("xxxxxxxxxxxxx", this.mainFormItems);
|
|
27043
|
+
this.mainFormItems.forEach((x, i) => {
|
|
27044
|
+
if (x.model == "Province") {
|
|
27045
|
+
this.provinceIndex.value = i;
|
|
27046
|
+
}
|
|
27047
|
+
if (x.model == "City") {
|
|
27048
|
+
this.cityIndex.value = i;
|
|
27049
|
+
}
|
|
27050
|
+
if (x.model == "Area") {
|
|
27051
|
+
this.areaIndex.value = i;
|
|
27052
|
+
}
|
|
27053
|
+
});
|
|
27054
|
+
this.getForm(this.mainFormItems);
|
|
27055
|
+
} else {
|
|
27056
|
+
this.isShowForm.value = false;
|
|
27057
|
+
return;
|
|
27058
|
+
}
|
|
27059
|
+
}
|
|
27060
|
+
/** 获取表单 */
|
|
27061
|
+
async getForm(formList) {
|
|
27062
|
+
let formObj = {};
|
|
27063
|
+
formList.forEach((x) => {
|
|
27064
|
+
switch (x.type) {
|
|
27065
|
+
case "Input":
|
|
27066
|
+
formObj[x.model] = "";
|
|
27067
|
+
break;
|
|
27068
|
+
case "InputNumber":
|
|
27069
|
+
formObj[x.model] = 0;
|
|
27070
|
+
break;
|
|
27071
|
+
case "DatePicker":
|
|
27072
|
+
formObj[x.model] = "";
|
|
27073
|
+
break;
|
|
27074
|
+
case "TimePicker":
|
|
27075
|
+
formObj[x.model] = "";
|
|
27076
|
+
break;
|
|
27077
|
+
case "UploadFile":
|
|
27078
|
+
formObj[x.model] = this.utilities.getUniqueCode();
|
|
27079
|
+
break;
|
|
27080
|
+
case "TextEditor":
|
|
27081
|
+
formObj[x.model] = this.utilities.getUniqueCode();
|
|
27082
|
+
break;
|
|
27083
|
+
}
|
|
27084
|
+
});
|
|
27085
|
+
Object.assign(this.mainFormModel, formObj);
|
|
27086
|
+
await this.loadMainData();
|
|
27087
|
+
}
|
|
27088
|
+
/** 获取主表数据 */
|
|
27089
|
+
async loadMainData() {
|
|
27090
|
+
var _a, _b;
|
|
27091
|
+
let res = this.utilities.parseApiResult(await this.projectSummaryApi.getEntities(QueryWrapper.create().allEq({
|
|
27092
|
+
PlatformId: this.platformId,
|
|
27093
|
+
InsTreeId: (_a = this.business) == null ? void 0 : _a.Id,
|
|
27094
|
+
InstitutionId: (_b = this.business) == null ? void 0 : _b.InstitutionId,
|
|
27095
|
+
DataType: this.configType == "GC" ? 1 : this.configType == "BD" ? 2 : 0
|
|
27096
|
+
})));
|
|
27097
|
+
if (res) {
|
|
27098
|
+
if (res.length > 0) {
|
|
27099
|
+
console.log("表单数据xxxx", res);
|
|
27100
|
+
Object.assign(this.nowData, res[0]);
|
|
27101
|
+
let formData = JSON.parse(res[0].ConfigData);
|
|
27102
|
+
console.log("xxxxxxxxxx解析json", formData);
|
|
27103
|
+
Object.assign(formData, {
|
|
27104
|
+
Province: res[0].Province ? res[0].Province : "",
|
|
27105
|
+
City: res[0].City ? res[0].City : "",
|
|
27106
|
+
Area: res[0].Area ? res[0].Area : ""
|
|
27107
|
+
});
|
|
27108
|
+
Object.assign(this.mainFormModel, formData);
|
|
27109
|
+
this.setProvinceDatas();
|
|
27110
|
+
this.setCityDatas(res[0].Province ? res[0].Province : "");
|
|
27111
|
+
this.setAreaDatas(res[0].City ? res[0].City : "");
|
|
27112
|
+
console.log("表单主数据", this.mainFormModel);
|
|
27113
|
+
setTimeout(() => {
|
|
27114
|
+
this.isShowSpin.value = false;
|
|
27115
|
+
}, 500);
|
|
27116
|
+
} else {
|
|
27117
|
+
setTimeout(() => {
|
|
27118
|
+
this.isShowSpin.value = false;
|
|
27119
|
+
}, 500);
|
|
27120
|
+
}
|
|
27121
|
+
} else {
|
|
27122
|
+
setTimeout(() => {
|
|
27123
|
+
this.isShowSpin.value = false;
|
|
27124
|
+
}, 500);
|
|
27125
|
+
this.message.error("请求数据出错,请联系管理员");
|
|
27126
|
+
}
|
|
27127
|
+
}
|
|
27128
|
+
// 私有方法 | private 方法名() {}
|
|
27129
|
+
// private test2() {}
|
|
27130
|
+
/**
|
|
27131
|
+
* 初始化区域
|
|
27132
|
+
*/
|
|
27133
|
+
async useArea() {
|
|
27134
|
+
let apiResult = await this.provinceApi.getEntities(QueryWrapper.create().eq("1", "1"));
|
|
27135
|
+
this.provinces = this.utilities.parseApiResult(apiResult);
|
|
27136
|
+
apiResult = await this.cityApi.getEntities(QueryWrapper.create().eq("1", "1"));
|
|
27137
|
+
this.cities = this.utilities.parseApiResult(apiResult);
|
|
27138
|
+
apiResult = await this.areaApi.getEntities(QueryWrapper.create().eq("1", "1"));
|
|
27139
|
+
this.areas = this.utilities.parseApiResult(apiResult);
|
|
27140
|
+
}
|
|
27141
|
+
/**
|
|
27142
|
+
* 设置省
|
|
27143
|
+
*/
|
|
27144
|
+
setProvinceDatas() {
|
|
27145
|
+
if (!this.utilities.isNull(this.provinceIndex.value)) {
|
|
27146
|
+
this.mainFormItems[this.provinceIndex.value].selectProp.datas = this.provinces.map((item) => {
|
|
27147
|
+
return { text: item.ProvinceName, value: item.ProvinceCode };
|
|
27148
|
+
});
|
|
27149
|
+
}
|
|
27150
|
+
}
|
|
27151
|
+
/**
|
|
27152
|
+
* 设置市
|
|
27153
|
+
* @param province
|
|
27154
|
+
*/
|
|
27155
|
+
setCityDatas(province) {
|
|
27156
|
+
if (!this.utilities.isNull(this.cityIndex.value)) {
|
|
27157
|
+
this.mainFormItems[this.cityIndex.value].selectProp.datas = this.cities.filter((item) => item.ProvinceCode == province).map((item) => {
|
|
27158
|
+
return { text: item.CityName, value: item.CityCode };
|
|
27159
|
+
});
|
|
27160
|
+
}
|
|
27161
|
+
}
|
|
27162
|
+
/**
|
|
27163
|
+
* 设置区
|
|
27164
|
+
* @param city
|
|
27165
|
+
*/
|
|
27166
|
+
setAreaDatas(city) {
|
|
27167
|
+
if (!this.utilities.isNull(this.areaIndex.value)) {
|
|
27168
|
+
this.mainFormItems[this.areaIndex.value].selectProp.datas = this.areas.filter((item) => item.CityCode == city).map((item) => {
|
|
27169
|
+
return { text: item.AreaName, value: item.AreaCode };
|
|
27170
|
+
});
|
|
27171
|
+
}
|
|
27172
|
+
}
|
|
27173
|
+
// 响应式方法 | xxx = () => {}
|
|
27174
|
+
// doBtnClick2 = () = {}
|
|
27175
|
+
//#endregion 省市区 END
|
|
27176
|
+
}
|
|
27177
|
+
const ProjectSummary_vue_vue_type_style_index_0_scoped_73dcbb30_lang = "";
|
|
27178
|
+
const _hoisted_1$1 = { class: "form-box" };
|
|
27179
|
+
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27180
|
+
const _component_Spin = resolveComponent("Spin");
|
|
27181
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
27182
|
+
const _component_Form = resolveComponent("Form");
|
|
27183
|
+
const _component_NvButton = resolveComponent("NvButton");
|
|
27184
|
+
const _component_NvBox = resolveComponent("NvBox");
|
|
27185
|
+
const _component_NvPage = resolveComponent("NvPage");
|
|
27186
|
+
return openBlock(), createBlock(_component_NvPage, {
|
|
27187
|
+
gutter: 8,
|
|
27188
|
+
class: "page"
|
|
27189
|
+
}, {
|
|
27190
|
+
default: withCtx(() => [
|
|
27191
|
+
_ctx.isShowForm ? (openBlock(), createBlock(_component_NvBox, {
|
|
27192
|
+
key: 0,
|
|
27193
|
+
title: ""
|
|
27194
|
+
}, {
|
|
27195
|
+
footer: withCtx(() => [
|
|
27196
|
+
createVNode(_component_NvButton, {
|
|
27197
|
+
loading: _ctx.mainSaveFunLoading,
|
|
27198
|
+
onClick: _ctx.mainSaveFun,
|
|
27199
|
+
type: "primary"
|
|
27200
|
+
}, {
|
|
27201
|
+
default: withCtx(() => [
|
|
27202
|
+
createTextVNode("保存")
|
|
27203
|
+
]),
|
|
27204
|
+
_: 1
|
|
27205
|
+
}, 8, ["loading", "onClick"])
|
|
27206
|
+
]),
|
|
27207
|
+
default: withCtx(() => [
|
|
27208
|
+
_ctx.isShowSpin ? (openBlock(), createBlock(_component_Spin, {
|
|
27209
|
+
key: 0,
|
|
27210
|
+
fix: ""
|
|
27211
|
+
}, {
|
|
27212
|
+
default: withCtx(() => [
|
|
27213
|
+
createTextVNode("加载中...")
|
|
27214
|
+
]),
|
|
27215
|
+
_: 1
|
|
27216
|
+
})) : createCommentVNode("", true),
|
|
27217
|
+
createElementVNode("div", _hoisted_1$1, [
|
|
27218
|
+
createVNode(_component_Form, {
|
|
27219
|
+
ref: "mainFormRef",
|
|
27220
|
+
model: _ctx.mainFormModel,
|
|
27221
|
+
"label-width": 115
|
|
27222
|
+
}, {
|
|
27223
|
+
default: withCtx(() => [
|
|
27224
|
+
_ctx.isShowForm && !_ctx.isShowSpin ? (openBlock(), createBlock(_component_NvComFormUp, {
|
|
27225
|
+
key: 0,
|
|
27226
|
+
ref: "refbigform",
|
|
27227
|
+
formModel: _ctx.mainFormModel,
|
|
27228
|
+
formItems: _ctx.mainFormItems
|
|
27229
|
+
}, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
|
|
27230
|
+
]),
|
|
27231
|
+
_: 1
|
|
27232
|
+
}, 8, ["model"])
|
|
27233
|
+
])
|
|
27234
|
+
]),
|
|
27235
|
+
_: 1
|
|
27236
|
+
})) : (openBlock(), createBlock(_component_NvBox, { key: 1 }, {
|
|
27237
|
+
default: withCtx(() => [
|
|
27238
|
+
createTextVNode(" 暂未配置项目概况,请联系管理员配置! ")
|
|
27239
|
+
]),
|
|
27240
|
+
_: 1
|
|
27241
|
+
}))
|
|
27242
|
+
]),
|
|
27243
|
+
_: 1
|
|
27244
|
+
});
|
|
27245
|
+
}
|
|
27246
|
+
const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-73dcbb30"]]);
|
|
26808
27247
|
const propDefine = {
|
|
26809
27248
|
linkParam: {
|
|
26810
27249
|
// 带入的参数
|
|
@@ -27263,6 +27702,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
27263
27702
|
this.saveingUser.value = false;
|
|
27264
27703
|
return;
|
|
27265
27704
|
}
|
|
27705
|
+
debugger;
|
|
27266
27706
|
apiResult = await this.userinforApi.save(this.userFormModel);
|
|
27267
27707
|
result = this.utilities.parseApiResult(apiResult);
|
|
27268
27708
|
if (this.userFormModel.Id == 0) {
|
|
@@ -28334,6 +28774,11 @@ const index = [
|
|
|
28334
28774
|
// 地图定点
|
|
28335
28775
|
path: "/permission-service/institution/sublinepoins",
|
|
28336
28776
|
component: sublinepoins
|
|
28777
|
+
},
|
|
28778
|
+
{
|
|
28779
|
+
// 项目概况
|
|
28780
|
+
path: "/permission-service/projectSummary/ProjectSummary",
|
|
28781
|
+
component: ProjectSummary
|
|
28337
28782
|
}
|
|
28338
28783
|
];
|
|
28339
28784
|
export {
|