@newview/permission-service 1.2.24 → 1.2.26

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.
@@ -5,8 +5,8 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { BaseInstance } from "@newview/base-vue";
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";
8
+ import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, computed, 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, 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$j = {
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$j = defineComponent({
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$j,
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$j = {
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$j(_ctx, _cache, $props, $setup, $data, $options) {
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$j, [
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$j, [["render", _sfc_render$j], ["__scopeId", "data-v-f58b0adc"]]);
593
- const propDefine$i = {
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$i = defineComponent({
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$i,
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$i = { style: { "height": "650px", "overflow-y": "auto" } };
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$i(_ctx, _cache, $props, $setup, $data, $options) {
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$i, [
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$i, [["render", _sfc_render$i], ["__scopeId", "data-v-e41c07fc"]]);
1671
- const propDefine$h = {
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$h = defineComponent({
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$h,
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$h = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
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$h(_ctx, _cache, $props, $setup, $data, $options) {
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$h, [
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$h, [["render", _sfc_render$h], ["__scopeId", "data-v-0f25fe31"]]);
2687
- const propDefine$g = {
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$g = defineComponent({
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$g,
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$g = { style: { "height": "350px", "overflow-y": "auto" } };
2907
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
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$g, [
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$g, [["render", _sfc_render$g], ["__scopeId", "data-v-947fe129"]]);
2983
- const propDefine$f = {
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$f = defineComponent({
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$f,
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$f = { style: { "width": "100%", "height": "100%", "position": "relative" } };
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$f(_ctx, _cache, $props, $setup, $data, $options) {
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$f, [
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$f, [["render", _sfc_render$f], ["__scopeId", "data-v-42799ba1"]]);
4183
- const propDefine$e = {};
4184
- const _sfc_main$e = defineComponent({
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$e,
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$e = { class: "loginLog" };
4295
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
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$e, [
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$e, [["render", _sfc_render$e], ["__scopeId", "data-v-4e2e0184"]]);
4305
- const propDefine$d = {
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$d = defineComponent({
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$d,
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$d = { class: "instree-search" };
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$d(_ctx, _cache, $props, $setup, $data, $options) {
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$d, [
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$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3969fae6"]]);
5735
- const propDefine$c = {
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$c = defineComponent({
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$c,
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$c = { style: { "height": "650px", "overflow-y": "auto" } };
6140
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
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$c, [
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$c, [["render", _sfc_render$c], ["__scopeId", "data-v-58aa3e77"]]);
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$b = {
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$b = defineComponent({
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$b,
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$b = { style: { "overflow-y": "auto" } };
6646
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
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$b, [
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$b, [["render", _sfc_render$b]]);
6726
- const propDefine$a = {
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$a = defineComponent({
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$a,
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$a = { style: { "height": "600px", "overflow-y": "auto" } };
7281
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
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$a, [
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$a, [["render", _sfc_render$a], ["__scopeId", "data-v-a01b6a2e"]]);
7347
- const propDefine$9 = {
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$9 = defineComponent({
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$9,
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$9 = { style: { "height": "550px", "overflow-y": "auto" } };
7708
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
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$9, [
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$9, [["render", _sfc_render$9], ["__scopeId", "data-v-fbc0e7f2"]]);
7812
- const propDefine$8 = {
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$8 = defineComponent({
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$8,
7829
+ props: propDefine$a,
7830
7830
  setup(props, ctx) {
7831
7831
  return new RoleInstance2(props, ctx);
7832
7832
  }
@@ -8650,15 +8650,15 @@ class RoleInstance2 extends BaseInstance {
8650
8650
  }
8651
8651
  //#endregion 导入角色 END
8652
8652
  }
8653
- const Role_vue_vue_type_style_index_0_scoped_414834fa_lang = "";
8654
- const _hoisted_1$8 = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
8653
+ const Role_vue_vue_type_style_index_0_scoped_bbf1cb02_lang = "";
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$8(_ctx, _cache, $props, $setup, $data, $options) {
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$8, [
8764
+ createElementVNode("div", _hoisted_1$9, [
8765
8765
  createVNode(_component_NvGrid, {
8766
8766
  ref: "moduleGrid",
8767
8767
  option: _ctx.moduleGridOption
@@ -8844,7 +8844,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
8844
8844
  default: withCtx(() => [
8845
8845
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
8846
8846
  return openBlock(), createBlock(_component_Option, {
8847
- key: _ctx.originPlatform.selectedId + "" + index2,
8847
+ key: index2,
8848
8848
  value: item.Id
8849
8849
  }, {
8850
8850
  default: withCtx(() => [
@@ -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$8, [["render", _sfc_render$8], ["__scopeId", "data-v-414834fa"]]);
8925
- const propDefine$7 = {
8924
+ const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-bbf1cb02"]]);
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$7 = defineComponent({
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$7,
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$7 = { style: { "height": "650px", "overflow-y": "auto" } };
9354
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
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$7, [
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$7, [["render", _sfc_render$7], ["__scopeId", "data-v-57711b94"]]);
9480
- const propDefine$6 = {
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$6 = defineComponent({
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$6,
9497
+ props: propDefine$8,
9498
9498
  setup(props, ctx) {
9499
9499
  return new InstitutionInstance2(props, ctx);
9500
9500
  }
@@ -10439,8 +10439,8 @@ class InstitutionInstance2 extends BaseInstance {
10439
10439
  }
10440
10440
  //#endregion 绑定角色 END
10441
10441
  }
10442
- const Institution_vue_vue_type_style_index_0_scoped_ed65a91d_lang = "";
10443
- const _hoisted_1$6 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
10442
+ const Institution_vue_vue_type_style_index_0_scoped_ba4186ba_lang = "";
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$6(_ctx, _cache, $props, $setup, $data, $options) {
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$6, [
10557
+ createElementVNode("div", _hoisted_1$7, [
10558
10558
  createVNode(_component_Tree, {
10559
10559
  data: _ctx.institutionTree,
10560
10560
  render: _ctx.renderContent,
@@ -10680,7 +10680,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
10680
10680
  default: withCtx(() => [
10681
10681
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
10682
10682
  return openBlock(), createBlock(_component_Option, {
10683
- key: _ctx.originPlatform.selectedId + "" + index2,
10683
+ key: index2,
10684
10684
  value: item.Id
10685
10685
  }, {
10686
10686
  default: withCtx(() => [
@@ -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$6, [["render", _sfc_render$6], ["__scopeId", "data-v-ed65a91d"]]);
10756
- const propDefine$5 = {};
10757
- const _sfc_main$5 = defineComponent({
10755
+ const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-ba4186ba"]]);
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$5,
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$5 = { class: "loginLog" };
10868
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
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$5, [
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$5, [["render", _sfc_render$5], ["__scopeId", "data-v-a0d5af5b"]]);
10878
- const propDefine$4 = {
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$4 = defineComponent({
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$4,
10895
+ props: propDefine$6,
10896
10896
  setup(props, ctx) {
10897
10897
  return new UserinforInstance2(props, ctx);
10898
10898
  }
@@ -11193,6 +11193,9 @@ class UserinforInstance2 extends BaseInstance {
11193
11193
  __publicField(this, "doChangeUserBoxWidth", (isExpand) => {
11194
11194
  this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
11195
11195
  });
11196
+ __publicField(this, "expiredDateDisabled", computed(() => {
11197
+ return this.userFormModel.Id == 0;
11198
+ }));
11196
11199
  //#endregion 用户列表 END
11197
11200
  //#region 编辑用户
11198
11201
  // 响应属性 | ref、reactive、computed、watch
@@ -11219,6 +11222,7 @@ class UserinforInstance2 extends BaseInstance {
11219
11222
  LastUpdateUserName: "",
11220
11223
  LastUpdateDate: ""
11221
11224
  }));
11225
+ __publicField(this, "isDe", false);
11222
11226
  __publicField(this, "userFormItems", reactive([
11223
11227
  {
11224
11228
  model: "",
@@ -11263,7 +11267,14 @@ class UserinforInstance2 extends BaseInstance {
11263
11267
  transfer: true
11264
11268
  }
11265
11269
  },
11266
- { model: "ExpiredDate", label: "密码过期时间", type: "DatePicker" },
11270
+ {
11271
+ model: "ExpiredDate",
11272
+ label: "密码过期时间",
11273
+ type: "DatePicker",
11274
+ datePickerProp: {
11275
+ disabled: true
11276
+ }
11277
+ },
11267
11278
  {
11268
11279
  model: "PwdAuthentication",
11269
11280
  label: "密码强认证",
@@ -11759,6 +11770,13 @@ class UserinforInstance2 extends BaseInstance {
11759
11770
  option.success(datas);
11760
11771
  });
11761
11772
  }
11773
+ // dateDis = computed(() => {
11774
+ // return this.userFormModel.Id == 0
11775
+ // });
11776
+ dateDis() {
11777
+ debugger;
11778
+ return this.userFormModel.Id == 0;
11779
+ }
11762
11780
  // 私有方法 | private 方法名() {}
11763
11781
  /**
11764
11782
  * 编辑用户信息
@@ -11964,9 +11982,9 @@ class UserinforInstance2 extends BaseInstance {
11964
11982
  // 响应式方法 | xxx = () => {}
11965
11983
  //#endregion 重置密码 END
11966
11984
  }
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" };
11985
+ const Userinfor_vue_vue_type_style_index_0_scoped_6a60ce29_lang = "";
11986
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-6a60ce29"), n = n(), popScopeId(), n);
11987
+ const _hoisted_1$5 = { class: "instree-search" };
11970
11988
  const _hoisted_2$3 = { class: "instree-list" };
11971
11989
  const _hoisted_3$3 = { style: { "height": "600px", "overflow-y": "auto" } };
11972
11990
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -11982,7 +12000,7 @@ const _hoisted_10$1 = { style: { "display": "none" } };
11982
12000
  const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
11983
12001
  const _hoisted_12 = ["src"];
11984
12002
  const _hoisted_13 = ["src"];
11985
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12003
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
11986
12004
  const _component_Option = resolveComponent("Option");
11987
12005
  const _component_Select = resolveComponent("Select");
11988
12006
  const _component_Spin = resolveComponent("Spin");
@@ -12027,7 +12045,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12027
12045
  })
12028
12046
  ]),
12029
12047
  default: withCtx(() => [
12030
- createElementVNode("div", _hoisted_1$4, [
12048
+ createElementVNode("div", _hoisted_1$5, [
12031
12049
  createVNode(_component_NvControlGroup, {
12032
12050
  width: "100%",
12033
12051
  icon: "md-refresh",
@@ -12086,7 +12104,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12086
12104
  }, 8, ["onChange"]),
12087
12105
  createVNode(_component_NvBox, {
12088
12106
  width: _ctx.userBoxWidth,
12089
- title: "用户列表1"
12107
+ title: "用户列表"
12090
12108
  }, {
12091
12109
  default: withCtx(() => [
12092
12110
  createVNode(_component_NvGrid, {
@@ -12136,11 +12154,12 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12136
12154
  rules: _ctx.userFormRule
12137
12155
  }, {
12138
12156
  default: withCtx(() => [
12139
- createVNode(_component_NvComForm, {
12157
+ _ctx.showEditUser ? (openBlock(), createBlock(_component_NvComForm, {
12158
+ key: 0,
12140
12159
  ref: "userComForm",
12141
12160
  formModel: _ctx.userFormModel,
12142
12161
  formItems: _ctx.userFormItems
12143
- }, null, 8, ["formModel", "formItems"])
12162
+ }, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
12144
12163
  ]),
12145
12164
  _: 1
12146
12165
  }, 8, ["model", "rules"]),
@@ -12377,8 +12396,8 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
12377
12396
  _: 1
12378
12397
  });
12379
12398
  }
12380
- const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-d910e362"]]);
12381
- const propDefine$3 = {
12399
+ const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-6a60ce29"]]);
12400
+ const propDefine$5 = {
12382
12401
  linkParam: {
12383
12402
  // 带入的参数
12384
12403
  type: String,
@@ -12390,12 +12409,12 @@ const propDefine$3 = {
12390
12409
  default: "-"
12391
12410
  }
12392
12411
  };
12393
- const _sfc_main$3 = defineComponent({
12412
+ const _sfc_main$5 = defineComponent({
12394
12413
  name: "Module",
12395
12414
  components: { SelectPlatform },
12396
12415
  emits: ["change"],
12397
12416
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
12398
- props: propDefine$3,
12417
+ props: propDefine$5,
12399
12418
  setup(props, ctx) {
12400
12419
  return new ModuleInstance2(props, ctx);
12401
12420
  }
@@ -13245,7 +13264,7 @@ class ModuleInstance2 extends BaseInstance {
13245
13264
  }
13246
13265
  const Module_vue_vue_type_style_index_0_scoped_23a8ab5f_lang = "";
13247
13266
  const _withScopeId$1 = (n) => (pushScopeId("data-v-23a8ab5f"), n = n(), popScopeId(), n);
13248
- const _hoisted_1$3 = { style: { "height": "650px", "overflow-y": "auto" } };
13267
+ const _hoisted_1$4 = { style: { "height": "650px", "overflow-y": "auto" } };
13249
13268
  const _hoisted_2$2 = {
13250
13269
  class: "import-module",
13251
13270
  style: { "height": "650px", "position": "relative" }
@@ -13256,7 +13275,7 @@ const _hoisted_5$2 = { style: { "height": "calc(100% - 0px)" } };
13256
13275
  const _hoisted_6$2 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
13257
13276
  const _hoisted_7$2 = { style: { "height": "calc(100% - 0px)" } };
13258
13277
  const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
13259
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
13278
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
13260
13279
  const _component_Option = resolveComponent("Option");
13261
13280
  const _component_Select = resolveComponent("Select");
13262
13281
  const _component_Spin = resolveComponent("Spin");
@@ -13379,7 +13398,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
13379
13398
  }, 8, ["loading", "onClick"])
13380
13399
  ]),
13381
13400
  default: withCtx(() => [
13382
- createElementVNode("div", _hoisted_1$3, [
13401
+ createElementVNode("div", _hoisted_1$4, [
13383
13402
  createVNode(_component_Form, {
13384
13403
  model: _ctx.moduleFormModel,
13385
13404
  "label-width": 90
@@ -13514,7 +13533,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
13514
13533
  _: 1
13515
13534
  });
13516
13535
  }
13517
- const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-23a8ab5f"]]);
13536
+ const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-23a8ab5f"]]);
13518
13537
  const type = "FeatureCollection";
13519
13538
  const features = [
13520
13539
  {
@@ -26076,7 +26095,7 @@ const shanxi = {
26076
26095
  crs
26077
26096
  };
26078
26097
  const style = "";
26079
- const propDefine$2 = {
26098
+ const propDefine$4 = {
26080
26099
  linkParam: {
26081
26100
  // 带入的参数
26082
26101
  type: String,
@@ -26088,12 +26107,12 @@ const propDefine$2 = {
26088
26107
  default: "-"
26089
26108
  }
26090
26109
  };
26091
- const _sfc_main$2 = defineComponent({
26110
+ const _sfc_main$4 = defineComponent({
26092
26111
  name: "Sublinepoins",
26093
26112
  components: { SelectPlatform, NvMap },
26094
26113
  emits: [""],
26095
26114
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
26096
- props: propDefine$2,
26115
+ props: propDefine$4,
26097
26116
  setup(props, ctx) {
26098
26117
  return new ProjectUserinforInstance$1(props, ctx);
26099
26118
  }
@@ -26186,7 +26205,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26186
26205
  }
26187
26206
  }
26188
26207
  if (this.polyline.getLatLngs().length > 0) {
26189
- const params = this.polyline.getLatLngs().map((item) => {
26208
+ const params = this.polyline.getLatLngs().map((item, index2) => {
26190
26209
  return {
26191
26210
  Id: 0,
26192
26211
  Longitude: item.lng,
@@ -26196,7 +26215,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26196
26215
  InsTreeId: this.selectedInsTree.Id,
26197
26216
  InsName: this.selectedInsTree.InstitutionAbbreviation,
26198
26217
  InstitutionId: this.selectedInsTree.InstitutionId,
26199
- Altitude: 0
26218
+ Altitude: 0,
26219
+ OrderNo: index2 + 1
26200
26220
  };
26201
26221
  });
26202
26222
  const res = this.utilities.parseApiResult(await this.institutionLinePointApi.saves(params));
@@ -26379,15 +26399,6 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26379
26399
  titleField: "name"
26380
26400
  }));
26381
26401
  // 私有方法 | private 方法名() {}
26382
- // private async loadPintData() {
26383
- // this.groupData.value!.loadData(async (option) => {
26384
- // let res = this.utilities.parseApiResult(await this.institutionPointApi.getEntities())
26385
- // res.list = res.list.map((item) => {
26386
- // return { ...item, Id: item.indexCode }
26387
- // })
26388
- // option.success(res.list)
26389
- // })
26390
- // }
26391
26402
  // 响应式方法 | xxx = () => {}
26392
26403
  //#endregion 右侧点list END
26393
26404
  //#region 导入数据
@@ -26408,7 +26419,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26408
26419
  this.isImporting.value = true;
26409
26420
  console.log(datas, "表格导入数据");
26410
26421
  this.refExcelImport.value.messageInfo(`***数据导入开始***'`);
26411
- datas = datas.map((item) => {
26422
+ datas = datas.map((item, index2) => {
26412
26423
  return {
26413
26424
  Id: 0,
26414
26425
  Longitude: item["经度"],
@@ -26418,7 +26429,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26418
26429
  InsTreeId: this.selectedInsTree.Id,
26419
26430
  InsName: this.selectedInsTree.InstitutionAbbreviation,
26420
26431
  InstitutionId: this.selectedInsTree.InstitutionId,
26421
- Altitude: 0
26432
+ Altitude: 0,
26433
+ OrderNo: index2 + 1
26422
26434
  };
26423
26435
  });
26424
26436
  this.utilities.parseApiResult(await this.institutionLinePointApi.saves(datas));
@@ -26559,7 +26571,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26559
26571
  //#endregion 系统平台 END
26560
26572
  };
26561
26573
  const Sublinepoins_vue_vue_type_style_index_0_scoped_66a288c7_lang = "";
26562
- const _hoisted_1$2 = { class: "instree-search" };
26574
+ const _hoisted_1$3 = { class: "instree-search" };
26563
26575
  const _hoisted_2$1 = { class: "instree-list" };
26564
26576
  const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
26565
26577
  const _hoisted_4$1 = {
@@ -26571,7 +26583,7 @@ const _hoisted_6$1 = ["onClick"];
26571
26583
  const _hoisted_7$1 = { style: { "font-size": "16px" } };
26572
26584
  const _hoisted_8$1 = ["onClick"];
26573
26585
  const _hoisted_9$1 = { style: { "height": "450px" } };
26574
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
26586
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
26575
26587
  const _component_Option = resolveComponent("Option");
26576
26588
  const _component_Select = resolveComponent("Select");
26577
26589
  const _component_Spin = resolveComponent("Spin");
@@ -26612,7 +26624,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
26612
26624
  })
26613
26625
  ]),
26614
26626
  default: withCtx(() => [
26615
- createElementVNode("div", _hoisted_1$2, [
26627
+ createElementVNode("div", _hoisted_1$3, [
26616
26628
  createVNode(_component_NvControlGroup, {
26617
26629
  width: "100%",
26618
26630
  icon: "md-refresh",
@@ -26805,8 +26817,8 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
26805
26817
  _: 1
26806
26818
  });
26807
26819
  }
26808
- const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-66a288c7"]]);
26809
- const propDefine$1 = {
26820
+ const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-66a288c7"]]);
26821
+ const propDefine$3 = {
26810
26822
  Id: {
26811
26823
  default: 0,
26812
26824
  type: Number
@@ -26820,14 +26832,14 @@ const propDefine$1 = {
26820
26832
  // default: '',
26821
26833
  // }
26822
26834
  };
26823
- const _sfc_main$1 = defineComponent({
26835
+ const _sfc_main$3 = defineComponent({
26824
26836
  name: "ProjectSummary",
26825
26837
  components: {
26826
26838
  NvComFormUp
26827
26839
  },
26828
26840
  emits: ["close", "update"],
26829
26841
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
26830
- props: propDefine$1,
26842
+ props: propDefine$3,
26831
26843
  setup(props, ctx) {
26832
26844
  return new ProjectSummaryInstance(props, ctx);
26833
26845
  }
@@ -27051,6 +27063,7 @@ class ProjectSummaryInstance extends BaseInstance {
27051
27063
  this.areaIndex.value = i;
27052
27064
  }
27053
27065
  });
27066
+ console.log("xxxxxxxxxxxxx", this.mainFormItems);
27054
27067
  this.getForm(this.mainFormItems);
27055
27068
  } else {
27056
27069
  this.isShowForm.value = false;
@@ -27099,6 +27112,9 @@ class ProjectSummaryInstance extends BaseInstance {
27099
27112
  console.log("表单数据xxxx", res);
27100
27113
  Object.assign(this.nowData, res[0]);
27101
27114
  let formData = JSON.parse(res[0].ConfigData);
27115
+ for (let [key, value] of Object.entries(formData)) {
27116
+ formData[key] = formData.toString();
27117
+ }
27102
27118
  console.log("xxxxxxxxxx解析json", formData);
27103
27119
  Object.assign(formData, {
27104
27120
  Province: res[0].Province ? res[0].Province : "",
@@ -27114,6 +27130,9 @@ class ProjectSummaryInstance extends BaseInstance {
27114
27130
  this.isShowSpin.value = false;
27115
27131
  }, 500);
27116
27132
  } else {
27133
+ this.setProvinceDatas();
27134
+ this.setCityDatas("");
27135
+ this.setAreaDatas("");
27117
27136
  setTimeout(() => {
27118
27137
  this.isShowSpin.value = false;
27119
27138
  }, 500);
@@ -27143,6 +27162,7 @@ class ProjectSummaryInstance extends BaseInstance {
27143
27162
  */
27144
27163
  setProvinceDatas() {
27145
27164
  if (!this.utilities.isNull(this.provinceIndex.value)) {
27165
+ debugger;
27146
27166
  this.mainFormItems[this.provinceIndex.value].selectProp.datas = this.provinces.map((item) => {
27147
27167
  return { text: item.ProvinceName, value: item.ProvinceCode };
27148
27168
  });
@@ -27175,8 +27195,8 @@ class ProjectSummaryInstance extends BaseInstance {
27175
27195
  //#endregion 省市区 END
27176
27196
  }
27177
27197
  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) {
27198
+ const _hoisted_1$2 = { class: "form-box" };
27199
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
27180
27200
  const _component_Spin = resolveComponent("Spin");
27181
27201
  const _component_NvComFormUp = resolveComponent("NvComFormUp");
27182
27202
  const _component_Form = resolveComponent("Form");
@@ -27214,7 +27234,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27214
27234
  ]),
27215
27235
  _: 1
27216
27236
  })) : createCommentVNode("", true),
27217
- createElementVNode("div", _hoisted_1$1, [
27237
+ createElementVNode("div", _hoisted_1$2, [
27218
27238
  createVNode(_component_Form, {
27219
27239
  ref: "mainFormRef",
27220
27240
  model: _ctx.mainFormModel,
@@ -27243,8 +27263,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27243
27263
  _: 1
27244
27264
  });
27245
27265
  }
27246
- const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-73dcbb30"]]);
27247
- const propDefine = {
27266
+ const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-73dcbb30"]]);
27267
+ const propDefine$2 = {
27248
27268
  linkParam: {
27249
27269
  // 带入的参数
27250
27270
  type: String,
@@ -27256,12 +27276,12 @@ const propDefine = {
27256
27276
  default: "-"
27257
27277
  }
27258
27278
  };
27259
- const _sfc_main = defineComponent({
27279
+ const _sfc_main$2 = defineComponent({
27260
27280
  name: "ProjectUserinfor",
27261
27281
  components: { SelectPlatform, LoginLog, BaseLogin },
27262
27282
  emits: [""],
27263
27283
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
27264
- props: propDefine,
27284
+ props: propDefine$2,
27265
27285
  setup(props, ctx) {
27266
27286
  return new ProjectUserinforInstance2(props, ctx);
27267
27287
  }
@@ -28327,9 +28347,9 @@ class ProjectUserinforInstance2 extends BaseInstance {
28327
28347
  }
28328
28348
  }
28329
28349
  }
28330
- const ProjectUserinfor_vue_vue_type_style_index_0_scoped_86385f96_lang = "";
28331
- const _withScopeId = (n) => (pushScopeId("data-v-86385f96"), n = n(), popScopeId(), n);
28332
- const _hoisted_1 = { class: "instree-search" };
28350
+ const ProjectUserinfor_vue_vue_type_style_index_0_scoped_d1697a07_lang = "";
28351
+ const _withScopeId = (n) => (pushScopeId("data-v-d1697a07"), n = n(), popScopeId(), n);
28352
+ const _hoisted_1$1 = { class: "instree-search" };
28333
28353
  const _hoisted_2 = { class: "instree-list" };
28334
28354
  const _hoisted_3 = { style: { "height": "600px", "overflow-y": "auto" } };
28335
28355
  const _hoisted_4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -28343,7 +28363,7 @@ const _hoisted_8 = { style: { "display": "none" } };
28343
28363
  const _hoisted_9 = { style: { "height": "400px", "overflow-y": "auto" } };
28344
28364
  const _hoisted_10 = ["src"];
28345
28365
  const _hoisted_11 = ["src"];
28346
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28366
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
28347
28367
  const _component_Option = resolveComponent("Option");
28348
28368
  const _component_Select = resolveComponent("Select");
28349
28369
  const _component_Spin = resolveComponent("Spin");
@@ -28388,7 +28408,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28388
28408
  })
28389
28409
  ]),
28390
28410
  default: withCtx(() => [
28391
- createElementVNode("div", _hoisted_1, [
28411
+ createElementVNode("div", _hoisted_1$1, [
28392
28412
  createVNode(_component_NvControlGroup, {
28393
28413
  width: "100%",
28394
28414
  icon: "md-refresh",
@@ -28447,7 +28467,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28447
28467
  }, 8, ["onChange"]),
28448
28468
  createVNode(_component_NvBox, {
28449
28469
  width: _ctx.userBoxWidth,
28450
- title: "用户列表"
28470
+ title: "用户列表111"
28451
28471
  }, {
28452
28472
  default: withCtx(() => [
28453
28473
  createVNode(_component_NvGrid, {
@@ -28692,72 +28712,1010 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
28692
28712
  _: 1
28693
28713
  });
28694
28714
  }
28695
- const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-86385f96"]]);
28696
- const index = [
28697
- {
28698
- // 系统平台
28699
- path: "/permission-service/platform/platform",
28700
- component: Platform
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
28715
+ const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-d1697a07"]]);
28716
+ const propDefine$1 = {
28717
+ linkParam: {
28718
+ // 带入的参数
28719
+ type: String,
28720
+ default: ""
28757
28721
  },
28758
- {
28759
- // 平台用户
28760
- path: "/permission-service/institution/subuserinfor",
28722
+ operates: {
28723
+ // 按钮权限码
28724
+ type: String,
28725
+ default: "-"
28726
+ }
28727
+ };
28728
+ const _sfc_main$1 = defineComponent({
28729
+ name: "Memorabilia",
28730
+ components: { NvComFormUp },
28731
+ emits: [""],
28732
+ // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
28733
+ props: propDefine$1,
28734
+ setup(props, ctx) {
28735
+ return new Instance$1(props, ctx);
28736
+ }
28737
+ });
28738
+ let Instance$1 = class Instance extends BaseInstance {
28739
+ // 全局属性
28740
+ constructor(props, ctx) {
28741
+ super();
28742
+ __publicField(this, "props");
28743
+ __publicField(this, "ctx");
28744
+ // API实例化
28745
+ __publicField(this, "dataBoardModuleApi", new DataBoardModuleApi());
28746
+ // 私有属性 | private
28747
+ __publicField(this, "platform", this.storageInfo.getCurrentPlatform());
28748
+ __publicField(this, "business", this.storageInfo.getCurrentInsTree());
28749
+ // 响应属性 | ref、reactive、computed、watch
28750
+ __publicField(this, "institutionTree", ref([]));
28751
+ __publicField(this, "loadingInstitutionTree", ref(false));
28752
+ //#region 表格加载 - xxx
28753
+ // 私有属性 | private
28754
+ // 响应属性 | ref、reactive、computed
28755
+ __publicField(this, "currentGroupRow", ref({}));
28756
+ __publicField(this, "groupData", ref());
28757
+ __publicField(this, "orgOption", reactive({
28758
+ // api: this.platformGroupApi,
28759
+ keyField: "Id",
28760
+ titleField: "GroupName"
28761
+ }));
28762
+ __publicField(this, "viewGrid", ref());
28763
+ __publicField(this, "viewGridOption", reactive({
28764
+ api: this.dataBoardModuleApi,
28765
+ setting: {
28766
+ searchConfig: {
28767
+ btnSpan: 6,
28768
+ labelWidth: 120,
28769
+ defaultShowSearch: false
28770
+ },
28771
+ toolbarConfig: {
28772
+ isButtonGroup: false
28773
+ },
28774
+ rowConfig: {
28775
+ isCurrent: false,
28776
+ isHover: true
28777
+ },
28778
+ isPagination: true,
28779
+ pageSize: 10
28780
+ },
28781
+ searchOptions: [
28782
+ {
28783
+ field: "BoardModuleName",
28784
+ title: "看板名称",
28785
+ type: "Input"
28786
+ }
28787
+ ],
28788
+ toolbars: [
28789
+ {
28790
+ name: "add",
28791
+ onclick: () => {
28792
+ this.doAdd();
28793
+ }
28794
+ }
28795
+ ],
28796
+ rightToolbars: [
28797
+ { name: "refresh" }
28798
+ ],
28799
+ columns: [
28800
+ {
28801
+ colType: "seq"
28802
+ },
28803
+ { colType: "ro", field: "BoardModuleName", title: "看板名称", align: "left" },
28804
+ { colType: "ro", field: "BoardModuleAlias", title: "看板别名", align: "left" },
28805
+ { colType: "ro", field: "Attachparams", title: "传递参数", align: "left" },
28806
+ { colType: "ro", field: "BoardModuleUrl", title: "模块URL", align: "left" },
28807
+ { colType: "ro", field: "OrderNo", title: "排序值", align: "center", width: 100 },
28808
+ {
28809
+ title: "操作",
28810
+ width: 120,
28811
+ rowButtons: [
28812
+ {
28813
+ name: "edit",
28814
+ text: "编辑",
28815
+ onclick: (row) => {
28816
+ this.doEditform(row);
28817
+ }
28818
+ },
28819
+ {
28820
+ name: "delete",
28821
+ onclick: (row) => {
28822
+ this.doDelete(row);
28823
+ }
28824
+ }
28825
+ ]
28826
+ }
28827
+ ],
28828
+ event: {
28829
+ event_search: (data) => {
28830
+ this.viewGrid.value.setPageIndex(1);
28831
+ const keys = Object.keys(data);
28832
+ const queryWrapper = QueryWrapper.create();
28833
+ queryWrapper.eq("1", "1");
28834
+ for (const key of keys) {
28835
+ const value = data[key];
28836
+ if (!this.utilities.isNull(value)) {
28837
+ queryWrapper.like(key, value);
28838
+ }
28839
+ }
28840
+ this.viewGrid.value.loadDataByQuery(queryWrapper);
28841
+ }
28842
+ }
28843
+ }));
28844
+ // 响应式方法 | xxx = () => {}
28845
+ //#endregion 表格加载 - xxx END
28846
+ //#region 表单编辑新增
28847
+ // 私有属性 | private
28848
+ // 响应属性 | ref、reactive、computed、watch
28849
+ __publicField(this, "showEditform", ref(false));
28850
+ __publicField(this, "saveingform", ref(false));
28851
+ __publicField(this, "editformModalTitle", ref("新增-看板模块"));
28852
+ __publicField(this, "refviewform", ref());
28853
+ __publicField(this, "mainFormRef", ref());
28854
+ __publicField(this, "mainFormModel", reactive({
28855
+ Id: 0,
28856
+ BoardModuleName: "",
28857
+ BoardModuleAlias: "",
28858
+ Attachparams: "",
28859
+ OrderNo: 0,
28860
+ BoardModuleUrl: ""
28861
+ }));
28862
+ __publicField(this, "mainFormItems", reactive(
28863
+ [
28864
+ { model: "BoardModuleName", label: "看板名称", prop: "BoardModuleName", type: "Input", span: 12, rules: [{ required: true, message: "看板模块名称不能为空", trigger: "blur" }] },
28865
+ { model: "BoardModuleAlias", label: "看板别名", prop: "BoardModuleAlias", type: "Input", span: 12 },
28866
+ { model: "Attachparams", label: "传递参数", prop: "Attachparams", type: "Input", span: 12 },
28867
+ { model: "OrderNo", label: "排序值", prop: "OrderNo", type: "Input", inputProp: { type: "number" }, span: 12 },
28868
+ { model: "BoardModuleUrl", label: "模块URL", prop: "BoardModuleUrl", type: "Input", span: 24 }
28869
+ ]
28870
+ ));
28871
+ __publicField(this, "mainRules", reactive({
28872
+ ProjectName: [
28873
+ { required: true, message: "", trigger: "blur" }
28874
+ ]
28875
+ }));
28876
+ // 响应式方法 | xxx = () => {}
28877
+ /**保存数据 */
28878
+ __publicField(this, "mainSaveFun", async () => {
28879
+ this.mainFormRef.value.validate(async (valid) => {
28880
+ this.saveingform.value = true;
28881
+ if (valid) {
28882
+ this.refviewform.value.saveTextData();
28883
+ const res = this.utilities.parseApiResult(await this.dataBoardModuleApi.save(this.mainFormModel));
28884
+ if (res && res > 0) {
28885
+ this.message.success("保存成功!");
28886
+ this.showEditform.value = false;
28887
+ this.saveingform.value = false;
28888
+ this.loadViewDataGrid();
28889
+ }
28890
+ }
28891
+ });
28892
+ });
28893
+ this.props = props;
28894
+ this.ctx = ctx;
28895
+ this.initData();
28896
+ }
28897
+ // 私有方法 | private 方法名() {}
28898
+ initData() {
28899
+ onMounted(() => {
28900
+ this.loadViewDataGrid();
28901
+ console.log("onMounted", this.business);
28902
+ });
28903
+ onUnmounted(() => {
28904
+ });
28905
+ }
28906
+ // 私有方法 | private 方法名() {}
28907
+ loadViewDataGrid() {
28908
+ var _a;
28909
+ (_a = this.viewGrid.value) == null ? void 0 : _a.loadDataByQuery(QueryWrapper.create().orderBy(["OrderNo"]));
28910
+ }
28911
+ /**
28912
+ * 新增
28913
+ */
28914
+ doAdd() {
28915
+ this.showEditform.value = true;
28916
+ this.loadMainDataById({ Id: 0 });
28917
+ }
28918
+ /**
28919
+ * 编辑
28920
+ */
28921
+ doEditform(row) {
28922
+ this.showEditform.value = true;
28923
+ this.editformModalTitle.value = `编辑-${row.BoardModuleName}`;
28924
+ this.loadMainDataById(row);
28925
+ }
28926
+ /**
28927
+ * 删除
28928
+ */
28929
+ doDelete(row) {
28930
+ this.modal.confirm({
28931
+ title: "提示",
28932
+ content: `确定要删除'${row.BoardModuleName}'数据吗?`,
28933
+ onOk: async () => {
28934
+ this.dataBoardModuleApi.delete(row.Id).then((res) => {
28935
+ if (res <= 0) {
28936
+ this.message.warning("删除失败,请稍后重试!");
28937
+ return;
28938
+ } else {
28939
+ this.message.success("删除成功");
28940
+ this.loadViewDataGrid();
28941
+ }
28942
+ });
28943
+ }
28944
+ });
28945
+ }
28946
+ // 私有方法 | private 方法名() {}
28947
+ /** 编辑/新增 */
28948
+ async loadMainDataById(row) {
28949
+ if (row.Id === 0) {
28950
+ this.initMainFormModel();
28951
+ return;
28952
+ }
28953
+ this.initMainFormModel(row);
28954
+ }
28955
+ /**初始化数据 */
28956
+ initMainFormModel(row = {}) {
28957
+ this.storageInfo.getUser();
28958
+ Object.assign(this.mainFormModel, Object.assign({
28959
+ Id: 0,
28960
+ BoardModuleName: "",
28961
+ BoardModuleAlias: "",
28962
+ Attachparams: "",
28963
+ OrderNo: 0,
28964
+ BoardModuleUrl: ""
28965
+ }, row));
28966
+ }
28967
+ //#endregion 表单编辑新增 END
28968
+ };
28969
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
28970
+ const _component_NvGrid = resolveComponent("NvGrid");
28971
+ const _component_NvBox = resolveComponent("NvBox");
28972
+ const _component_NvComFormUp = resolveComponent("NvComFormUp");
28973
+ const _component_Form = resolveComponent("Form");
28974
+ const _component_NvButton = resolveComponent("NvButton");
28975
+ const _component_NvModal = resolveComponent("NvModal");
28976
+ const _component_NvPage = resolveComponent("NvPage");
28977
+ return openBlock(), createBlock(_component_NvPage, {
28978
+ gutter: 8,
28979
+ class: "nv-flex"
28980
+ }, {
28981
+ default: withCtx(() => [
28982
+ createVNode(_component_NvBox, { title: "看板模块" }, {
28983
+ default: withCtx(() => [
28984
+ createVNode(_component_NvGrid, {
28985
+ ref: "viewGrid",
28986
+ option: _ctx.viewGridOption
28987
+ }, null, 8, ["option"])
28988
+ ]),
28989
+ _: 1
28990
+ }),
28991
+ createVNode(_component_NvModal, {
28992
+ modelValue: _ctx.showEditform,
28993
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.showEditform = $event),
28994
+ draggable: "",
28995
+ mask: true,
28996
+ "mask-closable": false,
28997
+ width: 600,
28998
+ title: _ctx.editformModalTitle
28999
+ }, {
29000
+ footer: withCtx(() => [
29001
+ createVNode(_component_NvButton, {
29002
+ type: "text",
29003
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.showEditform = false)
29004
+ }, {
29005
+ default: withCtx(() => [
29006
+ createTextVNode("关闭")
29007
+ ]),
29008
+ _: 1
29009
+ }),
29010
+ createVNode(_component_NvButton, {
29011
+ type: "primary",
29012
+ loading: _ctx.saveingform,
29013
+ onClick: _ctx.mainSaveFun
29014
+ }, {
29015
+ default: withCtx(() => [
29016
+ createTextVNode("保存")
29017
+ ]),
29018
+ _: 1
29019
+ }, 8, ["loading", "onClick"])
29020
+ ]),
29021
+ default: withCtx(() => [
29022
+ createElementVNode("div", null, [
29023
+ createVNode(_component_Form, {
29024
+ ref: "mainFormRef",
29025
+ model: _ctx.mainFormModel,
29026
+ "label-width": 110
29027
+ }, {
29028
+ default: withCtx(() => [
29029
+ _ctx.showEditform ? (openBlock(), createBlock(_component_NvComFormUp, {
29030
+ key: 0,
29031
+ ref: "refviewform",
29032
+ formModel: _ctx.mainFormModel,
29033
+ formItems: _ctx.mainFormItems
29034
+ }, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
29035
+ ]),
29036
+ _: 1
29037
+ }, 8, ["model"])
29038
+ ])
29039
+ ]),
29040
+ _: 1
29041
+ }, 8, ["modelValue", "title"])
29042
+ ]),
29043
+ _: 1
29044
+ });
29045
+ }
29046
+ const ViewModule = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
29047
+ const propDefine = {
29048
+ linkParam: {
29049
+ // 带入的参数
29050
+ type: String,
29051
+ default: ""
29052
+ },
29053
+ operates: {
29054
+ // 按钮权限码
29055
+ type: String,
29056
+ default: "-"
29057
+ }
29058
+ };
29059
+ const _sfc_main = defineComponent({
29060
+ name: "GroupRelationships",
29061
+ components: { NvComFormUp },
29062
+ emits: [""],
29063
+ // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
29064
+ props: propDefine,
29065
+ setup(props, ctx) {
29066
+ return new Instance2(props, ctx);
29067
+ }
29068
+ });
29069
+ class Instance2 extends BaseInstance {
29070
+ // 全局属性
29071
+ constructor(props, ctx) {
29072
+ super();
29073
+ __publicField(this, "props");
29074
+ __publicField(this, "ctx");
29075
+ // API实例化
29076
+ /**获取组织机构数 */
29077
+ __publicField(this, "institutionTreeApi", new InstitutionTreeApi());
29078
+ /**获取看板模块 */
29079
+ __publicField(this, "dataBoardModuleApi", new DataBoardModuleApi());
29080
+ /**集团与项目标段关系配置 */
29081
+ __publicField(this, "dataInistitutionRelationApi", new DataInistitutionRelationApi());
29082
+ /**项目标段对应的看板配置 */
29083
+ __publicField(this, "dataInstitutionBoardRelationApi", new DataInstitutionBoardRelationApi());
29084
+ /**获取平台信息 */
29085
+ __publicField(this, "platformApi", new PlatformApi());
29086
+ // 私有属性 | private
29087
+ __publicField(this, "platform", this.storageInfo.getCurrentPlatform());
29088
+ __publicField(this, "business", this.storageInfo.getCurrentInsTree());
29089
+ //#region 组织机构树
29090
+ // 私有属性 | private
29091
+ /**当前所选机构 */
29092
+ __publicField(this, "selectedInsTree");
29093
+ // 响应属性 | ref、reactive、computed
29094
+ __publicField(this, "institutionTree", ref([]));
29095
+ __publicField(this, "loadingInstitutionTree", ref(false));
29096
+ __publicField(this, "userBoxWidth", ref("calc(100% - 300px)"));
29097
+ // 响应式方法 | xxx = () => {}
29098
+ /**
29099
+ * 改变机构宽度
29100
+ */
29101
+ __publicField(this, "doChangeUserBoxWidth", (isExpand) => {
29102
+ this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
29103
+ });
29104
+ /**
29105
+ * 渲染机构树内容
29106
+ * @param h
29107
+ * @param param1
29108
+ * @returns
29109
+ */
29110
+ __publicField(this, "renderInsTreeContent", (h, { root, node, data }) => {
29111
+ return h("span", {
29112
+ style: {
29113
+ display: "inline-block",
29114
+ paddingLeft: "4px",
29115
+ boxSizing: "content-box",
29116
+ border: data.intoDrag ? "1px dashed #2d8cf0" : "0px"
29117
+ }
29118
+ }, [
29119
+ h("span", [
29120
+ h("span", {
29121
+ style: {
29122
+ fontWeight: this.utilities.isNull(data.FakeId) ? "normal" : "bold"
29123
+ }
29124
+ }, this.utilities.getValueNotNull(data.title, "[未知节点]"))
29125
+ ])
29126
+ ]);
29127
+ });
29128
+ /**
29129
+ * 树选择事件
29130
+ * @param datas
29131
+ */
29132
+ __publicField(this, "doChangeInsTree", (datas) => {
29133
+ if (datas.length > 0) {
29134
+ this.selectedInsTree = datas[0];
29135
+ console.log(datas, "树选择");
29136
+ this.getPlatData();
29137
+ }
29138
+ });
29139
+ /**
29140
+ * 刷新机构树
29141
+ */
29142
+ __publicField(this, "doRefreshInsTree", () => {
29143
+ this.loadInsTree();
29144
+ });
29145
+ //#endregion 组织机构树 END
29146
+ //#region 系统平台
29147
+ // 私有属性 | private
29148
+ /**当前机构已绑定的数据 */
29149
+ __publicField(this, "tabSavedData", []);
29150
+ __publicField(this, "columns", [
29151
+ {
29152
+ type: "selection",
29153
+ align: "center",
29154
+ width: 30
29155
+ },
29156
+ {
29157
+ title: "Name",
29158
+ key: "InstitutionAbbreviation",
29159
+ align: "left"
29160
+ }
29161
+ ]);
29162
+ __publicField(this, "tableData", ref([]));
29163
+ __publicField(this, "tableSelectData", []);
29164
+ // 响应属性 | ref、reactive、computed、watch
29165
+ /**当前平台id */
29166
+ __publicField(this, "platId", ref(0));
29167
+ __publicField(this, "platData", ref([]));
29168
+ __publicField(this, "spinPlatShow", ref(false));
29169
+ __publicField(this, "tabRef", ref());
29170
+ // 私有方法 | private 方法名() {}
29171
+ // 响应式方法 | xxx = () => {}
29172
+ /**
29173
+ * 系统平台列表
29174
+ */
29175
+ __publicField(this, "getPlatData", async () => {
29176
+ var _a;
29177
+ this.spinPlatShow.value = true;
29178
+ const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
29179
+ let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
29180
+ PId: platId
29181
+ })).orderBy(["OrderNo"])));
29182
+ console.log(apiResult, "平台信息");
29183
+ apiResult = apiResult.filter((e) => e.PId != 0);
29184
+ this.platData.value = apiResult;
29185
+ this.spinPlatShow.value = false;
29186
+ if (this.platData.value.length > 0) {
29187
+ this.platId.value = this.platData.value[0].Id;
29188
+ this.doPlatformChange(this.platData.value[0].Id);
29189
+ }
29190
+ });
29191
+ /**
29192
+ * 系统平台改变
29193
+ */
29194
+ __publicField(this, "doPlatformChange", (data) => {
29195
+ this.platId.value = data;
29196
+ this.getInsTree(data);
29197
+ });
29198
+ __publicField(this, "handleTypeChange", (data) => {
29199
+ console.log(data, "类型改变");
29200
+ });
29201
+ /**表格选项发生改变时 */
29202
+ __publicField(this, "selectChange", (datas) => {
29203
+ this.tableSelectData = datas;
29204
+ console.log(datas, "表格选项发生改变时");
29205
+ });
29206
+ __publicField(this, "ptSpin", ref(false));
29207
+ /**保存集团与项目标段关系 */
29208
+ __publicField(this, "saveInistitutionRelation", async () => {
29209
+ console.log(this.selectedInsTree, "机构信息");
29210
+ console.log(this.platId, "表达id");
29211
+ let saveDatas = this.tableSelectData.map((e) => {
29212
+ return {
29213
+ Id: 0,
29214
+ GroupInsTreeId: this.selectedInsTree.Id,
29215
+ GroupInsName: this.selectedInsTree.title,
29216
+ SubPlatformId: this.platId.value,
29217
+ SubInsTreeId: e.Id,
29218
+ SubInsName: e.InstitutionAbbreviation
29219
+ };
29220
+ });
29221
+ debugger;
29222
+ if (saveDatas.length == 0) {
29223
+ if (this.tabSavedData.length > 0) {
29224
+ let ids = this.tabSavedData.map((e) => e.Id).toString();
29225
+ this.dataInistitutionRelationApi.deleteByIds(ids);
29226
+ }
29227
+ this.message.success("保存成功");
29228
+ return;
29229
+ }
29230
+ this.ptSpin.value = true;
29231
+ if (this.tabSavedData.length > 0) {
29232
+ let ids = this.tabSavedData.map((e) => e.Id).toString();
29233
+ this.dataInistitutionRelationApi.deleteByIds(ids);
29234
+ }
29235
+ let saveRes = this.utilities.parseApiResult(await this.dataInistitutionRelationApi.saves(saveDatas));
29236
+ if (saveRes > 0) {
29237
+ this.message.success("保存成功");
29238
+ } else {
29239
+ this.message.warning("保存失败");
29240
+ }
29241
+ this.ptSpin.value = false;
29242
+ console.log(saveDatas, "保存数据");
29243
+ });
29244
+ /**清除所有选择 */
29245
+ __publicField(this, "handleSelectAll", (status) => {
29246
+ this.tabRef.value.selectAll(status);
29247
+ });
29248
+ /**当前选择标段id */
29249
+ __publicField(this, "currentInsTreeId", 0);
29250
+ /**当前标段已选择看板模块数据 */
29251
+ __publicField(this, "currentInsSelectData", []);
29252
+ /**表格行选中时 */
29253
+ __publicField(this, "doRowClick", async (row) => {
29254
+ this.currentInsTreeId = row.Id;
29255
+ let res = this.utilities.parseApiResult(await this.dataInstitutionBoardRelationApi.getEntities(QueryWrapper.create().eq("PlatformId", this.platId.value).eq("InsTreeId", this.currentInsTreeId)));
29256
+ if (res.length > 0) {
29257
+ this.viewGrid.value.getXTable().clearCheckboxRow();
29258
+ this.currentInsSelectData = res;
29259
+ let rows = this.utilities.deepCopy(this.gridData);
29260
+ rows.forEach((e) => {
29261
+ let info = res.find((x) => x.BoardId == e.Id);
29262
+ if (info) {
29263
+ e.OrderNo = info.OrderNo;
29264
+ }
29265
+ });
29266
+ this.viewGrid.value.setDatas(rows);
29267
+ rows = rows.filter((item) => {
29268
+ return res.some((e) => e.BoardId === item.Id);
29269
+ });
29270
+ this.viewGrid.value.getXTable().setCheckboxRow(rows, true);
29271
+ } else {
29272
+ this.currentInsSelectData = [];
29273
+ this.viewGrid.value.setDatas(this.utilities.deepCopy(this.gridData));
29274
+ this.viewGrid.value.getXTable().clearCheckboxRow();
29275
+ }
29276
+ console.log(row, "行点击");
29277
+ });
29278
+ //#endregion 系统平台 END
29279
+ //#region 看板模块
29280
+ // 私有属性 | private
29281
+ __publicField(this, "viewGrid", ref());
29282
+ __publicField(this, "viewGridOption", reactive({
29283
+ api: this.dataBoardModuleApi,
29284
+ setting: {
29285
+ searchConfig: {
29286
+ btnSpan: 6,
29287
+ labelWidth: 120,
29288
+ defaultShowSearch: false
29289
+ },
29290
+ toolbarConfig: {
29291
+ isButtonGroup: false
29292
+ },
29293
+ rowConfig: {
29294
+ isCurrent: false,
29295
+ isHover: true
29296
+ },
29297
+ mode: "edit",
29298
+ editConfig: {
29299
+ trigger: "click",
29300
+ mode: "row",
29301
+ showStatus: true
29302
+ },
29303
+ isPagination: false
29304
+ // pageSize: 10,
29305
+ },
29306
+ searchOptions: [],
29307
+ toolbars: [],
29308
+ rightToolbars: [
29309
+ { name: "refresh", onclick: this.refresh }
29310
+ ],
29311
+ columns: [
29312
+ {
29313
+ colType: "checkbox",
29314
+ width: 50,
29315
+ align: "center"
29316
+ },
29317
+ { colType: "ro", field: "BoardModuleName", title: "看板名称", align: "left" },
29318
+ { colType: "ro", field: "BoardModuleAlias", title: "看板别名", align: "left" },
29319
+ { colType: "ro", field: "Attachparams", title: "传递参数", align: "left" },
29320
+ { colType: "ro", field: "BoardModuleUrl", title: "模块URL", align: "left" },
29321
+ { colType: "ed", field: "OrderNo", title: "排序值", align: "center", width: 100 }
29322
+ ],
29323
+ event: {}
29324
+ }));
29325
+ // 响应属性 | ref、reactive、computed、watch
29326
+ // 私有方法 | private 方法名() {}
29327
+ __publicField(this, "gridData", []);
29328
+ // 响应式方法 | xxx = () => {}
29329
+ __publicField(this, "viewSpin", ref(false));
29330
+ /**保存项目标段与看板关系 */
29331
+ __publicField(this, "saveInstitutionBoardRelation", async () => {
29332
+ var _a;
29333
+ let gridSelectData = (_a = this.viewGrid.value) == null ? void 0 : _a.getCheckboxDatas();
29334
+ console.log(this.platId, "表达id");
29335
+ let saveDatas = gridSelectData.map((e) => {
29336
+ return {
29337
+ Id: 0,
29338
+ PlatformId: this.platId.value,
29339
+ //平台id
29340
+ InsTreeId: this.currentInsTreeId,
29341
+ BoardId: e.Id,
29342
+ BoardModuleName: e.BoardModuleName,
29343
+ OrderNo: e.OrderNo
29344
+ };
29345
+ });
29346
+ if (saveDatas.length == 0) {
29347
+ if (this.currentInsSelectData.length > 0) {
29348
+ let ids = this.currentInsSelectData.map((e) => e.Id).toString();
29349
+ this.dataInstitutionBoardRelationApi.deleteByIds(ids);
29350
+ }
29351
+ this.currentInsSelectData = [];
29352
+ this.message.success("保存成功");
29353
+ return;
29354
+ }
29355
+ this.viewSpin.value = true;
29356
+ if (this.currentInsSelectData.length > 0) {
29357
+ let ids = this.currentInsSelectData.map((e) => e.Id).toString();
29358
+ this.dataInstitutionBoardRelationApi.deleteByIds(ids);
29359
+ }
29360
+ let saveRes = this.utilities.parseApiResult(await this.dataInstitutionBoardRelationApi.saves(saveDatas));
29361
+ if (saveRes > 0) {
29362
+ this.message.success("保存成功");
29363
+ } else {
29364
+ this.message.warning("保存失败");
29365
+ }
29366
+ this.viewSpin.value = false;
29367
+ console.log(gridSelectData, "grid选中数据");
29368
+ });
29369
+ __publicField(this, "clearChecked", () => {
29370
+ this.viewGrid.value.getXTable().clearCheckboxRow();
29371
+ });
29372
+ this.props = props;
29373
+ this.ctx = ctx;
29374
+ this.initData();
29375
+ }
29376
+ // 响应属性 | ref、reactive、computed、watch
29377
+ // 私有方法 | private 方法名() {}
29378
+ initData() {
29379
+ onMounted(() => {
29380
+ console.log(this.platform, "platform");
29381
+ console.log(this.business, "business");
29382
+ this.loadInsTree();
29383
+ this.loadViewDataGrid();
29384
+ });
29385
+ onUnmounted(() => {
29386
+ });
29387
+ }
29388
+ // 私有方法 | private 方法名() {}
29389
+ /**
29390
+ * 加载机构树
29391
+ */
29392
+ async loadInsTree() {
29393
+ let hasSelected = false;
29394
+ this.loadingInstitutionTree.value = true;
29395
+ const apiResult = await this.institutionTreeApi.getInstitutionTrees(this.business.PlatformId);
29396
+ const datas = this.utilities.parseApiResult(apiResult);
29397
+ this.loadingInstitutionTree.value = false;
29398
+ const whileChildData = (pId) => {
29399
+ const childDatas = datas.filter((item) => item.PId == pId);
29400
+ for (const data of childDatas) {
29401
+ data.title = data.InstitutionAbbreviation;
29402
+ data.expand = true;
29403
+ const selected = this.utilities.isNull(this.selectedInsTree) ? false : this.selectedInsTree.Id == data.Id;
29404
+ data.selected = selected;
29405
+ if (selected) {
29406
+ hasSelected = true;
29407
+ }
29408
+ const values = whileChildData(data.Id);
29409
+ if (values.length > 0) {
29410
+ data.children = values;
29411
+ }
29412
+ }
29413
+ return childDatas;
29414
+ };
29415
+ this.institutionTree.value = whileChildData(0);
29416
+ if (!hasSelected && this.institutionTree.value.length > 0) {
29417
+ const data = this.institutionTree.value[0];
29418
+ data.selected = true;
29419
+ this.doChangeInsTree([data]);
29420
+ }
29421
+ }
29422
+ /**获取平台下机构信息 */
29423
+ async getInsTree(id) {
29424
+ this.ptSpin.value = true;
29425
+ const apiResult = await this.institutionTreeApi.getInstitutionTrees(id);
29426
+ let datas = this.utilities.parseApiResult(apiResult);
29427
+ datas = datas.filter((e) => e.InstitutionTypeCode == "LJ");
29428
+ this.viewGrid.value.getXTable().clearCheckboxRow();
29429
+ if (datas && datas.length > 0) {
29430
+ datas[0]._highlight = true;
29431
+ this.doRowClick(datas[0]);
29432
+ }
29433
+ let res = this.utilities.parseApiResult(await this.dataInistitutionRelationApi.getEntities(QueryWrapper.create().eq("GroupInsTreeId", this.selectedInsTree.Id).eq("SubPlatformId", this.platId.value)));
29434
+ if (res && res.length > 0) {
29435
+ this.tabSavedData = res;
29436
+ datas.forEach((e) => {
29437
+ let info = res.find((x) => e.Id == x.SubInsTreeId);
29438
+ if (info) {
29439
+ e._checked = true;
29440
+ }
29441
+ });
29442
+ } else {
29443
+ this.tabSavedData = [];
29444
+ }
29445
+ this.ptSpin.value = false;
29446
+ this.tableData.value = datas;
29447
+ }
29448
+ async loadViewDataGrid() {
29449
+ var _a;
29450
+ const datas = this.utilities.parseApiResult(await this.dataBoardModuleApi.getEntities(QueryWrapper.create().orderBy(["OrderNo"])));
29451
+ (_a = this.viewGrid.value) == null ? void 0 : _a.loadData(async (option) => {
29452
+ option.success(datas);
29453
+ });
29454
+ this.gridData = datas;
29455
+ }
29456
+ /**刷新表格 */
29457
+ refresh() {
29458
+ let rows = this.utilities.deepCopy(this.gridData);
29459
+ rows.forEach((e) => {
29460
+ let info = this.currentInsSelectData.find((x) => x.BoardId == e.Id);
29461
+ if (info) {
29462
+ e.OrderNo = info.OrderNo;
29463
+ }
29464
+ });
29465
+ this.viewGrid.value.setDatas(rows);
29466
+ }
29467
+ //#endregion 看板模块 END
29468
+ }
29469
+ const GroupRelationships_vue_vue_type_style_index_0_scoped_05e0f55a_lang = "";
29470
+ const _hoisted_1 = { class: "instree-list" };
29471
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
29472
+ const _component_Tree = resolveComponent("Tree");
29473
+ const _component_Spin = resolveComponent("Spin");
29474
+ const _component_Button = resolveComponent("Button");
29475
+ const _component_Space = resolveComponent("Space");
29476
+ const _component_NvBox = resolveComponent("NvBox");
29477
+ const _component_Option = resolveComponent("Option");
29478
+ const _component_Select = resolveComponent("Select");
29479
+ const _component_NvControlGroup = resolveComponent("NvControlGroup");
29480
+ const _component_Table = resolveComponent("Table");
29481
+ const _component_NvButton = resolveComponent("NvButton");
29482
+ const _component_NvGrid = resolveComponent("NvGrid");
29483
+ const _component_NvPage = resolveComponent("NvPage");
29484
+ return openBlock(), createBlock(_component_NvPage, {
29485
+ gutter: 8,
29486
+ class: "nv-flex"
29487
+ }, {
29488
+ default: withCtx(() => [
29489
+ createVNode(_component_NvBox, {
29490
+ width: "300px",
29491
+ title: "组织机构树",
29492
+ showArrow: true,
29493
+ onChange: _ctx.doChangeUserBoxWidth
29494
+ }, {
29495
+ default: withCtx(() => [
29496
+ createElementVNode("div", _hoisted_1, [
29497
+ createVNode(_component_Tree, {
29498
+ data: _ctx.institutionTree,
29499
+ render: _ctx.renderInsTreeContent,
29500
+ class: "tree-render",
29501
+ onOnSelectChange: _ctx.doChangeInsTree
29502
+ }, null, 8, ["data", "render", "onOnSelectChange"]),
29503
+ withDirectives(createVNode(_component_Spin, { fix: "" }, {
29504
+ default: withCtx(() => [
29505
+ createTextVNode("数据加载中")
29506
+ ]),
29507
+ _: 1
29508
+ }, 512), [
29509
+ [vShow, _ctx.loadingInstitutionTree]
29510
+ ])
29511
+ ]),
29512
+ createVNode(_component_Space, { style: { "width": "100%", "justify-content": "end" } }, {
29513
+ default: withCtx(() => [
29514
+ createVNode(_component_Button, {
29515
+ type: "text",
29516
+ onClick: _ctx.doRefreshInsTree
29517
+ }, {
29518
+ default: withCtx(() => [
29519
+ createTextVNode("刷新")
29520
+ ]),
29521
+ _: 1
29522
+ }, 8, ["onClick"])
29523
+ ]),
29524
+ _: 1
29525
+ })
29526
+ ]),
29527
+ _: 1
29528
+ }, 8, ["onChange"]),
29529
+ createVNode(_component_NvBox, {
29530
+ width: "350px",
29531
+ title: "平台选择",
29532
+ showArrow: true,
29533
+ onChange: _ctx.doChangeUserBoxWidth
29534
+ }, {
29535
+ footer: withCtx(() => [
29536
+ createVNode(_component_Button, {
29537
+ type: "text",
29538
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handleSelectAll(false))
29539
+ }, {
29540
+ default: withCtx(() => [
29541
+ createTextVNode("清除")
29542
+ ]),
29543
+ _: 1
29544
+ }),
29545
+ createVNode(_component_NvButton, {
29546
+ type: "primary",
29547
+ onClick: _ctx.saveInistitutionRelation
29548
+ }, {
29549
+ default: withCtx(() => [
29550
+ createTextVNode("保存")
29551
+ ]),
29552
+ _: 1
29553
+ }, 8, ["onClick"])
29554
+ ]),
29555
+ default: withCtx(() => [
29556
+ withDirectives(createVNode(_component_Spin, { fix: "" }, {
29557
+ default: withCtx(() => [
29558
+ createTextVNode("数据加载中")
29559
+ ]),
29560
+ _: 1
29561
+ }, 512), [
29562
+ [vShow, _ctx.ptSpin]
29563
+ ]),
29564
+ createVNode(_component_NvControlGroup, {
29565
+ width: "320px",
29566
+ icon: "md-refresh",
29567
+ label: "系统平台",
29568
+ labelWidth: 75,
29569
+ onClick: _ctx.getPlatData
29570
+ }, {
29571
+ default: withCtx(() => [
29572
+ createVNode(_component_Select, {
29573
+ modelValue: _ctx.platId,
29574
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.platId = $event),
29575
+ onOnChange: _ctx.doPlatformChange,
29576
+ transfer: ""
29577
+ }, {
29578
+ default: withCtx(() => [
29579
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.platData, (item, index2) => {
29580
+ return openBlock(), createBlock(_component_Option, {
29581
+ key: index2,
29582
+ value: item.Id
29583
+ }, {
29584
+ default: withCtx(() => [
29585
+ createTextVNode(toDisplayString(item.PlatformAbbreviation), 1)
29586
+ ]),
29587
+ _: 2
29588
+ }, 1032, ["value"]);
29589
+ }), 128))
29590
+ ]),
29591
+ _: 1
29592
+ }, 8, ["modelValue", "onOnChange"]),
29593
+ createVNode(_component_Spin, {
29594
+ fix: "",
29595
+ show: _ctx.spinPlatShow
29596
+ }, null, 8, ["show"])
29597
+ ]),
29598
+ _: 1
29599
+ }, 8, ["onClick"]),
29600
+ createVNode(_component_Table, {
29601
+ ref: "tabRef",
29602
+ columns: _ctx.columns,
29603
+ data: _ctx.tableData,
29604
+ "show-header": false,
29605
+ onOnSelectionChange: _ctx.selectChange,
29606
+ onOnRowClick: _ctx.doRowClick,
29607
+ "highlight-row": ""
29608
+ }, null, 8, ["columns", "data", "onOnSelectionChange", "onOnRowClick"])
29609
+ ]),
29610
+ _: 1
29611
+ }, 8, ["onChange"]),
29612
+ createVNode(_component_NvBox, { title: "看板模块" }, {
29613
+ footer: withCtx(() => [
29614
+ createVNode(_component_Button, {
29615
+ type: "text",
29616
+ onClick: _ctx.clearChecked
29617
+ }, {
29618
+ default: withCtx(() => [
29619
+ createTextVNode("清除")
29620
+ ]),
29621
+ _: 1
29622
+ }, 8, ["onClick"]),
29623
+ createVNode(_component_NvButton, {
29624
+ type: "primary",
29625
+ onClick: _ctx.saveInstitutionBoardRelation
29626
+ }, {
29627
+ default: withCtx(() => [
29628
+ createTextVNode("保存")
29629
+ ]),
29630
+ _: 1
29631
+ }, 8, ["onClick"])
29632
+ ]),
29633
+ default: withCtx(() => [
29634
+ withDirectives(createVNode(_component_Spin, { fix: "" }, {
29635
+ default: withCtx(() => [
29636
+ createTextVNode("数据加载中")
29637
+ ]),
29638
+ _: 1
29639
+ }, 512), [
29640
+ [vShow, _ctx.viewSpin]
29641
+ ]),
29642
+ createVNode(_component_NvGrid, {
29643
+ ref: "viewGrid",
29644
+ option: _ctx.viewGridOption
29645
+ }, null, 8, ["option"])
29646
+ ]),
29647
+ _: 1
29648
+ })
29649
+ ]),
29650
+ _: 1
29651
+ });
29652
+ }
29653
+ const GroupRelationships = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-05e0f55a"]]);
29654
+ const index = [
29655
+ {
29656
+ // 系统平台
29657
+ path: "/permission-service/platform/platform",
29658
+ component: Platform
29659
+ },
29660
+ {
29661
+ // 菜单模块
29662
+ path: "/permission-service/platform/module",
29663
+ component: Module
29664
+ },
29665
+ {
29666
+ // 角色管理
29667
+ path: "/permission-service/platform/role",
29668
+ component: Role
29669
+ },
29670
+ {
29671
+ // 机构类型
29672
+ path: "/permission-service/institution/institutiontype",
29673
+ component: InstitutionType
29674
+ },
29675
+ {
29676
+ // 组织机构
29677
+ path: "/permission-service/institution/institution",
29678
+ component: Institution
29679
+ },
29680
+ {
29681
+ // 用户管理
29682
+ path: "/permission-service/institution/userinfor",
29683
+ component: Userinfor
29684
+ },
29685
+ {
29686
+ // 企业管理
29687
+ path: "/permission-service/institution/enterprise",
29688
+ component: Enterprise
29689
+ },
29690
+ {
29691
+ // 第三方信息
29692
+ path: "/permission-service/thirdparty/information",
29693
+ component: Information
29694
+ },
29695
+ // 平台设置(二级)
29696
+ {
29697
+ // 项目管理
29698
+ path: "/permission-service/platform/subplatform",
29699
+ component: subplatform
29700
+ },
29701
+ {
29702
+ // 平台角色
29703
+ path: "/permission-service/platform/subrole",
29704
+ component: subrole
29705
+ },
29706
+ {
29707
+ // 平台企业
29708
+ path: "/permission-service/institution/subenterprise",
29709
+ component: subenterprise
29710
+ },
29711
+ {
29712
+ // 平台机构
29713
+ path: "/permission-service/institution/subinstitution",
29714
+ component: subinstitution
29715
+ },
29716
+ {
29717
+ // 平台用户
29718
+ path: "/permission-service/institution/subuserinfor",
28761
29719
  component: subuserinfor
28762
29720
  },
28763
29721
  {
@@ -28779,6 +29737,16 @@ const index = [
28779
29737
  // 项目概况
28780
29738
  path: "/permission-service/projectSummary/ProjectSummary",
28781
29739
  component: ProjectSummary
29740
+ },
29741
+ {
29742
+ // 看板模块
29743
+ path: "/viewModule/ViewModule",
29744
+ component: ViewModule
29745
+ },
29746
+ {
29747
+ // 集团关系
29748
+ path: "/groupRelationships/GroupRelationships",
29749
+ component: GroupRelationships
28782
29750
  }
28783
29751
  ];
28784
29752
  export {