@newview/permission-service 1.2.25 → 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.
- package/README.md +4 -0
- package/dist/permission-service.js +128 -45
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import { BaseInstance } from "@newview/base-vue";
|
|
8
|
-
import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, withModifiers } from "vue";
|
|
8
|
+
import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, computed, withModifiers } from "vue";
|
|
9
9
|
import { PlatformApi, PlatformGroupApi, ModuleApi, RoleApi, RoleModuleApi, InstitutionRoleApi, InstitutionTypeApi, InstitutioninforApi, InstitutionPlatformApi, InstitutionTreeApi, EnterpriseApi, LoginLogApi, UserinforApi, InstitutionUserApi, UserRoleApi, OAuthApi, UserSignApi, InstitutionLinePointApi, InstitutionPointApi, ProjectSummaryApi, DataBoardModuleApi, DataInistitutionRelationApi, DataInstitutionBoardRelationApi } from "@newview/permission-api";
|
|
10
10
|
import { QueryWrapper, BaseApi } from "@newview/infrastructure";
|
|
11
11
|
import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
|
|
@@ -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
|
|
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": "
|
|
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-
|
|
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
|
|
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:
|
|
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-
|
|
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
|
|
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:
|
|
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-
|
|
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
|
|
7707
|
-
const _hoisted_1$a = { style: { "height": "
|
|
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-
|
|
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
|
// 带入的参数
|
|
@@ -8650,7 +8716,7 @@ class RoleInstance2 extends BaseInstance {
|
|
|
8650
8716
|
}
|
|
8651
8717
|
//#endregion 导入角色 END
|
|
8652
8718
|
}
|
|
8653
|
-
const
|
|
8719
|
+
const Role_vue_vue_type_style_index_0_scoped_bbf1cb02_lang = "";
|
|
8654
8720
|
const _hoisted_1$9 = { style: { "height": "650px", "overflow-y": "auto", "position": "relative" } };
|
|
8655
8721
|
const _hoisted_2$5 = {
|
|
8656
8722
|
class: "import-role",
|
|
@@ -8844,7 +8910,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8844
8910
|
default: withCtx(() => [
|
|
8845
8911
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
|
|
8846
8912
|
return openBlock(), createBlock(_component_Option, {
|
|
8847
|
-
key:
|
|
8913
|
+
key: index2,
|
|
8848
8914
|
value: item.Id
|
|
8849
8915
|
}, {
|
|
8850
8916
|
default: withCtx(() => [
|
|
@@ -8921,7 +8987,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8921
8987
|
_: 1
|
|
8922
8988
|
});
|
|
8923
8989
|
}
|
|
8924
|
-
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-
|
|
8990
|
+
const subrole = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a], ["__scopeId", "data-v-bbf1cb02"]]);
|
|
8925
8991
|
const propDefine$9 = {
|
|
8926
8992
|
linkParam: {
|
|
8927
8993
|
// 带入的参数
|
|
@@ -10439,7 +10505,7 @@ class InstitutionInstance2 extends BaseInstance {
|
|
|
10439
10505
|
}
|
|
10440
10506
|
//#endregion 绑定角色 END
|
|
10441
10507
|
}
|
|
10442
|
-
const
|
|
10508
|
+
const Institution_vue_vue_type_style_index_0_scoped_ba4186ba_lang = "";
|
|
10443
10509
|
const _hoisted_1$7 = { style: { "width": "100%", "height": "100%", "position": "relative" } };
|
|
10444
10510
|
const _hoisted_2$4 = { style: { "height": "500px", "overflow-y": "auto" } };
|
|
10445
10511
|
const _hoisted_3$4 = {
|
|
@@ -10680,7 +10746,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10680
10746
|
default: withCtx(() => [
|
|
10681
10747
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.originPlatform.list, (item, index2) => {
|
|
10682
10748
|
return openBlock(), createBlock(_component_Option, {
|
|
10683
|
-
key:
|
|
10749
|
+
key: index2,
|
|
10684
10750
|
value: item.Id
|
|
10685
10751
|
}, {
|
|
10686
10752
|
default: withCtx(() => [
|
|
@@ -10752,7 +10818,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10752
10818
|
_: 1
|
|
10753
10819
|
});
|
|
10754
10820
|
}
|
|
10755
|
-
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-
|
|
10821
|
+
const subinstitution = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-ba4186ba"]]);
|
|
10756
10822
|
const propDefine$7 = {};
|
|
10757
10823
|
const _sfc_main$7 = defineComponent({
|
|
10758
10824
|
name: "LoginLog",
|
|
@@ -11193,6 +11259,9 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11193
11259
|
__publicField(this, "doChangeUserBoxWidth", (isExpand) => {
|
|
11194
11260
|
this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
|
|
11195
11261
|
});
|
|
11262
|
+
__publicField(this, "expiredDateDisabled", computed(() => {
|
|
11263
|
+
return this.userFormModel.Id == 0;
|
|
11264
|
+
}));
|
|
11196
11265
|
//#endregion 用户列表 END
|
|
11197
11266
|
//#region 编辑用户
|
|
11198
11267
|
// 响应属性 | ref、reactive、computed、watch
|
|
@@ -11219,6 +11288,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11219
11288
|
LastUpdateUserName: "",
|
|
11220
11289
|
LastUpdateDate: ""
|
|
11221
11290
|
}));
|
|
11291
|
+
__publicField(this, "isDe", false);
|
|
11222
11292
|
__publicField(this, "userFormItems", reactive([
|
|
11223
11293
|
{
|
|
11224
11294
|
model: "",
|
|
@@ -11263,7 +11333,14 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11263
11333
|
transfer: true
|
|
11264
11334
|
}
|
|
11265
11335
|
},
|
|
11266
|
-
{
|
|
11336
|
+
{
|
|
11337
|
+
model: "ExpiredDate",
|
|
11338
|
+
label: "密码过期时间",
|
|
11339
|
+
type: "DatePicker",
|
|
11340
|
+
datePickerProp: {
|
|
11341
|
+
disabled: true
|
|
11342
|
+
}
|
|
11343
|
+
},
|
|
11267
11344
|
{
|
|
11268
11345
|
model: "PwdAuthentication",
|
|
11269
11346
|
label: "密码强认证",
|
|
@@ -11759,6 +11836,13 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11759
11836
|
option.success(datas);
|
|
11760
11837
|
});
|
|
11761
11838
|
}
|
|
11839
|
+
// dateDis = computed(() => {
|
|
11840
|
+
// return this.userFormModel.Id == 0
|
|
11841
|
+
// });
|
|
11842
|
+
dateDis() {
|
|
11843
|
+
debugger;
|
|
11844
|
+
return this.userFormModel.Id == 0;
|
|
11845
|
+
}
|
|
11762
11846
|
// 私有方法 | private 方法名() {}
|
|
11763
11847
|
/**
|
|
11764
11848
|
* 编辑用户信息
|
|
@@ -11964,8 +12048,8 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11964
12048
|
// 响应式方法 | xxx = () => {}
|
|
11965
12049
|
//#endregion 重置密码 END
|
|
11966
12050
|
}
|
|
11967
|
-
const
|
|
11968
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
12051
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_6a60ce29_lang = "";
|
|
12052
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-6a60ce29"), n = n(), popScopeId(), n);
|
|
11969
12053
|
const _hoisted_1$5 = { class: "instree-search" };
|
|
11970
12054
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
11971
12055
|
const _hoisted_3$3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
@@ -12086,7 +12170,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12086
12170
|
}, 8, ["onChange"]),
|
|
12087
12171
|
createVNode(_component_NvBox, {
|
|
12088
12172
|
width: _ctx.userBoxWidth,
|
|
12089
|
-
title: "用户列表
|
|
12173
|
+
title: "用户列表"
|
|
12090
12174
|
}, {
|
|
12091
12175
|
default: withCtx(() => [
|
|
12092
12176
|
createVNode(_component_NvGrid, {
|
|
@@ -12136,11 +12220,12 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12136
12220
|
rules: _ctx.userFormRule
|
|
12137
12221
|
}, {
|
|
12138
12222
|
default: withCtx(() => [
|
|
12139
|
-
|
|
12223
|
+
_ctx.showEditUser ? (openBlock(), createBlock(_component_NvComForm, {
|
|
12224
|
+
key: 0,
|
|
12140
12225
|
ref: "userComForm",
|
|
12141
12226
|
formModel: _ctx.userFormModel,
|
|
12142
12227
|
formItems: _ctx.userFormItems
|
|
12143
|
-
}, null, 8, ["formModel", "formItems"])
|
|
12228
|
+
}, null, 8, ["formModel", "formItems"])) : createCommentVNode("", true)
|
|
12144
12229
|
]),
|
|
12145
12230
|
_: 1
|
|
12146
12231
|
}, 8, ["model", "rules"]),
|
|
@@ -12377,7 +12462,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12377
12462
|
_: 1
|
|
12378
12463
|
});
|
|
12379
12464
|
}
|
|
12380
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
12465
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-6a60ce29"]]);
|
|
12381
12466
|
const propDefine$5 = {
|
|
12382
12467
|
linkParam: {
|
|
12383
12468
|
// 带入的参数
|
|
@@ -26186,7 +26271,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26186
26271
|
}
|
|
26187
26272
|
}
|
|
26188
26273
|
if (this.polyline.getLatLngs().length > 0) {
|
|
26189
|
-
const params = this.polyline.getLatLngs().map((item) => {
|
|
26274
|
+
const params = this.polyline.getLatLngs().map((item, index2) => {
|
|
26190
26275
|
return {
|
|
26191
26276
|
Id: 0,
|
|
26192
26277
|
Longitude: item.lng,
|
|
@@ -26196,7 +26281,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26196
26281
|
InsTreeId: this.selectedInsTree.Id,
|
|
26197
26282
|
InsName: this.selectedInsTree.InstitutionAbbreviation,
|
|
26198
26283
|
InstitutionId: this.selectedInsTree.InstitutionId,
|
|
26199
|
-
Altitude: 0
|
|
26284
|
+
Altitude: 0,
|
|
26285
|
+
OrderNo: index2 + 1
|
|
26200
26286
|
};
|
|
26201
26287
|
});
|
|
26202
26288
|
const res = this.utilities.parseApiResult(await this.institutionLinePointApi.saves(params));
|
|
@@ -26379,15 +26465,6 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26379
26465
|
titleField: "name"
|
|
26380
26466
|
}));
|
|
26381
26467
|
// 私有方法 | private 方法名() {}
|
|
26382
|
-
// private async loadPintData() {
|
|
26383
|
-
// this.groupData.value!.loadData(async (option) => {
|
|
26384
|
-
// let res = this.utilities.parseApiResult(await this.institutionPointApi.getEntities())
|
|
26385
|
-
// res.list = res.list.map((item) => {
|
|
26386
|
-
// return { ...item, Id: item.indexCode }
|
|
26387
|
-
// })
|
|
26388
|
-
// option.success(res.list)
|
|
26389
|
-
// })
|
|
26390
|
-
// }
|
|
26391
26468
|
// 响应式方法 | xxx = () => {}
|
|
26392
26469
|
//#endregion 右侧点list END
|
|
26393
26470
|
//#region 导入数据
|
|
@@ -26408,7 +26485,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26408
26485
|
this.isImporting.value = true;
|
|
26409
26486
|
console.log(datas, "表格导入数据");
|
|
26410
26487
|
this.refExcelImport.value.messageInfo(`***数据导入开始***'`);
|
|
26411
|
-
datas = datas.map((item) => {
|
|
26488
|
+
datas = datas.map((item, index2) => {
|
|
26412
26489
|
return {
|
|
26413
26490
|
Id: 0,
|
|
26414
26491
|
Longitude: item["经度"],
|
|
@@ -26418,7 +26495,8 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26418
26495
|
InsTreeId: this.selectedInsTree.Id,
|
|
26419
26496
|
InsName: this.selectedInsTree.InstitutionAbbreviation,
|
|
26420
26497
|
InstitutionId: this.selectedInsTree.InstitutionId,
|
|
26421
|
-
Altitude: 0
|
|
26498
|
+
Altitude: 0,
|
|
26499
|
+
OrderNo: index2 + 1
|
|
26422
26500
|
};
|
|
26423
26501
|
});
|
|
26424
26502
|
this.utilities.parseApiResult(await this.institutionLinePointApi.saves(datas));
|
|
@@ -27051,6 +27129,7 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27051
27129
|
this.areaIndex.value = i;
|
|
27052
27130
|
}
|
|
27053
27131
|
});
|
|
27132
|
+
console.log("xxxxxxxxxxxxx", this.mainFormItems);
|
|
27054
27133
|
this.getForm(this.mainFormItems);
|
|
27055
27134
|
} else {
|
|
27056
27135
|
this.isShowForm.value = false;
|
|
@@ -27099,6 +27178,9 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27099
27178
|
console.log("表单数据xxxx", res);
|
|
27100
27179
|
Object.assign(this.nowData, res[0]);
|
|
27101
27180
|
let formData = JSON.parse(res[0].ConfigData);
|
|
27181
|
+
for (let [key, value] of Object.entries(formData)) {
|
|
27182
|
+
formData[key] = formData.toString();
|
|
27183
|
+
}
|
|
27102
27184
|
console.log("xxxxxxxxxx解析json", formData);
|
|
27103
27185
|
Object.assign(formData, {
|
|
27104
27186
|
Province: res[0].Province ? res[0].Province : "",
|
|
@@ -27146,6 +27228,7 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27146
27228
|
*/
|
|
27147
27229
|
setProvinceDatas() {
|
|
27148
27230
|
if (!this.utilities.isNull(this.provinceIndex.value)) {
|
|
27231
|
+
debugger;
|
|
27149
27232
|
this.mainFormItems[this.provinceIndex.value].selectProp.datas = this.provinces.map((item) => {
|
|
27150
27233
|
return { text: item.ProvinceName, value: item.ProvinceCode };
|
|
27151
27234
|
});
|
|
@@ -28330,8 +28413,8 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
28330
28413
|
}
|
|
28331
28414
|
}
|
|
28332
28415
|
}
|
|
28333
|
-
const
|
|
28334
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
28416
|
+
const ProjectUserinfor_vue_vue_type_style_index_0_scoped_d1697a07_lang = "";
|
|
28417
|
+
const _withScopeId = (n) => (pushScopeId("data-v-d1697a07"), n = n(), popScopeId(), n);
|
|
28335
28418
|
const _hoisted_1$1 = { class: "instree-search" };
|
|
28336
28419
|
const _hoisted_2 = { class: "instree-list" };
|
|
28337
28420
|
const _hoisted_3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
@@ -28450,7 +28533,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28450
28533
|
}, 8, ["onChange"]),
|
|
28451
28534
|
createVNode(_component_NvBox, {
|
|
28452
28535
|
width: _ctx.userBoxWidth,
|
|
28453
|
-
title: "用户列表"
|
|
28536
|
+
title: "用户列表111"
|
|
28454
28537
|
}, {
|
|
28455
28538
|
default: withCtx(() => [
|
|
28456
28539
|
createVNode(_component_NvGrid, {
|
|
@@ -28695,7 +28778,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28695
28778
|
_: 1
|
|
28696
28779
|
});
|
|
28697
28780
|
}
|
|
28698
|
-
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
28781
|
+
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-d1697a07"]]);
|
|
28699
28782
|
const propDefine$1 = {
|
|
28700
28783
|
linkParam: {
|
|
28701
28784
|
// 带入的参数
|