@newview/permission-service 1.2.33 → 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 -2
- package/dist/permission-service.js +307 -22
- package/dist/permission-service.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +58 -59
package/README.md
CHANGED
|
@@ -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
|
// 带入的参数
|
|
@@ -13589,8 +13874,8 @@ class ModuleInstance2 extends BaseInstance {
|
|
|
13589
13874
|
// 响应式方法 | xxx = () => {}
|
|
13590
13875
|
//#endregion 业务逻辑 END
|
|
13591
13876
|
}
|
|
13592
|
-
const
|
|
13593
|
-
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);
|
|
13594
13879
|
const _hoisted_1$4 = { style: { "height": "650px", "overflow-y": "auto" } };
|
|
13595
13880
|
const _hoisted_2$2 = {
|
|
13596
13881
|
class: "import-module",
|
|
@@ -13860,7 +14145,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13860
14145
|
_: 1
|
|
13861
14146
|
});
|
|
13862
14147
|
}
|
|
13863
|
-
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"]]);
|
|
13864
14149
|
const type = "FeatureCollection";
|
|
13865
14150
|
const features = [
|
|
13866
14151
|
{
|
|
@@ -26897,7 +27182,7 @@ let ProjectUserinforInstance$1 = class ProjectUserinforInstance extends BaseInst
|
|
|
26897
27182
|
}
|
|
26898
27183
|
//#endregion 系统平台 END
|
|
26899
27184
|
};
|
|
26900
|
-
const
|
|
27185
|
+
const Sublinepoins_vue_vue_type_style_index_0_scoped_297f680c_lang = "";
|
|
26901
27186
|
const _hoisted_1$3 = { class: "instree-search" };
|
|
26902
27187
|
const _hoisted_2$1 = { class: "instree-list" };
|
|
26903
27188
|
const _hoisted_3$1 = { class: "nv-flex-1 nv-flex-col map-box" };
|
|
@@ -27144,7 +27429,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
27144
27429
|
_: 1
|
|
27145
27430
|
});
|
|
27146
27431
|
}
|
|
27147
|
-
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"]]);
|
|
27148
27433
|
const propDefine$3 = {
|
|
27149
27434
|
Id: {
|
|
27150
27435
|
default: 0,
|