@newview/permission-service 1.2.31 → 1.2.32
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 +6 -0
- package/dist/permission-service.js +74 -25
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ import { BaseApi, QueryWrapper } from "@newview/infrastructure";
|
|
|
11
11
|
import { Icon, Tag, Checkbox, Divider, CheckboxGroup, Space } from "view-ui-plus";
|
|
12
12
|
import { SelectPlatform, BaseLogin, PersonSel } from "@newview/permission-ui";
|
|
13
13
|
import { SignTaskInfoApi } from "@newview/casign-api";
|
|
14
|
-
import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
|
|
15
14
|
import { NvComFormUp } from "@newview/file-ui";
|
|
15
|
+
import { ProvinceApi, CityApi, AreaApi, DictionaryDetailApi, DictionaryTypeApi } from "@newview/basics-api";
|
|
16
16
|
import { NvMap } from "@newview/map";
|
|
17
17
|
class DBCenterBaseApi extends BaseApi {
|
|
18
18
|
get ProxyName() {
|
|
@@ -4483,7 +4483,7 @@ const propDefine$f = {
|
|
|
4483
4483
|
};
|
|
4484
4484
|
const _sfc_main$f = defineComponent({
|
|
4485
4485
|
name: "Userinfor",
|
|
4486
|
-
components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin },
|
|
4486
|
+
components: { SelectPlatform, LoginLog: LoginLog$1, BaseLogin, NvComFormUp },
|
|
4487
4487
|
emits: [""],
|
|
4488
4488
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
4489
4489
|
props: propDefine$f,
|
|
@@ -4781,7 +4781,8 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
4781
4781
|
PwdAuthentication: 0,
|
|
4782
4782
|
LastUpdateUserId: 0,
|
|
4783
4783
|
LastUpdateUserName: "",
|
|
4784
|
-
LastUpdateDate: ""
|
|
4784
|
+
LastUpdateDate: "",
|
|
4785
|
+
OrderNo: 0
|
|
4785
4786
|
}));
|
|
4786
4787
|
__publicField(this, "userFormItems", reactive([
|
|
4787
4788
|
{
|
|
@@ -4800,6 +4801,11 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
4800
4801
|
datas: [{ text: "男", value: 1 }, { text: "女", value: 2 }, { text: "其他", value: 3 }],
|
|
4801
4802
|
transfer: true
|
|
4802
4803
|
}
|
|
4804
|
+
},
|
|
4805
|
+
{
|
|
4806
|
+
model: "OrderNo",
|
|
4807
|
+
label: "排序号",
|
|
4808
|
+
type: "InputNumber"
|
|
4803
4809
|
}
|
|
4804
4810
|
]
|
|
4805
4811
|
},
|
|
@@ -4848,6 +4854,23 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
4848
4854
|
},
|
|
4849
4855
|
{ model: "ErrorNum", label: "错误次数", type: "Input" }
|
|
4850
4856
|
]
|
|
4857
|
+
},
|
|
4858
|
+
{
|
|
4859
|
+
model: "",
|
|
4860
|
+
label: "签字信息",
|
|
4861
|
+
span: 24,
|
|
4862
|
+
children: [
|
|
4863
|
+
{
|
|
4864
|
+
label: "签字图片",
|
|
4865
|
+
model: "UserSignImgToken",
|
|
4866
|
+
prop: "UserSignImgToken",
|
|
4867
|
+
type: "UploadFile",
|
|
4868
|
+
span: 24,
|
|
4869
|
+
uploadFileProp: {
|
|
4870
|
+
uploadQuantity: 1
|
|
4871
|
+
}
|
|
4872
|
+
}
|
|
4873
|
+
]
|
|
4851
4874
|
}
|
|
4852
4875
|
]));
|
|
4853
4876
|
__publicField(this, "userFormRule", reactive({
|
|
@@ -5337,6 +5360,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5337
5360
|
this.userFormModel.LastUpdateUserId = user.Id;
|
|
5338
5361
|
this.userFormModel.LastUpdateUserName = user.UserName;
|
|
5339
5362
|
this.userFormModel.LastUpdateDate = this.utilities.getCurrentDate();
|
|
5363
|
+
this.userFormModel.OrderNo = data.OrderNo;
|
|
5340
5364
|
this.editUserTitle.value = "编辑用户 - " + data.UserName;
|
|
5341
5365
|
this.showEditUser.value = true;
|
|
5342
5366
|
}
|
|
@@ -5356,6 +5380,7 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5356
5380
|
this.userFormModel.AccountType = 1;
|
|
5357
5381
|
this.userFormModel.AccountStatus = 1;
|
|
5358
5382
|
this.userFormModel.ErrorNum = 0;
|
|
5383
|
+
this.userFormModel.OrderNo = 0;
|
|
5359
5384
|
let currentDate = this.utilities.getCurrentDate();
|
|
5360
5385
|
currentDate = this.utilities.dateHelper.format(this.utilities.dateHelper.add(this.utilities.stringHelper.toDate(currentDate), 1, "years"), "YYYY-MM-DD");
|
|
5361
5386
|
this.userFormModel.ExpiredDate = currentDate;
|
|
@@ -5518,11 +5543,11 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5518
5543
|
// 响应式方法 | xxx = () => {}
|
|
5519
5544
|
//#endregion 重置密码 END
|
|
5520
5545
|
};
|
|
5521
|
-
const
|
|
5522
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
5546
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_a643a221_lang = "";
|
|
5547
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-a643a221"), n = n(), popScopeId(), n);
|
|
5523
5548
|
const _hoisted_1$e = { class: "instree-search" };
|
|
5524
5549
|
const _hoisted_2$6 = { class: "instree-list" };
|
|
5525
|
-
const _hoisted_3$6 = { style: { "height": "
|
|
5550
|
+
const _hoisted_3$6 = { style: { "height": "774px", "overflow-y": "auto" } };
|
|
5526
5551
|
const _hoisted_4$6 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
5527
5552
|
/* @__PURE__ */ createElementVNode("div", { style: { "padding-bottom": "8px" } }, "用户账号:手机号必填。在新设备登录时,需进行短信验证。"),
|
|
5528
5553
|
/* @__PURE__ */ createElementVNode("div", null, "内部账号:手机号可不填。")
|
|
@@ -5544,11 +5569,12 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5544
5569
|
const _component_Space = resolveComponent("Space");
|
|
5545
5570
|
const _component_NvBox = resolveComponent("NvBox");
|
|
5546
5571
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
5547
|
-
const
|
|
5572
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
5548
5573
|
const _component_Form = resolveComponent("Form");
|
|
5549
5574
|
const _component_Modal = resolveComponent("Modal");
|
|
5550
5575
|
const _component_LoginLog = resolveComponent("LoginLog");
|
|
5551
5576
|
const _component_BaseLogin = resolveComponent("BaseLogin");
|
|
5577
|
+
const _component_NvComForm = resolveComponent("NvComForm");
|
|
5552
5578
|
const _component_FormItem = resolveComponent("FormItem");
|
|
5553
5579
|
const _component_NvPage = resolveComponent("NvPage");
|
|
5554
5580
|
return openBlock(), createBlock(_component_NvPage, {
|
|
@@ -5657,7 +5683,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5657
5683
|
rules: _ctx.userFormRule
|
|
5658
5684
|
}, {
|
|
5659
5685
|
default: withCtx(() => [
|
|
5660
|
-
createVNode(
|
|
5686
|
+
createVNode(_component_NvComFormUp, {
|
|
5661
5687
|
ref: "userComForm",
|
|
5662
5688
|
formModel: _ctx.userFormModel,
|
|
5663
5689
|
formItems: _ctx.userFormItems
|
|
@@ -5898,7 +5924,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5898
5924
|
_: 1
|
|
5899
5925
|
});
|
|
5900
5926
|
}
|
|
5901
|
-
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
5927
|
+
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-a643a221"]]);
|
|
5902
5928
|
const propDefine$e = {
|
|
5903
5929
|
linkParam: {
|
|
5904
5930
|
// 带入的参数
|
|
@@ -8124,7 +8150,9 @@ class RoleInstance2 extends BaseInstance {
|
|
|
8124
8150
|
// 私有属性 | private
|
|
8125
8151
|
// 响应属性 | ref、reactive、computed、watch
|
|
8126
8152
|
__publicField(this, "platId", ref(0));
|
|
8153
|
+
/** 平台数据 */
|
|
8127
8154
|
__publicField(this, "platData", ref([]));
|
|
8155
|
+
/** 平台加载状态 */
|
|
8128
8156
|
__publicField(this, "spinPlatShow", ref(false));
|
|
8129
8157
|
__publicField(this, "webOrApp", ref(0));
|
|
8130
8158
|
// 0:WEB 1:APP
|
|
@@ -11497,7 +11525,8 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11497
11525
|
PwdAuthentication: 0,
|
|
11498
11526
|
LastUpdateUserId: 0,
|
|
11499
11527
|
LastUpdateUserName: "",
|
|
11500
|
-
LastUpdateDate: ""
|
|
11528
|
+
LastUpdateDate: "",
|
|
11529
|
+
OrderNo: 0
|
|
11501
11530
|
}));
|
|
11502
11531
|
__publicField(this, "isDe", false);
|
|
11503
11532
|
__publicField(this, "userFormItems", reactive([
|
|
@@ -11517,6 +11546,11 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11517
11546
|
datas: [{ text: "男", value: 1 }, { text: "女", value: 2 }, { text: "其他", value: 3 }],
|
|
11518
11547
|
transfer: true
|
|
11519
11548
|
}
|
|
11549
|
+
},
|
|
11550
|
+
{
|
|
11551
|
+
model: "OrderNo",
|
|
11552
|
+
label: "排序号",
|
|
11553
|
+
type: "InputNumber"
|
|
11520
11554
|
}
|
|
11521
11555
|
]
|
|
11522
11556
|
},
|
|
@@ -11572,6 +11606,23 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11572
11606
|
},
|
|
11573
11607
|
{ model: "ErrorNum", label: "错误次数", type: "Input" }
|
|
11574
11608
|
]
|
|
11609
|
+
},
|
|
11610
|
+
{
|
|
11611
|
+
model: "",
|
|
11612
|
+
label: "签字信息",
|
|
11613
|
+
span: 24,
|
|
11614
|
+
children: [
|
|
11615
|
+
{
|
|
11616
|
+
label: "签字图片",
|
|
11617
|
+
model: "UserSignImgToken",
|
|
11618
|
+
prop: "UserSignImgToken",
|
|
11619
|
+
type: "UploadFile",
|
|
11620
|
+
span: 24,
|
|
11621
|
+
uploadFileProp: {
|
|
11622
|
+
uploadQuantity: 1
|
|
11623
|
+
}
|
|
11624
|
+
}
|
|
11625
|
+
]
|
|
11575
11626
|
}
|
|
11576
11627
|
]));
|
|
11577
11628
|
__publicField(this, "userFormRule", reactive({
|
|
@@ -11630,7 +11681,6 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
11630
11681
|
this.saveingUser.value = false;
|
|
11631
11682
|
return;
|
|
11632
11683
|
}
|
|
11633
|
-
debugger;
|
|
11634
11684
|
apiResult = await this.userinforApi.save(this.userFormModel);
|
|
11635
11685
|
result = this.utilities.parseApiResult(apiResult);
|
|
11636
11686
|
if (this.userFormModel.Id == 0) {
|
|
@@ -12051,7 +12101,6 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12051
12101
|
// return this.userFormModel.Id == 0
|
|
12052
12102
|
// });
|
|
12053
12103
|
dateDis() {
|
|
12054
|
-
debugger;
|
|
12055
12104
|
return this.userFormModel.Id == 0;
|
|
12056
12105
|
}
|
|
12057
12106
|
// 私有方法 | private 方法名() {}
|
|
@@ -12078,6 +12127,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12078
12127
|
this.userFormModel.LastUpdateUserId = user.Id;
|
|
12079
12128
|
this.userFormModel.LastUpdateUserName = user.UserName;
|
|
12080
12129
|
this.userFormModel.LastUpdateDate = this.utilities.getCurrentDate();
|
|
12130
|
+
this.userFormModel.OrderNo = data.OrderNo;
|
|
12081
12131
|
this.editUserTitle.value = "编辑用户 - " + data.UserName;
|
|
12082
12132
|
this.showEditUser.value = true;
|
|
12083
12133
|
}
|
|
@@ -12097,6 +12147,7 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12097
12147
|
this.userFormModel.AccountType = 1;
|
|
12098
12148
|
this.userFormModel.AccountStatus = 1;
|
|
12099
12149
|
this.userFormModel.ErrorNum = 0;
|
|
12150
|
+
this.userFormModel.OrderNo = 0;
|
|
12100
12151
|
let currentDate = this.utilities.getCurrentDate();
|
|
12101
12152
|
currentDate = this.utilities.dateHelper.format(this.utilities.dateHelper.add(this.utilities.stringHelper.toDate(currentDate), 1, "years"), "YYYY-MM-DD");
|
|
12102
12153
|
this.userFormModel.ExpiredDate = currentDate;
|
|
@@ -12259,11 +12310,11 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12259
12310
|
// 响应式方法 | xxx = () => {}
|
|
12260
12311
|
//#endregion 重置密码 END
|
|
12261
12312
|
}
|
|
12262
|
-
const
|
|
12263
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
12313
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_a05ded52_lang = "";
|
|
12314
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-a05ded52"), n = n(), popScopeId(), n);
|
|
12264
12315
|
const _hoisted_1$5 = { class: "instree-search" };
|
|
12265
12316
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
12266
|
-
const _hoisted_3$3 = { style: { "height": "
|
|
12317
|
+
const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
|
|
12267
12318
|
const _hoisted_4$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { style: { "margin-left": "16px", "color": "#ff9900" } }, [
|
|
12268
12319
|
/* @__PURE__ */ createElementVNode("div", { style: { "padding-bottom": "8px" } }, "用户账号:手机号必填。在新设备登录时,需进行短信验证。"),
|
|
12269
12320
|
/* @__PURE__ */ createElementVNode("div", null, "内部账号:手机号可不填。")
|
|
@@ -12673,7 +12724,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12673
12724
|
_: 1
|
|
12674
12725
|
});
|
|
12675
12726
|
}
|
|
12676
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
12727
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-a05ded52"]]);
|
|
12677
12728
|
const propDefine$5 = {
|
|
12678
12729
|
linkParam: {
|
|
12679
12730
|
// 带入的参数
|
|
@@ -26388,7 +26439,6 @@ const _sfc_main$4 = defineComponent({
|
|
|
26388
26439
|
name: "Sublinepoins",
|
|
26389
26440
|
components: { SelectPlatform, NvMap },
|
|
26390
26441
|
emits: [""],
|
|
26391
|
-
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26392
26442
|
props: propDefine$4,
|
|
26393
26443
|
setup(props, ctx) {
|
|
26394
26444
|
return new ProjectUserinforInstance$1(props, ctx);
|
|
@@ -26442,6 +26492,9 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26442
26492
|
this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
|
|
26443
26493
|
});
|
|
26444
26494
|
// 响应式方法 | xxx = () => {}
|
|
26495
|
+
/**
|
|
26496
|
+
* 地图加载完毕事件
|
|
26497
|
+
*/
|
|
26445
26498
|
__publicField(this, "mapOnLoad", () => {
|
|
26446
26499
|
this.shanxiGeoObj = this.NvMap1.value.addGeoJSON(shanxi, { color: "#9EFFFF", weight: 1, fillOpacity: 0 });
|
|
26447
26500
|
this.polyline = this.NvMap1.value.addPolyline([], { color: "#D8A451", weight: 5 });
|
|
@@ -26732,7 +26785,6 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26732
26785
|
}
|
|
26733
26786
|
/** 清除地图临时数据 */
|
|
26734
26787
|
clearMapData() {
|
|
26735
|
-
console.log("清除地图临时数据", this.polyline);
|
|
26736
26788
|
if (!this.utilities.isNull(this.polyline) && this.polyline.getLatLngs().length > 0) {
|
|
26737
26789
|
this.polyline.remove();
|
|
26738
26790
|
this.polyline = null;
|
|
@@ -26847,7 +26899,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26847
26899
|
}
|
|
26848
26900
|
//#endregion 系统平台 END
|
|
26849
26901
|
};
|
|
26850
|
-
const
|
|
26902
|
+
const Sublinepoins_vue_vue_type_style_index_0_scoped_4e966cc1_lang = "";
|
|
26851
26903
|
const _hoisted_1$3 = { class: "instree-search" };
|
|
26852
26904
|
const _hoisted_2$1 = { class: "instree-list" };
|
|
26853
26905
|
const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
|
|
@@ -27005,11 +27057,11 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27005
27057
|
createVNode(_component_NvMap, {
|
|
27006
27058
|
option: _ctx.mapOption,
|
|
27007
27059
|
ref: "NvMap1",
|
|
27008
|
-
theme:
|
|
27060
|
+
theme: "light",
|
|
27009
27061
|
onOnload: _ctx.mapOnLoad,
|
|
27010
27062
|
onClick: _ctx.mapClick,
|
|
27011
27063
|
onRightClick: _ctx.mapRightClick
|
|
27012
|
-
}, null, 8, ["option", "
|
|
27064
|
+
}, null, 8, ["option", "onOnload", "onClick", "onRightClick"])
|
|
27013
27065
|
])
|
|
27014
27066
|
]),
|
|
27015
27067
|
_ctx.pointData.length > 0 ? (openBlock(), createBlock(_component_NvBox, {
|
|
@@ -27094,7 +27146,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27094
27146
|
_: 1
|
|
27095
27147
|
});
|
|
27096
27148
|
}
|
|
27097
|
-
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
27149
|
+
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-4e966cc1"]]);
|
|
27098
27150
|
const propDefine$3 = {
|
|
27099
27151
|
Id: {
|
|
27100
27152
|
default: 0,
|
|
@@ -27436,7 +27488,6 @@ class ProjectSummaryInstance extends BaseInstance {
|
|
|
27436
27488
|
*/
|
|
27437
27489
|
setProvinceDatas() {
|
|
27438
27490
|
if (!this.utilities.isNull(this.provinceIndex.value)) {
|
|
27439
|
-
debugger;
|
|
27440
27491
|
this.mainFormItems[this.provinceIndex.value].selectProp.datas = this.provinces.map((item) => {
|
|
27441
27492
|
return { text: item.ProvinceName, value: item.ProvinceCode };
|
|
27442
27493
|
});
|
|
@@ -27996,7 +28047,6 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
27996
28047
|
this.saveingUser.value = false;
|
|
27997
28048
|
return;
|
|
27998
28049
|
}
|
|
27999
|
-
debugger;
|
|
28000
28050
|
apiResult = await this.userinforApi.save(this.userFormModel);
|
|
28001
28051
|
result = this.utilities.parseApiResult(apiResult);
|
|
28002
28052
|
if (this.userFormModel.Id == 0) {
|
|
@@ -29492,7 +29542,6 @@ class Instance2 extends BaseInstance {
|
|
|
29492
29542
|
SubInsName: e.InstitutionAbbreviation
|
|
29493
29543
|
};
|
|
29494
29544
|
});
|
|
29495
|
-
debugger;
|
|
29496
29545
|
if (saveDatas.length == 0) {
|
|
29497
29546
|
if (this.tabSavedData.length > 0) {
|
|
29498
29547
|
let ids = this.tabSavedData.map((e) => e.Id).toString();
|