@newview/permission-service 1.2.22 → 1.2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ var __publicField = (obj, key, value) => {
6
6
  };
7
7
  import { BaseInstance } from "@newview/base-vue";
8
8
  import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, withModifiers } from "vue";
9
- import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi, InstitutionLinePointApi, InstitutionPointApi } from "@newview/permission-api";
9
+ import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi, InstitutionLinePointApi, InstitutionPointApi, ProjectSummaryApi } from "@newview/permission-api";
10
10
  import { QueryWrapper, BaseApi } from "@newview/infrastructure";
11
11
  import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
12
12
  import { SelectPlatform, BaseLogin } from "@newview/permission-ui";
@@ -14,7 +14,7 @@ import { SignTaskInfoApi } from "@newview/casign-api";
14
14
  import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
15
15
  import { NvComFormUp } from "@newview/file-ui";
16
16
  import { NvMap } from "@newview/map";
17
- const propDefine$i = {
17
+ const propDefine$j = {
18
18
  linkParam: {
19
19
  // 带入的参数
20
20
  type: String,
@@ -26,12 +26,12 @@ const propDefine$i = {
26
26
  default: "-"
27
27
  }
28
28
  };
29
- const _sfc_main$i = defineComponent({
29
+ const _sfc_main$j = defineComponent({
30
30
  name: "Platform",
31
31
  components: {},
32
32
  emits: [""],
33
33
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
34
- props: propDefine$i,
34
+ props: propDefine$j,
35
35
  setup(props, ctx) {
36
36
  return new PlatformInstance$1(props, ctx);
37
37
  }
@@ -408,13 +408,13 @@ const _export_sfc = (sfc, props) => {
408
408
  }
409
409
  return target;
410
410
  };
411
- const _hoisted_1$i = {
411
+ const _hoisted_1$j = {
412
412
  class: "nv-flex",
413
413
  style: { "justify-content": "space-between" }
414
414
  };
415
415
  const _hoisted_2$a = { style: { "height": "550px", "overflow-y": "auto" } };
416
416
  const _hoisted_3$a = { style: { "height": "400px", "overflow-y": "auto" } };
417
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
417
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
418
418
  const _component_NvList = resolveComponent("NvList");
419
419
  const _component_Icon = resolveComponent("Icon");
420
420
  const _component_Space = resolveComponent("Space");
@@ -436,7 +436,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
436
436
  "show-arrow": true
437
437
  }, {
438
438
  footer: withCtx(() => [
439
- createElementVNode("div", _hoisted_1$i, [
439
+ createElementVNode("div", _hoisted_1$j, [
440
440
  createVNode(_component_Space, null, {
441
441
  default: withCtx(() => [
442
442
  createVNode(_component_Icon, {
@@ -589,8 +589,8 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
589
589
  _: 1
590
590
  });
591
591
  }
592
- const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-f58b0adc"]]);
593
- const propDefine$h = {
592
+ const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-f58b0adc"]]);
593
+ const propDefine$i = {
594
594
  linkParam: {
595
595
  // 带入的参数
596
596
  type: String,
@@ -602,12 +602,12 @@ const propDefine$h = {
602
602
  default: "-"
603
603
  }
604
604
  };
605
- const _sfc_main$h = defineComponent({
605
+ const _sfc_main$i = defineComponent({
606
606
  name: "Module",
607
607
  components: { SelectPlatform },
608
608
  emits: ["change"],
609
609
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
610
- props: propDefine$h,
610
+ props: propDefine$i,
611
611
  setup(props, ctx) {
612
612
  return new ModuleInstance$1(props, ctx);
613
613
  }
@@ -788,6 +788,14 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
788
788
  this.selectedPlatform = data;
789
789
  this.loadModuleGridData();
790
790
  });
791
+ /**
792
+ * 模块类型改变
793
+ * web/app
794
+ */
795
+ __publicField(this, "handleModuleTypeChange", () => {
796
+ this.setModuleFormItems();
797
+ this.loadModuleGridData();
798
+ });
791
799
  /**
792
800
  * 加载模块菜单
793
801
  */
@@ -1175,6 +1183,21 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
1175
1183
  this.props = props;
1176
1184
  this.ctx = ctx;
1177
1185
  }
1186
+ // 私有方法
1187
+ /**
1188
+ * 设置模块表单配置
1189
+ */
1190
+ setModuleFormItems() {
1191
+ if (this.webOrApp.value === 0) {
1192
+ if (this.moduleFormItems[0].children) {
1193
+ this.moduleFormItems[0].children[4].type = "IconSelect";
1194
+ }
1195
+ } else {
1196
+ if (this.moduleFormItems[0].children) {
1197
+ this.moduleFormItems[0].children[4].type = "Input";
1198
+ }
1199
+ }
1200
+ }
1178
1201
  // 私有方法 | private 方法名() {}
1179
1202
  /**
1180
1203
  * 设置编辑模块的PId,并更新相关的数据链
@@ -1408,9 +1431,9 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
1408
1431
  // 响应式方法 | xxx = () => {}
1409
1432
  //#endregion 业务逻辑 END
1410
1433
  };
1411
- const Module_vue_vue_type_style_index_0_scoped_5a5ef504_lang = "";
1412
- const _withScopeId$4 = (n) => (pushScopeId("data-v-5a5ef504"), n = n(), popScopeId(), n);
1413
- const _hoisted_1$h = { style: { "height": "650px", "overflow-y": "auto" } };
1434
+ const Module_vue_vue_type_style_index_0_scoped_e41c07fc_lang = "";
1435
+ const _withScopeId$4 = (n) => (pushScopeId("data-v-e41c07fc"), n = n(), popScopeId(), n);
1436
+ const _hoisted_1$i = { style: { "height": "650px", "overflow-y": "auto" } };
1414
1437
  const _hoisted_2$9 = {
1415
1438
  class: "import-module",
1416
1439
  style: { "height": "650px", "position": "relative" }
@@ -1421,7 +1444,7 @@ const _hoisted_5$7 = { style: { "height": "calc(100% - 0px)" } };
1421
1444
  const _hoisted_6$7 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
1422
1445
  const _hoisted_7$5 = { style: { "height": "calc(100% - 0px)" } };
1423
1446
  const _hoisted_8$5 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
1424
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1447
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
1425
1448
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
1426
1449
  const _component_Radio = resolveComponent("Radio");
1427
1450
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -1456,7 +1479,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1456
1479
  modelValue: _ctx.webOrApp,
1457
1480
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.webOrApp = $event),
1458
1481
  type: "button",
1459
- onOnChange: _ctx.loadModuleGridData
1482
+ onOnChange: _ctx.handleModuleTypeChange
1460
1483
  }, {
1461
1484
  default: withCtx(() => [
1462
1485
  createVNode(_component_Radio, { label: 0 }, {
@@ -1509,7 +1532,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1509
1532
  }, 8, ["loading", "onClick"])
1510
1533
  ]),
1511
1534
  default: withCtx(() => [
1512
- createElementVNode("div", _hoisted_1$h, [
1535
+ createElementVNode("div", _hoisted_1$i, [
1513
1536
  createVNode(_component_Form, {
1514
1537
  model: _ctx.moduleFormModel,
1515
1538
  "label-width": 90
@@ -1644,8 +1667,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
1644
1667
  _: 1
1645
1668
  });
1646
1669
  }
1647
- const Module = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-5a5ef504"]]);
1648
- const propDefine$g = {
1670
+ const Module = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-e41c07fc"]]);
1671
+ const propDefine$h = {
1649
1672
  linkParam: {
1650
1673
  // 带入的参数
1651
1674
  type: String,
@@ -1657,12 +1680,12 @@ const propDefine$g = {
1657
1680
  default: "-"
1658
1681
  }
1659
1682
  };
1660
- const _sfc_main$g = defineComponent({
1683
+ const _sfc_main$h = defineComponent({
1661
1684
  name: "Role",
1662
1685
  components: { SelectPlatform },
1663
1686
  emits: [""],
1664
1687
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
1665
- props: propDefine$g,
1688
+ props: propDefine$h,
1666
1689
  setup(props, ctx) {
1667
1690
  return new RoleInstance$1(props, ctx);
1668
1691
  }
@@ -2453,14 +2476,14 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2453
2476
  //#endregion 导入角色 END
2454
2477
  };
2455
2478
  const Role_vue_vue_type_style_index_0_scoped_0f25fe31_lang = "";
2456
- const _hoisted_1$g = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
2479
+ const _hoisted_1$h = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
2457
2480
  const _hoisted_2$8 = {
2458
2481
  class: "import-role",
2459
2482
  style: { "height": "610px", "position": "relative" }
2460
2483
  };
2461
2484
  const _hoisted_3$8 = { style: { "width": "100%", "height": "100%" } };
2462
2485
  const _hoisted_4$8 = { style: { "height": "530px", "overflow-y": "auto" } };
2463
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2486
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
2464
2487
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
2465
2488
  const _component_NvGrid = resolveComponent("NvGrid");
2466
2489
  const _component_NvBox = resolveComponent("NvBox");
@@ -2526,7 +2549,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2526
2549
  }, 8, ["loading", "onClick"])
2527
2550
  ]),
2528
2551
  default: withCtx(() => [
2529
- createElementVNode("div", _hoisted_1$g, [
2552
+ createElementVNode("div", _hoisted_1$h, [
2530
2553
  createVNode(_component_NvGrid, {
2531
2554
  ref: "moduleGrid",
2532
2555
  option: _ctx.moduleGridOption
@@ -2660,8 +2683,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2660
2683
  _: 1
2661
2684
  });
2662
2685
  }
2663
- const Role = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-0f25fe31"]]);
2664
- const propDefine$f = {
2686
+ const Role = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-0f25fe31"]]);
2687
+ const propDefine$g = {
2665
2688
  linkParam: {
2666
2689
  // 带入的参数
2667
2690
  type: String,
@@ -2673,12 +2696,12 @@ const propDefine$f = {
2673
2696
  default: "-"
2674
2697
  }
2675
2698
  };
2676
- const _sfc_main$f = defineComponent({
2699
+ const _sfc_main$g = defineComponent({
2677
2700
  name: "InstitutionType",
2678
2701
  components: {},
2679
2702
  emits: [""],
2680
2703
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
2681
- props: propDefine$f,
2704
+ props: propDefine$g,
2682
2705
  setup(props, ctx) {
2683
2706
  return new InstitutionTypeInstance(props, ctx);
2684
2707
  }
@@ -2880,8 +2903,8 @@ class InstitutionTypeInstance extends BaseInstance {
2880
2903
  //#endregion 编辑机构类型 END
2881
2904
  }
2882
2905
  const InstitutionType_vue_vue_type_style_index_0_scoped_947fe129_lang = "";
2883
- const _hoisted_1$f = { style: { "height": "350px", "overflow-y": "auto" } };
2884
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2906
+ const _hoisted_1$g = { style: { "height": "350px", "overflow-y": "auto" } };
2907
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
2885
2908
  const _component_NvGrid = resolveComponent("NvGrid");
2886
2909
  const _component_NvBox = resolveComponent("NvBox");
2887
2910
  const _component_NvComForm = resolveComponent("NvComForm");
@@ -2934,7 +2957,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2934
2957
  }, 8, ["loading", "onClick"])
2935
2958
  ]),
2936
2959
  default: withCtx(() => [
2937
- createElementVNode("div", _hoisted_1$f, [
2960
+ createElementVNode("div", _hoisted_1$g, [
2938
2961
  createVNode(_component_Form, {
2939
2962
  ref: "refInstitutionTypeForm",
2940
2963
  model: _ctx.institutionTypeFormModel,
@@ -2956,8 +2979,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
2956
2979
  _: 1
2957
2980
  });
2958
2981
  }
2959
- const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-947fe129"]]);
2960
- const propDefine$e = {
2982
+ const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-947fe129"]]);
2983
+ const propDefine$f = {
2961
2984
  linkParam: {
2962
2985
  // 带入的参数
2963
2986
  type: String,
@@ -2969,12 +2992,12 @@ const propDefine$e = {
2969
2992
  default: "-"
2970
2993
  }
2971
2994
  };
2972
- const _sfc_main$e = defineComponent({
2995
+ const _sfc_main$f = defineComponent({
2973
2996
  name: "Institution",
2974
2997
  components: { SelectPlatform },
2975
2998
  emits: [""],
2976
2999
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
2977
- props: propDefine$e,
3000
+ props: propDefine$f,
2978
3001
  setup(props, ctx) {
2979
3002
  return new InstitutionInstance$1(props, ctx);
2980
3003
  }
@@ -3879,7 +3902,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
3879
3902
  //#endregion 绑定角色 END
3880
3903
  };
3881
3904
  const Institution_vue_vue_type_style_index_0_scoped_42799ba1_lang = "";
3882
- const _hoisted_1$e = { style: { "width": "100%", "height": "100%", "position": "relative" } };
3905
+ const _hoisted_1$f = { style: { "width": "100%", "height": "100%", "position": "relative" } };
3883
3906
  const _hoisted_2$7 = { style: { "height": "500px", "overflow-y": "auto" } };
3884
3907
  const _hoisted_3$7 = {
3885
3908
  class: "import-institution",
@@ -3888,7 +3911,7 @@ const _hoisted_3$7 = {
3888
3911
  const _hoisted_4$7 = { style: { "width": "100%", "height": "100%" } };
3889
3912
  const _hoisted_5$6 = { style: { "height": "calc(100%)" } };
3890
3913
  const _hoisted_6$6 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
3891
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
3914
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
3892
3915
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
3893
3916
  const _component_NvGrid = resolveComponent("NvGrid");
3894
3917
  const _component_NvBox = resolveComponent("NvBox");
@@ -3958,7 +3981,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
3958
3981
  })
3959
3982
  ]),
3960
3983
  default: withCtx(() => [
3961
- createElementVNode("div", _hoisted_1$e, [
3984
+ createElementVNode("div", _hoisted_1$f, [
3962
3985
  createVNode(_component_Tree, {
3963
3986
  data: _ctx.institutionTree,
3964
3987
  render: _ctx.renderContent,
@@ -4156,14 +4179,14 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
4156
4179
  _: 1
4157
4180
  });
4158
4181
  }
4159
- const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-42799ba1"]]);
4160
- const propDefine$d = {};
4161
- const _sfc_main$d = defineComponent({
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({
4162
4185
  name: "LoginLog",
4163
4186
  components: {},
4164
4187
  emits: [""],
4165
4188
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
4166
- props: propDefine$d,
4189
+ props: propDefine$e,
4167
4190
  setup(props, ctx) {
4168
4191
  return new LoginLogInstance$1(props, ctx);
4169
4192
  }
@@ -4268,18 +4291,18 @@ let LoginLogInstance$1 = class LoginLogInstance extends BaseInstance {
4268
4291
  //#endregion 登录日志 END
4269
4292
  };
4270
4293
  const LoginLog_vue_vue_type_style_index_0_scoped_4e2e0184_lang = "";
4271
- const _hoisted_1$d = { class: "loginLog" };
4272
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
4294
+ const _hoisted_1$e = { class: "loginLog" };
4295
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
4273
4296
  const _component_NvGrid = resolveComponent("NvGrid");
4274
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
4297
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
4275
4298
  createVNode(_component_NvGrid, {
4276
4299
  ref: "loginLogGrid",
4277
4300
  option: _ctx.loginLogGridOption
4278
4301
  }, null, 8, ["option"])
4279
4302
  ]);
4280
4303
  }
4281
- const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-4e2e0184"]]);
4282
- const propDefine$c = {
4304
+ const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-4e2e0184"]]);
4305
+ const propDefine$d = {
4283
4306
  linkParam: {
4284
4307
  // 带入的参数
4285
4308
  type: String,
@@ -4291,12 +4314,12 @@ const propDefine$c = {
4291
4314
  default: "-"
4292
4315
  }
4293
4316
  };
4294
- const _sfc_main$c = defineComponent({
4317
+ const _sfc_main$d = defineComponent({
4295
4318
  name: "Userinfor",
4296
4319
  components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin },
4297
4320
  emits: [""],
4298
4321
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
4299
- props: propDefine$c,
4322
+ props: propDefine$d,
4300
4323
  setup(props, ctx) {
4301
4324
  return new UserinforInstance$1(props, ctx);
4302
4325
  }
@@ -5330,7 +5353,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
5330
5353
  };
5331
5354
  const Userinfor_vue_vue_type_style_index_0_scoped_3969fae6_lang = "";
5332
5355
  const _withScopeId$3 = (n) => (pushScopeId("data-v-3969fae6"), n = n(), popScopeId(), n);
5333
- const _hoisted_1$c = { class: "instree-search" };
5356
+ const _hoisted_1$d = { class: "instree-search" };
5334
5357
  const _hoisted_2$6 = { class: "instree-list" };
5335
5358
  const _hoisted_3$6 = { style: { "height": "600px", "overflow-y": "auto" } };
5336
5359
  const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -5346,7 +5369,7 @@ const _hoisted_10$2 = { style: { "display": "none" } };
5346
5369
  const _hoisted_11$2 = { style: { "height": "400px", "overflow-y": "auto" } };
5347
5370
  const _hoisted_12$1 = ["src"];
5348
5371
  const _hoisted_13$1 = ["src"];
5349
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
5372
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
5350
5373
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
5351
5374
  const _component_Tree = resolveComponent("Tree");
5352
5375
  const _component_Spin = resolveComponent("Spin");
@@ -5389,7 +5412,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
5389
5412
  })
5390
5413
  ]),
5391
5414
  default: withCtx(() => [
5392
- createElementVNode("div", _hoisted_1$c, [
5415
+ createElementVNode("div", _hoisted_1$d, [
5393
5416
  createVNode(_component_SelectPlatform, {
5394
5417
  onSelect: _ctx.doChangePlatform,
5395
5418
  width: "100%",
@@ -5708,8 +5731,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
5708
5731
  _: 1
5709
5732
  });
5710
5733
  }
5711
- const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-3969fae6"]]);
5712
- const propDefine$b = {
5734
+ const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-3969fae6"]]);
5735
+ const propDefine$c = {
5713
5736
  linkParam: {
5714
5737
  // 带入的参数
5715
5738
  type: String,
@@ -5721,12 +5744,12 @@ const propDefine$b = {
5721
5744
  default: "-"
5722
5745
  }
5723
5746
  };
5724
- const _sfc_main$b = defineComponent({
5747
+ const _sfc_main$c = defineComponent({
5725
5748
  name: "Enterprise",
5726
5749
  components: { SelectPlatform },
5727
5750
  emits: [""],
5728
5751
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
5729
- props: propDefine$b,
5752
+ props: propDefine$c,
5730
5753
  setup(props, ctx) {
5731
5754
  return new EnterpriseInstance$1(props, ctx);
5732
5755
  }
@@ -6113,8 +6136,8 @@ let EnterpriseInstance$1 = class EnterpriseInstance extends BaseInstance {
6113
6136
  //#endregion 业务逻辑 编辑企业信息 END
6114
6137
  };
6115
6138
  const Enterprise_vue_vue_type_style_index_0_scoped_58aa3e77_lang = "";
6116
- const _hoisted_1$b = { style: { "height": "650px", "overflow-y": "auto" } };
6117
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
6139
+ const _hoisted_1$c = { style: { "height": "650px", "overflow-y": "auto" } };
6140
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
6118
6141
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
6119
6142
  const _component_NvGrid = resolveComponent("NvGrid");
6120
6143
  const _component_NvBox = resolveComponent("NvBox");
@@ -6182,7 +6205,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
6182
6205
  }, 8, ["loading", "onClick"])) : createCommentVNode("", true)
6183
6206
  ]),
6184
6207
  default: withCtx(() => [
6185
- createElementVNode("div", _hoisted_1$b, [
6208
+ createElementVNode("div", _hoisted_1$c, [
6186
6209
  createVNode(_component_Form, {
6187
6210
  model: _ctx.enterpriseFormModel,
6188
6211
  "label-width": 90
@@ -6205,7 +6228,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
6205
6228
  _: 1
6206
6229
  });
6207
6230
  }
6208
- const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-58aa3e77"]]);
6231
+ const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-58aa3e77"]]);
6209
6232
  class DBCenterBaseApi extends BaseApi {
6210
6233
  get ProxyName() {
6211
6234
  return "CalcPythonApi";
@@ -6235,7 +6258,7 @@ class CorePlatformConfigApi extends DBCenterBaseApi {
6235
6258
  this.addHeader("tableName", "core_platform_config");
6236
6259
  }
6237
6260
  }
6238
- const propDefine$a = {
6261
+ const propDefine$b = {
6239
6262
  linkParam: {
6240
6263
  // 带入的参数
6241
6264
  type: String,
@@ -6247,14 +6270,14 @@ const propDefine$a = {
6247
6270
  default: "-"
6248
6271
  }
6249
6272
  };
6250
- const _sfc_main$a = defineComponent({
6273
+ const _sfc_main$b = defineComponent({
6251
6274
  name: "Information",
6252
6275
  components: {
6253
6276
  NvComFormUp
6254
6277
  },
6255
6278
  emits: [""],
6256
6279
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
6257
- props: propDefine$a,
6280
+ props: propDefine$b,
6258
6281
  setup(props, ctx) {
6259
6282
  return new InformationInstance(props, ctx);
6260
6283
  }
@@ -6619,8 +6642,8 @@ class InformationInstance extends BaseInstance {
6619
6642
  }
6620
6643
  //#endregion 编辑信息 END
6621
6644
  }
6622
- const _hoisted_1$a = { style: { "overflow-y": "auto" } };
6623
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6645
+ const _hoisted_1$b = { style: { "overflow-y": "auto" } };
6646
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
6624
6647
  const _component_NvGrid = resolveComponent("NvGrid");
6625
6648
  const _component_NvBox = resolveComponent("NvBox");
6626
6649
  const _component_NvComFormUp = resolveComponent("NvComFormUp");
@@ -6677,7 +6700,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6677
6700
  }, 8, ["loading", "onClick"])
6678
6701
  ]),
6679
6702
  default: withCtx(() => [
6680
- createElementVNode("div", _hoisted_1$a, [
6703
+ createElementVNode("div", _hoisted_1$b, [
6681
6704
  createVNode(_component_Form, {
6682
6705
  ref: "refRoleForm",
6683
6706
  model: _ctx.roleFormModel,
@@ -6699,8 +6722,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
6699
6722
  _: 1
6700
6723
  });
6701
6724
  }
6702
- const Information = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
6703
- const propDefine$9 = {
6725
+ const Information = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
6726
+ const propDefine$a = {
6704
6727
  linkParam: {
6705
6728
  // 带入的参数
6706
6729
  type: String,
@@ -6722,12 +6745,12 @@ const propDefine$9 = {
6722
6745
  default: "BD"
6723
6746
  }
6724
6747
  };
6725
- const _sfc_main$9 = defineComponent({
6748
+ const _sfc_main$a = defineComponent({
6726
6749
  name: "GeneralConfiguration",
6727
6750
  components: {},
6728
6751
  emits: [""],
6729
6752
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
6730
- props: propDefine$9,
6753
+ props: propDefine$a,
6731
6754
  setup(props, ctx) {
6732
6755
  return new GeneralConfigurationInstance(props, ctx);
6733
6756
  }
@@ -7254,8 +7277,8 @@ class GeneralConfigurationInstance extends BaseInstance {
7254
7277
  //#endregion 概况选择modal END
7255
7278
  }
7256
7279
  const GeneralConfiguration_vue_vue_type_style_index_0_scoped_a01b6a2e_lang = "";
7257
- const _hoisted_1$9 = { style: { "height": "600px", "overflow-y": "auto" } };
7258
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
7280
+ const _hoisted_1$a = { style: { "height": "600px", "overflow-y": "auto" } };
7281
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
7259
7282
  const _component_NvGrid = resolveComponent("NvGrid");
7260
7283
  const _component_NvBox = resolveComponent("NvBox");
7261
7284
  const _component_Button = resolveComponent("Button");
@@ -7307,7 +7330,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
7307
7330
  }, 8, ["loading", "onClick"])
7308
7331
  ]),
7309
7332
  default: withCtx(() => [
7310
- createElementVNode("div", _hoisted_1$9, [
7333
+ createElementVNode("div", _hoisted_1$a, [
7311
7334
  createVNode(_component_NvGrid, {
7312
7335
  ref: "dicModalGrid",
7313
7336
  option: _ctx.dicModalGridOption
@@ -7320,8 +7343,8 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
7320
7343
  _: 1
7321
7344
  });
7322
7345
  }
7323
- const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-a01b6a2e"]]);
7324
- const propDefine$8 = {
7346
+ const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-a01b6a2e"]]);
7347
+ const propDefine$9 = {
7325
7348
  linkParam: {
7326
7349
  // 带入的参数
7327
7350
  type: String,
@@ -7333,14 +7356,14 @@ const propDefine$8 = {
7333
7356
  default: "-"
7334
7357
  }
7335
7358
  };
7336
- const _sfc_main$8 = defineComponent({
7359
+ const _sfc_main$9 = defineComponent({
7337
7360
  name: "Platform",
7338
7361
  components: {
7339
7362
  GeneralConfiguration
7340
7363
  },
7341
7364
  emits: [""],
7342
7365
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
7343
- props: propDefine$8,
7366
+ props: propDefine$9,
7344
7367
  setup(props, ctx) {
7345
7368
  return new PlatformInstance2(props, ctx);
7346
7369
  }
@@ -7681,8 +7704,8 @@ class PlatformInstance2 extends BaseInstance {
7681
7704
  //#endregion 系统平台编辑 END
7682
7705
  }
7683
7706
  const Platform_vue_vue_type_style_index_0_scoped_fbc0e7f2_lang = "";
7684
- const _hoisted_1$8 = { style: { "height": "550px", "overflow-y": "auto" } };
7685
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
7707
+ const _hoisted_1$9 = { style: { "height": "550px", "overflow-y": "auto" } };
7708
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
7686
7709
  const _component_NvGrid = resolveComponent("NvGrid");
7687
7710
  const _component_NvBox = resolveComponent("NvBox");
7688
7711
  const _component_NvComForm = resolveComponent("NvComForm");
@@ -7737,7 +7760,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
7737
7760
  }, 8, ["loading", "onClick"])
7738
7761
  ]),
7739
7762
  default: withCtx(() => [
7740
- createElementVNode("div", _hoisted_1$8, [
7763
+ createElementVNode("div", _hoisted_1$9, [
7741
7764
  createVNode(_component_Form, {
7742
7765
  ref: "refPlatformForm",
7743
7766
  model: _ctx.platformFormModel,
@@ -7785,8 +7808,8 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
7785
7808
  _: 1
7786
7809
  });
7787
7810
  }
7788
- const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-fbc0e7f2"]]);
7789
- const propDefine$7 = {
7811
+ const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-fbc0e7f2"]]);
7812
+ const propDefine$8 = {
7790
7813
  linkParam: {
7791
7814
  // 带入的参数
7792
7815
  type: String,
@@ -7798,12 +7821,12 @@ const propDefine$7 = {
7798
7821
  default: "-"
7799
7822
  }
7800
7823
  };
7801
- const _sfc_main$7 = defineComponent({
7824
+ const _sfc_main$8 = defineComponent({
7802
7825
  name: "Role",
7803
7826
  components: { SelectPlatform },
7804
7827
  emits: [""],
7805
7828
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
7806
- props: propDefine$7,
7829
+ props: propDefine$8,
7807
7830
  setup(props, ctx) {
7808
7831
  return new RoleInstance2(props, ctx);
7809
7832
  }
@@ -7826,6 +7849,8 @@ class RoleInstance2 extends BaseInstance {
7826
7849
  __publicField(this, "platId", ref(0));
7827
7850
  __publicField(this, "platData", ref([]));
7828
7851
  __publicField(this, "spinPlatShow", ref(false));
7852
+ __publicField(this, "webOrApp", ref(0));
7853
+ // 0:WEB 1:APP
7829
7854
  // 私有方法 | private 方法名() {}
7830
7855
  // 响应式方法 | xxx = () => {}
7831
7856
  /**
@@ -8291,7 +8316,10 @@ class RoleInstance2 extends BaseInstance {
8291
8316
  */
8292
8317
  __publicField(this, "loadModuleGridData", (searchData) => {
8293
8318
  this.moduleGrid.value.loadData(async (option) => {
8294
- const queryWrapper = QueryWrapper.create().eq("PlatformId", this.platId.value).ne("ModuleStatus", 0).orderBy(["OrderNo"]);
8319
+ const queryWrapper = QueryWrapper.create().allEq({
8320
+ "PlatformId": this.platId.value,
8321
+ "WebOrApp": this.webOrApp.value
8322
+ }).ne("ModuleStatus", 0).orderBy(["OrderNo"]);
8295
8323
  if (!this.utilities.isNull(searchData.ModuleName)) {
8296
8324
  queryWrapper.like("ModuleName", searchData.ModuleName);
8297
8325
  }
@@ -8622,21 +8650,23 @@ class RoleInstance2 extends BaseInstance {
8622
8650
  }
8623
8651
  //#endregion 导入角色 END
8624
8652
  }
8625
- const Role_vue_vue_type_style_index_0_scoped_ffab91cb_lang = "";
8626
- const _hoisted_1$7 = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
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" } };
8627
8655
  const _hoisted_2$5 = {
8628
8656
  class: "import-role",
8629
8657
  style: { "height": "610px", "position": "relative" }
8630
8658
  };
8631
8659
  const _hoisted_3$5 = { style: { "width": "100%", "height": "100%" } };
8632
8660
  const _hoisted_4$5 = { style: { "height": "530px", "overflow-y": "auto" } };
8633
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8661
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
8634
8662
  const _component_Option = resolveComponent("Option");
8635
8663
  const _component_Select = resolveComponent("Select");
8636
8664
  const _component_Spin = resolveComponent("Spin");
8637
8665
  const _component_NvControlGroup = resolveComponent("NvControlGroup");
8638
8666
  const _component_NvGrid = resolveComponent("NvGrid");
8639
8667
  const _component_NvBox = resolveComponent("NvBox");
8668
+ const _component_Radio = resolveComponent("Radio");
8669
+ const _component_RadioGroup = resolveComponent("RadioGroup");
8640
8670
  const _component_Button = resolveComponent("Button");
8641
8671
  const _component_Modal = resolveComponent("Modal");
8642
8672
  const _component_NvComForm = resolveComponent("NvComForm");
@@ -8701,7 +8731,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8701
8731
  }),
8702
8732
  createVNode(_component_Modal, {
8703
8733
  modelValue: _ctx.showRoleModule,
8704
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.showRoleModule = $event),
8734
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.showRoleModule = $event),
8705
8735
  draggable: "",
8706
8736
  mask: true,
8707
8737
  "mask-closable": false,
@@ -8712,7 +8742,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8712
8742
  footer: withCtx(() => [
8713
8743
  createVNode(_component_Button, {
8714
8744
  type: "text",
8715
- onClick: _cache[1] || (_cache[1] = ($event) => _ctx.showRoleModule = false)
8745
+ onClick: _cache[2] || (_cache[2] = ($event) => _ctx.showRoleModule = false)
8716
8746
  }, {
8717
8747
  default: withCtx(() => [
8718
8748
  createTextVNode("关闭")
@@ -8731,18 +8761,44 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8731
8761
  }, 8, ["loading", "onClick"])
8732
8762
  ]),
8733
8763
  default: withCtx(() => [
8734
- createElementVNode("div", _hoisted_1$7, [
8764
+ createElementVNode("div", _hoisted_1$8, [
8735
8765
  createVNode(_component_NvGrid, {
8736
8766
  ref: "moduleGrid",
8737
8767
  option: _ctx.moduleGridOption
8738
- }, null, 8, ["option"])
8768
+ }, {
8769
+ default: withCtx(() => [
8770
+ createVNode(_component_RadioGroup, {
8771
+ modelValue: _ctx.webOrApp,
8772
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.webOrApp = $event),
8773
+ type: "button",
8774
+ onOnChange: _ctx.loadModuleGridData
8775
+ }, {
8776
+ default: withCtx(() => [
8777
+ createVNode(_component_Radio, { label: 0 }, {
8778
+ default: withCtx(() => [
8779
+ createTextVNode("Web")
8780
+ ]),
8781
+ _: 1
8782
+ }),
8783
+ createVNode(_component_Radio, { label: 1 }, {
8784
+ default: withCtx(() => [
8785
+ createTextVNode("App")
8786
+ ]),
8787
+ _: 1
8788
+ })
8789
+ ]),
8790
+ _: 1
8791
+ }, 8, ["modelValue", "onOnChange"])
8792
+ ]),
8793
+ _: 1
8794
+ }, 8, ["option"])
8739
8795
  ])
8740
8796
  ]),
8741
8797
  _: 1
8742
8798
  }, 8, ["modelValue"]),
8743
8799
  createVNode(_component_Modal, {
8744
8800
  modelValue: _ctx.showImportRole,
8745
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => _ctx.showImportRole = $event),
8801
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => _ctx.showImportRole = $event),
8746
8802
  draggable: "",
8747
8803
  mask: true,
8748
8804
  "mask-closable": false,
@@ -8753,7 +8809,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8753
8809
  footer: withCtx(() => [
8754
8810
  createVNode(_component_Button, {
8755
8811
  type: "text",
8756
- onClick: _cache[4] || (_cache[4] = ($event) => _ctx.showImportRole = false)
8812
+ onClick: _cache[5] || (_cache[5] = ($event) => _ctx.showImportRole = false)
8757
8813
  }, {
8758
8814
  default: withCtx(() => [
8759
8815
  createTextVNode("关闭")
@@ -8781,7 +8837,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8781
8837
  default: withCtx(() => [
8782
8838
  createVNode(_component_Select, {
8783
8839
  modelValue: _ctx.originPlatform.selectedId,
8784
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => _ctx.originPlatform.selectedId = $event),
8840
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.originPlatform.selectedId = $event),
8785
8841
  onOnChange: _ctx.doChangeOriginPlatform,
8786
8842
  style: { "width": "250px" }
8787
8843
  }, {
@@ -8813,7 +8869,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8813
8869
  }, 8, ["modelValue"]),
8814
8870
  createVNode(_component_Modal, {
8815
8871
  modelValue: _ctx.showEditRole,
8816
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => _ctx.showEditRole = $event),
8872
+ "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => _ctx.showEditRole = $event),
8817
8873
  draggable: "",
8818
8874
  mask: true,
8819
8875
  "mask-closable": false,
@@ -8824,7 +8880,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8824
8880
  footer: withCtx(() => [
8825
8881
  createVNode(_component_Button, {
8826
8882
  type: "text",
8827
- onClick: _cache[6] || (_cache[6] = ($event) => _ctx.showEditRole = false)
8883
+ onClick: _cache[7] || (_cache[7] = ($event) => _ctx.showEditRole = false)
8828
8884
  }, {
8829
8885
  default: withCtx(() => [
8830
8886
  createTextVNode("关闭")
@@ -8865,8 +8921,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
8865
8921
  _: 1
8866
8922
  });
8867
8923
  }
8868
- const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-ffab91cb"]]);
8869
- const propDefine$6 = {
8924
+ const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-414834fa"]]);
8925
+ const propDefine$7 = {
8870
8926
  linkParam: {
8871
8927
  // 带入的参数
8872
8928
  type: String,
@@ -8878,12 +8934,12 @@ const propDefine$6 = {
8878
8934
  default: "-"
8879
8935
  }
8880
8936
  };
8881
- const _sfc_main$6 = defineComponent({
8937
+ const _sfc_main$7 = defineComponent({
8882
8938
  name: "Enterprise",
8883
8939
  components: { SelectPlatform },
8884
8940
  emits: [""],
8885
8941
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
8886
- props: propDefine$6,
8942
+ props: propDefine$7,
8887
8943
  setup(props, ctx) {
8888
8944
  return new EnterpriseInstance2(props, ctx);
8889
8945
  }
@@ -9294,8 +9350,8 @@ class EnterpriseInstance2 extends BaseInstance {
9294
9350
  //#endregion 业务逻辑 编辑企业信息 END
9295
9351
  }
9296
9352
  const Enterprise_vue_vue_type_style_index_0_scoped_57711b94_lang = "";
9297
- const _hoisted_1$6 = { style: { "height": "650px", "overflow-y": "auto" } };
9298
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
9353
+ const _hoisted_1$7 = { style: { "height": "650px", "overflow-y": "auto" } };
9354
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
9299
9355
  const _component_Option = resolveComponent("Option");
9300
9356
  const _component_Select = resolveComponent("Select");
9301
9357
  const _component_Spin = resolveComponent("Spin");
@@ -9397,7 +9453,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
9397
9453
  }, 8, ["loading", "onClick"])) : createCommentVNode("", true)
9398
9454
  ]),
9399
9455
  default: withCtx(() => [
9400
- createElementVNode("div", _hoisted_1$6, [
9456
+ createElementVNode("div", _hoisted_1$7, [
9401
9457
  createVNode(_component_Form, {
9402
9458
  model: _ctx.enterpriseFormModel,
9403
9459
  "label-width": 90
@@ -9420,8 +9476,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
9420
9476
  _: 1
9421
9477
  });
9422
9478
  }
9423
- const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-57711b94"]]);
9424
- const propDefine$5 = {
9479
+ const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-57711b94"]]);
9480
+ const propDefine$6 = {
9425
9481
  linkParam: {
9426
9482
  // 带入的参数
9427
9483
  type: String,
@@ -9433,12 +9489,12 @@ const propDefine$5 = {
9433
9489
  default: "-"
9434
9490
  }
9435
9491
  };
9436
- const _sfc_main$5 = defineComponent({
9492
+ const _sfc_main$6 = defineComponent({
9437
9493
  name: "Institution",
9438
9494
  components: { SelectPlatform },
9439
9495
  emits: [""],
9440
9496
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
9441
- props: propDefine$5,
9497
+ props: propDefine$6,
9442
9498
  setup(props, ctx) {
9443
9499
  return new InstitutionInstance2(props, ctx);
9444
9500
  }
@@ -10384,7 +10440,7 @@ class InstitutionInstance2 extends BaseInstance {
10384
10440
  //#endregion 绑定角色 END
10385
10441
  }
10386
10442
  const Institution_vue_vue_type_style_index_0_scoped_ed65a91d_lang = "";
10387
- const _hoisted_1$5 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
10443
+ const _hoisted_1$6 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
10388
10444
  const _hoisted_2$4 = { style: { "height": "500px", "overflow-y": "auto" } };
10389
10445
  const _hoisted_3$4 = {
10390
10446
  class: "import-institution",
@@ -10393,7 +10449,7 @@ const _hoisted_3$4 = {
10393
10449
  const _hoisted_4$4 = { style: { "width": "100%", "height": "100%" } };
10394
10450
  const _hoisted_5$4 = { style: { "height": "calc(100%)" } };
10395
10451
  const _hoisted_6$4 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
10396
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
10452
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
10397
10453
  const _component_Option = resolveComponent("Option");
10398
10454
  const _component_Select = resolveComponent("Select");
10399
10455
  const _component_Spin = resolveComponent("Spin");
@@ -10498,7 +10554,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
10498
10554
  })
10499
10555
  ]),
10500
10556
  default: withCtx(() => [
10501
- createElementVNode("div", _hoisted_1$5, [
10557
+ createElementVNode("div", _hoisted_1$6, [
10502
10558
  createVNode(_component_Tree, {
10503
10559
  data: _ctx.institutionTree,
10504
10560
  render: _ctx.renderContent,
@@ -10696,14 +10752,14 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
10696
10752
  _: 1
10697
10753
  });
10698
10754
  }
10699
- const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-ed65a91d"]]);
10700
- const propDefine$4 = {};
10701
- const _sfc_main$4 = defineComponent({
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({
10702
10758
  name: "LoginLog",
10703
10759
  components: {},
10704
10760
  emits: [""],
10705
10761
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
10706
- props: propDefine$4,
10762
+ props: propDefine$5,
10707
10763
  setup(props, ctx) {
10708
10764
  return new LoginLogInstance2(props, ctx);
10709
10765
  }
@@ -10808,18 +10864,18 @@ class LoginLogInstance2 extends BaseInstance {
10808
10864
  //#endregion 登录日志 END
10809
10865
  }
10810
10866
  const LoginLog_vue_vue_type_style_index_0_scoped_a0d5af5b_lang = "";
10811
- const _hoisted_1$4 = { class: "loginLog" };
10812
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
10867
+ const _hoisted_1$5 = { class: "loginLog" };
10868
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
10813
10869
  const _component_NvGrid = resolveComponent("NvGrid");
10814
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
10870
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
10815
10871
  createVNode(_component_NvGrid, {
10816
10872
  ref: "loginLogGrid",
10817
10873
  option: _ctx.loginLogGridOption
10818
10874
  }, null, 8, ["option"])
10819
10875
  ]);
10820
10876
  }
10821
- const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-a0d5af5b"]]);
10822
- const propDefine$3 = {
10877
+ const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-a0d5af5b"]]);
10878
+ const propDefine$4 = {
10823
10879
  linkParam: {
10824
10880
  // 带入的参数
10825
10881
  type: String,
@@ -10831,12 +10887,12 @@ const propDefine$3 = {
10831
10887
  default: "-"
10832
10888
  }
10833
10889
  };
10834
- const _sfc_main$3 = defineComponent({
10890
+ const _sfc_main$4 = defineComponent({
10835
10891
  name: "Userinfor",
10836
10892
  components: { SelectPlatform, LoginLog, BaseLogin },
10837
10893
  emits: [""],
10838
10894
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
10839
- props: propDefine$3,
10895
+ props: propDefine$4,
10840
10896
  setup(props, ctx) {
10841
10897
  return new UserinforInstance2(props, ctx);
10842
10898
  }
@@ -11286,6 +11342,7 @@ class UserinforInstance2 extends BaseInstance {
11286
11342
  this.saveingUser.value = false;
11287
11343
  return;
11288
11344
  }
11345
+ debugger;
11289
11346
  apiResult = await this.userinforApi.save(this.userFormModel);
11290
11347
  result = this.utilities.parseApiResult(apiResult);
11291
11348
  if (this.userFormModel.Id == 0) {
@@ -11907,9 +11964,9 @@ class UserinforInstance2 extends BaseInstance {
11907
11964
  // 响应式方法 | xxx = () => {}
11908
11965
  //#endregion 重置密码 END
11909
11966
  }
11910
- const Userinfor_vue_vue_type_style_index_0_scoped_4827d4a9_lang = "";
11911
- const _withScopeId$2 = (n) => (pushScopeId("data-v-4827d4a9"), n = n(), popScopeId(), n);
11912
- const _hoisted_1$3 = { class: "instree-search" };
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" };
11913
11970
  const _hoisted_2$3 = { class: "instree-list" };
11914
11971
  const _hoisted_3$3 = { style: { "height": "600px", "overflow-y": "auto" } };
11915
11972
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -11925,7 +11982,7 @@ const _hoisted_10$1 = { style: { "display": "none" } };
11925
11982
  const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
11926
11983
  const _hoisted_12 = ["src"];
11927
11984
  const _hoisted_13 = ["src"];
11928
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
11985
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
11929
11986
  const _component_Option = resolveComponent("Option");
11930
11987
  const _component_Select = resolveComponent("Select");
11931
11988
  const _component_Spin = resolveComponent("Spin");
@@ -11970,7 +12027,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
11970
12027
  })
11971
12028
  ]),
11972
12029
  default: withCtx(() => [
11973
- createElementVNode("div", _hoisted_1$3, [
12030
+ createElementVNode("div", _hoisted_1$4, [
11974
12031
  createVNode(_component_NvControlGroup, {
11975
12032
  width: "100%",
11976
12033
  icon: "md-refresh",
@@ -12029,7 +12086,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
12029
12086
  }, 8, ["onChange"]),
12030
12087
  createVNode(_component_NvBox, {
12031
12088
  width: _ctx.userBoxWidth,
12032
- title: "用户列表"
12089
+ title: "用户列表1"
12033
12090
  }, {
12034
12091
  default: withCtx(() => [
12035
12092
  createVNode(_component_NvGrid, {
@@ -12320,8 +12377,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
12320
12377
  _: 1
12321
12378
  });
12322
12379
  }
12323
- const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-4827d4a9"]]);
12324
- const propDefine$2 = {
12380
+ const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-d910e362"]]);
12381
+ const propDefine$3 = {
12325
12382
  linkParam: {
12326
12383
  // 带入的参数
12327
12384
  type: String,
@@ -12333,12 +12390,12 @@ const propDefine$2 = {
12333
12390
  default: "-"
12334
12391
  }
12335
12392
  };
12336
- const _sfc_main$2 = defineComponent({
12393
+ const _sfc_main$3 = defineComponent({
12337
12394
  name: "Module",
12338
12395
  components: { SelectPlatform },
12339
12396
  emits: ["change"],
12340
12397
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
12341
- props: propDefine$2,
12398
+ props: propDefine$3,
12342
12399
  setup(props, ctx) {
12343
12400
  return new ModuleInstance2(props, ctx);
12344
12401
  }
@@ -13188,7 +13245,7 @@ class ModuleInstance2 extends BaseInstance {
13188
13245
  }
13189
13246
  const Module_vue_vue_type_style_index_0_scoped_23a8ab5f_lang = "";
13190
13247
  const _withScopeId$1 = (n) => (pushScopeId("data-v-23a8ab5f"), n = n(), popScopeId(), n);
13191
- const _hoisted_1$2 = { style: { "height": "650px", "overflow-y": "auto" } };
13248
+ const _hoisted_1$3 = { style: { "height": "650px", "overflow-y": "auto" } };
13192
13249
  const _hoisted_2$2 = {
13193
13250
  class: "import-module",
13194
13251
  style: { "height": "650px", "position": "relative" }
@@ -13199,7 +13256,7 @@ const _hoisted_5$2 = { style: { "height": "calc(100% - 0px)" } };
13199
13256
  const _hoisted_6$2 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
13200
13257
  const _hoisted_7$2 = { style: { "height": "calc(100% - 0px)" } };
13201
13258
  const _hoisted_8$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
13202
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
13259
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
13203
13260
  const _component_Option = resolveComponent("Option");
13204
13261
  const _component_Select = resolveComponent("Select");
13205
13262
  const _component_Spin = resolveComponent("Spin");
@@ -13322,7 +13379,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
13322
13379
  }, 8, ["loading", "onClick"])
13323
13380
  ]),
13324
13381
  default: withCtx(() => [
13325
- createElementVNode("div", _hoisted_1$2, [
13382
+ createElementVNode("div", _hoisted_1$3, [
13326
13383
  createVNode(_component_Form, {
13327
13384
  model: _ctx.moduleFormModel,
13328
13385
  "label-width": 90
@@ -13457,7 +13514,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
13457
13514
  _: 1
13458
13515
  });
13459
13516
  }
13460
- const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-23a8ab5f"]]);
13517
+ const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-23a8ab5f"]]);
13461
13518
  const type = "FeatureCollection";
13462
13519
  const features = [
13463
13520
  {
@@ -26019,7 +26076,7 @@ const shanxi = {
26019
26076
  crs
26020
26077
  };
26021
26078
  const style = "";
26022
- const propDefine$1 = {
26079
+ const propDefine$2 = {
26023
26080
  linkParam: {
26024
26081
  // 带入的参数
26025
26082
  type: String,
@@ -26031,12 +26088,12 @@ const propDefine$1 = {
26031
26088
  default: "-"
26032
26089
  }
26033
26090
  };
26034
- const _sfc_main$1 = defineComponent({
26091
+ const _sfc_main$2 = defineComponent({
26035
26092
  name: "Sublinepoins",
26036
26093
  components: { SelectPlatform, NvMap },
26037
26094
  emits: [""],
26038
26095
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
26039
- props: propDefine$1,
26096
+ props: propDefine$2,
26040
26097
  setup(props, ctx) {
26041
26098
  return new ProjectUserinforInstance$1(props, ctx);
26042
26099
  }
@@ -26189,7 +26246,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26189
26246
  this.NvMap1.value.setCenter([item.Latitude, item.Longitude]);
26190
26247
  });
26191
26248
  /** 删除点 */
26192
- __publicField(this, "removePoint", async (item, delectAll) => {
26249
+ __publicField(this, "removePoint", async (delectAll, item) => {
26193
26250
  let res2;
26194
26251
  if (delectAll) {
26195
26252
  const ids = this.pointData.value.map((e) => {
@@ -26501,8 +26558,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
26501
26558
  }
26502
26559
  //#endregion 系统平台 END
26503
26560
  };
26504
- const Sublinepoins_vue_vue_type_style_index_0_scoped_6b0359ae_lang = "";
26505
- const _hoisted_1$1 = { class: "instree-search" };
26561
+ const Sublinepoins_vue_vue_type_style_index_0_scoped_66a288c7_lang = "";
26562
+ const _hoisted_1$2 = { class: "instree-search" };
26506
26563
  const _hoisted_2$1 = { class: "instree-list" };
26507
26564
  const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
26508
26565
  const _hoisted_4$1 = {
@@ -26514,7 +26571,7 @@ const _hoisted_6$1 = ["onClick"];
26514
26571
  const _hoisted_7$1 = { style: { "font-size": "16px" } };
26515
26572
  const _hoisted_8$1 = ["onClick"];
26516
26573
  const _hoisted_9$1 = { style: { "height": "450px" } };
26517
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
26574
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
26518
26575
  const _component_Option = resolveComponent("Option");
26519
26576
  const _component_Select = resolveComponent("Select");
26520
26577
  const _component_Spin = resolveComponent("Spin");
@@ -26555,7 +26612,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
26555
26612
  })
26556
26613
  ]),
26557
26614
  default: withCtx(() => [
26558
- createElementVNode("div", _hoisted_1$1, [
26615
+ createElementVNode("div", _hoisted_1$2, [
26559
26616
  createVNode(_component_NvControlGroup, {
26560
26617
  width: "100%",
26561
26618
  icon: "md-refresh",
@@ -26678,7 +26735,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
26678
26735
  createVNode(_component_Button, {
26679
26736
  type: "error",
26680
26737
  ghost: "",
26681
- onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.removePoint(_ctx.item, true), ["stop"]))
26738
+ onClick: _cache[3] || (_cache[3] = withModifiers(($event) => _ctx.removePoint(true), ["stop"]))
26682
26739
  }, {
26683
26740
  default: withCtx(() => [
26684
26741
  createTextVNode("删除全部")
@@ -26701,7 +26758,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
26701
26758
  createElementVNode("div", {
26702
26759
  style: { "color": "red" },
26703
26760
  class: "nv-c-p",
26704
- onClick: withModifiers(($event) => _ctx.removePoint(item, false), ["stop"])
26761
+ onClick: withModifiers(($event) => _ctx.removePoint(false, item), ["stop"])
26705
26762
  }, "删除", 8, _hoisted_8$1)
26706
26763
  ], 8, _hoisted_6$1);
26707
26764
  }), 128))
@@ -26748,7 +26805,445 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
26748
26805
  _: 1
26749
26806
  });
26750
26807
  }
26751
- const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-6b0359ae"]]);
26808
+ const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-66a288c7"]]);
26809
+ const propDefine$1 = {
26810
+ Id: {
26811
+ default: 0,
26812
+ type: Number
26813
+ }
26814
+ // platformId: {
26815
+ // type: Number,
26816
+ // default: 0,
26817
+ // },
26818
+ // configType: {
26819
+ // type: String,
26820
+ // default: '',
26821
+ // }
26822
+ };
26823
+ const _sfc_main$1 = defineComponent({
26824
+ name: "ProjectSummary",
26825
+ components: {
26826
+ NvComFormUp
26827
+ },
26828
+ emits: ["close", "update"],
26829
+ // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
26830
+ props: propDefine$1,
26831
+ setup(props, ctx) {
26832
+ return new ProjectSummaryInstance(props, ctx);
26833
+ }
26834
+ });
26835
+ class ProjectSummaryInstance extends BaseInstance {
26836
+ // 概况类型 GC :项目概况, BD :标段概况
26837
+ constructor(props, ctx) {
26838
+ super();
26839
+ __publicField(this, "props");
26840
+ __publicField(this, "ctx");
26841
+ // API实例化
26842
+ __publicField(this, "corePlatformConfigApi", new CorePlatformConfigApi());
26843
+ __publicField(this, "projectSummaryApi", new ProjectSummaryApi());
26844
+ // private mainApi = new BF_PedestalApi()
26845
+ __publicField(this, "provinceApi", new ProvinceApi());
26846
+ __publicField(this, "cityApi", new CityApi());
26847
+ __publicField(this, "areaApi", new AreaApi());
26848
+ // 全局属性
26849
+ /**机构数据 */
26850
+ __publicField(this, "business", this.storageInfo.getCurrentInsTree());
26851
+ // 机构树
26852
+ __publicField(this, "platformId", this.storageInfo.getCurrentPlatform().Id);
26853
+ // 平台Id
26854
+ __publicField(this, "configType", "GC");
26855
+ //#region 业务逻辑
26856
+ // 私有属性 | private
26857
+ // 响应属性 | ref、reactive、computed、watch
26858
+ __publicField(this, "refbigform", ref());
26859
+ __publicField(this, "isShowSpin", ref(false));
26860
+ __publicField(this, "isShowForm", ref(true));
26861
+ __publicField(this, "nowData", reactive({
26862
+ Id: 0,
26863
+ CreateUserId: 0,
26864
+ CreateUserName: "",
26865
+ CreateDate: "",
26866
+ Province: "",
26867
+ City: "",
26868
+ Area: ""
26869
+ }));
26870
+ __publicField(this, "mainSaveFunLoading", ref(false));
26871
+ __publicField(this, "mainFormRef", ref());
26872
+ __publicField(this, "mainFormModel", reactive({
26873
+ Id: 0,
26874
+ Province: "",
26875
+ City: "",
26876
+ Area: ""
26877
+ }));
26878
+ __publicField(this, "mainFormItems", reactive([
26879
+ // { model: 'MemorabiliaContent', label: '大事记内容', prop: 'MemorabiliaContent', type: 'TextEditor', textHeight: 250, span: 24 },
26880
+ ]));
26881
+ __publicField(this, "mainRules", reactive({
26882
+ ProjectName: [
26883
+ { required: true, message: "", trigger: "blur" }
26884
+ ]
26885
+ }));
26886
+ // 响应式方法 | xxx = () => {}
26887
+ // doBtnClick2 = () = {}
26888
+ /**保存数据 */
26889
+ __publicField(this, "mainSaveFun", async () => {
26890
+ this.mainFormRef.value.validate(async (valid) => {
26891
+ var _a, _b, _c, _d, _e, _f;
26892
+ if (valid) {
26893
+ this.mainSaveFunLoading.value = true;
26894
+ let saveObj = {
26895
+ Id: this.nowData.Id == 0 ? 0 : this.nowData.Id,
26896
+ PlatformId: this.platformId,
26897
+ PlatformName: this.storageInfo.getCurrentPlatform().PlatformName,
26898
+ InsTreeId: (_a = this.business) == null ? void 0 : _a.Id,
26899
+ InstitutionId: (_b = this.business) == null ? void 0 : _b.InstitutionId,
26900
+ InsName: (_c = this.business) == null ? void 0 : _c.InstitutionName,
26901
+ DataType: this.configType == "GC" ? 1 : this.configType == "BD" ? 2 : 0,
26902
+ ConfigData: JSON.stringify(this.utilities.deepCopy(this.mainFormModel)),
26903
+ CreateUserId: this.nowData.Id == 0 ? this.storageInfo.getUser().Id : (_d = this.nowData) == null ? void 0 : _d.CreateUserId,
26904
+ CreateUserName: this.nowData.Id == 0 ? this.storageInfo.getUser().UserName : (_e = this.nowData) == null ? void 0 : _e.CreateUserName,
26905
+ CreateDate: this.nowData.Id == 0 ? this.utilities.getCurrentDate() : (_f = this.nowData) == null ? void 0 : _f.CreateDate,
26906
+ UpdateDate: this.utilities.getCurrentDate(),
26907
+ Province: this.mainFormModel.Province,
26908
+ City: this.mainFormModel.City,
26909
+ Area: this.mainFormModel.Area
26910
+ };
26911
+ this.refbigform.value.saveTextData();
26912
+ const res = this.utilities.parseApiResult(await this.projectSummaryApi.save(saveObj));
26913
+ if (res && res > 0) {
26914
+ this.message.success("保存成功!");
26915
+ this.init();
26916
+ } else {
26917
+ this.message.error("保存失败,请稍后重试!");
26918
+ }
26919
+ this.mainSaveFunLoading.value = false;
26920
+ }
26921
+ });
26922
+ });
26923
+ //#endregion 业务逻辑 END
26924
+ //#region 省市区
26925
+ // 私有属性 | private
26926
+ // private business2Test1: number = 0;
26927
+ __publicField(this, "provinces", []);
26928
+ __publicField(this, "cities", []);
26929
+ __publicField(this, "areas", []);
26930
+ __publicField(this, "provinceList", []);
26931
+ __publicField(this, "cityList", []);
26932
+ __publicField(this, "areaList", []);
26933
+ // 响应属性 | ref、reactive、computed、watch
26934
+ // refTest2 = ref(0);
26935
+ __publicField(this, "provinceIndex", ref(null));
26936
+ __publicField(this, "cityIndex", ref(null));
26937
+ __publicField(this, "areaIndex", ref(null));
26938
+ this.props = props;
26939
+ this.ctx = ctx;
26940
+ this.init();
26941
+ }
26942
+ async init() {
26943
+ await this.useArea();
26944
+ await this.loadPlatformConfig();
26945
+ }
26946
+ // 私有方法 | private 方法名() {}
26947
+ /** 根据平台id 获取项目概况配置信息 */
26948
+ async loadPlatformConfig() {
26949
+ let res = this.utilities.parseApiResult(await this.corePlatformConfigApi.getEntities(QueryWrapper.create().eq("PlatformId", this.platformId)));
26950
+ if (res && res.length > 0) {
26951
+ let arr = this.configType == "GC" ? JSON.parse(res[0].ProjectConfig) : this.configType == "BD" ? JSON.parse(res[0].ConstructConfig) : [];
26952
+ if (arr && arr.length > 0) {
26953
+ this.isShowForm.value = true;
26954
+ this.isShowSpin.value = true;
26955
+ arr.forEach((x, i) => {
26956
+ if (x.type == "region") {
26957
+ let regionArr = [
26958
+ {
26959
+ label: "省份",
26960
+ type: "Select",
26961
+ model: "Province",
26962
+ prop: "Province",
26963
+ orderNum: x.orderNum,
26964
+ span: x.span,
26965
+ selectProp: {
26966
+ datas: [],
26967
+ onChange: (event, item) => {
26968
+ this.setCityDatas(event);
26969
+ this.setAreaDatas("");
26970
+ },
26971
+ transfer: true,
26972
+ filterable: true
26973
+ },
26974
+ rules: x.requiredd == 1 ? [
26975
+ { required: true, message: "省份不能为空", trigger: "change" }
26976
+ ] : []
26977
+ },
26978
+ {
26979
+ label: "城市",
26980
+ type: "Select",
26981
+ model: "City",
26982
+ prop: "City",
26983
+ orderNum: x.orderNum,
26984
+ span: x.span,
26985
+ selectProp: {
26986
+ datas: [],
26987
+ onChange: (event, item) => {
26988
+ this.setAreaDatas(event);
26989
+ },
26990
+ transfer: true,
26991
+ filterable: true
26992
+ },
26993
+ rules: x.requiredd == 1 ? [
26994
+ { required: true, message: "城市不能为空", trigger: "change" }
26995
+ ] : []
26996
+ },
26997
+ {
26998
+ label: "区县",
26999
+ type: "Select",
27000
+ model: "Area",
27001
+ prop: "Area",
27002
+ orderNum: x.orderNum,
27003
+ span: x.span,
27004
+ selectProp: {
27005
+ datas: [],
27006
+ transfer: true,
27007
+ filterable: true
27008
+ },
27009
+ rules: x.requiredd == 1 ? [
27010
+ { required: true, message: "区县不能为空", trigger: "change" }
27011
+ ] : []
27012
+ }
27013
+ ];
27014
+ arr.splice(i, 1, ...regionArr);
27015
+ }
27016
+ if (x.requiredd > 0) {
27017
+ switch (x.type) {
27018
+ case "Input":
27019
+ x.rules = [
27020
+ { required: true, message: x.message, trigger: "blur" }
27021
+ ];
27022
+ break;
27023
+ case "DatePicker":
27024
+ x.rules = [
27025
+ { required: true, type: "date", message: x.message, trigger: "change" }
27026
+ ];
27027
+ break;
27028
+ case "InputNumber":
27029
+ x.rules = [
27030
+ { required: true, type: "number", message: x.message, trigger: "change" }
27031
+ ];
27032
+ break;
27033
+ }
27034
+ }
27035
+ });
27036
+ arr = this.utilities.deepCopy(arr).sort((a, b) => a.orderNum - b.orderNum);
27037
+ } else {
27038
+ this.isShowForm.value = false;
27039
+ return;
27040
+ }
27041
+ this.mainFormItems.splice(0, this.mainFormItems.length, ...arr);
27042
+ console.log("xxxxxxxxxxxxx", this.mainFormItems);
27043
+ this.mainFormItems.forEach((x, i) => {
27044
+ if (x.model == "Province") {
27045
+ this.provinceIndex.value = i;
27046
+ }
27047
+ if (x.model == "City") {
27048
+ this.cityIndex.value = i;
27049
+ }
27050
+ if (x.model == "Area") {
27051
+ this.areaIndex.value = i;
27052
+ }
27053
+ });
27054
+ this.getForm(this.mainFormItems);
27055
+ } else {
27056
+ this.isShowForm.value = false;
27057
+ return;
27058
+ }
27059
+ }
27060
+ /** 获取表单 */
27061
+ async getForm(formList) {
27062
+ let formObj = {};
27063
+ formList.forEach((x) => {
27064
+ switch (x.type) {
27065
+ case "Input":
27066
+ formObj[x.model] = "";
27067
+ break;
27068
+ case "InputNumber":
27069
+ formObj[x.model] = 0;
27070
+ break;
27071
+ case "DatePicker":
27072
+ formObj[x.model] = "";
27073
+ break;
27074
+ case "TimePicker":
27075
+ formObj[x.model] = "";
27076
+ break;
27077
+ case "UploadFile":
27078
+ formObj[x.model] = this.utilities.getUniqueCode();
27079
+ break;
27080
+ case "TextEditor":
27081
+ formObj[x.model] = this.utilities.getUniqueCode();
27082
+ break;
27083
+ }
27084
+ });
27085
+ Object.assign(this.mainFormModel, formObj);
27086
+ await this.loadMainData();
27087
+ }
27088
+ /** 获取主表数据 */
27089
+ async loadMainData() {
27090
+ var _a, _b;
27091
+ let res = this.utilities.parseApiResult(await this.projectSummaryApi.getEntities(QueryWrapper.create().allEq({
27092
+ PlatformId: this.platformId,
27093
+ InsTreeId: (_a = this.business) == null ? void 0 : _a.Id,
27094
+ InstitutionId: (_b = this.business) == null ? void 0 : _b.InstitutionId,
27095
+ DataType: this.configType == "GC" ? 1 : this.configType == "BD" ? 2 : 0
27096
+ })));
27097
+ if (res) {
27098
+ if (res.length > 0) {
27099
+ console.log("表单数据xxxx", res);
27100
+ Object.assign(this.nowData, res[0]);
27101
+ let formData = JSON.parse(res[0].ConfigData);
27102
+ console.log("xxxxxxxxxx解析json", formData);
27103
+ Object.assign(formData, {
27104
+ Province: res[0].Province ? res[0].Province : "",
27105
+ City: res[0].City ? res[0].City : "",
27106
+ Area: res[0].Area ? res[0].Area : ""
27107
+ });
27108
+ Object.assign(this.mainFormModel, formData);
27109
+ this.setProvinceDatas();
27110
+ this.setCityDatas(res[0].Province ? res[0].Province : "");
27111
+ this.setAreaDatas(res[0].City ? res[0].City : "");
27112
+ console.log("表单主数据", this.mainFormModel);
27113
+ setTimeout(() => {
27114
+ this.isShowSpin.value = false;
27115
+ }, 500);
27116
+ } else {
27117
+ setTimeout(() => {
27118
+ this.isShowSpin.value = false;
27119
+ }, 500);
27120
+ }
27121
+ } else {
27122
+ setTimeout(() => {
27123
+ this.isShowSpin.value = false;
27124
+ }, 500);
27125
+ this.message.error("请求数据出错,请联系管理员");
27126
+ }
27127
+ }
27128
+ // 私有方法 | private 方法名() {}
27129
+ // private test2() {}
27130
+ /**
27131
+ * 初始化区域
27132
+ */
27133
+ async useArea() {
27134
+ let apiResult = await this.provinceApi.getEntities(QueryWrapper.create().eq("1", "1"));
27135
+ this.provinces = this.utilities.parseApiResult(apiResult);
27136
+ apiResult = await this.cityApi.getEntities(QueryWrapper.create().eq("1", "1"));
27137
+ this.cities = this.utilities.parseApiResult(apiResult);
27138
+ apiResult = await this.areaApi.getEntities(QueryWrapper.create().eq("1", "1"));
27139
+ this.areas = this.utilities.parseApiResult(apiResult);
27140
+ }
27141
+ /**
27142
+ * 设置省
27143
+ */
27144
+ setProvinceDatas() {
27145
+ if (!this.utilities.isNull(this.provinceIndex.value)) {
27146
+ this.mainFormItems[this.provinceIndex.value].selectProp.datas = this.provinces.map((item) => {
27147
+ return { text: item.ProvinceName, value: item.ProvinceCode };
27148
+ });
27149
+ }
27150
+ }
27151
+ /**
27152
+ * 设置市
27153
+ * @param province
27154
+ */
27155
+ setCityDatas(province) {
27156
+ if (!this.utilities.isNull(this.cityIndex.value)) {
27157
+ this.mainFormItems[this.cityIndex.value].selectProp.datas = this.cities.filter((item) => item.ProvinceCode == province).map((item) => {
27158
+ return { text: item.CityName, value: item.CityCode };
27159
+ });
27160
+ }
27161
+ }
27162
+ /**
27163
+ * 设置区
27164
+ * @param city
27165
+ */
27166
+ setAreaDatas(city) {
27167
+ if (!this.utilities.isNull(this.areaIndex.value)) {
27168
+ this.mainFormItems[this.areaIndex.value].selectProp.datas = this.areas.filter((item) => item.CityCode == city).map((item) => {
27169
+ return { text: item.AreaName, value: item.AreaCode };
27170
+ });
27171
+ }
27172
+ }
27173
+ // 响应式方法 | xxx = () => {}
27174
+ // doBtnClick2 = () = {}
27175
+ //#endregion 省市区 END
27176
+ }
27177
+ const ProjectSummary_vue_vue_type_style_index_0_scoped_73dcbb30_lang = "";
27178
+ const _hoisted_1$1 = { class: "form-box" };
27179
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
27180
+ const _component_Spin = resolveComponent("Spin");
27181
+ const _component_NvComFormUp = resolveComponent("NvComFormUp");
27182
+ const _component_Form = resolveComponent("Form");
27183
+ const _component_NvButton = resolveComponent("NvButton");
27184
+ const _component_NvBox = resolveComponent("NvBox");
27185
+ const _component_NvPage = resolveComponent("NvPage");
27186
+ return openBlock(), createBlock(_component_NvPage, {
27187
+ gutter: 8,
27188
+ class: "page"
27189
+ }, {
27190
+ default: withCtx(() => [
27191
+ _ctx.isShowForm ? (openBlock(), createBlock(_component_NvBox, {
27192
+ key: 0,
27193
+ title: ""
27194
+ }, {
27195
+ footer: withCtx(() => [
27196
+ createVNode(_component_NvButton, {
27197
+ loading: _ctx.mainSaveFunLoading,
27198
+ onClick: _ctx.mainSaveFun,
27199
+ type: "primary"
27200
+ }, {
27201
+ default: withCtx(() => [
27202
+ createTextVNode("保存")
27203
+ ]),
27204
+ _: 1
27205
+ }, 8, ["loading", "onClick"])
27206
+ ]),
27207
+ default: withCtx(() => [
27208
+ _ctx.isShowSpin ? (openBlock(), createBlock(_component_Spin, {
27209
+ key: 0,
27210
+ fix: ""
27211
+ }, {
27212
+ default: withCtx(() => [
27213
+ createTextVNode("加载中...")
27214
+ ]),
27215
+ _: 1
27216
+ })) : createCommentVNode("", true),
27217
+ createElementVNode("div", _hoisted_1$1, [
27218
+ createVNode(_component_Form, {
27219
+ ref: "mainFormRef",
27220
+ model: _ctx.mainFormModel,
27221
+ "label-width": 115
27222
+ }, {
27223
+ default: withCtx(() => [
27224
+ _ctx.isShowForm && !_ctx.isShowSpin ? (openBlock(), createBlock(_component_NvComFormUp, {
27225
+ key: 0,
27226
+ ref: "refbigform",
27227
+ formModel: _ctx.mainFormModel,
27228
+ formItems: _ctx.mainFormItems
27229
+ }, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
27230
+ ]),
27231
+ _: 1
27232
+ }, 8, ["model"])
27233
+ ])
27234
+ ]),
27235
+ _: 1
27236
+ })) : (openBlock(), createBlock(_component_NvBox, { key: 1 }, {
27237
+ default: withCtx(() => [
27238
+ createTextVNode(" 暂未配置项目概况,请联系管理员配置! ")
27239
+ ]),
27240
+ _: 1
27241
+ }))
27242
+ ]),
27243
+ _: 1
27244
+ });
27245
+ }
27246
+ const ProjectSummary = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-73dcbb30"]]);
26752
27247
  const propDefine = {
26753
27248
  linkParam: {
26754
27249
  // 带入的参数
@@ -27207,6 +27702,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
27207
27702
  this.saveingUser.value = false;
27208
27703
  return;
27209
27704
  }
27705
+ debugger;
27210
27706
  apiResult = await this.userinforApi.save(this.userFormModel);
27211
27707
  result = this.utilities.parseApiResult(apiResult);
27212
27708
  if (this.userFormModel.Id == 0) {
@@ -28278,6 +28774,11 @@ const index = [
28278
28774
  // 地图定点
28279
28775
  path: "/permission-service/institution/sublinepoins",
28280
28776
  component: sublinepoins
28777
+ },
28778
+ {
28779
+ // 项目概况
28780
+ path: "/permission-service/projectSummary/ProjectSummary",
28781
+ component: ProjectSummary
28281
28782
  }
28282
28783
  ];
28283
28784
  export {