@newview/permission-service 1.2.26 → 1.2.27

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.
@@ -247,7 +247,8 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
247
247
  LastUpdateUserId: 0,
248
248
  LastUpdateUserName: "",
249
249
  LastUpdateDate: "",
250
- DefaultPwd: ""
250
+ DefaultPwd: "",
251
+ PlatformType: 1
251
252
  }));
252
253
  __publicField(this, "platformFormItems", reactive([
253
254
  { model: "PlatformName", label: "系统名称", prop: "PlatformName", type: "Input", span: 24, rules: [{ required: true, message: "系统名称不能为空", trigger: "blur" }] },
@@ -267,6 +268,36 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
267
268
  multiple: false
268
269
  }
269
270
  },
271
+ {
272
+ model: "PlatformType",
273
+ label: "线路状态",
274
+ prop: "PId",
275
+ type: "Select",
276
+ span: 24,
277
+ selectProp: {
278
+ datas: [
279
+ {
280
+ value: 1,
281
+ text: "规划"
282
+ },
283
+ {
284
+ value: 2,
285
+ text: "建设(建设)"
286
+ },
287
+ {
288
+ value: 3,
289
+ text: "完工(养护)"
290
+ },
291
+ {
292
+ value: 4,
293
+ text: "建养(全生命)"
294
+ }
295
+ ],
296
+ transfer: true,
297
+ clearable: true,
298
+ multiple: false
299
+ }
300
+ },
270
301
  { model: "PlatformUrl", label: "系统URL", prop: "PlatformUrl", type: "Input", span: 24 },
271
302
  { model: "CABusinessKey", label: "CAKey", prop: "CABusinessKey", type: "Input", span: 24 },
272
303
  { model: "DefaultPwd", label: "用户默认密码", prop: "DefaultPwd", type: "Input", span: 24 },
@@ -359,6 +390,7 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
359
390
  this.platformFormModel.PId = data.PId;
360
391
  this.platformFormModel.LastUpdateDate = this.utilities.getCurrentDate();
361
392
  this.platformFormModel.DefaultPwd = data.DefaultPwd;
393
+ this.platformFormModel.PlatformType = data.PlatformType;
362
394
  this.editPlatformModalTitle.value = `编辑 - ${data.PlatformName}`;
363
395
  const tableData = (_a = this.platformGrid.value) == null ? void 0 : _a.getDatas();
364
396
  this.platformFormItems[4].selectProp.datas = tableData.length > 0 ? tableData == null ? void 0 : tableData.map((item) => {
@@ -388,6 +420,7 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
388
420
  this.platformFormModel.LastUpdateUserId = user.Id;
389
421
  this.platformFormModel.LastUpdateUserName = user.UserName;
390
422
  this.platformFormModel.LastUpdateDate = this.utilities.getCurrentDate();
423
+ this.platformFormModel.PlatformType = 1;
391
424
  this.editPlatformModalTitle.value = `新增 - 系统平台`;
392
425
  const data = (_a = this.platformGrid.value) == null ? void 0 : _a.getDatas();
393
426
  this.platformFormItems[4].selectProp.datas = data.length > 0 ? data == null ? void 0 : data.map((item) => {
@@ -400,7 +433,7 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
400
433
  }
401
434
  //#endregion 系统平台编辑 END
402
435
  };
403
- const Platform_vue_vue_type_style_index_0_scoped_f58b0adc_lang = "";
436
+ const Platform_vue_vue_type_style_index_0_scoped_e44fc32c_lang = "";
404
437
  const _export_sfc = (sfc, props) => {
405
438
  const target = sfc.__vccOpts || sfc;
406
439
  for (const [key, val] of props) {
@@ -412,7 +445,7 @@ const _hoisted_1$k = {
412
445
  class: "nv-flex",
413
446
  style: { "justify-content": "space-between" }
414
447
  };
415
- const _hoisted_2$a = { style: { "height": "550px", "overflow-y": "auto" } };
448
+ const _hoisted_2$a = { style: { "height": "600px", "overflow-y": "auto" } };
416
449
  const _hoisted_3$a = { style: { "height": "400px", "overflow-y": "auto" } };
417
450
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
418
451
  const _component_NvList = resolveComponent("NvList");
@@ -589,7 +622,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
589
622
  _: 1
590
623
  });
591
624
  }
592
- const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-f58b0adc"]]);
625
+ const Platform = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l], ["__scopeId", "data-v-e44fc32c"]]);
593
626
  const propDefine$k = {
594
627
  linkParam: {
595
628
  // 带入的参数
@@ -2475,7 +2508,7 @@ let RoleInstance$1 = class RoleInstance extends BaseInstance {
2475
2508
  }
2476
2509
  //#endregion 导入角色 END
2477
2510
  };
2478
- const Role_vue_vue_type_style_index_0_scoped_0f25fe31_lang = "";
2511
+ const Role_vue_vue_type_style_index_0_scoped_a12a6a42_lang = "";
2479
2512
  const _hoisted_1$i = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
2480
2513
  const _hoisted_2$8 = {
2481
2514
  class: "import-role",
@@ -2606,7 +2639,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2606
2639
  default: withCtx(() => [
2607
2640
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
2608
2641
  return openBlock(), createBlock(_component_Option, {
2609
- key: _ctx.originPlatform.selectedId + "" + index2,
2642
+ key: index2,
2610
2643
  value: item.Id
2611
2644
  }, {
2612
2645
  default: withCtx(() => [
@@ -2683,7 +2716,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
2683
2716
  _: 1
2684
2717
  });
2685
2718
  }
2686
- const Role = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-0f25fe31"]]);
2719
+ const Role = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-a12a6a42"]]);
2687
2720
  const propDefine$i = {
2688
2721
  linkParam: {
2689
2722
  // 带入的参数
@@ -3901,7 +3934,7 @@ let InstitutionInstance$1 = class InstitutionInstance extends BaseInstance {
3901
3934
  }
3902
3935
  //#endregion 绑定角色 END
3903
3936
  };
3904
- const Institution_vue_vue_type_style_index_0_scoped_42799ba1_lang = "";
3937
+ const Institution_vue_vue_type_style_index_0_scoped_7165dadd_lang = "";
3905
3938
  const _hoisted_1$g = { style: { "width": "100%", "height": "100%", "position": "relative" } };
3906
3939
  const _hoisted_2$7 = { style: { "height": "500px", "overflow-y": "auto" } };
3907
3940
  const _hoisted_3$7 = {
@@ -4107,7 +4140,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
4107
4140
  default: withCtx(() => [
4108
4141
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
4109
4142
  return openBlock(), createBlock(_component_Option, {
4110
- key: _ctx.originPlatform.selectedId + "" + index2,
4143
+ key: index2,
4111
4144
  value: item.Id
4112
4145
  }, {
4113
4146
  default: withCtx(() => [
@@ -4179,7 +4212,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
4179
4212
  _: 1
4180
4213
  });
4181
4214
  }
4182
- const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-42799ba1"]]);
4215
+ const Institution = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h], ["__scopeId", "data-v-7165dadd"]]);
4183
4216
  const propDefine$g = {};
4184
4217
  const _sfc_main$g = defineComponent({
4185
4218
  name: "LoginLog",
@@ -7545,7 +7578,8 @@ class PlatformInstance2 extends BaseInstance {
7545
7578
  LastUpdateUserId: 0,
7546
7579
  LastUpdateUserName: "",
7547
7580
  LastUpdateDate: "",
7548
- DefaultPwd: ""
7581
+ DefaultPwd: "",
7582
+ PlatformType: 1
7549
7583
  }));
7550
7584
  __publicField(this, "platformFormItems", reactive([
7551
7585
  { model: "PlatformName", label: "系统名称", prop: "PlatformName", type: "Input", span: 24, rules: [{ required: true, message: "系统名称不能为空", trigger: "blur" }] },
@@ -7569,6 +7603,36 @@ class PlatformInstance2 extends BaseInstance {
7569
7603
  }
7570
7604
  }
7571
7605
  },
7606
+ {
7607
+ model: "PlatformType",
7608
+ label: "线路状态",
7609
+ prop: "PId",
7610
+ type: "Select",
7611
+ span: 24,
7612
+ selectProp: {
7613
+ datas: [
7614
+ {
7615
+ value: 1,
7616
+ text: "规划"
7617
+ },
7618
+ {
7619
+ value: 2,
7620
+ text: "建设(建设)"
7621
+ },
7622
+ {
7623
+ value: 3,
7624
+ text: "完工(养护)"
7625
+ },
7626
+ {
7627
+ value: 4,
7628
+ text: "建养(全生命)"
7629
+ }
7630
+ ],
7631
+ transfer: true,
7632
+ clearable: true,
7633
+ multiple: false
7634
+ }
7635
+ },
7572
7636
  { model: "PlatformUrl", label: "系统URL", prop: "PlatformUrl", type: "Input", span: 24 },
7573
7637
  { model: "CABusinessKey", label: "CAKey", prop: "CABusinessKey", type: "Input", span: 24 },
7574
7638
  { model: "DefaultPwd", label: "用户默认密码", prop: "DefaultPwd", type: "Input", span: 24 },
@@ -7656,6 +7720,7 @@ class PlatformInstance2 extends BaseInstance {
7656
7720
  this.platformFormModel.LastUpdateUserId = user.Id;
7657
7721
  this.platformFormModel.LastUpdateUserName = user.UserName;
7658
7722
  this.platformFormModel.LastUpdateDate = this.utilities.getCurrentDate();
7723
+ this.platformFormModel.PlatformType = data.PlatformType;
7659
7724
  this.platformFormModel.DefaultPwd = data.DefaultPwd;
7660
7725
  const tableData = (_a = this.platformGrid.value) == null ? void 0 : _a.getDatas();
7661
7726
  this.platformFormItems[4].selectProp.datas = tableData.length > 0 ? tableData == null ? void 0 : tableData.map((item) => {
@@ -7688,6 +7753,7 @@ class PlatformInstance2 extends BaseInstance {
7688
7753
  this.platformFormModel.LastUpdateUserName = user.UserName;
7689
7754
  this.platformFormModel.LastUpdateDate = this.utilities.getCurrentDate();
7690
7755
  this.platformFormModel.DefaultPwd = "";
7756
+ this.platformFormModel.PlatformType = 1;
7691
7757
  this.editPlatformModalTitle.value = `新增 - 系统平台`;
7692
7758
  const data = (_a = this.platformGrid.value) == null ? void 0 : _a.getDatas();
7693
7759
  this.platformFormItems[4].selectProp.datas = data.length > 0 ? data == null ? void 0 : data.map((item) => {
@@ -7703,8 +7769,8 @@ class PlatformInstance2 extends BaseInstance {
7703
7769
  }
7704
7770
  //#endregion 系统平台编辑 END
7705
7771
  }
7706
- const Platform_vue_vue_type_style_index_0_scoped_fbc0e7f2_lang = "";
7707
- const _hoisted_1$a = { style: { "height": "550px", "overflow-y": "auto" } };
7772
+ const Platform_vue_vue_type_style_index_0_scoped_0ada9242_lang = "";
7773
+ const _hoisted_1$a = { style: { "height": "600px", "overflow-y": "auto" } };
7708
7774
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
7709
7775
  const _component_NvGrid = resolveComponent("NvGrid");
7710
7776
  const _component_NvBox = resolveComponent("NvBox");
@@ -7808,7 +7874,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
7808
7874
  _: 1
7809
7875
  });
7810
7876
  }
7811
- const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-fbc0e7f2"]]);
7877
+ const subplatform = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b], ["__scopeId", "data-v-0ada9242"]]);
7812
7878
  const propDefine$a = {
7813
7879
  linkParam: {
7814
7880
  // 带入的参数