@newview/permission-service 1.2.32 → 1.2.34
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 +2 -5
- package/dist/permission-service.js +349 -42
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
import { BaseInstance } from "@newview/base-vue";
|
|
8
8
|
import { defineComponent, ref, reactive, onMounted, resolveComponent, openBlock, createBlock, withCtx, createVNode, createElementVNode, createTextVNode, nextTick, toDisplayString, createElementBlock, Fragment, renderList, withDirectives, vShow, pushScopeId, popScopeId, onUnmounted, createCommentVNode, 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
|
-
import { BaseApi, QueryWrapper } from "@newview/infrastructure";
|
|
10
|
+
import { BaseApi, QueryWrapper, request } 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";
|
|
@@ -344,10 +344,13 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
|
|
|
344
344
|
PlatformType: 1,
|
|
345
345
|
AppId: "",
|
|
346
346
|
AppSecret: "",
|
|
347
|
+
MapCompany: 1,
|
|
348
|
+
TDTKey: "",
|
|
347
349
|
LastUpdateUserId: this.storageInfo.getUser().Id,
|
|
348
350
|
LastUpdateUserName: this.storageInfo.getUser().UserName,
|
|
349
351
|
LastUpdateDate: this.utilities.getCurrentDate()
|
|
350
352
|
}));
|
|
353
|
+
__publicField(this, "TDTKeyShow", ref(true));
|
|
351
354
|
__publicField(this, "platConfigFormItems", reactive([
|
|
352
355
|
{
|
|
353
356
|
model: "PlatformType",
|
|
@@ -380,7 +383,20 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
|
|
|
380
383
|
}
|
|
381
384
|
},
|
|
382
385
|
{ model: "AppId", label: "小程序AppId", prop: "AppId", type: "Input", span: 24 },
|
|
383
|
-
{ model: "AppSecret", label: "小程序秘钥", prop: "AppSecret", type: "Input", span: 24 }
|
|
386
|
+
{ model: "AppSecret", label: "小程序秘钥", prop: "AppSecret", type: "Input", span: 24 },
|
|
387
|
+
{ model: "MapCompany", label: "地图厂家", prop: "MapCompany", type: "Select", span: 24, selectProp: {
|
|
388
|
+
datas: [
|
|
389
|
+
{ value: 1, text: "天地图" },
|
|
390
|
+
{ value: 2, text: "必应地图" },
|
|
391
|
+
{ value: 3, text: "新视窗超图地图" }
|
|
392
|
+
],
|
|
393
|
+
onChange: (event, item) => {
|
|
394
|
+
this.TDTKeyShow.value = event == 1;
|
|
395
|
+
}
|
|
396
|
+
} },
|
|
397
|
+
{ model: "TDTKey", label: "天地图密钥", prop: "TDTKey", type: "Input", span: 24, isShow: () => {
|
|
398
|
+
return this.TDTKeyShow.value;
|
|
399
|
+
} }
|
|
384
400
|
]));
|
|
385
401
|
__publicField(this, "doSavePlatConfig", async () => {
|
|
386
402
|
this.saveingPlatConfig.value = true;
|
|
@@ -510,15 +526,18 @@ let PlatformInstance$1 = class PlatformInstance extends BaseInstance {
|
|
|
510
526
|
PlatformType: 1,
|
|
511
527
|
AppId: "",
|
|
512
528
|
AppSecret: "",
|
|
529
|
+
MapCompany: 1,
|
|
530
|
+
TDTKey: "",
|
|
513
531
|
LastUpdateUserId: this.storageInfo.getUser().Id,
|
|
514
532
|
LastUpdateUserName: this.storageInfo.getUser().UserName,
|
|
515
533
|
LastUpdateDate: this.utilities.getCurrentDate()
|
|
516
534
|
};
|
|
517
535
|
} else {
|
|
518
536
|
this.platConfigFormModel.value = res;
|
|
519
|
-
this.platConfigFormModel.
|
|
520
|
-
this.platConfigFormModel.
|
|
521
|
-
this.platConfigFormModel.
|
|
537
|
+
this.platConfigFormModel.value.MapCompany = res.MapCompany ? res.MapCompany : 1;
|
|
538
|
+
this.platConfigFormModel.value.LastUpdateUserId = this.storageInfo.getUser().Id;
|
|
539
|
+
this.platConfigFormModel.value.LastUpdateUserNamed = this.storageInfo.getUser().UserName;
|
|
540
|
+
this.platConfigFormModel.value.LastUpdateDated = this.utilities.getCurrentDate();
|
|
522
541
|
}
|
|
523
542
|
this.isShowPlatConfig.value = true;
|
|
524
543
|
}
|
|
@@ -4619,6 +4638,13 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
4619
4638
|
onclick: () => {
|
|
4620
4639
|
this.doShowImportUser();
|
|
4621
4640
|
}
|
|
4641
|
+
},
|
|
4642
|
+
{
|
|
4643
|
+
name: "import",
|
|
4644
|
+
text: "导入CA",
|
|
4645
|
+
onclick: () => {
|
|
4646
|
+
this.importCAData();
|
|
4647
|
+
}
|
|
4622
4648
|
}
|
|
4623
4649
|
],
|
|
4624
4650
|
rightToolbars: [
|
|
@@ -5216,10 +5242,17 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5216
5242
|
CAUserYZImg: ""
|
|
5217
5243
|
}));
|
|
5218
5244
|
__publicField(this, "userSignFormItems", reactive([
|
|
5219
|
-
{ model:
|
|
5220
|
-
{ model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24
|
|
5221
|
-
|
|
5245
|
+
// { model: 'CAUserInfoKey', label: '用户KEY', type: 'Input', prop: 'CAUserInfoKey', span: 24 },
|
|
5246
|
+
{ model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
|
|
5247
|
+
this.GetUserSealData(3);
|
|
5248
|
+
} } },
|
|
5249
|
+
{ model: "CAUserYZKey", label: "圆章KEY", type: "Input", prop: "CAUserYZKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
|
|
5250
|
+
this.GetUserSealData(2);
|
|
5251
|
+
} } }
|
|
5222
5252
|
]));
|
|
5253
|
+
// 私有方法 | private 方法名() {}
|
|
5254
|
+
/** 当前所选人 */
|
|
5255
|
+
__publicField(this, "activeUserSealRow", ref({}));
|
|
5223
5256
|
// 响应式方法 | xxx = () => {}
|
|
5224
5257
|
/**
|
|
5225
5258
|
* 保存用户签字
|
|
@@ -5280,6 +5313,115 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5280
5313
|
this.message.error("读取失败,请稍后重试");
|
|
5281
5314
|
}
|
|
5282
5315
|
});
|
|
5316
|
+
// 响应式方法 | xxx = () => {}
|
|
5317
|
+
//#endregion 重置密码 END
|
|
5318
|
+
__publicField(this, "importCAModal", ref(false));
|
|
5319
|
+
__publicField(this, "importCAData", () => {
|
|
5320
|
+
this.importCAModal.value = true;
|
|
5321
|
+
});
|
|
5322
|
+
__publicField(this, "doExcelPointImport", async (datas) => {
|
|
5323
|
+
console.log(datas);
|
|
5324
|
+
if (datas.length == 0) {
|
|
5325
|
+
return;
|
|
5326
|
+
}
|
|
5327
|
+
let names = datas.filter((x) => this.utilities.isNull(x["印章ID"]) == true);
|
|
5328
|
+
if (names.length > 0) {
|
|
5329
|
+
this.message.info("印章ID不能为空!");
|
|
5330
|
+
return;
|
|
5331
|
+
}
|
|
5332
|
+
let names1 = datas.filter((x) => this.utilities.isNull(x["印章名称"]) == true);
|
|
5333
|
+
if (names1.length > 0) {
|
|
5334
|
+
this.message.info("印章名称不能为空!");
|
|
5335
|
+
return;
|
|
5336
|
+
}
|
|
5337
|
+
let names2 = datas.filter((x) => this.utilities.isNull(x["所属用户名"]) == true);
|
|
5338
|
+
if (names2.length > 0) {
|
|
5339
|
+
this.message.info("所属用户名不能为空!");
|
|
5340
|
+
return;
|
|
5341
|
+
}
|
|
5342
|
+
let names3 = datas.filter((x) => this.utilities.isNull(x["印章类型"]) == true);
|
|
5343
|
+
if (names3.length > 0) {
|
|
5344
|
+
this.message.info("印章类型不能为空!");
|
|
5345
|
+
return;
|
|
5346
|
+
}
|
|
5347
|
+
let NewId = this.utilities.getUniqueCode();
|
|
5348
|
+
try {
|
|
5349
|
+
let eqlist = [];
|
|
5350
|
+
datas.forEach((element) => {
|
|
5351
|
+
eqlist.push({
|
|
5352
|
+
Id: 0,
|
|
5353
|
+
ProjectId: this.selectedPlatform.Id,
|
|
5354
|
+
RoadId: this.selectedPlatform.Id,
|
|
5355
|
+
ZId: this.utilities.isNull(element["印章ID"]) ? "" : element["印章ID"],
|
|
5356
|
+
ZName: this.utilities.isNull(element["印章名称"]) ? "" : element["印章名称"],
|
|
5357
|
+
UName: this.utilities.isNull(element["所属用户名"]) ? "" : element["所属用户名"],
|
|
5358
|
+
PIn: "111111",
|
|
5359
|
+
CertType: this.utilities.isNull(element["印章类型"]) ? "3" : element["印章类型"] == "签字" ? 3 : 2,
|
|
5360
|
+
HandleKey: NewId
|
|
5361
|
+
});
|
|
5362
|
+
});
|
|
5363
|
+
if (eqlist.length > 0) {
|
|
5364
|
+
var loginparam = {
|
|
5365
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
|
|
5366
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
|
|
5367
|
+
SystemType: 1
|
|
5368
|
+
};
|
|
5369
|
+
let tokenRes = await request("/OldSysApi/OAuth/Token", {
|
|
5370
|
+
params: loginparam
|
|
5371
|
+
});
|
|
5372
|
+
let headers = await this.getTempRequestHeader();
|
|
5373
|
+
let saveRes = await request("/CASignApi/CA_Userinfointo/saves", {
|
|
5374
|
+
headers,
|
|
5375
|
+
method: "post",
|
|
5376
|
+
data: eqlist
|
|
5377
|
+
});
|
|
5378
|
+
let saveRes2 = await request("/CASignApi/CA_Userinfointo/SaveUserSignNew", {
|
|
5379
|
+
headers,
|
|
5380
|
+
params: { HandleKey: NewId, ProjetId: this.selectedPlatform.Id, RoadId: this.selectedPlatform.Id, BusinessKey: this.selectedPlatform.CABusinessKey }
|
|
5381
|
+
});
|
|
5382
|
+
this.message.success("导入成功!");
|
|
5383
|
+
this.importCAModal.value = false;
|
|
5384
|
+
}
|
|
5385
|
+
} catch (error) {
|
|
5386
|
+
this.message.error("导入失败!");
|
|
5387
|
+
}
|
|
5388
|
+
});
|
|
5389
|
+
__publicField(this, "userSealData", ref([]));
|
|
5390
|
+
__publicField(this, "userSealAllData", []);
|
|
5391
|
+
__publicField(this, "searchUserSeal", ref(""));
|
|
5392
|
+
__publicField(this, "userSealListLoading", ref(false));
|
|
5393
|
+
__publicField(this, "selectCASealModal", ref(false));
|
|
5394
|
+
__publicField(this, "selCaType", ref("3"));
|
|
5395
|
+
__publicField(this, "selUserSealId", ref(0));
|
|
5396
|
+
__publicField(this, "caTypeChange", () => {
|
|
5397
|
+
this.userSealData.value = this.userSealAllData.filter((e) => e["CertType"] == this.selCaType.value);
|
|
5398
|
+
});
|
|
5399
|
+
__publicField(this, "doSearchUserSeal", () => {
|
|
5400
|
+
this.userSealData.value = this.userSealAllData.filter((e) => e["SealName"].indexOf(this.searchUserSeal.value) >= 0);
|
|
5401
|
+
});
|
|
5402
|
+
/**
|
|
5403
|
+
* 选择签字信息
|
|
5404
|
+
*/
|
|
5405
|
+
__publicField(this, "doSelUserSeal", async () => {
|
|
5406
|
+
console.log(this.selUserSealId.value);
|
|
5407
|
+
let sealInfo = this.userSealAllData.find((e) => e["Id"] == this.selUserSealId.value);
|
|
5408
|
+
if (sealInfo.CertType == 3) {
|
|
5409
|
+
this.userSignFormModel.CAUserSealKey = sealInfo.SKey;
|
|
5410
|
+
this.doLoadUserSealImg();
|
|
5411
|
+
} else {
|
|
5412
|
+
this.userSignFormModel.CAUserYZKey = sealInfo.SKey;
|
|
5413
|
+
this.doLoadUserYZImg();
|
|
5414
|
+
}
|
|
5415
|
+
this.selectCASealModal.value = false;
|
|
5416
|
+
request("/CASignApi/Userseal/saveDynamic", {
|
|
5417
|
+
headers: await this.getTempRequestHeader(),
|
|
5418
|
+
method: "post",
|
|
5419
|
+
data: {
|
|
5420
|
+
Id: sealInfo.Id,
|
|
5421
|
+
BIId: this.selectedInsTree.InstitutionId
|
|
5422
|
+
}
|
|
5423
|
+
});
|
|
5424
|
+
});
|
|
5283
5425
|
this.props = props;
|
|
5284
5426
|
this.ctx = ctx;
|
|
5285
5427
|
}
|
|
@@ -5490,12 +5632,12 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5490
5632
|
this.storageInfo.removeAll();
|
|
5491
5633
|
this.loginRef.value.setLoginResult(result);
|
|
5492
5634
|
}
|
|
5493
|
-
// 私有方法 | private 方法名() {}
|
|
5494
5635
|
/**
|
|
5495
5636
|
* 编辑用户签字
|
|
5496
5637
|
*/
|
|
5497
5638
|
async doShowEditUserSign(row) {
|
|
5498
5639
|
this.showEditUserSign.value = true;
|
|
5640
|
+
this.activeUserSealRow.value = row;
|
|
5499
5641
|
const apiResult = await this.userSignApi.getEntityByFilter(QueryWrapper.create().eq("UserId", row.Id));
|
|
5500
5642
|
const result = this.utilities.parseApiResult(apiResult);
|
|
5501
5643
|
if (!this.utilities.isNull(result)) {
|
|
@@ -5540,11 +5682,43 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
|
|
|
5540
5682
|
}
|
|
5541
5683
|
});
|
|
5542
5684
|
}
|
|
5543
|
-
|
|
5544
|
-
|
|
5685
|
+
async GetUserSealData(type2) {
|
|
5686
|
+
this.userSealData.value = [];
|
|
5687
|
+
this.userSealListLoading.value = true;
|
|
5688
|
+
this.selCaType.value = type2;
|
|
5689
|
+
this.selectCASealModal.value = true;
|
|
5690
|
+
({
|
|
5691
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
|
|
5692
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
|
|
5693
|
+
SystemType: 1
|
|
5694
|
+
});
|
|
5695
|
+
let res = this.utilities.parseApiResult(await request("/CASignApi/Userseal/GetUserSeal", {
|
|
5696
|
+
headers: await this.getTempRequestHeader(),
|
|
5697
|
+
params: {
|
|
5698
|
+
BusinessKey: this.selectedPlatform.CABusinessKey,
|
|
5699
|
+
Parms: ""
|
|
5700
|
+
}
|
|
5701
|
+
}));
|
|
5702
|
+
this.userSealListLoading.value = false;
|
|
5703
|
+
this.userSealAllData = this.utilities.deepCopy(res);
|
|
5704
|
+
this.caTypeChange();
|
|
5705
|
+
}
|
|
5706
|
+
async getTempRequestHeader() {
|
|
5707
|
+
var loginparam = {
|
|
5708
|
+
Account: this.utilities.stringHelper.encodeToBase64("hhkf"),
|
|
5709
|
+
Pwd: this.utilities.stringHelper.encodeToBase64("Nv88341268#"),
|
|
5710
|
+
SystemType: 1
|
|
5711
|
+
};
|
|
5712
|
+
let tokenRes = await request("/OldSysApi/OAuth/Token", {
|
|
5713
|
+
params: loginparam
|
|
5714
|
+
});
|
|
5715
|
+
return {
|
|
5716
|
+
Authorization: "Bearer " + tokenRes.result.Token
|
|
5717
|
+
};
|
|
5718
|
+
}
|
|
5545
5719
|
};
|
|
5546
|
-
const
|
|
5547
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
5720
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_65fc1807_lang = "";
|
|
5721
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-65fc1807"), n = n(), popScopeId(), n);
|
|
5548
5722
|
const _hoisted_1$e = { class: "instree-search" };
|
|
5549
5723
|
const _hoisted_2$6 = { class: "instree-list" };
|
|
5550
5724
|
const _hoisted_3$6 = { style: { "height": "774px", "overflow-y": "auto" } };
|
|
@@ -5561,6 +5735,17 @@ const _hoisted_10$2 = { style: { "display": "none" } };
|
|
|
5561
5735
|
const _hoisted_11$2 = { style: { "height": "400px", "overflow-y": "auto" } };
|
|
5562
5736
|
const _hoisted_12$1 = ["src"];
|
|
5563
5737
|
const _hoisted_13$1 = ["src"];
|
|
5738
|
+
const _hoisted_14 = { style: { "height": "260px" } };
|
|
5739
|
+
const _hoisted_15 = { class: "nv-flex" };
|
|
5740
|
+
const _hoisted_16 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
|
|
5741
|
+
const _hoisted_17 = {
|
|
5742
|
+
key: 1,
|
|
5743
|
+
class: "nv-full nv-pos-r"
|
|
5744
|
+
};
|
|
5745
|
+
const _hoisted_18 = {
|
|
5746
|
+
key: 1,
|
|
5747
|
+
class: "nv-c-v-center"
|
|
5748
|
+
};
|
|
5564
5749
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5565
5750
|
const _component_SelectPlatform = resolveComponent("SelectPlatform");
|
|
5566
5751
|
const _component_Tree = resolveComponent("Tree");
|
|
@@ -5576,6 +5761,12 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5576
5761
|
const _component_BaseLogin = resolveComponent("BaseLogin");
|
|
5577
5762
|
const _component_NvComForm = resolveComponent("NvComForm");
|
|
5578
5763
|
const _component_FormItem = resolveComponent("FormItem");
|
|
5764
|
+
const _component_NvExcelImport = resolveComponent("NvExcelImport");
|
|
5765
|
+
const _component_nvModal = resolveComponent("nvModal");
|
|
5766
|
+
const _component_Input = resolveComponent("Input");
|
|
5767
|
+
const _component_Radio = resolveComponent("Radio");
|
|
5768
|
+
const _component_RadioGroup = resolveComponent("RadioGroup");
|
|
5769
|
+
const _component_NvLoading = resolveComponent("NvLoading");
|
|
5579
5770
|
const _component_NvPage = resolveComponent("NvPage");
|
|
5580
5771
|
return openBlock(), createBlock(_component_NvPage, {
|
|
5581
5772
|
gutter: 8,
|
|
@@ -5834,7 +6025,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5834
6025
|
mask: true,
|
|
5835
6026
|
"mask-closable": false,
|
|
5836
6027
|
width: 440,
|
|
5837
|
-
title: "
|
|
6028
|
+
title: _ctx.activeUserSealRow.UserName + "签字信息",
|
|
5838
6029
|
styles: { top: "3%" }
|
|
5839
6030
|
}, {
|
|
5840
6031
|
footer: withCtx(() => [
|
|
@@ -5877,7 +6068,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5877
6068
|
key: 0,
|
|
5878
6069
|
src: _ctx.userSignFormModel.CAUserSealImg,
|
|
5879
6070
|
alt: "",
|
|
5880
|
-
style: { "width": "120px", "height": "35px" }
|
|
6071
|
+
style: { "width": "120px", "height": "35px", "object-fit": "contain" }
|
|
5881
6072
|
}, null, 8, _hoisted_12$1)) : createCommentVNode("", true),
|
|
5882
6073
|
createVNode(_component_Button, {
|
|
5883
6074
|
type: "primary",
|
|
@@ -5898,7 +6089,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5898
6089
|
key: 0,
|
|
5899
6090
|
src: _ctx.userSignFormModel.CAUserYZImg,
|
|
5900
6091
|
alt: "",
|
|
5901
|
-
style: { "width": "120px", "height": "120px", "margin-left": "16px" }
|
|
6092
|
+
style: { "width": "120px", "height": "120px", "object-fit": "contain", "margin-left": "16px" }
|
|
5902
6093
|
}, null, 8, _hoisted_13$1)) : createCommentVNode("", true),
|
|
5903
6094
|
createVNode(_component_Button, {
|
|
5904
6095
|
type: "primary",
|
|
@@ -5919,12 +6110,106 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5919
6110
|
])
|
|
5920
6111
|
]),
|
|
5921
6112
|
_: 1
|
|
6113
|
+
}, 8, ["modelValue", "title"]),
|
|
6114
|
+
createVNode(_component_nvModal, {
|
|
6115
|
+
modelValue: _ctx.importCAModal,
|
|
6116
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.importCAModal = $event),
|
|
6117
|
+
draggable: "",
|
|
6118
|
+
mask: true,
|
|
6119
|
+
"mask-closable": false,
|
|
6120
|
+
width: 500,
|
|
6121
|
+
title: "导入CA数据",
|
|
6122
|
+
"footer-hide": ""
|
|
6123
|
+
}, {
|
|
6124
|
+
default: withCtx(() => [
|
|
6125
|
+
createElementVNode("div", _hoisted_14, [
|
|
6126
|
+
createVNode(_component_NvExcelImport, {
|
|
6127
|
+
ref: "NvExcelImport",
|
|
6128
|
+
onImport: _ctx.doExcelPointImport,
|
|
6129
|
+
isExportTemplete: true,
|
|
6130
|
+
templeteUrl: "https://nvplanfromoss.oss-cn-beijing.aliyuncs.com/XiHu/ExeclTemplate/%E9%99%95%E8%A5%BFCA%E7%AD%BE%E5%AD%97%E6%A8%A1%E6%9D%BF.xlsx"
|
|
6131
|
+
}, null, 8, ["onImport"])
|
|
6132
|
+
])
|
|
6133
|
+
]),
|
|
6134
|
+
_: 1
|
|
6135
|
+
}, 8, ["modelValue"]),
|
|
6136
|
+
createVNode(_component_nvModal, {
|
|
6137
|
+
modelValue: _ctx.selectCASealModal,
|
|
6138
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => _ctx.selectCASealModal = $event),
|
|
6139
|
+
draggable: "",
|
|
6140
|
+
mask: true,
|
|
6141
|
+
"mask-closable": false,
|
|
6142
|
+
width: 400,
|
|
6143
|
+
title: "选择签字人员"
|
|
6144
|
+
}, {
|
|
6145
|
+
footer: withCtx(() => [
|
|
6146
|
+
createVNode(_component_Button, {
|
|
6147
|
+
type: "text",
|
|
6148
|
+
onClick: _cache[13] || (_cache[13] = ($event) => _ctx.selectCASealModal = false)
|
|
6149
|
+
}, {
|
|
6150
|
+
default: withCtx(() => [
|
|
6151
|
+
createTextVNode("关闭")
|
|
6152
|
+
]),
|
|
6153
|
+
_: 1
|
|
6154
|
+
}),
|
|
6155
|
+
createVNode(_component_Button, {
|
|
6156
|
+
type: "primary",
|
|
6157
|
+
disabled: !_ctx.selUserSealId,
|
|
6158
|
+
onClick: _ctx.doSelUserSeal
|
|
6159
|
+
}, {
|
|
6160
|
+
default: withCtx(() => [
|
|
6161
|
+
createTextVNode("确定")
|
|
6162
|
+
]),
|
|
6163
|
+
_: 1
|
|
6164
|
+
}, 8, ["disabled", "onClick"])
|
|
6165
|
+
]),
|
|
6166
|
+
default: withCtx(() => [
|
|
6167
|
+
createElementVNode("div", _hoisted_15, [
|
|
6168
|
+
createVNode(_component_Input, {
|
|
6169
|
+
class: "nv-flex-1",
|
|
6170
|
+
style: { "margin-left": "10px" },
|
|
6171
|
+
modelValue: _ctx.searchUserSeal,
|
|
6172
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.searchUserSeal = $event),
|
|
6173
|
+
onOnChange: _ctx.doSearchUserSeal,
|
|
6174
|
+
search: "",
|
|
6175
|
+
placeholder: "请输入人员名称"
|
|
6176
|
+
}, null, 8, ["modelValue", "onOnChange"])
|
|
6177
|
+
]),
|
|
6178
|
+
createElementVNode("div", _hoisted_16, [
|
|
6179
|
+
_ctx.userSealData.length > 0 ? (openBlock(), createBlock(_component_RadioGroup, {
|
|
6180
|
+
key: 0,
|
|
6181
|
+
modelValue: _ctx.selUserSealId,
|
|
6182
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => _ctx.selUserSealId = $event),
|
|
6183
|
+
vertical: ""
|
|
6184
|
+
}, {
|
|
6185
|
+
default: withCtx(() => [
|
|
6186
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.userSealData, (item, index2) => {
|
|
6187
|
+
return openBlock(), createBlock(_component_Radio, {
|
|
6188
|
+
label: item.Id
|
|
6189
|
+
}, {
|
|
6190
|
+
default: withCtx(() => [
|
|
6191
|
+
createElementVNode("span", null, toDisplayString(item.SealName), 1)
|
|
6192
|
+
]),
|
|
6193
|
+
_: 2
|
|
6194
|
+
}, 1032, ["label"]);
|
|
6195
|
+
}), 256))
|
|
6196
|
+
]),
|
|
6197
|
+
_: 1
|
|
6198
|
+
}, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
6199
|
+
_ctx.userSealListLoading ? (openBlock(), createBlock(_component_NvLoading, {
|
|
6200
|
+
key: 0,
|
|
6201
|
+
content: "人员数据加载中..."
|
|
6202
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_18, "暂无人员数据"))
|
|
6203
|
+
]))
|
|
6204
|
+
])
|
|
6205
|
+
]),
|
|
6206
|
+
_: 1
|
|
5922
6207
|
}, 8, ["modelValue"])
|
|
5923
6208
|
]),
|
|
5924
6209
|
_: 1
|
|
5925
6210
|
});
|
|
5926
6211
|
}
|
|
5927
|
-
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
6212
|
+
const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-65fc1807"]]);
|
|
5928
6213
|
const propDefine$e = {
|
|
5929
6214
|
linkParam: {
|
|
5930
6215
|
// 带入的参数
|
|
@@ -8150,9 +8435,7 @@ class RoleInstance2 extends BaseInstance {
|
|
|
8150
8435
|
// 私有属性 | private
|
|
8151
8436
|
// 响应属性 | ref、reactive、computed、watch
|
|
8152
8437
|
__publicField(this, "platId", ref(0));
|
|
8153
|
-
/** 平台数据 */
|
|
8154
8438
|
__publicField(this, "platData", ref([]));
|
|
8155
|
-
/** 平台加载状态 */
|
|
8156
8439
|
__publicField(this, "spinPlatShow", ref(false));
|
|
8157
8440
|
__publicField(this, "webOrApp", ref(0));
|
|
8158
8441
|
// 0:WEB 1:APP
|
|
@@ -11194,7 +11477,7 @@ const propDefine$6 = {
|
|
|
11194
11477
|
};
|
|
11195
11478
|
const _sfc_main$6 = defineComponent({
|
|
11196
11479
|
name: "Userinfor",
|
|
11197
|
-
components: { SelectPlatform, LoginLog, BaseLogin },
|
|
11480
|
+
components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
|
|
11198
11481
|
emits: [""],
|
|
11199
11482
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
11200
11483
|
props: propDefine$6,
|
|
@@ -12310,8 +12593,8 @@ class UserinforInstance2 extends BaseInstance {
|
|
|
12310
12593
|
// 响应式方法 | xxx = () => {}
|
|
12311
12594
|
//#endregion 重置密码 END
|
|
12312
12595
|
}
|
|
12313
|
-
const
|
|
12314
|
-
const _withScopeId$2 = (n) => (pushScopeId("data-v-
|
|
12596
|
+
const Userinfor_vue_vue_type_style_index_0_scoped_76f4c320_lang = "";
|
|
12597
|
+
const _withScopeId$2 = (n) => (pushScopeId("data-v-76f4c320"), n = n(), popScopeId(), n);
|
|
12315
12598
|
const _hoisted_1$5 = { class: "instree-search" };
|
|
12316
12599
|
const _hoisted_2$3 = { class: "instree-list" };
|
|
12317
12600
|
const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
|
|
@@ -12338,11 +12621,12 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12338
12621
|
const _component_Space = resolveComponent("Space");
|
|
12339
12622
|
const _component_NvBox = resolveComponent("NvBox");
|
|
12340
12623
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
12341
|
-
const
|
|
12624
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
12342
12625
|
const _component_Form = resolveComponent("Form");
|
|
12343
12626
|
const _component_Modal = resolveComponent("Modal");
|
|
12344
12627
|
const _component_LoginLog = resolveComponent("LoginLog");
|
|
12345
12628
|
const _component_BaseLogin = resolveComponent("BaseLogin");
|
|
12629
|
+
const _component_NvComForm = resolveComponent("NvComForm");
|
|
12346
12630
|
const _component_FormItem = resolveComponent("FormItem");
|
|
12347
12631
|
const _component_NvPage = resolveComponent("NvPage");
|
|
12348
12632
|
return openBlock(), createBlock(_component_NvPage, {
|
|
@@ -12482,7 +12766,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12482
12766
|
rules: _ctx.userFormRule
|
|
12483
12767
|
}, {
|
|
12484
12768
|
default: withCtx(() => [
|
|
12485
|
-
_ctx.showEditUser ? (openBlock(), createBlock(
|
|
12769
|
+
_ctx.showEditUser ? (openBlock(), createBlock(_component_NvComFormUp, {
|
|
12486
12770
|
key: 0,
|
|
12487
12771
|
ref: "userComForm",
|
|
12488
12772
|
formModel: _ctx.userFormModel,
|
|
@@ -12724,7 +13008,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
12724
13008
|
_: 1
|
|
12725
13009
|
});
|
|
12726
13010
|
}
|
|
12727
|
-
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-
|
|
13011
|
+
const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-76f4c320"]]);
|
|
12728
13012
|
const propDefine$5 = {
|
|
12729
13013
|
linkParam: {
|
|
12730
13014
|
// 带入的参数
|
|
@@ -13590,8 +13874,8 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
13590
13874
|
// 响应式方法 | xxx = () => {}
|
|
13591
13875
|
//#endregion 业务逻辑 END
|
|
13592
13876
|
}
|
|
13593
|
-
const
|
|
13594
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
13877
|
+
const Module_vue_vue_type_style_index_0_scoped_a73dad2e_lang = "";
|
|
13878
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-a73dad2e"), n = n(), popScopeId(), n);
|
|
13595
13879
|
const _hoisted_1$4 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
13596
13880
|
const _hoisted_2$2 = {
|
|
13597
13881
|
class: "import-module",
|
|
@@ -13861,7 +14145,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13861
14145
|
_: 1
|
|
13862
14146
|
});
|
|
13863
14147
|
}
|
|
13864
|
-
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
14148
|
+
const subModule = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-a73dad2e"]]);
|
|
13865
14149
|
const type = "FeatureCollection";
|
|
13866
14150
|
const features = [
|
|
13867
14151
|
{
|
|
@@ -26439,6 +26723,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
26439
26723
|
name: "Sublinepoins",
|
|
26440
26724
|
components: { SelectPlatform, NvMap },
|
|
26441
26725
|
emits: [""],
|
|
26726
|
+
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
26442
26727
|
props: propDefine$4,
|
|
26443
26728
|
setup(props, ctx) {
|
|
26444
26729
|
return new ProjectUserinforInstance$1(props, ctx);
|
|
@@ -26492,9 +26777,6 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26492
26777
|
this.userBoxWidth.value = isExpand ? "calc(100% - 300px)" : "calc(100% - 45px)";
|
|
26493
26778
|
});
|
|
26494
26779
|
// 响应式方法 | xxx = () => {}
|
|
26495
|
-
/**
|
|
26496
|
-
* 地图加载完毕事件
|
|
26497
|
-
*/
|
|
26498
26780
|
__publicField(this, "mapOnLoad", () => {
|
|
26499
26781
|
this.shanxiGeoObj = this.NvMap1.value.addGeoJSON(shanxi, { color: "#9EFFFF", weight: 1, fillOpacity: 0 });
|
|
26500
26782
|
this.polyline = this.NvMap1.value.addPolyline([], { color: "#D8A451", weight: 5 });
|
|
@@ -26785,6 +27067,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26785
27067
|
}
|
|
26786
27068
|
/** 清除地图临时数据 */
|
|
26787
27069
|
clearMapData() {
|
|
27070
|
+
console.log("清除地图临时数据", this.polyline);
|
|
26788
27071
|
if (!this.utilities.isNull(this.polyline) && this.polyline.getLatLngs().length > 0) {
|
|
26789
27072
|
this.polyline.remove();
|
|
26790
27073
|
this.polyline = null;
|
|
@@ -26899,7 +27182,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26899
27182
|
}
|
|
26900
27183
|
//#endregion 系统平台 END
|
|
26901
27184
|
};
|
|
26902
|
-
const
|
|
27185
|
+
const Sublinepoins_vue_vue_type_style_index_0_scoped_297f680c_lang = "";
|
|
26903
27186
|
const _hoisted_1$3 = { class: "instree-search" };
|
|
26904
27187
|
const _hoisted_2$1 = { class: "instree-list" };
|
|
26905
27188
|
const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
|
|
@@ -27057,11 +27340,11 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27057
27340
|
createVNode(_component_NvMap, {
|
|
27058
27341
|
option: _ctx.mapOption,
|
|
27059
27342
|
ref: "NvMap1",
|
|
27060
|
-
theme:
|
|
27343
|
+
theme: _ctx.mapTheme,
|
|
27061
27344
|
onOnload: _ctx.mapOnLoad,
|
|
27062
27345
|
onClick: _ctx.mapClick,
|
|
27063
27346
|
onRightClick: _ctx.mapRightClick
|
|
27064
|
-
}, null, 8, ["option", "onOnload", "onClick", "onRightClick"])
|
|
27347
|
+
}, null, 8, ["option", "theme", "onOnload", "onClick", "onRightClick"])
|
|
27065
27348
|
])
|
|
27066
27349
|
]),
|
|
27067
27350
|
_ctx.pointData.length > 0 ? (openBlock(), createBlock(_component_NvBox, {
|
|
@@ -27146,7 +27429,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27146
27429
|
_: 1
|
|
27147
27430
|
});
|
|
27148
27431
|
}
|
|
27149
|
-
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
27432
|
+
const sublinepoins = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-297f680c"]]);
|
|
27150
27433
|
const propDefine$3 = {
|
|
27151
27434
|
Id: {
|
|
27152
27435
|
default: 0,
|
|
@@ -27603,7 +27886,7 @@ const propDefine$2 = {
|
|
|
27603
27886
|
};
|
|
27604
27887
|
const _sfc_main$2 = defineComponent({
|
|
27605
27888
|
name: "ProjectUserinfor",
|
|
27606
|
-
components: { SelectPlatform, LoginLog, BaseLogin },
|
|
27889
|
+
components: { SelectPlatform, LoginLog, BaseLogin, NvComFormUp },
|
|
27607
27890
|
emits: [""],
|
|
27608
27891
|
// 例如: ['clearRadioRow', 'change', 'delete', 'addchild']
|
|
27609
27892
|
props: propDefine$2,
|
|
@@ -27921,7 +28204,8 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
27921
28204
|
PwdAuthentication: 0,
|
|
27922
28205
|
LastUpdateUserId: 0,
|
|
27923
28206
|
LastUpdateUserName: "",
|
|
27924
|
-
LastUpdateDate: ""
|
|
28207
|
+
LastUpdateDate: "",
|
|
28208
|
+
OrderNo: 0
|
|
27925
28209
|
}));
|
|
27926
28210
|
__publicField(this, "userFormItems", reactive([
|
|
27927
28211
|
{
|
|
@@ -27940,6 +28224,11 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
27940
28224
|
datas: [{ text: "男", value: 1 }, { text: "女", value: 2 }, { text: "其他", value: 3 }],
|
|
27941
28225
|
transfer: true
|
|
27942
28226
|
}
|
|
28227
|
+
},
|
|
28228
|
+
{
|
|
28229
|
+
model: "OrderNo",
|
|
28230
|
+
label: "排序号",
|
|
28231
|
+
type: "InputNumber"
|
|
27943
28232
|
}
|
|
27944
28233
|
]
|
|
27945
28234
|
},
|
|
@@ -27986,6 +28275,23 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
27986
28275
|
{ model: "ErrorNum", label: "错误次数", type: "Input" },
|
|
27987
28276
|
{ model: "WechatOpenId", label: "微信授权Id", type: "Input" }
|
|
27988
28277
|
]
|
|
28278
|
+
},
|
|
28279
|
+
{
|
|
28280
|
+
model: "",
|
|
28281
|
+
label: "签字信息",
|
|
28282
|
+
span: 24,
|
|
28283
|
+
children: [
|
|
28284
|
+
{
|
|
28285
|
+
label: "签字图片",
|
|
28286
|
+
model: "UserSignImgToken",
|
|
28287
|
+
prop: "UserSignImgToken",
|
|
28288
|
+
type: "UploadFile",
|
|
28289
|
+
span: 24,
|
|
28290
|
+
uploadFileProp: {
|
|
28291
|
+
uploadQuantity: 1
|
|
28292
|
+
}
|
|
28293
|
+
}
|
|
28294
|
+
]
|
|
27989
28295
|
}
|
|
27990
28296
|
]));
|
|
27991
28297
|
__publicField(this, "userFormRule", reactive({
|
|
@@ -28671,8 +28977,8 @@ class ProjectUserinforInstance2 extends BaseInstance {
|
|
|
28671
28977
|
}
|
|
28672
28978
|
}
|
|
28673
28979
|
}
|
|
28674
|
-
const
|
|
28675
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
28980
|
+
const ProjectUserinfor_vue_vue_type_style_index_0_scoped_585a48b7_lang = "";
|
|
28981
|
+
const _withScopeId = (n) => (pushScopeId("data-v-585a48b7"), n = n(), popScopeId(), n);
|
|
28676
28982
|
const _hoisted_1$1 = { class: "instree-search" };
|
|
28677
28983
|
const _hoisted_2 = { class: "instree-list" };
|
|
28678
28984
|
const _hoisted_3 = { style: { "height": "600px", "overflow-y": "auto" } };
|
|
@@ -28697,11 +29003,12 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28697
29003
|
const _component_Space = resolveComponent("Space");
|
|
28698
29004
|
const _component_NvBox = resolveComponent("NvBox");
|
|
28699
29005
|
const _component_NvGrid = resolveComponent("NvGrid");
|
|
28700
|
-
const
|
|
29006
|
+
const _component_NvComFormUp = resolveComponent("NvComFormUp");
|
|
28701
29007
|
const _component_Form = resolveComponent("Form");
|
|
28702
29008
|
const _component_Modal = resolveComponent("Modal");
|
|
28703
29009
|
const _component_LoginLog = resolveComponent("LoginLog");
|
|
28704
29010
|
const _component_BaseLogin = resolveComponent("BaseLogin");
|
|
29011
|
+
const _component_NvComForm = resolveComponent("NvComForm");
|
|
28705
29012
|
const _component_FormItem = resolveComponent("FormItem");
|
|
28706
29013
|
const _component_NvPage = resolveComponent("NvPage");
|
|
28707
29014
|
return openBlock(), createBlock(_component_NvPage, {
|
|
@@ -28841,7 +29148,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
28841
29148
|
rules: _ctx.userFormRule
|
|
28842
29149
|
}, {
|
|
28843
29150
|
default: withCtx(() => [
|
|
28844
|
-
createVNode(
|
|
29151
|
+
createVNode(_component_NvComFormUp, {
|
|
28845
29152
|
ref: "userComForm",
|
|
28846
29153
|
formModel: _ctx.userFormModel,
|
|
28847
29154
|
formItems: _ctx.userFormItems
|
|
@@ -29036,7 +29343,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
29036
29343
|
_: 1
|
|
29037
29344
|
});
|
|
29038
29345
|
}
|
|
29039
|
-
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
29346
|
+
const projectUser = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-585a48b7"]]);
|
|
29040
29347
|
const propDefine$1 = {
|
|
29041
29348
|
linkParam: {
|
|
29042
29349
|
// 带入的参数
|