@newview/permission-service 1.2.56 → 1.2.58

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.
@@ -14,6 +14,7 @@ import { NvComFormUp } from "@newview/file-ui";
14
14
  import { SignTaskInfoApi } from "@newview/casign-api";
15
15
  import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
16
16
  import { FileApi, OSSFileApi, FileInfoApi } from "@newview/fileservice-api";
17
+ import "@newview/tools";
17
18
  import { NvMap } from "@newview/map";
18
19
  class DBCenterBaseApi extends BaseApi {
19
20
  get ProxyName() {
@@ -44,7 +45,7 @@ class CorePlatformConfigApi extends DBCenterBaseApi {
44
45
  this.addHeader("tableName", "core_platform_config");
45
46
  }
46
47
  }
47
- const propDefine$n = {
48
+ const propDefine$o = {
48
49
  linkParam: {
49
50
  // 带入的参数
50
51
  type: String,
@@ -56,12 +57,12 @@ const propDefine$n = {
56
57
  default: "-"
57
58
  }
58
59
  };
59
- const _sfc_main$n = defineComponent({
60
+ const _sfc_main$o = defineComponent({
60
61
  name: "Platform",
61
62
  components: {},
62
63
  emits: [""],
63
64
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
64
- props: propDefine$n,
65
+ props: propDefine$o,
65
66
  setup(props, ctx) {
66
67
  return new PlatformInstance$1(props, ctx);
67
68
  }
@@ -555,13 +556,13 @@ const _export_sfc = (sfc, props) => {
555
556
  }
556
557
  return target;
557
558
  };
558
- const _hoisted_1$m = {
559
+ const _hoisted_1$n = {
559
560
  class: "nv-flex",
560
561
  style: { "justify-content": "space-between" }
561
562
  };
562
563
  const _hoisted_2$c = { style: { "height": "600px", "overflow-y": "auto" } };
563
564
  const _hoisted_3$c = { style: { "height": "400px", "overflow-y": "auto" } };
564
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
565
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
565
566
  const _component_NvList = resolveComponent("NvList");
566
567
  const _component_Icon = resolveComponent("Icon");
567
568
  const _component_Space = resolveComponent("Space");
@@ -583,7 +584,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
583
584
  "show-arrow": true
584
585
  }, {
585
586
  footer: withCtx(() => [
586
- createElementVNode("div", _hoisted_1$m, [
587
+ createElementVNode("div", _hoisted_1$n, [
587
588
  createVNode(_component_Space, null, {
588
589
  default: withCtx(() => [
589
590
  createVNode(_component_Icon, {
@@ -779,8 +780,8 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
779
780
  _: 1
780
781
  });
781
782
  }
782
- const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-7e8dbe7a"]]);
783
- const propDefine$m = {
783
+ const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-7e8dbe7a"]]);
784
+ const propDefine$n = {
784
785
  linkParam: {
785
786
  // 带入的参数
786
787
  type: String,
@@ -792,12 +793,12 @@ const propDefine$m = {
792
793
  default: "-"
793
794
  }
794
795
  };
795
- const _sfc_main$m = defineComponent({
796
+ const _sfc_main$n = defineComponent({
796
797
  name: "Module",
797
798
  components: { SelectPlatform },
798
799
  emits: ["change"],
799
800
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
800
- props: propDefine$m,
801
+ props: propDefine$n,
801
802
  setup(props, ctx) {
802
803
  return new ModuleInstance$1(props, ctx);
803
804
  }
@@ -938,7 +939,8 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
938
939
  const dict = {
939
940
  0: "路由",
940
941
  1: "链接",
941
- 2: "低代码"
942
+ 2: "低代码",
943
+ 3: "静态图片"
942
944
  };
943
945
  return dict[params.row["LoadMode"]];
944
946
  }
@@ -1113,7 +1115,8 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
1113
1115
  datas: [
1114
1116
  { text: "路由", value: 0 },
1115
1117
  { text: "链接", value: 1 },
1116
- { text: "低代码", value: 3 }
1118
+ { text: "低代码", value: 2 },
1119
+ { text: "静态图片", value: 3 }
1117
1120
  ]
1118
1121
  }
1119
1122
  },
@@ -1623,7 +1626,7 @@ let ModuleInstance$1 = class ModuleInstance extends BaseInstance {
1623
1626
  };
1624
1627
  const Module_vue_vue_type_style_index_0_scoped_e41c07fc_lang = "";
1625
1628
  const _withScopeId$6 = (n) => (pushScopeId("data-v-e41c07fc"), n = n(), popScopeId(), n);
1626
- const _hoisted_1$l = { style: { "height": "650px", "overflow-y": "auto" } };
1629
+ const _hoisted_1$m = { style: { "height": "650px", "overflow-y": "auto" } };
1627
1630
  const _hoisted_2$b = {
1628
1631
  class: "import-module",
1629
1632
  style: { "height": "650px", "position": "relative" }
@@ -1634,7 +1637,7 @@ const _hoisted_5$9 = { style: { "height": "calc(100% - 0px)" } };
1634
1637
  const _hoisted_6$9 = { style: { "width": "calc(100% - 570px)", "height": "100%", "margin-left": "10px", "display": "inline-block" } };
1635
1638
  const _hoisted_7$7 = { style: { "height": "calc(100% - 0px)" } };
1636
1639
  const _hoisted_8$7 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "点击选择要放置的位置!", -1));
1637
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1640
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
1638
1641
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
1639
1642
  const _component_Radio = resolveComponent("Radio");
1640
1643
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -1722,7 +1725,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1722
1725
  }, 8, ["loading", "onClick"])
1723
1726
  ]),
1724
1727
  default: withCtx(() => [
1725
- createElementVNode("div", _hoisted_1$l, [
1728
+ createElementVNode("div", _hoisted_1$m, [
1726
1729
  createVNode(_component_Form, {
1727
1730
  model: _ctx.moduleFormModel,
1728
1731
  "label-width": 90
@@ -1857,8 +1860,8 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
1857
1860
  _: 1
1858
1861
  });
1859
1862
  }
1860
- const Module = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-e41c07fc"]]);
1861
- const propDefine$l = {
1863
+ const Module = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n], ["__scopeId", "data-v-e41c07fc"]]);
1864
+ const propDefine$m = {
1862
1865
  linkParam: {
1863
1866
  // 带入的参数
1864
1867
  type: String,
@@ -1870,12 +1873,12 @@ const propDefine$l = {
1870
1873
  default: "-"
1871
1874
  }
1872
1875
  };
1873
- const _sfc_main$l = defineComponent({
1876
+ const _sfc_main$m = defineComponent({
1874
1877
  name: "Role",
1875
1878
  components: { SelectPlatform },
1876
1879
  emits: [""],
1877
1880
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
1878
- props: propDefine$l,
1881
+ props: propDefine$m,
1879
1882
  setup(props, ctx) {
1880
1883
  return new RoleInstance$1(props, ctx);
1881
1884
  }
@@ -2320,7 +2323,6 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2320
2323
  if (value) {
2321
2324
  params.row.IsChk = value;
2322
2325
  this.setRoleModuleIsChange(params.row);
2323
- this.changeParentRoleModuleStatus(params.row);
2324
2326
  }
2325
2327
  }
2326
2328
  }, () => chkList);
@@ -2606,13 +2608,13 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2606
2608
  isChange = true;
2607
2609
  } else {
2608
2610
  for (const item of data.OrgRoleOperates) {
2609
- if (data.RoleOperates.filter((d) => d == item).length == 0) {
2611
+ if (data.RoleOperates.filter((d2) => d2 == item).length == 0) {
2610
2612
  isChange = true;
2611
2613
  break;
2612
2614
  }
2613
2615
  }
2614
2616
  for (const item of data.RoleOperates) {
2615
- if (data.OrgRoleOperates.filter((d) => d == item).length == 0) {
2617
+ if (data.OrgRoleOperates.filter((d2) => d2 == item).length == 0) {
2616
2618
  isChange = true;
2617
2619
  break;
2618
2620
  }
@@ -2628,7 +2630,7 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2628
2630
  const datas = this.moduleGrid.value.getDatas();
2629
2631
  const parentDatas = datas.filter((item) => item.Id == data.PId && item.IsChk == !data.IsChk);
2630
2632
  for (const item of parentDatas) {
2631
- item.IsChk = data.IsChk == false ? datas.filter((d) => d.PId == item.Id && d.IsChk == true).length > 0 : true;
2633
+ item.IsChk = data.IsChk == false ? datas.filter((d2) => d2.PId == item.Id && d2.IsChk == true).length > 0 : true;
2632
2634
  this.setRoleModuleIsChange(item);
2633
2635
  this.changeParentRoleModuleStatus(item);
2634
2636
  }
@@ -2667,14 +2669,14 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2667
2669
  //#endregion 导入角色 END
2668
2670
  };
2669
2671
  const Role_vue_vue_type_style_index_0_scoped_a12a6a42_lang = "";
2670
- const _hoisted_1$k = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
2672
+ const _hoisted_1$l = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
2671
2673
  const _hoisted_2$a = {
2672
2674
  class: "import-role",
2673
2675
  style: { "height": "610px", "position": "relative" }
2674
2676
  };
2675
2677
  const _hoisted_3$a = { style: { "width": "100%", "height": "100%" } };
2676
2678
  const _hoisted_4$a = { style: { "height": "530px", "overflow-y": "auto" } };
2677
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2679
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
2678
2680
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
2679
2681
  const _component_NvGrid = resolveComponent("NvGrid");
2680
2682
  const _component_NvBox = resolveComponent("NvBox");
@@ -2740,7 +2742,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2740
2742
  }, 8, ["loading", "onClick"])
2741
2743
  ]),
2742
2744
  default: withCtx(() => [
2743
- createElementVNode("div", _hoisted_1$k, [
2745
+ createElementVNode("div", _hoisted_1$l, [
2744
2746
  createVNode(_component_NvGrid, {
2745
2747
  ref: "moduleGrid",
2746
2748
  option: _ctx.moduleGridOption
@@ -2874,8 +2876,8 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
2874
2876
  _: 1
2875
2877
  });
2876
2878
  }
2877
- const Role = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-a12a6a42"]]);
2878
- const propDefine$k = {
2879
+ const Role = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-a12a6a42"]]);
2880
+ const propDefine$l = {
2879
2881
  linkParam: {
2880
2882
  // 带入的参数
2881
2883
  type: String,
@@ -2887,12 +2889,12 @@ const propDefine$k = {
2887
2889
  default: "-"
2888
2890
  }
2889
2891
  };
2890
- const _sfc_main$k = defineComponent({
2892
+ const _sfc_main$l = defineComponent({
2891
2893
  name: "InstitutionType",
2892
2894
  components: {},
2893
2895
  emits: [""],
2894
2896
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
2895
- props: propDefine$k,
2897
+ props: propDefine$l,
2896
2898
  setup(props, ctx) {
2897
2899
  return new InstitutionTypeInstance(props, ctx);
2898
2900
  }
@@ -3094,8 +3096,8 @@ class InstitutionTypeInstance extends BaseInstance {
3094
3096
  //#endregion 编辑机构类型 END
3095
3097
  }
3096
3098
  const InstitutionType_vue_vue_type_style_index_0_scoped_947fe129_lang = "";
3097
- const _hoisted_1$j = { style: { "height": "350px", "overflow-y": "auto" } };
3098
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
3099
+ const _hoisted_1$k = { style: { "height": "350px", "overflow-y": "auto" } };
3100
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
3099
3101
  const _component_NvGrid = resolveComponent("NvGrid");
3100
3102
  const _component_NvBox = resolveComponent("NvBox");
3101
3103
  const _component_NvComForm = resolveComponent("NvComForm");
@@ -3148,7 +3150,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
3148
3150
  }, 8, ["loading", "onClick"])
3149
3151
  ]),
3150
3152
  default: withCtx(() => [
3151
- createElementVNode("div", _hoisted_1$j, [
3153
+ createElementVNode("div", _hoisted_1$k, [
3152
3154
  createVNode(_component_Form, {
3153
3155
  ref: "refInstitutionTypeForm",
3154
3156
  model: _ctx.institutionTypeFormModel,
@@ -3170,8 +3172,8 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
3170
3172
  _: 1
3171
3173
  });
3172
3174
  }
3173
- const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-947fe129"]]);
3174
- const propDefine$j = {
3175
+ const InstitutionType = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-947fe129"]]);
3176
+ const propDefine$k = {
3175
3177
  linkParam: {
3176
3178
  // 带入的参数
3177
3179
  type: String,
@@ -3183,12 +3185,12 @@ const propDefine$j = {
3183
3185
  default: "-"
3184
3186
  }
3185
3187
  };
3186
- const _sfc_main$j = defineComponent({
3188
+ const _sfc_main$k = defineComponent({
3187
3189
  name: "Institution",
3188
3190
  components: { SelectPlatform, NvComFormUp },
3189
3191
  emits: [""],
3190
3192
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
3191
- props: propDefine$j,
3193
+ props: propDefine$k,
3192
3194
  setup(props, ctx) {
3193
3195
  return new InstitutionInstance$1(props, ctx);
3194
3196
  }
@@ -4108,7 +4110,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
4108
4110
  //#endregion 绑定角色 END
4109
4111
  };
4110
4112
  const Institution_vue_vue_type_style_index_0_scoped_9978b252_lang = "";
4111
- const _hoisted_1$i = { style: { "width": "100%", "height": "100%", "position": "relative" } };
4113
+ const _hoisted_1$j = { style: { "width": "100%", "height": "100%", "position": "relative" } };
4112
4114
  const _hoisted_2$9 = { style: { "height": "500px", "overflow-y": "auto" } };
4113
4115
  const _hoisted_3$9 = {
4114
4116
  class: "import-institution",
@@ -4117,7 +4119,7 @@ const _hoisted_3$9 = {
4117
4119
  const _hoisted_4$9 = { style: { "width": "100%", "height": "100%" } };
4118
4120
  const _hoisted_5$8 = { style: { "height": "calc(100%)" } };
4119
4121
  const _hoisted_6$8 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
4120
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
4122
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
4121
4123
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
4122
4124
  const _component_NvGrid = resolveComponent("NvGrid");
4123
4125
  const _component_NvBox = resolveComponent("NvBox");
@@ -4187,7 +4189,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
4187
4189
  })
4188
4190
  ]),
4189
4191
  default: withCtx(() => [
4190
- createElementVNode("div", _hoisted_1$i, [
4192
+ createElementVNode("div", _hoisted_1$j, [
4191
4193
  createVNode(_component_Tree, {
4192
4194
  data: _ctx.institutionTree,
4193
4195
  render: _ctx.renderContent,
@@ -4385,14 +4387,14 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
4385
4387
  _: 1
4386
4388
  });
4387
4389
  }
4388
- const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-9978b252"]]);
4389
- const propDefine$i = {};
4390
- const _sfc_main$i = defineComponent({
4390
+ const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-9978b252"]]);
4391
+ const propDefine$j = {};
4392
+ const _sfc_main$j = defineComponent({
4391
4393
  name: "LoginLog",
4392
4394
  components: {},
4393
4395
  emits: [""],
4394
4396
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
4395
- props: propDefine$i,
4397
+ props: propDefine$j,
4396
4398
  setup(props, ctx) {
4397
4399
  return new LoginLogInstance$1(props, ctx);
4398
4400
  }
@@ -4497,18 +4499,18 @@ let LoginLogInstance$1 = class LoginLogInstance extends BaseInstance {
4497
4499
  //#endregion 登录日志 END
4498
4500
  };
4499
4501
  const LoginLog_vue_vue_type_style_index_0_scoped_4e2e0184_lang = "";
4500
- const _hoisted_1$h = { class: "loginLog" };
4501
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
4502
+ const _hoisted_1$i = { class: "loginLog" };
4503
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
4502
4504
  const _component_NvGrid = resolveComponent("NvGrid");
4503
- return openBlock(), createElementBlock("div", _hoisted_1$h, [
4505
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
4504
4506
  createVNode(_component_NvGrid, {
4505
4507
  ref: "loginLogGrid",
4506
4508
  option: _ctx.loginLogGridOption
4507
4509
  }, null, 8, ["option"])
4508
4510
  ]);
4509
4511
  }
4510
- const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-4e2e0184"]]);
4511
- const propDefine$h = {
4512
+ const LoginLog$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-4e2e0184"]]);
4513
+ const propDefine$i = {
4512
4514
  linkParam: {
4513
4515
  // 带入的参数
4514
4516
  type: String,
@@ -4520,12 +4522,12 @@ const propDefine$h = {
4520
4522
  default: "-"
4521
4523
  }
4522
4524
  };
4523
- const _sfc_main$h = defineComponent({
4525
+ const _sfc_main$i = defineComponent({
4524
4526
  name: "Userinfor",
4525
4527
  components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin, NvComFormUp },
4526
4528
  emits: [""],
4527
4529
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
4528
- props: propDefine$h,
4530
+ props: propDefine$i,
4529
4531
  setup(props, ctx) {
4530
4532
  return new UserinforInstance$1(props, ctx);
4531
4533
  }
@@ -5056,7 +5058,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
5056
5058
  let userRoles = this.utilities.parseApiResult(apiResult);
5057
5059
  let insertRecords = [];
5058
5060
  for (const item of chkDatas) {
5059
- if (userRoles.findIndex((d) => d.RoleId == item.Id) == -1) {
5061
+ if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
5060
5062
  insertRecords.push({
5061
5063
  PlatformId: this.selectedPlatform.Id,
5062
5064
  UserId: this.currentUser.Id,
@@ -5066,7 +5068,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
5066
5068
  }
5067
5069
  let deleteRecords = [];
5068
5070
  for (const item of userRoles) {
5069
- if (chkDatas.findIndex((d) => d.Id == item.RoleId) == -1) {
5071
+ if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
5070
5072
  deleteRecords.push(item.Id);
5071
5073
  }
5072
5074
  }
@@ -5763,7 +5765,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
5763
5765
  };
5764
5766
  const Userinfor_vue_vue_type_style_index_0_scoped_3d0ba4ac_lang = "";
5765
5767
  const _withScopeId$5 = (n) => (pushScopeId("data-v-3d0ba4ac"), n = n(), popScopeId(), n);
5766
- const _hoisted_1$g = { class: "instree-search" };
5768
+ const _hoisted_1$h = { class: "instree-search" };
5767
5769
  const _hoisted_2$8 = { class: "instree-list" };
5768
5770
  const _hoisted_3$8 = { style: { "height": "774px", "overflow-y": "auto" } };
5769
5771
  const _hoisted_4$8 = /* @__PURE__ */ _withScopeId$5(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -5790,7 +5792,7 @@ const _hoisted_18$3 = {
5790
5792
  key: 1,
5791
5793
  class: "nv-c-v-center"
5792
5794
  };
5793
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
5795
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
5794
5796
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
5795
5797
  const _component_Tree = resolveComponent("Tree");
5796
5798
  const _component_Spin = resolveComponent("Spin");
@@ -5840,7 +5842,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
5840
5842
  })
5841
5843
  ]),
5842
5844
  default: withCtx(() => [
5843
- createElementVNode("div", _hoisted_1$g, [
5845
+ createElementVNode("div", _hoisted_1$h, [
5844
5846
  createVNode(_component_SelectPlatform, {
5845
5847
  onSelect: _ctx.doChangePlatform,
5846
5848
  width: "100%",
@@ -6253,8 +6255,8 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
6253
6255
  _: 1
6254
6256
  });
6255
6257
  }
6256
- const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-3d0ba4ac"]]);
6257
- const propDefine$g = {
6258
+ const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-3d0ba4ac"]]);
6259
+ const propDefine$h = {
6258
6260
  linkParam: {
6259
6261
  // 带入的参数
6260
6262
  type: String,
@@ -6266,12 +6268,12 @@ const propDefine$g = {
6266
6268
  default: "-"
6267
6269
  }
6268
6270
  };
6269
- const _sfc_main$g = defineComponent({
6271
+ const _sfc_main$h = defineComponent({
6270
6272
  name: "UserinforSL",
6271
6273
  components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin, NvComFormUp },
6272
6274
  emits: [""],
6273
6275
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
6274
- props: propDefine$g,
6276
+ props: propDefine$h,
6275
6277
  setup(props, ctx) {
6276
6278
  return new UserinforSLInstance$1(props, ctx);
6277
6279
  }
@@ -6809,7 +6811,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
6809
6811
  let userRoles = this.utilities.parseApiResult(apiResult);
6810
6812
  let insertRecords = [];
6811
6813
  for (const item of chkDatas) {
6812
- if (userRoles.findIndex((d) => d.RoleId == item.Id) == -1) {
6814
+ if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
6813
6815
  insertRecords.push({
6814
6816
  PlatformId: this.selectedPlatform.Id,
6815
6817
  UserId: this.currentUser.Id,
@@ -6819,7 +6821,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
6819
6821
  }
6820
6822
  let deleteRecords = [];
6821
6823
  for (const item of userRoles) {
6822
- if (chkDatas.findIndex((d) => d.Id == item.RoleId) == -1) {
6824
+ if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
6823
6825
  deleteRecords.push(item.Id);
6824
6826
  }
6825
6827
  }
@@ -7634,7 +7636,7 @@ let UserinforSLInstance$1 = class UserinforSLInstance extends BaseInstance {
7634
7636
  };
7635
7637
  const UserinforSL_vue_vue_type_style_index_0_scoped_f0eab966_lang = "";
7636
7638
  const _withScopeId$4 = (n) => (pushScopeId("data-v-f0eab966"), n = n(), popScopeId(), n);
7637
- const _hoisted_1$f = { class: "instree-search" };
7639
+ const _hoisted_1$g = { class: "instree-search" };
7638
7640
  const _hoisted_2$7 = { class: "instree-list" };
7639
7641
  const _hoisted_3$7 = { style: { "height": "774px", "overflow-y": "auto" } };
7640
7642
  const _hoisted_4$7 = /* @__PURE__ */ _withScopeId$4(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -7666,7 +7668,7 @@ const _hoisted_20$1 = {
7666
7668
  key: 1,
7667
7669
  class: "nv-c-v-center"
7668
7670
  };
7669
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
7671
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
7670
7672
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
7671
7673
  const _component_Tree = resolveComponent("Tree");
7672
7674
  const _component_Spin = resolveComponent("Spin");
@@ -7718,7 +7720,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
7718
7720
  })
7719
7721
  ]),
7720
7722
  default: withCtx(() => [
7721
- createElementVNode("div", _hoisted_1$f, [
7723
+ createElementVNode("div", _hoisted_1$g, [
7722
7724
  createVNode(_component_SelectPlatform, {
7723
7725
  onSelect: _ctx.doChangePlatform,
7724
7726
  width: "100%",
@@ -8202,8 +8204,8 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
8202
8204
  _: 1
8203
8205
  });
8204
8206
  }
8205
- const UserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-f0eab966"]]);
8206
- const propDefine$f = {
8207
+ const UserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-f0eab966"]]);
8208
+ const propDefine$g = {
8207
8209
  linkParam: {
8208
8210
  // 带入的参数
8209
8211
  type: String,
@@ -8215,12 +8217,12 @@ const propDefine$f = {
8215
8217
  default: "-"
8216
8218
  }
8217
8219
  };
8218
- const _sfc_main$f = defineComponent({
8220
+ const _sfc_main$g = defineComponent({
8219
8221
  name: "Enterprise",
8220
8222
  components: { SelectPlatform },
8221
8223
  emits: [""],
8222
8224
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
8223
- props: propDefine$f,
8225
+ props: propDefine$g,
8224
8226
  setup(props, ctx) {
8225
8227
  return new EnterpriseInstance$1(props, ctx);
8226
8228
  }
@@ -8607,8 +8609,8 @@ let EnterpriseInstance$1 = class EnterpriseInstance extends BaseInstance {
8607
8609
  //#endregion 业务逻辑 编辑企业信息 END
8608
8610
  };
8609
8611
  const Enterprise_vue_vue_type_style_index_0_scoped_58aa3e77_lang = "";
8610
- const _hoisted_1$e = { style: { "height": "650px", "overflow-y": "auto" } };
8611
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
8612
+ const _hoisted_1$f = { style: { "height": "650px", "overflow-y": "auto" } };
8613
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
8612
8614
  const _component_SelectPlatform = resolveComponent("SelectPlatform");
8613
8615
  const _component_NvGrid = resolveComponent("NvGrid");
8614
8616
  const _component_NvBox = resolveComponent("NvBox");
@@ -8676,7 +8678,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
8676
8678
  }, 8, ["loading", "onClick"])) : createCommentVNode("", true)
8677
8679
  ]),
8678
8680
  default: withCtx(() => [
8679
- createElementVNode("div", _hoisted_1$e, [
8681
+ createElementVNode("div", _hoisted_1$f, [
8680
8682
  createVNode(_component_Form, {
8681
8683
  model: _ctx.enterpriseFormModel,
8682
8684
  "label-width": 90
@@ -8699,8 +8701,8 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
8699
8701
  _: 1
8700
8702
  });
8701
8703
  }
8702
- const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-58aa3e77"]]);
8703
- const propDefine$e = {
8704
+ const Enterprise = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g], ["__scopeId", "data-v-58aa3e77"]]);
8705
+ const propDefine$f = {
8704
8706
  linkParam: {
8705
8707
  // 带入的参数
8706
8708
  type: String,
@@ -8712,14 +8714,14 @@ const propDefine$e = {
8712
8714
  default: "-"
8713
8715
  }
8714
8716
  };
8715
- const _sfc_main$e = defineComponent({
8717
+ const _sfc_main$f = defineComponent({
8716
8718
  name: "Information",
8717
8719
  components: {
8718
8720
  NvComFormUp
8719
8721
  },
8720
8722
  emits: [""],
8721
8723
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
8722
- props: propDefine$e,
8724
+ props: propDefine$f,
8723
8725
  setup(props, ctx) {
8724
8726
  return new InformationInstance(props, ctx);
8725
8727
  }
@@ -9084,8 +9086,8 @@ class InformationInstance extends BaseInstance {
9084
9086
  }
9085
9087
  //#endregion 编辑信息 END
9086
9088
  }
9087
- const _hoisted_1$d = { style: { "overflow-y": "auto" } };
9088
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9089
+ const _hoisted_1$e = { style: { "overflow-y": "auto" } };
9090
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
9089
9091
  const _component_NvGrid = resolveComponent("NvGrid");
9090
9092
  const _component_NvBox = resolveComponent("NvBox");
9091
9093
  const _component_NvComFormUp = resolveComponent("NvComFormUp");
@@ -9142,7 +9144,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9142
9144
  }, 8, ["loading", "onClick"])
9143
9145
  ]),
9144
9146
  default: withCtx(() => [
9145
- createElementVNode("div", _hoisted_1$d, [
9147
+ createElementVNode("div", _hoisted_1$e, [
9146
9148
  createVNode(_component_Form, {
9147
9149
  ref: "refRoleForm",
9148
9150
  model: _ctx.roleFormModel,
@@ -9164,8 +9166,8 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9164
9166
  _: 1
9165
9167
  });
9166
9168
  }
9167
- const Information = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
9168
- const propDefine$d = {
9169
+ const Information = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
9170
+ const propDefine$e = {
9169
9171
  linkParam: {
9170
9172
  // 带入的参数
9171
9173
  type: String,
@@ -9187,12 +9189,12 @@ const propDefine$d = {
9187
9189
  default: "BD"
9188
9190
  }
9189
9191
  };
9190
- const _sfc_main$d = defineComponent({
9192
+ const _sfc_main$e = defineComponent({
9191
9193
  name: "GeneralConfiguration",
9192
9194
  components: {},
9193
9195
  emits: [""],
9194
9196
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
9195
- props: propDefine$d,
9197
+ props: propDefine$e,
9196
9198
  setup(props, ctx) {
9197
9199
  return new GeneralConfigurationInstance(props, ctx);
9198
9200
  }
@@ -9467,9 +9469,9 @@ class GeneralConfigurationInstance extends BaseInstance {
9467
9469
  }
9468
9470
  let gridRes = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(this.nowRow.ProjectConfig)) : this.utilities.deepCopy(JSON.parse(this.nowRow.ConstructConfig));
9469
9471
  gridRes.forEach((x) => {
9470
- data.forEach((s) => {
9471
- if (x.model == s.model) {
9472
- Object.assign(x, s);
9472
+ data.forEach((s2) => {
9473
+ if (x.model == s2.model) {
9474
+ Object.assign(x, s2);
9473
9475
  }
9474
9476
  });
9475
9477
  });
@@ -9504,9 +9506,9 @@ class GeneralConfigurationInstance extends BaseInstance {
9504
9506
  onOk: async () => {
9505
9507
  let res = this.props.configType == "GC" ? this.utilities.deepCopy(JSON.parse(this.nowRow.ProjectConfig)) : this.utilities.deepCopy(JSON.parse(this.nowRow.ConstructConfig));
9506
9508
  data.forEach((x) => {
9507
- res.forEach((s, i) => {
9508
- if (x.prop == s.prop) {
9509
- res.splice(i, 1);
9509
+ res.forEach((s2, i2) => {
9510
+ if (x.prop == s2.prop) {
9511
+ res.splice(i2, 1);
9510
9512
  }
9511
9513
  });
9512
9514
  });
@@ -9622,7 +9624,7 @@ class GeneralConfigurationInstance extends BaseInstance {
9622
9624
  }
9623
9625
  this.isShowDicModalLoading.value = true;
9624
9626
  let newArr = [];
9625
- data.forEach((x, i) => {
9627
+ data.forEach((x, i2) => {
9626
9628
  newArr.push({
9627
9629
  label: x.DetailInfor,
9628
9630
  prop: x.DetailValue,
@@ -9631,7 +9633,7 @@ class GeneralConfigurationInstance extends BaseInstance {
9631
9633
  seltype: "Input",
9632
9634
  append: "",
9633
9635
  span: 8,
9634
- orderNum: i,
9636
+ orderNum: i2,
9635
9637
  // 排序号
9636
9638
  requiredd: 1,
9637
9639
  // 1 必填 0 可空
@@ -9719,8 +9721,8 @@ class GeneralConfigurationInstance extends BaseInstance {
9719
9721
  //#endregion 概况选择modal END
9720
9722
  }
9721
9723
  const GeneralConfiguration_vue_vue_type_style_index_0_scoped_a01b6a2e_lang = "";
9722
- const _hoisted_1$c = { style: { "height": "600px", "overflow-y": "auto" } };
9723
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
9724
+ const _hoisted_1$d = { style: { "height": "600px", "overflow-y": "auto" } };
9725
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
9724
9726
  const _component_NvGrid = resolveComponent("NvGrid");
9725
9727
  const _component_NvBox = resolveComponent("NvBox");
9726
9728
  const _component_Button = resolveComponent("Button");
@@ -9772,7 +9774,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
9772
9774
  }, 8, ["loading", "onClick"])
9773
9775
  ]),
9774
9776
  default: withCtx(() => [
9775
- createElementVNode("div", _hoisted_1$c, [
9777
+ createElementVNode("div", _hoisted_1$d, [
9776
9778
  createVNode(_component_NvGrid, {
9777
9779
  ref: "dicModalGrid",
9778
9780
  option: _ctx.dicModalGridOption
@@ -9785,8 +9787,8 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
9785
9787
  _: 1
9786
9788
  });
9787
9789
  }
9788
- const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-a01b6a2e"]]);
9789
- const propDefine$c = {
9790
+ const GeneralConfiguration = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-a01b6a2e"]]);
9791
+ const propDefine$d = {
9790
9792
  linkParam: {
9791
9793
  // 带入的参数
9792
9794
  type: String,
@@ -9798,7 +9800,7 @@ const propDefine$c = {
9798
9800
  default: "-"
9799
9801
  }
9800
9802
  };
9801
- const _sfc_main$c = defineComponent({
9803
+ const _sfc_main$d = defineComponent({
9802
9804
  name: "Platform",
9803
9805
  components: {
9804
9806
  GeneralConfiguration,
@@ -9806,7 +9808,7 @@ const _sfc_main$c = defineComponent({
9806
9808
  },
9807
9809
  emits: [""],
9808
9810
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
9809
- props: propDefine$c,
9811
+ props: propDefine$d,
9810
9812
  setup(props, ctx) {
9811
9813
  return new PlatformInstance2(props, ctx);
9812
9814
  }
@@ -10060,6 +10062,7 @@ class PlatformInstance2 extends BaseInstance {
10060
10062
  PlatformType: 1,
10061
10063
  AppId: "",
10062
10064
  AppSecret: "",
10065
+ PlatformYear: "",
10063
10066
  LastUpdateUserId: this.storageInfo.getUser().Id,
10064
10067
  LastUpdateUserName: this.storageInfo.getUser().UserName,
10065
10068
  LastUpdateDate: this.utilities.getCurrentDate()
@@ -10095,6 +10098,7 @@ class PlatformInstance2 extends BaseInstance {
10095
10098
  multiple: false
10096
10099
  }
10097
10100
  },
10101
+ { model: "PlatformYear", prop: "PlatformYear", label: "项目年份", type: "DatePicker", datePickerProp: { transfer: true, type: "year" }, span: 24 },
10098
10102
  { model: "AppId", label: "小程序AppId", prop: "AppId", type: "Input", span: 24 },
10099
10103
  { model: "AppSecret", label: "小程序秘钥", prop: "AppSecret", type: "Input", span: 24 }
10100
10104
  ]));
@@ -10134,7 +10138,7 @@ class PlatformInstance2 extends BaseInstance {
10134
10138
  }, true);
10135
10139
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
10136
10140
  this.platformGrid.value.loadData(async (option) => {
10137
- const apiResult = await this.platformApi.getEntitiesPageDynamic(option.page, option.pageSize, QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
10141
+ const apiResult = await this.platformApi.getEntitiesPageDynamic(option.page, option.pageSize, QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
10138
10142
  PId: platId
10139
10143
  })).orderBy(["OrderNo"]));
10140
10144
  const data = this.utilities.parseApiResult(apiResult);
@@ -10229,7 +10233,8 @@ class PlatformInstance2 extends BaseInstance {
10229
10233
  AppSecret: "",
10230
10234
  LastUpdateUserId: this.storageInfo.getUser().Id,
10231
10235
  LastUpdateUserName: this.storageInfo.getUser().UserName,
10232
- LastUpdateDate: this.utilities.getCurrentDate()
10236
+ LastUpdateDate: this.utilities.getCurrentDate(),
10237
+ PlatformYear: ""
10233
10238
  };
10234
10239
  } else {
10235
10240
  this.platConfigFormModel.value = res;
@@ -10242,8 +10247,8 @@ class PlatformInstance2 extends BaseInstance {
10242
10247
  //#endregion 扩展信息 END
10243
10248
  }
10244
10249
  const Platform_vue_vue_type_style_index_0_scoped_d318c7ed_lang = "";
10245
- const _hoisted_1$b = { style: { "height": "600px", "overflow-y": "auto" } };
10246
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10250
+ const _hoisted_1$c = { style: { "height": "600px", "overflow-y": "auto" } };
10251
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
10247
10252
  const _component_NvGrid = resolveComponent("NvGrid");
10248
10253
  const _component_NvBox = resolveComponent("NvBox");
10249
10254
  const _component_NvComForm = resolveComponent("NvComForm");
@@ -10298,7 +10303,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10298
10303
  }, 8, ["loading", "onClick"])
10299
10304
  ]),
10300
10305
  default: withCtx(() => [
10301
- createElementVNode("div", _hoisted_1$b, [
10306
+ createElementVNode("div", _hoisted_1$c, [
10302
10307
  createVNode(_component_Form, {
10303
10308
  ref: "refPlatformForm",
10304
10309
  model: _ctx.platformFormModel,
@@ -10389,8 +10394,8 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
10389
10394
  _: 1
10390
10395
  });
10391
10396
  }
10392
- const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-d318c7ed"]]);
10393
- const propDefine$b = {
10397
+ const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-d318c7ed"]]);
10398
+ const propDefine$c = {
10394
10399
  linkParam: {
10395
10400
  // 带入的参数
10396
10401
  type: String,
@@ -10402,12 +10407,12 @@ const propDefine$b = {
10402
10407
  default: "-"
10403
10408
  }
10404
10409
  };
10405
- const _sfc_main$b = defineComponent({
10410
+ const _sfc_main$c = defineComponent({
10406
10411
  name: "Role",
10407
10412
  components: { SelectPlatform },
10408
10413
  emits: [""],
10409
10414
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
10410
- props: propDefine$b,
10415
+ props: propDefine$c,
10411
10416
  setup(props, ctx) {
10412
10417
  return new RoleInstance2(props, ctx);
10413
10418
  }
@@ -10441,7 +10446,7 @@ class RoleInstance2 extends BaseInstance {
10441
10446
  var _a;
10442
10447
  this.spinPlatShow.value = true;
10443
10448
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
10444
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
10449
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
10445
10450
  PId: platId
10446
10451
  })).orderBy(["OrderNo"]));
10447
10452
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -11168,13 +11173,13 @@ class RoleInstance2 extends BaseInstance {
11168
11173
  isChange = true;
11169
11174
  } else {
11170
11175
  for (const item of data.OrgRoleOperates) {
11171
- if (data.RoleOperates.filter((d) => d == item).length == 0) {
11176
+ if (data.RoleOperates.filter((d2) => d2 == item).length == 0) {
11172
11177
  isChange = true;
11173
11178
  break;
11174
11179
  }
11175
11180
  }
11176
11181
  for (const item of data.RoleOperates) {
11177
- if (data.OrgRoleOperates.filter((d) => d == item).length == 0) {
11182
+ if (data.OrgRoleOperates.filter((d2) => d2 == item).length == 0) {
11178
11183
  isChange = true;
11179
11184
  break;
11180
11185
  }
@@ -11190,7 +11195,7 @@ class RoleInstance2 extends BaseInstance {
11190
11195
  const datas = this.moduleGrid.value.getDatas();
11191
11196
  const parentDatas = datas.filter((item) => item.Id == data.PId && item.IsChk == !data.IsChk);
11192
11197
  for (const item of parentDatas) {
11193
- item.IsChk = data.IsChk == false ? datas.filter((d) => d.PId == item.Id && d.IsChk == true).length > 0 : true;
11198
+ item.IsChk = data.IsChk == false ? datas.filter((d2) => d2.PId == item.Id && d2.IsChk == true).length > 0 : true;
11194
11199
  this.setRoleModuleIsChange(item);
11195
11200
  this.changeParentRoleModuleStatus(item);
11196
11201
  }
@@ -11209,7 +11214,7 @@ class RoleInstance2 extends BaseInstance {
11209
11214
  async loadOriginPlatforms() {
11210
11215
  var _a;
11211
11216
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
11212
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i) => i.allEq({
11217
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i2) => i2.allEq({
11213
11218
  PId: platId
11214
11219
  })).orderBy(["OrderNo"]));
11215
11220
  this.originPlatform.list = this.utilities.parseApiResult(apiResult);
@@ -11233,14 +11238,14 @@ class RoleInstance2 extends BaseInstance {
11233
11238
  //#endregion 导入角色 END
11234
11239
  }
11235
11240
  const Role_vue_vue_type_style_index_0_scoped_bbf1cb02_lang = "";
11236
- const _hoisted_1$a = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
11241
+ const _hoisted_1$b = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
11237
11242
  const _hoisted_2$6 = {
11238
11243
  class: "import-role",
11239
11244
  style: { "height": "610px", "position": "relative" }
11240
11245
  };
11241
11246
  const _hoisted_3$6 = { style: { "width": "100%", "height": "100%" } };
11242
11247
  const _hoisted_4$6 = { style: { "height": "530px", "overflow-y": "auto" } };
11243
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
11248
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
11244
11249
  const _component_Option = resolveComponent("Option");
11245
11250
  const _component_Select = resolveComponent("Select");
11246
11251
  const _component_Spin = resolveComponent("Spin");
@@ -11343,7 +11348,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
11343
11348
  }, 8, ["loading", "onClick"])
11344
11349
  ]),
11345
11350
  default: withCtx(() => [
11346
- createElementVNode("div", _hoisted_1$a, [
11351
+ createElementVNode("div", _hoisted_1$b, [
11347
11352
  createVNode(_component_NvGrid, {
11348
11353
  ref: "moduleGrid",
11349
11354
  option: _ctx.moduleGridOption
@@ -11503,8 +11508,8 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
11503
11508
  _: 1
11504
11509
  });
11505
11510
  }
11506
- const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-bbf1cb02"]]);
11507
- const propDefine$a = {
11511
+ const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c], ["__scopeId", "data-v-bbf1cb02"]]);
11512
+ const propDefine$b = {
11508
11513
  linkParam: {
11509
11514
  // 带入的参数
11510
11515
  type: String,
@@ -11516,12 +11521,12 @@ const propDefine$a = {
11516
11521
  default: "-"
11517
11522
  }
11518
11523
  };
11519
- const _sfc_main$a = defineComponent({
11524
+ const _sfc_main$b = defineComponent({
11520
11525
  name: "Enterprise",
11521
11526
  components: { SelectPlatform },
11522
11527
  emits: [""],
11523
11528
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
11524
- props: propDefine$a,
11529
+ props: propDefine$b,
11525
11530
  setup(props, ctx) {
11526
11531
  return new EnterpriseInstance2(props, ctx);
11527
11532
  }
@@ -11932,8 +11937,8 @@ class EnterpriseInstance2 extends BaseInstance {
11932
11937
  //#endregion 业务逻辑 编辑企业信息 END
11933
11938
  }
11934
11939
  const Enterprise_vue_vue_type_style_index_0_scoped_57711b94_lang = "";
11935
- const _hoisted_1$9 = { style: { "height": "650px", "overflow-y": "auto" } };
11936
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
11940
+ const _hoisted_1$a = { style: { "height": "650px", "overflow-y": "auto" } };
11941
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
11937
11942
  const _component_Option = resolveComponent("Option");
11938
11943
  const _component_Select = resolveComponent("Select");
11939
11944
  const _component_Spin = resolveComponent("Spin");
@@ -12035,7 +12040,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
12035
12040
  }, 8, ["loading", "onClick"])) : createCommentVNode("", true)
12036
12041
  ]),
12037
12042
  default: withCtx(() => [
12038
- createElementVNode("div", _hoisted_1$9, [
12043
+ createElementVNode("div", _hoisted_1$a, [
12039
12044
  createVNode(_component_Form, {
12040
12045
  model: _ctx.enterpriseFormModel,
12041
12046
  "label-width": 90
@@ -12058,8 +12063,8 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
12058
12063
  _: 1
12059
12064
  });
12060
12065
  }
12061
- const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-57711b94"]]);
12062
- const propDefine$9 = {
12066
+ const subenterprise = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-57711b94"]]);
12067
+ const propDefine$a = {
12063
12068
  linkParam: {
12064
12069
  // 带入的参数
12065
12070
  type: String,
@@ -12071,12 +12076,12 @@ const propDefine$9 = {
12071
12076
  default: "-"
12072
12077
  }
12073
12078
  };
12074
- const _sfc_main$9 = defineComponent({
12079
+ const _sfc_main$a = defineComponent({
12075
12080
  name: "Institution",
12076
12081
  components: { SelectPlatform, NvComFormUp },
12077
12082
  emits: [""],
12078
12083
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
12079
- props: propDefine$9,
12084
+ props: propDefine$a,
12080
12085
  setup(props, ctx) {
12081
12086
  return new InstitutionInstance2(props, ctx);
12082
12087
  }
@@ -12111,7 +12116,7 @@ class InstitutionInstance2 extends BaseInstance {
12111
12116
  var _a;
12112
12117
  this.spinPlatShow.value = true;
12113
12118
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
12114
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
12119
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
12115
12120
  PId: platId
12116
12121
  })).orderBy(["OrderNo"]));
12117
12122
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -12174,16 +12179,10 @@ class InstitutionInstance2 extends BaseInstance {
12174
12179
  onclick: () => {
12175
12180
  this.doAddInstitution();
12176
12181
  }
12177
- },
12178
- {
12179
- name: "importInstitution",
12180
- type: "default",
12181
- icon: "md-arrow-round-up",
12182
- text: "引入",
12183
- onclick: () => {
12184
- this.doShowImportInstitution();
12185
- }
12186
12182
  }
12183
+ // {
12184
+ // name: 'importInstitution', type: 'default', icon: 'md-arrow-round-up', text: '引入', onclick: () => { this.doShowImportInstitution() }
12185
+ // }
12187
12186
  ],
12188
12187
  rightToolbars: [
12189
12188
  {
@@ -12882,7 +12881,7 @@ class InstitutionInstance2 extends BaseInstance {
12882
12881
  async loadOriginPlatforms() {
12883
12882
  var _a;
12884
12883
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
12885
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i) => i.allEq({
12884
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.platId.value).or((i2) => i2.allEq({
12886
12885
  PId: platId
12887
12886
  })).orderBy(["OrderNo"]));
12888
12887
  this.originPlatform.list = this.utilities.parseApiResult(apiResult);
@@ -13036,7 +13035,7 @@ class InstitutionInstance2 extends BaseInstance {
13036
13035
  //#endregion 绑定角色 END
13037
13036
  }
13038
13037
  const Institution_vue_vue_type_style_index_0_scoped_30aec484_lang = "";
13039
- const _hoisted_1$8 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
13038
+ const _hoisted_1$9 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
13040
13039
  const _hoisted_2$5 = { style: { "height": "500px", "overflow-y": "auto" } };
13041
13040
  const _hoisted_3$5 = {
13042
13041
  class: "import-institution",
@@ -13045,7 +13044,7 @@ const _hoisted_3$5 = {
13045
13044
  const _hoisted_4$5 = { style: { "width": "100%", "height": "100%" } };
13046
13045
  const _hoisted_5$5 = { style: { "height": "calc(100%)" } };
13047
13046
  const _hoisted_6$5 = { style: { "height": "610px", "overflow-y": "auto", "position": "relative" } };
13048
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
13047
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
13049
13048
  const _component_Option = resolveComponent("Option");
13050
13049
  const _component_Select = resolveComponent("Select");
13051
13050
  const _component_Spin = resolveComponent("Spin");
@@ -13150,7 +13149,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
13150
13149
  })
13151
13150
  ]),
13152
13151
  default: withCtx(() => [
13153
- createElementVNode("div", _hoisted_1$8, [
13152
+ createElementVNode("div", _hoisted_1$9, [
13154
13153
  createVNode(_component_Tree, {
13155
13154
  data: _ctx.institutionTree,
13156
13155
  render: _ctx.renderContent,
@@ -13348,14 +13347,14 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
13348
13347
  _: 1
13349
13348
  });
13350
13349
  }
13351
- const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-30aec484"]]);
13352
- const propDefine$8 = {};
13353
- const _sfc_main$8 = defineComponent({
13350
+ const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-30aec484"]]);
13351
+ const propDefine$9 = {};
13352
+ const _sfc_main$9 = defineComponent({
13354
13353
  name: "LoginLog",
13355
13354
  components: {},
13356
13355
  emits: [""],
13357
13356
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
13358
- props: propDefine$8,
13357
+ props: propDefine$9,
13359
13358
  setup(props, ctx) {
13360
13359
  return new LoginLogInstance2(props, ctx);
13361
13360
  }
@@ -13460,18 +13459,18 @@ class LoginLogInstance2 extends BaseInstance {
13460
13459
  //#endregion 登录日志 END
13461
13460
  }
13462
13461
  const LoginLog_vue_vue_type_style_index_0_scoped_a0d5af5b_lang = "";
13463
- const _hoisted_1$7 = { class: "loginLog" };
13464
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
13462
+ const _hoisted_1$8 = { class: "loginLog" };
13463
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
13465
13464
  const _component_NvGrid = resolveComponent("NvGrid");
13466
- return openBlock(), createElementBlock("div", _hoisted_1$7, [
13465
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
13467
13466
  createVNode(_component_NvGrid, {
13468
13467
  ref: "loginLogGrid",
13469
13468
  option: _ctx.loginLogGridOption
13470
13469
  }, null, 8, ["option"])
13471
13470
  ]);
13472
13471
  }
13473
- const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-a0d5af5b"]]);
13474
- const propDefine$7 = {
13472
+ const LoginLog = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-a0d5af5b"]]);
13473
+ const propDefine$8 = {
13475
13474
  linkParam: {
13476
13475
  // 带入的参数
13477
13476
  type: String,
@@ -13483,12 +13482,12 @@ const propDefine$7 = {
13483
13482
  default: "-"
13484
13483
  }
13485
13484
  };
13486
- const _sfc_main$7 = defineComponent({
13485
+ const _sfc_main$8 = defineComponent({
13487
13486
  name: "Userinfor",
13488
13487
  components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
13489
13488
  emits: [""],
13490
13489
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
13491
- props: propDefine$7,
13490
+ props: propDefine$8,
13492
13491
  setup(props, ctx) {
13493
13492
  return new UserinforInstance2(props, ctx);
13494
13493
  }
@@ -13525,7 +13524,7 @@ class UserinforInstance2 extends BaseInstance {
13525
13524
  var _a;
13526
13525
  this.spinPlatShow.value = true;
13527
13526
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
13528
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
13527
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
13529
13528
  PId: platId
13530
13529
  })).orderBy(["OrderNo"]));
13531
13530
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -14076,7 +14075,7 @@ class UserinforInstance2 extends BaseInstance {
14076
14075
  let userRoles = this.utilities.parseApiResult(apiResult);
14077
14076
  let insertRecords = [];
14078
14077
  for (const item of chkDatas) {
14079
- if (userRoles.findIndex((d) => d.RoleId == item.Id) == -1) {
14078
+ if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
14080
14079
  insertRecords.push({
14081
14080
  PlatformId: this.selectedPlatform.Id,
14082
14081
  UserId: this.currentUser.Id,
@@ -14086,7 +14085,7 @@ class UserinforInstance2 extends BaseInstance {
14086
14085
  }
14087
14086
  let deleteRecords = [];
14088
14087
  for (const item of userRoles) {
14089
- if (chkDatas.findIndex((d) => d.Id == item.RoleId) == -1) {
14088
+ if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
14090
14089
  deleteRecords.push(item.Id);
14091
14090
  }
14092
14091
  }
@@ -15012,7 +15011,7 @@ class UserinforInstance2 extends BaseInstance {
15012
15011
  }
15013
15012
  const Userinfor_vue_vue_type_style_index_0_scoped_bed8ccac_lang = "";
15014
15013
  const _withScopeId$3 = (n) => (pushScopeId("data-v-bed8ccac"), n = n(), popScopeId(), n);
15015
- const _hoisted_1$6 = { class: "instree-search" };
15014
+ const _hoisted_1$7 = { class: "instree-search" };
15016
15015
  const _hoisted_2$4 = { class: "instree-list" };
15017
15016
  const _hoisted_3$4 = { style: { "height": "750px", "overflow-y": "auto" } };
15018
15017
  const _hoisted_4$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -15039,7 +15038,7 @@ const _hoisted_18$1 = {
15039
15038
  key: 1,
15040
15039
  class: "nv-c-v-center"
15041
15040
  };
15042
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
15041
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
15043
15042
  const _component_Option = resolveComponent("Option");
15044
15043
  const _component_Select = resolveComponent("Select");
15045
15044
  const _component_Spin = resolveComponent("Spin");
@@ -15091,7 +15090,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
15091
15090
  })
15092
15091
  ]),
15093
15092
  default: withCtx(() => [
15094
- createElementVNode("div", _hoisted_1$6, [
15093
+ createElementVNode("div", _hoisted_1$7, [
15095
15094
  createVNode(_component_NvControlGroup, {
15096
15095
  width: "100%",
15097
15096
  icon: "md-refresh",
@@ -15569,8 +15568,8 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
15569
15568
  _: 1
15570
15569
  });
15571
15570
  }
15572
- const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-bed8ccac"]]);
15573
- const propDefine$6 = {
15571
+ const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-bed8ccac"]]);
15572
+ const propDefine$7 = {
15574
15573
  linkParam: {
15575
15574
  // 带入的参数
15576
15575
  type: String,
@@ -15582,12 +15581,12 @@ const propDefine$6 = {
15582
15581
  default: "-"
15583
15582
  }
15584
15583
  };
15585
- const _sfc_main$6 = defineComponent({
15584
+ const _sfc_main$7 = defineComponent({
15586
15585
  name: "UserinforSL",
15587
15586
  components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
15588
15587
  emits: [""],
15589
15588
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
15590
- props: propDefine$6,
15589
+ props: propDefine$7,
15591
15590
  setup(props, ctx) {
15592
15591
  return new UserinforSLInstance2(props, ctx);
15593
15592
  }
@@ -15668,7 +15667,7 @@ class UserinforSLInstance2 extends BaseInstance {
15668
15667
  var _a;
15669
15668
  this.spinPlatShow.value = true;
15670
15669
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
15671
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
15670
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
15672
15671
  PId: platId
15673
15672
  })).orderBy(["OrderNo"]));
15674
15673
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -16226,7 +16225,7 @@ class UserinforSLInstance2 extends BaseInstance {
16226
16225
  let userRoles = this.utilities.parseApiResult(apiResult);
16227
16226
  let insertRecords = [];
16228
16227
  for (const item of chkDatas) {
16229
- if (userRoles.findIndex((d) => d.RoleId == item.Id) == -1) {
16228
+ if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
16230
16229
  insertRecords.push({
16231
16230
  PlatformId: this.selectedPlatform.Id,
16232
16231
  UserId: this.currentUser.Id,
@@ -16236,7 +16235,7 @@ class UserinforSLInstance2 extends BaseInstance {
16236
16235
  }
16237
16236
  let deleteRecords = [];
16238
16237
  for (const item of userRoles) {
16239
- if (chkDatas.findIndex((d) => d.Id == item.RoleId) == -1) {
16238
+ if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
16240
16239
  deleteRecords.push(item.Id);
16241
16240
  }
16242
16241
  }
@@ -17238,7 +17237,7 @@ class UserinforSLInstance2 extends BaseInstance {
17238
17237
  }
17239
17238
  const UserinforSL_vue_vue_type_style_index_0_scoped_b5ff2a50_lang = "";
17240
17239
  const _withScopeId$2 = (n) => (pushScopeId("data-v-b5ff2a50"), n = n(), popScopeId(), n);
17241
- const _hoisted_1$5 = { class: "instree-search" };
17240
+ const _hoisted_1$6 = { class: "instree-search" };
17242
17241
  const _hoisted_2$3 = { class: "instree-list" };
17243
17242
  const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
17244
17243
  const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
@@ -17270,7 +17269,7 @@ const _hoisted_20 = {
17270
17269
  key: 1,
17271
17270
  class: "nv-c-v-center"
17272
17271
  };
17273
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17272
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
17274
17273
  const _component_Option = resolveComponent("Option");
17275
17274
  const _component_Select = resolveComponent("Select");
17276
17275
  const _component_Spin = resolveComponent("Spin");
@@ -17322,7 +17321,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17322
17321
  })
17323
17322
  ]),
17324
17323
  default: withCtx(() => [
17325
- createElementVNode("div", _hoisted_1$5, [
17324
+ createElementVNode("div", _hoisted_1$6, [
17326
17325
  createVNode(_component_NvControlGroup, {
17327
17326
  width: "100%",
17328
17327
  icon: "md-refresh",
@@ -17871,7 +17870,644 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
17871
17870
  _: 1
17872
17871
  });
17873
17872
  }
17874
- const subuserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-b5ff2a50"]]);
17873
+ const subuserinforSL = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7], ["__scopeId", "data-v-b5ff2a50"]]);
17874
+ function r(t, e) {
17875
+ for (var n = 0; n < e.length; n++) {
17876
+ var r2 = e[n];
17877
+ r2.enumerable = r2.enumerable || false, r2.configurable = true, "value" in r2 && (r2.writable = true), Object.defineProperty(t, s(r2.key), r2);
17878
+ }
17879
+ }
17880
+ function o(t, e, n) {
17881
+ return e && r(t.prototype, e), n && r(t, n), Object.defineProperty(t, "prototype", { writable: false }), t;
17882
+ }
17883
+ function i(t, e) {
17884
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, u(t, e);
17885
+ }
17886
+ function u(t, e) {
17887
+ return u = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
17888
+ return t2.__proto__ = e2, t2;
17889
+ }, u(t, e);
17890
+ }
17891
+ function s(t) {
17892
+ var e = function(t2) {
17893
+ if ("object" != typeof t2 || !t2)
17894
+ return t2;
17895
+ var e2 = t2[Symbol.toPrimitive];
17896
+ if (void 0 !== e2) {
17897
+ var n = e2.call(t2, "string");
17898
+ if ("object" != typeof n)
17899
+ return n;
17900
+ throw new TypeError("@@toPrimitive must return a primitive value.");
17901
+ }
17902
+ return String(t2);
17903
+ }(t);
17904
+ return "symbol" == typeof e ? e : e + "";
17905
+ }
17906
+ var d = /* @__PURE__ */ function(t) {
17907
+ function e() {
17908
+ return t.apply(this, arguments) || this;
17909
+ }
17910
+ return i(e, t), o(e, [{ key: "ProxyName", get: function() {
17911
+ return "PermissionApi";
17912
+ } }]);
17913
+ }(BaseApi), y = /* @__PURE__ */ function(t) {
17914
+ function e() {
17915
+ return t.apply(this, arguments) || this;
17916
+ }
17917
+ return i(e, t), o(e, [{ key: "ControllerName", get: function() {
17918
+ return "Platform";
17919
+ } }]);
17920
+ }(d), C = /* @__PURE__ */ function(t) {
17921
+ function e() {
17922
+ return t.apply(this, arguments) || this;
17923
+ }
17924
+ return i(e, t), o(e, [{ key: "ControllerName", get: function() {
17925
+ return "LoginLog";
17926
+ } }]);
17927
+ }(d);
17928
+ const propDefine$6 = {
17929
+ linkParam: {
17930
+ // 带入的参数
17931
+ type: String,
17932
+ default: ""
17933
+ },
17934
+ operates: {
17935
+ // 按钮权限码
17936
+ type: String,
17937
+ default: "-"
17938
+ }
17939
+ };
17940
+ const _sfc_main$6 = defineComponent({
17941
+ name: "PromotionalVideo",
17942
+ components: {
17943
+ NvComFormUp
17944
+ },
17945
+ emits: [""],
17946
+ // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
17947
+ props: propDefine$6,
17948
+ setup(props, ctx) {
17949
+ return new Instance$2(props, ctx);
17950
+ }
17951
+ });
17952
+ let Instance$2 = class Instance extends BaseInstance {
17953
+ constructor(props, ctx) {
17954
+ super();
17955
+ __publicField(this, "props");
17956
+ __publicField(this, "ctx");
17957
+ // 全局属性
17958
+ /** 主表 */
17959
+ __publicField(this, "mainApi", new C());
17960
+ /** 人员信息 */
17961
+ __publicField(this, "userInfo", this.storageInfo.getUser());
17962
+ /** 机构信息 */
17963
+ __publicField(this, "businessInfo", this.storageInfo.getCurrentInsTree());
17964
+ /** 项目信息 */
17965
+ __publicField(this, "projectInfo", this.storageInfo.getCurrentPlatform());
17966
+ __publicField(this, "platformApi", new y());
17967
+ //#region Grid
17968
+ // 私有属性 | private
17969
+ // 响应属性 | ref、reactive、computed、watch
17970
+ // refTest2 = ref(0);
17971
+ __publicField(this, "mainGridRef", ref());
17972
+ __publicField(this, "mainGridOption", reactive({
17973
+ api: this.mainApi,
17974
+ setting: {
17975
+ border: true,
17976
+ searchConfig: {
17977
+ btnSpan: 6,
17978
+ labelWidth: 130,
17979
+ defaultShowSearch: false
17980
+ },
17981
+ editConfig: {
17982
+ trigger: "click",
17983
+ autoClear: false
17984
+ },
17985
+ toolbarConfig: {
17986
+ isButtonGroup: false,
17987
+ maxShow: 6
17988
+ },
17989
+ rowConfig: {
17990
+ isHover: true
17991
+ },
17992
+ isPagination: true,
17993
+ pageSize: 15
17994
+ },
17995
+ searchOptions: [
17996
+ {
17997
+ type: "Input",
17998
+ field: "UserName",
17999
+ title: "用户姓名",
18000
+ span: 12
18001
+ },
18002
+ {
18003
+ type: "Input",
18004
+ field: "Account",
18005
+ title: "用户账号",
18006
+ span: 12
18007
+ },
18008
+ {
18009
+ type: "Input",
18010
+ field: "Phone",
18011
+ title: "手机号",
18012
+ span: 12
18013
+ },
18014
+ {
18015
+ type: "Input",
18016
+ field: "IPAddress",
18017
+ title: "登录IP",
18018
+ span: 12
18019
+ },
18020
+ {
18021
+ type: "DatePicker",
18022
+ field: "LoginDate",
18023
+ title: "登录日期",
18024
+ span: 12
18025
+ }
18026
+ ],
18027
+ toolbars: [
18028
+ // {
18029
+ // name: "add",
18030
+ // onclick: () => {
18031
+ // this.doAddMain();
18032
+ // },
18033
+ // isShow: () => {
18034
+ // return this.props.operates.includes("Add")
18035
+ // }
18036
+ // },
18037
+ ],
18038
+ rightToolbars: [
18039
+ {
18040
+ name: "refresh"
18041
+ }
18042
+ ],
18043
+ columns: [
18044
+ { colType: "seq" },
18045
+ {
18046
+ colType: "ro",
18047
+ field: "LoginLocation",
18048
+ align: "center",
18049
+ title: "登录位置(基于离线IP数据库获取的)",
18050
+ minWidth: 300
18051
+ },
18052
+ {
18053
+ colType: "ro",
18054
+ field: "UserName",
18055
+ align: "center",
18056
+ title: "用户姓名",
18057
+ width: 150
18058
+ },
18059
+ {
18060
+ colType: "ro",
18061
+ field: "Account",
18062
+ align: "center",
18063
+ title: "用户账号",
18064
+ width: 150
18065
+ },
18066
+ {
18067
+ colType: "ro",
18068
+ field: "Phone",
18069
+ align: "center",
18070
+ title: "手机号",
18071
+ width: 150
18072
+ },
18073
+ {
18074
+ colType: "ro",
18075
+ field: "IPAddress",
18076
+ align: "center",
18077
+ title: "登录IP",
18078
+ width: 150
18079
+ },
18080
+ {
18081
+ colType: "ro",
18082
+ field: "LoginDate",
18083
+ align: "center",
18084
+ title: "登录时间",
18085
+ width: 150
18086
+ },
18087
+ {
18088
+ colType: "ro",
18089
+ field: "LoginType",
18090
+ align: "center",
18091
+ title: "登录类型",
18092
+ width: 150
18093
+ }
18094
+ // {
18095
+ // title: '操作', width: 140 , rowButtons: [
18096
+ // {
18097
+ // name: 'view', text: '查看', type: 'primary',
18098
+ // onclick: (row: any) => {
18099
+ // this.doViewMain(row)
18100
+ // },
18101
+ // isShow: (row: any) => {
18102
+ // return (
18103
+ // row.CreateUserId != this.userInfo.id && this.props.operates.includes("View")
18104
+ // );
18105
+ // },
18106
+ // },
18107
+ // {
18108
+ // name: 'view_',
18109
+ // text: '编辑',
18110
+ // type: 'primary',
18111
+ // onclick: (row: any) => {
18112
+ // this.doEditMain(row)
18113
+ // },
18114
+ // isShow: (row: any) => {
18115
+ // return (
18116
+ // row.CreateUserId == this.userInfo.id && this.props.operates.includes("Edit")
18117
+ // );
18118
+ // },
18119
+ // },
18120
+ // {
18121
+ // name: "delete",
18122
+ // text: "删除",
18123
+ // onclick: (row: any, btn: any) => {
18124
+ // this.doDeleteMain(row)
18125
+ // },
18126
+ // isShow: (row: any) => {
18127
+ // return (
18128
+ // row.CreateUserId == this.userInfo.id && this.props.operates.includes("Delete")
18129
+ // );
18130
+ // },
18131
+ // },
18132
+ // ]
18133
+ // }
18134
+ ],
18135
+ event: {
18136
+ /** 搜索事件 */
18137
+ event_search: (data) => {
18138
+ var _a, _b;
18139
+ (_a = this.mainGridRef.value) == null ? void 0 : _a.setPageIndex(1);
18140
+ let qw = QueryWrapper.create();
18141
+ if (!this.utilities.isNull(data.UserName)) {
18142
+ qw.like("UserName", data.UserName);
18143
+ }
18144
+ if (!this.utilities.isNull(data.Account)) {
18145
+ qw.like("Account", data.Account);
18146
+ }
18147
+ if (!this.utilities.isNull(data.Phone)) {
18148
+ qw.like("Phone", data.Phone);
18149
+ }
18150
+ if (!this.utilities.isNull(data.IPAddress)) {
18151
+ qw.like("IPAddress", data.IPAddress);
18152
+ }
18153
+ if (!this.utilities.isNull(data.LoginDate)) {
18154
+ qw.like("LoginDate", data.LoginDate);
18155
+ }
18156
+ if (!this.utilities.isNull(data.LoginType)) {
18157
+ qw.like("LoginType", data.LoginType);
18158
+ }
18159
+ (_b = this.mainGridRef.value) == null ? void 0 : _b.loadDataByQuery(qw);
18160
+ }
18161
+ }
18162
+ }));
18163
+ // 私有方法 | private 方法名() {}
18164
+ __publicField(this, "activeOrgId", ref(0));
18165
+ __publicField(this, "activeParent", ref(""));
18166
+ // 响应式方法 | xxx = () => {}
18167
+ // doBtnClick2 = () = {}
18168
+ //#endregion Grid END
18169
+ //#region Form
18170
+ // 私有属性 | private
18171
+ // private business2Test1: number = 0;
18172
+ // 响应属性 | ref、reactive、computed、watch
18173
+ // refTest2 = ref(0);
18174
+ /** 表单弹窗 显隐 */
18175
+ __publicField(this, "isShowModal", ref(false));
18176
+ /** 表单弹窗 标题 */
18177
+ __publicField(this, "modalTitle", ref("新增-登录日志"));
18178
+ /** 表单 保存按钮loading */
18179
+ __publicField(this, "saveingMainLoading", ref(false));
18180
+ /** 是否只读 */
18181
+ __publicField(this, "onlyView", ref(false));
18182
+ __publicField(this, "mainFormRef", ref());
18183
+ __publicField(this, "mainComFormRef", ref());
18184
+ /** 表单数据 */
18185
+ __publicField(this, "mainFormModel", reactive({
18186
+ Id: 0,
18187
+ personName: ""
18188
+ }));
18189
+ /** 表单项 */
18190
+ __publicField(this, "mainFormItems", reactive([
18191
+ {
18192
+ type: "Input",
18193
+ model: "LoginLocation",
18194
+ prop: "LoginLocation",
18195
+ label: "登录位置(基于离线IP数据库获取的)",
18196
+ span: 12,
18197
+ inputProp: {
18198
+ type: "textarea",
18199
+ rows: 4,
18200
+ maxlength: 500,
18201
+ // 控制最大输入长度
18202
+ "show-word-limit": true
18203
+ // 是否显示输入字数
18204
+ }
18205
+ },
18206
+ {
18207
+ type: "Input",
18208
+ model: "UserName",
18209
+ prop: "UserName",
18210
+ label: "用户姓名",
18211
+ span: 12
18212
+ },
18213
+ {
18214
+ type: "Input",
18215
+ model: "Account",
18216
+ prop: "Account",
18217
+ label: "用户账号",
18218
+ span: 12
18219
+ },
18220
+ {
18221
+ type: "Input",
18222
+ model: "Phone",
18223
+ prop: "Phone",
18224
+ label: "手机号",
18225
+ span: 12
18226
+ },
18227
+ {
18228
+ type: "Input",
18229
+ model: "IPAddress",
18230
+ prop: "IPAddress",
18231
+ label: "登录IP",
18232
+ span: 12
18233
+ },
18234
+ {
18235
+ type: "DatePicker",
18236
+ model: "LoginDate",
18237
+ prop: "LoginDate",
18238
+ label: "登录日期",
18239
+ span: 12,
18240
+ datePickerProp: {
18241
+ transfer: true,
18242
+ editable: false
18243
+ }
18244
+ }
18245
+ ]));
18246
+ /** 表单校验规则 */
18247
+ __publicField(this, "mainFormRules", reactive({
18248
+ UserName: [{ required: true, message: "用户姓名不能为空", trigger: "blur" }],
18249
+ Account: [{ required: true, message: "用户账号不能为空", trigger: "blur" }],
18250
+ Phone: [{ required: true, message: "手机号不能为空", trigger: "blur" }],
18251
+ IPAddress: [{ required: true, message: "登录IP不能为空", trigger: "blur" }],
18252
+ LoginDate: [{ required: true, message: "登录日期不能为空", trigger: "blur" }],
18253
+ LoginType: [{ required: true, message: "登录类型 密码登录、验证码登录、扫码登录不能为空", trigger: "blur" }]
18254
+ }));
18255
+ // 私有方法 | private 方法名() {}
18256
+ // private test2() {}
18257
+ // 响应式方法 | xxx = () => {}
18258
+ // doBtnClick2 = () = {}
18259
+ /** 主表单保存 */
18260
+ __publicField(this, "doSaveMain", async () => {
18261
+ console.log(this.mainFormModel);
18262
+ let validate = await this.mainFormRef.value.validate();
18263
+ if (!validate)
18264
+ return;
18265
+ let BId = this.utilities.parseApiResult(await this.mainApi.save(this.mainFormModel));
18266
+ if (BId && BId > 0) {
18267
+ this.message.success("保存成功");
18268
+ this.isShowModal.value = false;
18269
+ this.mainGridRef.value.refreshData();
18270
+ } else {
18271
+ this.message.success("保存失败");
18272
+ }
18273
+ });
18274
+ __publicField(this, "platId", ref(0));
18275
+ __publicField(this, "platData", ref([]));
18276
+ __publicField(this, "spinPlatShow", ref(false));
18277
+ __publicField(this, "selectedPlatform");
18278
+ __publicField(this, "getPlatData", async () => {
18279
+ var _a;
18280
+ this.spinPlatShow.value = true;
18281
+ let qw = QueryWrapper.create();
18282
+ if (this.props.linkParam == "sub") {
18283
+ const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
18284
+ qw.eq("Id", platId).or((i2) => i2.allEq({
18285
+ PId: platId
18286
+ })).orderBy(["OrderNo"]);
18287
+ } else if (this.props.linkParam == "")
18288
+ ;
18289
+ else {
18290
+ qw.eq("Id", this.props.linkParam).or((i2) => i2.allEq({
18291
+ PId: this.props.linkParam
18292
+ })).orderBy(["OrderNo"]);
18293
+ }
18294
+ const apiResult = await this.platformApi.getEntities(qw);
18295
+ this.platData.value = this.utilities.parseApiResult(apiResult);
18296
+ this.spinPlatShow.value = false;
18297
+ if (this.platData.value.length > 0) {
18298
+ this.platId.value = this.platData.value[0].Id;
18299
+ nextTick(() => {
18300
+ this.doPlatformChange(this.platData.value[0]);
18301
+ });
18302
+ }
18303
+ });
18304
+ __publicField(this, "doPlatformChange", (data) => {
18305
+ const res = this.platData.value.find((item) => item.Id == this.platId.value);
18306
+ if (this.utilities.isNull(res)) {
18307
+ return;
18308
+ }
18309
+ this.selectedPlatform = res;
18310
+ this.loadMainData();
18311
+ });
18312
+ this.props = props;
18313
+ this.ctx = ctx;
18314
+ this.init();
18315
+ }
18316
+ init() {
18317
+ onMounted(() => {
18318
+ this.getPlatData();
18319
+ });
18320
+ }
18321
+ /** 获取主表数据 */
18322
+ async loadMainData() {
18323
+ var _a;
18324
+ (_a = this.mainGridRef.value) == null ? void 0 : _a.loadData(async (options) => {
18325
+ let qw = QueryWrapper.create().eq("PlatformId", this.selectedPlatform.Id).orderBy(["LoginDate"], false);
18326
+ let datas = this.utilities.parseApiResult(await this.mainApi.getEntitiesPageDynamic(options.page, options.pageSize, qw));
18327
+ console.log(datas);
18328
+ options.success(datas);
18329
+ });
18330
+ }
18331
+ /** 新增 */
18332
+ doAddMain() {
18333
+ var _a, _b;
18334
+ this.initMainForm({
18335
+ Id: 0,
18336
+ LoginLocation: "",
18337
+ UserName: "",
18338
+ Account: "",
18339
+ Phone: "",
18340
+ IPAddress: "",
18341
+ LoginDate: this.utilities.getCurrentDate(),
18342
+ LoginType: "",
18343
+ InsTreeId: (_a = this.businessInfo) == null ? void 0 : _a.Id,
18344
+ PlatformId: (_b = this.projectInfo) == null ? void 0 : _b.Id,
18345
+ CreateTime: this.utilities.getCurrentDate(),
18346
+ CreateUserId: this.userInfo.id
18347
+ });
18348
+ }
18349
+ /** 编辑 */
18350
+ doEditMain(row) {
18351
+ this.initMainForm(row);
18352
+ }
18353
+ /** 查看 */
18354
+ doViewMain(row) {
18355
+ this.initMainForm(row, true);
18356
+ }
18357
+ /** 初始化表单 */
18358
+ initMainForm(row, onlyview = false) {
18359
+ Object.assign(this.mainFormModel, row);
18360
+ this.onlyView.value = onlyview;
18361
+ this.modalTitle.value = onlyview ? "查看-登录日志" : row.Id > 0 ? "编辑-登录日志" : "新增-登录日志";
18362
+ this.isShowModal.value = true;
18363
+ }
18364
+ /** 删除 */
18365
+ async doDeleteMain(row) {
18366
+ let deleteStr = `${row.LoginLocation ? row.LoginLocation : "该条数据"}`;
18367
+ this.modal.confirm({
18368
+ title: "提示",
18369
+ content: `确定要删除${deleteStr}吗`,
18370
+ onOk: async () => {
18371
+ const apiResult = await this.mainApi.delete(row.Id);
18372
+ const result = this.utilities.parseApiResult(apiResult);
18373
+ if (result) {
18374
+ this.message.success("删除成功!");
18375
+ this.mainGridRef.value.refreshData();
18376
+ } else {
18377
+ this.message.warning("操作异常, 请稍后重试!");
18378
+ }
18379
+ }
18380
+ });
18381
+ }
18382
+ //#endregion Form END
18383
+ };
18384
+ const _hoisted_1$5 = {
18385
+ class: "nv-flex-col",
18386
+ style: { "height": "600px" }
18387
+ };
18388
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
18389
+ const _component_Option = resolveComponent("Option");
18390
+ const _component_Select = resolveComponent("Select");
18391
+ const _component_Spin = resolveComponent("Spin");
18392
+ const _component_NvControlGroup = resolveComponent("NvControlGroup");
18393
+ const _component_NvGrid = resolveComponent("NvGrid");
18394
+ const _component_NvBox = resolveComponent("NvBox");
18395
+ const _component_NvComFormUp = resolveComponent("NvComFormUp");
18396
+ const _component_Form = resolveComponent("Form");
18397
+ const _component_Button = resolveComponent("Button");
18398
+ const _component_NvButton = resolveComponent("NvButton");
18399
+ const _component_NvModal = resolveComponent("NvModal");
18400
+ const _component_NvPage = resolveComponent("NvPage");
18401
+ return openBlock(), createBlock(_component_NvPage, { gutter: 8 }, {
18402
+ default: withCtx(() => [
18403
+ createVNode(_component_NvBox, { title: "登录日志" }, {
18404
+ default: withCtx(() => [
18405
+ createVNode(_component_NvGrid, {
18406
+ ref: "mainGridRef",
18407
+ option: _ctx.mainGridOption
18408
+ }, {
18409
+ default: withCtx(() => [
18410
+ createVNode(_component_NvControlGroup, {
18411
+ width: "380px",
18412
+ icon: "md-refresh",
18413
+ label: "系统平台",
18414
+ labelWidth: 75,
18415
+ onClick: _ctx.getPlatData
18416
+ }, {
18417
+ default: withCtx(() => [
18418
+ createVNode(_component_Select, {
18419
+ modelValue: _ctx.platId,
18420
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.platId = $event),
18421
+ onOnChange: _ctx.doPlatformChange,
18422
+ transfer: ""
18423
+ }, {
18424
+ default: withCtx(() => [
18425
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.platData, (item, index2) => {
18426
+ return openBlock(), createBlock(_component_Option, {
18427
+ key: index2,
18428
+ value: item.Id
18429
+ }, {
18430
+ default: withCtx(() => [
18431
+ createTextVNode(toDisplayString(item.PlatformAbbreviation), 1)
18432
+ ]),
18433
+ _: 2
18434
+ }, 1032, ["value"]);
18435
+ }), 128))
18436
+ ]),
18437
+ _: 1
18438
+ }, 8, ["modelValue", "onOnChange"]),
18439
+ createVNode(_component_Spin, {
18440
+ fix: "",
18441
+ show: _ctx.spinPlatShow
18442
+ }, null, 8, ["show"])
18443
+ ]),
18444
+ _: 1
18445
+ }, 8, ["onClick"])
18446
+ ]),
18447
+ _: 1
18448
+ }, 8, ["option"])
18449
+ ]),
18450
+ _: 1
18451
+ }),
18452
+ createVNode(_component_NvModal, {
18453
+ modelValue: _ctx.isShowModal,
18454
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.isShowModal = $event),
18455
+ mask: true,
18456
+ "mask-closable": false,
18457
+ width: 1200,
18458
+ title: _ctx.modalTitle,
18459
+ "z-index": 500
18460
+ }, {
18461
+ footer: withCtx(() => [
18462
+ createVNode(_component_Button, {
18463
+ type: "text",
18464
+ onClick: _cache[1] || (_cache[1] = ($event) => _ctx.isShowModal = false)
18465
+ }, {
18466
+ default: withCtx(() => [
18467
+ createTextVNode("关闭")
18468
+ ]),
18469
+ _: 1
18470
+ }),
18471
+ createVNode(_component_NvButton, {
18472
+ type: "primary",
18473
+ loading: _ctx.saveingMainLoading,
18474
+ onClick: _ctx.doSaveMain
18475
+ }, {
18476
+ default: withCtx(() => [
18477
+ createTextVNode("保存")
18478
+ ]),
18479
+ _: 1
18480
+ }, 8, ["loading", "onClick"])
18481
+ ]),
18482
+ default: withCtx(() => [
18483
+ createElementVNode("div", _hoisted_1$5, [
18484
+ _ctx.isShowModal ? (openBlock(), createBlock(_component_Form, {
18485
+ key: 0,
18486
+ class: "nv-pos-r",
18487
+ ref: "mainFormRef",
18488
+ model: _ctx.mainFormModel,
18489
+ "label-width": 115,
18490
+ rules: _ctx.mainFormRules
18491
+ }, {
18492
+ default: withCtx(() => [
18493
+ createVNode(_component_NvComFormUp, {
18494
+ ref: "mainComFormRef",
18495
+ formModel: _ctx.mainFormModel,
18496
+ formItems: _ctx.mainFormItems,
18497
+ onlyView: false
18498
+ }, null, 8, ["formModel", "formItems"])
18499
+ ]),
18500
+ _: 1
18501
+ }, 8, ["model", "rules"])) : createCommentVNode("", true)
18502
+ ])
18503
+ ]),
18504
+ _: 1
18505
+ }, 8, ["modelValue", "title"])
18506
+ ]),
18507
+ _: 1
18508
+ });
18509
+ }
18510
+ const SubLoginInfo = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
17875
18511
  const propDefine$5 = {
17876
18512
  linkParam: {
17877
18513
  // 带入的参数
@@ -17917,7 +18553,7 @@ class ModuleInstance2 extends BaseInstance {
17917
18553
  var _a;
17918
18554
  this.spinPlatShow.value = true;
17919
18555
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
17920
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
18556
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
17921
18557
  PId: platId
17922
18558
  })).orderBy(["OrderNo"]));
17923
18559
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -18056,7 +18692,8 @@ class ModuleInstance2 extends BaseInstance {
18056
18692
  const dict = {
18057
18693
  0: "路由",
18058
18694
  1: "链接",
18059
- 2: "低代码"
18695
+ 2: "低代码",
18696
+ 3: "静态图片"
18060
18697
  };
18061
18698
  return dict[params.row["LoadMode"]];
18062
18699
  }
@@ -18227,7 +18864,8 @@ class ModuleInstance2 extends BaseInstance {
18227
18864
  datas: [
18228
18865
  { text: "路由", value: 0 },
18229
18866
  { text: "链接", value: 1 },
18230
- { text: "低代码", value: 3 }
18867
+ { text: "低代码", value: 2 },
18868
+ { text: "静态图片", value: 3 }
18231
18869
  ]
18232
18870
  }
18233
18871
  },
@@ -18687,7 +19325,7 @@ class ModuleInstance2 extends BaseInstance {
18687
19325
  async loadOriginPlatforms() {
18688
19326
  var _a;
18689
19327
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
18690
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.selectedPlatform.Id).or((i) => i.allEq({
19328
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).ne("Id", this.selectedPlatform.Id).or((i2) => i2.allEq({
18691
19329
  PId: platId
18692
19330
  })).orderBy(["OrderNo"]));
18693
19331
  this.originPlatform.list = this.utilities.parseApiResult(apiResult);
@@ -31608,9 +32246,9 @@ var Utils = {
31608
32246
  }
31609
32247
  }
31610
32248
  const argArray = [];
31611
- for (let i = 1; i <= maxLength; i++) {
32249
+ for (let i2 = 1; i2 <= maxLength; i2++) {
31612
32250
  let dollar = "";
31613
- for (let j = 0; j < i; j++) {
32251
+ for (let j = 0; j < i2; j++) {
31614
32252
  dollar += "$";
31615
32253
  }
31616
32254
  argArray.push(dollar);
@@ -32135,8 +32773,8 @@ Enumerable.prototype.traverseDepthFirst = function(func, resultSelector) {
32135
32773
  try {
32136
32774
  Utils.dispose(enumerator);
32137
32775
  } finally {
32138
- Enumerable.from(enumeratorStack).forEach(function(s) {
32139
- s.dispose();
32776
+ Enumerable.from(enumeratorStack).forEach(function(s2) {
32777
+ s2.dispose();
32140
32778
  });
32141
32779
  }
32142
32780
  }
@@ -32989,8 +33627,8 @@ Enumerable.prototype.shuffle = function() {
32989
33627
  },
32990
33628
  function() {
32991
33629
  if (buffer.length > 0) {
32992
- const i = Math.floor(Math.random() * buffer.length);
32993
- return this.yieldReturn(buffer.splice(i, 1)[0]);
33630
+ const i2 = Math.floor(Math.random() * buffer.length);
33631
+ return this.yieldReturn(buffer.splice(i2, 1)[0]);
32994
33632
  }
32995
33633
  return false;
32996
33634
  },
@@ -33158,8 +33796,8 @@ Enumerable.prototype.average = function(selector) {
33158
33796
  Enumerable.prototype.count = function(predicate) {
33159
33797
  predicate = predicate == null ? Functions.True : Utils.createLambda(predicate);
33160
33798
  var count = 0;
33161
- this.forEach(function(x, i) {
33162
- if (predicate(x, i))
33799
+ this.forEach(function(x, i2) {
33800
+ if (predicate(x, i2))
33163
33801
  ++count;
33164
33802
  });
33165
33803
  return count;
@@ -33200,8 +33838,8 @@ Enumerable.prototype.sum = function(selector) {
33200
33838
  Enumerable.prototype.elementAt = function(index2) {
33201
33839
  var value;
33202
33840
  var found = false;
33203
- this.forEach(function(x, i) {
33204
- if (i == index2) {
33841
+ this.forEach(function(x, i2) {
33842
+ if (i2 == index2) {
33205
33843
  value = x;
33206
33844
  found = true;
33207
33845
  return false;
@@ -33216,8 +33854,8 @@ Enumerable.prototype.elementAtOrDefault = function(index2, defaultValue) {
33216
33854
  defaultValue = null;
33217
33855
  var value;
33218
33856
  var found = false;
33219
- this.forEach(function(x, i) {
33220
- if (i == index2) {
33857
+ this.forEach(function(x, i2) {
33858
+ if (i2 == index2) {
33221
33859
  value = x;
33222
33860
  found = true;
33223
33861
  return false;
@@ -33463,16 +34101,16 @@ Enumerable.prototype.takeFromLast = function(count) {
33463
34101
  Enumerable.prototype.indexOf = function(item) {
33464
34102
  var found = null;
33465
34103
  if (typeof item === Types.Function) {
33466
- this.forEach(function(x, i) {
33467
- if (item(x, i)) {
33468
- found = i;
34104
+ this.forEach(function(x, i2) {
34105
+ if (item(x, i2)) {
34106
+ found = i2;
33469
34107
  return false;
33470
34108
  }
33471
34109
  });
33472
34110
  } else {
33473
- this.forEach(function(x, i) {
34111
+ this.forEach(function(x, i2) {
33474
34112
  if (x === item) {
33475
- found = i;
34113
+ found = i2;
33476
34114
  return false;
33477
34115
  }
33478
34116
  });
@@ -33482,14 +34120,14 @@ Enumerable.prototype.indexOf = function(item) {
33482
34120
  Enumerable.prototype.lastIndexOf = function(item) {
33483
34121
  var result = -1;
33484
34122
  if (typeof item === Types.Function) {
33485
- this.forEach(function(x, i) {
33486
- if (item(x, i))
33487
- result = i;
34123
+ this.forEach(function(x, i2) {
34124
+ if (item(x, i2))
34125
+ result = i2;
33488
34126
  });
33489
34127
  } else {
33490
- this.forEach(function(x, i) {
34128
+ this.forEach(function(x, i2) {
33491
34129
  if (x === item)
33492
- result = i;
34130
+ result = i2;
33493
34131
  });
33494
34132
  }
33495
34133
  return result;
@@ -33817,8 +34455,8 @@ SortContext.prototype.GenerateKeys = function(source) {
33817
34455
  var len = source.length;
33818
34456
  var keySelector = this.keySelector;
33819
34457
  var keys = new Array(len);
33820
- for (let i = 0; i < len; i++)
33821
- keys[i] = keySelector(source[i]);
34458
+ for (let i2 = 0; i2 < len; i2++)
34459
+ keys[i2] = keySelector(source[i2]);
33822
34460
  this.keys = keys;
33823
34461
  if (this.child != null)
33824
34462
  this.child.GenerateKeys(source);
@@ -34101,10 +34739,10 @@ var Dictionary = function() {
34101
34739
  var entry = new HashEntry(key, value);
34102
34740
  if (callHasOwnProperty(this.buckets, hash)) {
34103
34741
  const array = this.buckets[hash];
34104
- for (let i = 0; i < array.length; i++) {
34105
- if (this.compareSelector(array[i].key) === compareKey) {
34106
- this.entryList.replace(array[i], entry);
34107
- array[i] = entry;
34742
+ for (let i2 = 0; i2 < array.length; i2++) {
34743
+ if (this.compareSelector(array[i2].key) === compareKey) {
34744
+ this.entryList.replace(array[i2], entry);
34745
+ array[i2] = entry;
34108
34746
  return;
34109
34747
  }
34110
34748
  }
@@ -34121,8 +34759,8 @@ var Dictionary = function() {
34121
34759
  if (!callHasOwnProperty(this.buckets, hash))
34122
34760
  return void 0;
34123
34761
  var array = this.buckets[hash];
34124
- for (let i = 0; i < array.length; i++) {
34125
- const entry = array[i];
34762
+ for (let i2 = 0; i2 < array.length; i2++) {
34763
+ const entry = array[i2];
34126
34764
  if (this.compareSelector(entry.key) === compareKey)
34127
34765
  return entry.value;
34128
34766
  }
@@ -34133,11 +34771,11 @@ var Dictionary = function() {
34133
34771
  var hash = computeHashCode(compareKey);
34134
34772
  if (callHasOwnProperty(this.buckets, hash)) {
34135
34773
  const array = this.buckets[hash];
34136
- for (let i = 0; i < array.length; i++) {
34137
- if (this.compareSelector(array[i].key) === compareKey) {
34774
+ for (let i2 = 0; i2 < array.length; i2++) {
34775
+ if (this.compareSelector(array[i2].key) === compareKey) {
34138
34776
  const newEntry = new HashEntry(key, value);
34139
- this.entryList.replace(array[i], newEntry);
34140
- array[i] = newEntry;
34777
+ this.entryList.replace(array[i2], newEntry);
34778
+ array[i2] = newEntry;
34141
34779
  return true;
34142
34780
  }
34143
34781
  }
@@ -34150,8 +34788,8 @@ var Dictionary = function() {
34150
34788
  if (!callHasOwnProperty(this.buckets, hash))
34151
34789
  return false;
34152
34790
  var array = this.buckets[hash];
34153
- for (let i = 0; i < array.length; i++) {
34154
- if (this.compareSelector(array[i].key) === compareKey)
34791
+ for (let i2 = 0; i2 < array.length; i2++) {
34792
+ if (this.compareSelector(array[i2].key) === compareKey)
34155
34793
  return true;
34156
34794
  }
34157
34795
  return false;
@@ -34167,10 +34805,10 @@ var Dictionary = function() {
34167
34805
  if (!callHasOwnProperty(this.buckets, hash))
34168
34806
  return;
34169
34807
  var array = this.buckets[hash];
34170
- for (let i = 0; i < array.length; i++) {
34171
- if (this.compareSelector(array[i].key) === compareKey) {
34172
- this.entryList.remove(array[i]);
34173
- array.splice(i, 1);
34808
+ for (let i2 = 0; i2 < array.length; i2++) {
34809
+ if (this.compareSelector(array[i2].key) === compareKey) {
34810
+ this.entryList.remove(array[i2]);
34811
+ array.splice(i2, 1);
34174
34812
  if (array.length == 0)
34175
34813
  delete this.buckets[hash];
34176
34814
  this.countField--;
@@ -34438,7 +35076,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
34438
35076
  var _a;
34439
35077
  this.spinPlatShow.value = true;
34440
35078
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
34441
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
35079
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
34442
35080
  PId: platId
34443
35081
  })).orderBy(["OrderNo"]));
34444
35082
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -35112,7 +35750,7 @@ class ProjectSummaryInstance extends BaseInstance {
35112
35750
  if (arr && arr.length > 0) {
35113
35751
  this.isShowForm.value = true;
35114
35752
  this.isShowSpin.value = true;
35115
- arr.forEach((x, i) => {
35753
+ arr.forEach((x, i2) => {
35116
35754
  if (x.type == "region") {
35117
35755
  let regionArr = [
35118
35756
  {
@@ -35171,7 +35809,7 @@ class ProjectSummaryInstance extends BaseInstance {
35171
35809
  ] : []
35172
35810
  }
35173
35811
  ];
35174
- arr.splice(i, 1, ...regionArr);
35812
+ arr.splice(i2, 1, ...regionArr);
35175
35813
  }
35176
35814
  if (x.requiredd > 0) {
35177
35815
  switch (x.type) {
@@ -35200,15 +35838,15 @@ class ProjectSummaryInstance extends BaseInstance {
35200
35838
  }
35201
35839
  this.mainFormItems.splice(0, this.mainFormItems.length, ...arr);
35202
35840
  console.log("xxxxxxxxxxxxx", this.mainFormItems);
35203
- this.mainFormItems.forEach((x, i) => {
35841
+ this.mainFormItems.forEach((x, i2) => {
35204
35842
  if (x.model == "Province") {
35205
- this.provinceIndex.value = i;
35843
+ this.provinceIndex.value = i2;
35206
35844
  }
35207
35845
  if (x.model == "City") {
35208
- this.cityIndex.value = i;
35846
+ this.cityIndex.value = i2;
35209
35847
  }
35210
35848
  if (x.model == "Area") {
35211
- this.areaIndex.value = i;
35849
+ this.areaIndex.value = i2;
35212
35850
  }
35213
35851
  });
35214
35852
  console.log("xxxxxxxxxxxxx", this.mainFormItems);
@@ -35465,7 +36103,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
35465
36103
  var _a;
35466
36104
  this.spinPlatShow.value = true;
35467
36105
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
35468
- const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
36106
+ const apiResult = await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
35469
36107
  PId: platId
35470
36108
  })).orderBy(["OrderNo"]));
35471
36109
  this.platData.value = this.utilities.parseApiResult(apiResult);
@@ -35973,7 +36611,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
35973
36611
  let userRoles = this.utilities.parseApiResult(apiResult);
35974
36612
  let insertRecords = [];
35975
36613
  for (const item of chkDatas) {
35976
- if (userRoles.findIndex((d) => d.RoleId == item.Id) == -1) {
36614
+ if (userRoles.findIndex((d2) => d2.RoleId == item.Id) == -1) {
35977
36615
  insertRecords.push({
35978
36616
  PlatformId: this.selectedPlatform.Id,
35979
36617
  UserId: this.currentUser.Id,
@@ -35983,7 +36621,7 @@ class ProjectUserinforInstance2 extends BaseInstance {
35983
36621
  }
35984
36622
  let deleteRecords = [];
35985
36623
  for (const item of userRoles) {
35986
- if (chkDatas.findIndex((d) => d.Id == item.RoleId) == -1) {
36624
+ if (chkDatas.findIndex((d2) => d2.Id == item.RoleId) == -1) {
35987
36625
  deleteRecords.push(item.Id);
35988
36626
  }
35989
36627
  }
@@ -36906,7 +37544,7 @@ const _sfc_main$1 = defineComponent({
36906
37544
  return new Instance$1(props, ctx);
36907
37545
  }
36908
37546
  });
36909
- let Instance$1 = class Instance extends BaseInstance {
37547
+ let Instance$1 = class Instance2 extends BaseInstance {
36910
37548
  // 全局属性
36911
37549
  constructor(props, ctx) {
36912
37550
  super();
@@ -37234,10 +37872,10 @@ const _sfc_main = defineComponent({
37234
37872
  // 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
37235
37873
  props: propDefine,
37236
37874
  setup(props, ctx) {
37237
- return new Instance2(props, ctx);
37875
+ return new Instance3(props, ctx);
37238
37876
  }
37239
37877
  });
37240
- class Instance2 extends BaseInstance {
37878
+ class Instance3 extends BaseInstance {
37241
37879
  // 全局属性
37242
37880
  constructor(props, ctx) {
37243
37881
  super();
@@ -37347,7 +37985,7 @@ class Instance2 extends BaseInstance {
37347
37985
  var _a;
37348
37986
  this.spinPlatShow.value = true;
37349
37987
  const platId = (_a = this.storageInfo.getCurrentPlatform()) == null ? void 0 : _a.Id;
37350
- let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i) => i.allEq({
37988
+ let apiResult = this.utilities.parseApiResult(await this.platformApi.getEntities(QueryWrapper.create().eq("Id", platId).or((i2) => i2.allEq({
37351
37989
  PId: platId
37352
37990
  })).orderBy(["OrderNo"])));
37353
37991
  console.log(apiResult, "平台信息");
@@ -37868,6 +38506,11 @@ const index = [
37868
38506
  component: Information
37869
38507
  },
37870
38508
  // 平台设置(二级)
38509
+ {
38510
+ // 菜单模块
38511
+ path: "/permission-service/platform/submodule",
38512
+ component: Module
38513
+ },
37871
38514
  {
37872
38515
  // 项目管理
37873
38516
  path: "/permission-service/platform/subplatform",
@@ -37908,6 +38551,11 @@ const index = [
37908
38551
  path: "/permission-service/subplatform/subModule",
37909
38552
  component: subModule
37910
38553
  },
38554
+ {
38555
+ // 登录日志
38556
+ path: "/permission-service/subplatform/sublogininfo",
38557
+ component: SubLoginInfo
38558
+ },
37911
38559
  {
37912
38560
  // 地图定点
37913
38561
  path: "/permission-service/institution/sublinepoins",