@newview/permission-service 1.2.34 → 1.2.36

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 CHANGED
@@ -1,3 +1,6 @@
1
+ ### 版本 1.2.35
2
+ 1、平台用户管理增加签字配置
3
+
1
4
  ### 版本 1.2.34
2
5
  1、用户管理增加签字配置
3
6
 
@@ -5717,8 +5717,8 @@ let UserinforInstance$1 = class UserinforInstance extends BaseInstance {
5717
5717
  };
5718
5718
  }
5719
5719
  };
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);
5720
+ const Userinfor_vue_vue_type_style_index_0_scoped_3d0ba4ac_lang = "";
5721
+ const _withScopeId$3 = (n) => (pushScopeId("data-v-3d0ba4ac"), n = n(), popScopeId(), n);
5722
5722
  const _hoisted_1$e = { class: "instree-search" };
5723
5723
  const _hoisted_2$6 = { class: "instree-list" };
5724
5724
  const _hoisted_3$6 = { style: { "height": "774px", "overflow-y": "auto" } };
@@ -5732,17 +5732,17 @@ const _hoisted_7$4 = { style: { "height": "650px", "overflow-y": "auto" } };
5732
5732
  const _hoisted_8$4 = /* @__PURE__ */ _withScopeId$3(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "勾选需要引入的用户!", -1));
5733
5733
  const _hoisted_9$3 = { style: { "height": "650px", "overflow-y": "auto" } };
5734
5734
  const _hoisted_10$2 = { style: { "display": "none" } };
5735
- const _hoisted_11$2 = { style: { "height": "400px", "overflow-y": "auto" } };
5735
+ const _hoisted_11$2 = { style: { "height": "400px" } };
5736
5736
  const _hoisted_12$1 = ["src"];
5737
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 = {
5738
+ const _hoisted_14$1 = { style: { "height": "260px" } };
5739
+ const _hoisted_15$1 = { class: "nv-flex" };
5740
+ const _hoisted_16$1 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
5741
+ const _hoisted_17$1 = {
5742
5742
  key: 1,
5743
5743
  class: "nv-full nv-pos-r"
5744
5744
  };
5745
- const _hoisted_18 = {
5745
+ const _hoisted_18$1 = {
5746
5746
  key: 1,
5747
5747
  class: "nv-c-v-center"
5748
5748
  };
@@ -6122,7 +6122,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6122
6122
  "footer-hide": ""
6123
6123
  }, {
6124
6124
  default: withCtx(() => [
6125
- createElementVNode("div", _hoisted_14, [
6125
+ createElementVNode("div", _hoisted_14$1, [
6126
6126
  createVNode(_component_NvExcelImport, {
6127
6127
  ref: "NvExcelImport",
6128
6128
  onImport: _ctx.doExcelPointImport,
@@ -6164,7 +6164,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6164
6164
  }, 8, ["disabled", "onClick"])
6165
6165
  ]),
6166
6166
  default: withCtx(() => [
6167
- createElementVNode("div", _hoisted_15, [
6167
+ createElementVNode("div", _hoisted_15$1, [
6168
6168
  createVNode(_component_Input, {
6169
6169
  class: "nv-flex-1",
6170
6170
  style: { "margin-left": "10px" },
@@ -6175,7 +6175,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6175
6175
  placeholder: "请输入人员名称"
6176
6176
  }, null, 8, ["modelValue", "onOnChange"])
6177
6177
  ]),
6178
- createElementVNode("div", _hoisted_16, [
6178
+ createElementVNode("div", _hoisted_16$1, [
6179
6179
  _ctx.userSealData.length > 0 ? (openBlock(), createBlock(_component_RadioGroup, {
6180
6180
  key: 0,
6181
6181
  modelValue: _ctx.selUserSealId,
@@ -6195,11 +6195,11 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6195
6195
  }), 256))
6196
6196
  ]),
6197
6197
  _: 1
6198
- }, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17, [
6198
+ }, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17$1, [
6199
6199
  _ctx.userSealListLoading ? (openBlock(), createBlock(_component_NvLoading, {
6200
6200
  key: 0,
6201
6201
  content: "人员数据加载中..."
6202
- })) : (openBlock(), createElementBlock("div", _hoisted_18, "暂无人员数据"))
6202
+ })) : (openBlock(), createElementBlock("div", _hoisted_18$1, "暂无人员数据"))
6203
6203
  ]))
6204
6204
  ])
6205
6205
  ]),
@@ -6209,7 +6209,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
6209
6209
  _: 1
6210
6210
  });
6211
6211
  }
6212
- const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-65fc1807"]]);
6212
+ const Userinfor = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-3d0ba4ac"]]);
6213
6213
  const propDefine$e = {
6214
6214
  linkParam: {
6215
6215
  // 带入的参数
@@ -11643,6 +11643,13 @@ class UserinforInstance2 extends BaseInstance {
11643
11643
  onclick: () => {
11644
11644
  this.doShowImportUser();
11645
11645
  }
11646
+ },
11647
+ {
11648
+ name: "import",
11649
+ text: "导入CA",
11650
+ onclick: () => {
11651
+ this.importCAData();
11652
+ }
11646
11653
  }
11647
11654
  ],
11648
11655
  rightToolbars: [
@@ -12251,10 +12258,17 @@ class UserinforInstance2 extends BaseInstance {
12251
12258
  CAUserYZImg: ""
12252
12259
  }));
12253
12260
  __publicField(this, "userSignFormItems", reactive([
12254
- { model: "CAUserInfoKey", label: "用户KEY", type: "Input", prop: "CAUserInfoKey", span: 24 },
12255
- { model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24 },
12256
- { model: "CAUserYZKey", label: "圆章KEY", type: "Input", prop: "CAUserYZKey", span: 24 }
12261
+ // { model: 'CAUserInfoKey', label: '用户KEY', type: 'Input', prop: 'CAUserInfoKey', span: 24 },
12262
+ { model: "CAUserSealKey", label: "印章KEY", type: "Input", prop: "CAUserSealKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
12263
+ this.GetUserSealData(3);
12264
+ } } },
12265
+ { model: "CAUserYZKey", label: "圆章KEY", type: "Input", prop: "CAUserYZKey", span: 24, inputProp: { append: "选择", onTextClick: () => {
12266
+ this.GetUserSealData(2);
12267
+ } } }
12257
12268
  ]));
12269
+ // 私有方法 | private 方法名() {}
12270
+ /** 当前所选人 */
12271
+ __publicField(this, "activeUserSealRow", ref({}));
12258
12272
  // 响应式方法 | xxx = () => {}
12259
12273
  /**
12260
12274
  * 保存用户签字
@@ -12291,6 +12305,22 @@ class UserinforInstance2 extends BaseInstance {
12291
12305
  this.message.error("读取失败,请稍后重试");
12292
12306
  }
12293
12307
  });
12308
+ /**
12309
+ * 删除用户印章图片
12310
+ */
12311
+ __publicField(this, "delUserSealImg", async () => {
12312
+ this.modal.confirm({
12313
+ title: "提示",
12314
+ content: "确定要清除该印章图片吗?",
12315
+ onOk: async () => {
12316
+ const apiResult = await this.userSignApi.save({ Id: this.userSignFormModel.Id, CAUserSealImg: "" });
12317
+ const result = this.utilities.parseApiResult(apiResult);
12318
+ if (result) {
12319
+ this.userSignFormModel.CAUserSealImg = "";
12320
+ }
12321
+ }
12322
+ });
12323
+ });
12294
12324
  /**
12295
12325
  * 加载圆章KEY
12296
12326
  */
@@ -12315,6 +12345,130 @@ class UserinforInstance2 extends BaseInstance {
12315
12345
  this.message.error("读取失败,请稍后重试");
12316
12346
  }
12317
12347
  });
12348
+ /**
12349
+ * 删除用户圆章图片
12350
+ */
12351
+ __publicField(this, "delUserYZImg", async () => {
12352
+ this.modal.confirm({
12353
+ title: "提示",
12354
+ content: "确定要清除该圆章图片吗?",
12355
+ onOk: async () => {
12356
+ const apiResult = await this.userSignApi.save({ Id: this.userSignFormModel.Id, CAUserYZImg: "" });
12357
+ const result = this.utilities.parseApiResult(apiResult);
12358
+ if (result) {
12359
+ this.userSignFormModel.CAUserYZImg = "";
12360
+ }
12361
+ }
12362
+ });
12363
+ });
12364
+ // 响应式方法 | xxx = () => {}
12365
+ //#endregion 重置密码 END
12366
+ __publicField(this, "importCAModal", ref(false));
12367
+ __publicField(this, "importCAData", () => {
12368
+ this.importCAModal.value = true;
12369
+ });
12370
+ __publicField(this, "doExcelPointImport", async (datas) => {
12371
+ console.log(datas);
12372
+ if (datas.length == 0) {
12373
+ return;
12374
+ }
12375
+ let names = datas.filter((x) => this.utilities.isNull(x["印章ID"]) == true);
12376
+ if (names.length > 0) {
12377
+ this.message.info("印章ID不能为空!");
12378
+ return;
12379
+ }
12380
+ let names1 = datas.filter((x) => this.utilities.isNull(x["印章名称"]) == true);
12381
+ if (names1.length > 0) {
12382
+ this.message.info("印章名称不能为空!");
12383
+ return;
12384
+ }
12385
+ let names2 = datas.filter((x) => this.utilities.isNull(x["所属用户名"]) == true);
12386
+ if (names2.length > 0) {
12387
+ this.message.info("所属用户名不能为空!");
12388
+ return;
12389
+ }
12390
+ let names3 = datas.filter((x) => this.utilities.isNull(x["印章类型"]) == true);
12391
+ if (names3.length > 0) {
12392
+ this.message.info("印章类型不能为空!");
12393
+ return;
12394
+ }
12395
+ let NewId = this.utilities.getUniqueCode();
12396
+ try {
12397
+ let eqlist = [];
12398
+ datas.forEach((element) => {
12399
+ eqlist.push({
12400
+ Id: 0,
12401
+ ProjectId: this.selectedPlatform.Id,
12402
+ RoadId: this.selectedPlatform.Id,
12403
+ ZId: this.utilities.isNull(element["印章ID"]) ? "" : element["印章ID"],
12404
+ ZName: this.utilities.isNull(element["印章名称"]) ? "" : element["印章名称"],
12405
+ UName: this.utilities.isNull(element["所属用户名"]) ? "" : element["所属用户名"],
12406
+ PIn: "111111",
12407
+ CertType: this.utilities.isNull(element["印章类型"]) ? "3" : element["印章类型"] == "签字" ? 3 : 2,
12408
+ HandleKey: NewId
12409
+ });
12410
+ });
12411
+ if (eqlist.length > 0) {
12412
+ var loginparam = {
12413
+ Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
12414
+ Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
12415
+ SystemType: 1
12416
+ };
12417
+ let tokenRes = await request("/OldSysApi/OAuth/Token", {
12418
+ params: loginparam
12419
+ });
12420
+ let headers = await this.getTempRequestHeader();
12421
+ let saveRes = await request("/CASignApi/CA_Userinfointo/saves", {
12422
+ headers,
12423
+ method: "post",
12424
+ data: eqlist
12425
+ });
12426
+ let saveRes2 = await request("/CASignApi/CA_Userinfointo/SaveUserSignNew", {
12427
+ headers,
12428
+ params: { HandleKey: NewId, ProjetId: this.selectedPlatform.Id, RoadId: this.selectedPlatform.Id, BusinessKey: this.selectedPlatform.CABusinessKey }
12429
+ });
12430
+ this.message.success("导入成功!");
12431
+ this.importCAModal.value = false;
12432
+ }
12433
+ } catch (error) {
12434
+ this.message.error("导入失败!");
12435
+ }
12436
+ });
12437
+ __publicField(this, "userSealData", ref([]));
12438
+ __publicField(this, "userSealAllData", []);
12439
+ __publicField(this, "searchUserSeal", ref(""));
12440
+ __publicField(this, "userSealListLoading", ref(false));
12441
+ __publicField(this, "selectCASealModal", ref(false));
12442
+ __publicField(this, "selCaType", ref("3"));
12443
+ __publicField(this, "selUserSealId", ref(0));
12444
+ __publicField(this, "caTypeChange", () => {
12445
+ this.userSealData.value = this.userSealAllData.filter((e) => e["CertType"] == this.selCaType.value);
12446
+ });
12447
+ __publicField(this, "doSearchUserSeal", () => {
12448
+ this.userSealData.value = this.userSealAllData.filter((e) => e["SealName"].indexOf(this.searchUserSeal.value) >= 0);
12449
+ });
12450
+ /**
12451
+ * 选择签字信息
12452
+ */
12453
+ __publicField(this, "doSelUserSeal", async () => {
12454
+ let sealInfo = this.userSealAllData.find((e) => e["Id"] == this.selUserSealId.value);
12455
+ if (sealInfo.CertType == 3) {
12456
+ this.userSignFormModel.CAUserSealKey = sealInfo.SKey;
12457
+ this.doLoadUserSealImg();
12458
+ } else {
12459
+ this.userSignFormModel.CAUserYZKey = sealInfo.SKey;
12460
+ this.doLoadUserYZImg();
12461
+ }
12462
+ this.selectCASealModal.value = false;
12463
+ request("/CASignApi/Userseal/saveDynamic", {
12464
+ headers: await this.getTempRequestHeader(),
12465
+ method: "post",
12466
+ data: {
12467
+ Id: sealInfo.Id,
12468
+ BIId: this.selectedInsTree.InstitutionId
12469
+ }
12470
+ });
12471
+ });
12318
12472
  this.props = props;
12319
12473
  this.ctx = ctx;
12320
12474
  this.initData();
@@ -12540,12 +12694,12 @@ class UserinforInstance2 extends BaseInstance {
12540
12694
  this.storageInfo.removeAll();
12541
12695
  this.loginRef.value.setLoginResult(result);
12542
12696
  }
12543
- // 私有方法 | private 方法名() {}
12544
12697
  /**
12545
12698
  * 编辑用户签字
12546
12699
  */
12547
12700
  async doShowEditUserSign(row) {
12548
12701
  this.showEditUserSign.value = true;
12702
+ this.activeUserSealRow.value = row;
12549
12703
  const apiResult = await this.userSignApi.getEntityByFilter(QueryWrapper.create().eq("UserId", row.Id));
12550
12704
  const result = this.utilities.parseApiResult(apiResult);
12551
12705
  if (!this.utilities.isNull(result)) {
@@ -12590,11 +12744,43 @@ class UserinforInstance2 extends BaseInstance {
12590
12744
  }
12591
12745
  });
12592
12746
  }
12593
- // 响应式方法 | xxx = () => {}
12594
- //#endregion 重置密码 END
12747
+ async GetUserSealData(type2) {
12748
+ this.userSealData.value = [];
12749
+ this.userSealListLoading.value = true;
12750
+ this.selCaType.value = type2;
12751
+ this.selectCASealModal.value = true;
12752
+ ({
12753
+ Account: this.utilities.stringHelper.encodeToBase64("hhlhf"),
12754
+ Pwd: this.utilities.stringHelper.encodeToBase64("Lhf513723."),
12755
+ SystemType: 1
12756
+ });
12757
+ let res = this.utilities.parseApiResult(await request("/CASignApi/Userseal/GetUserSeal", {
12758
+ headers: await this.getTempRequestHeader(),
12759
+ params: {
12760
+ BusinessKey: this.selectedPlatform.CABusinessKey,
12761
+ Parms: ""
12762
+ }
12763
+ }));
12764
+ this.userSealListLoading.value = false;
12765
+ this.userSealAllData = this.utilities.deepCopy(res);
12766
+ this.caTypeChange();
12767
+ }
12768
+ async getTempRequestHeader() {
12769
+ var loginparam = {
12770
+ Account: this.utilities.stringHelper.encodeToBase64("hhkf"),
12771
+ Pwd: this.utilities.stringHelper.encodeToBase64("Nv88341268#"),
12772
+ SystemType: 1
12773
+ };
12774
+ let tokenRes = await request("/OldSysApi/OAuth/Token", {
12775
+ params: loginparam
12776
+ });
12777
+ return {
12778
+ Authorization: "Bearer " + tokenRes.result.Token
12779
+ };
12780
+ }
12595
12781
  }
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);
12782
+ const Userinfor_vue_vue_type_style_index_0_scoped_38293ad4_lang = "";
12783
+ const _withScopeId$2 = (n) => (pushScopeId("data-v-38293ad4"), n = n(), popScopeId(), n);
12598
12784
  const _hoisted_1$5 = { class: "instree-search" };
12599
12785
  const _hoisted_2$3 = { class: "instree-list" };
12600
12786
  const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
@@ -12608,9 +12794,20 @@ const _hoisted_7$3 = { style: { "height": "650px", "overflow-y": "auto" } };
12608
12794
  const _hoisted_8$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "勾选需要引入的用户!", -1));
12609
12795
  const _hoisted_9$2 = { style: { "height": "650px", "overflow-y": "auto" } };
12610
12796
  const _hoisted_10$1 = { style: { "display": "none" } };
12611
- const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
12797
+ const _hoisted_11$1 = { style: { "height": "400px" } };
12612
12798
  const _hoisted_12 = ["src"];
12613
12799
  const _hoisted_13 = ["src"];
12800
+ const _hoisted_14 = { style: { "height": "260px" } };
12801
+ const _hoisted_15 = { class: "nv-flex" };
12802
+ const _hoisted_16 = { style: { "height": "300px", "overflow": "auto", "margin-top": "10px", "padding": "0 20px" } };
12803
+ const _hoisted_17 = {
12804
+ key: 1,
12805
+ class: "nv-full nv-pos-r"
12806
+ };
12807
+ const _hoisted_18 = {
12808
+ key: 1,
12809
+ class: "nv-c-v-center"
12810
+ };
12614
12811
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12615
12812
  const _component_Option = resolveComponent("Option");
12616
12813
  const _component_Select = resolveComponent("Select");
@@ -12628,6 +12825,12 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12628
12825
  const _component_BaseLogin = resolveComponent("BaseLogin");
12629
12826
  const _component_NvComForm = resolveComponent("NvComForm");
12630
12827
  const _component_FormItem = resolveComponent("FormItem");
12828
+ const _component_nvModal = resolveComponent("nvModal");
12829
+ const _component_NvExcelImport = resolveComponent("NvExcelImport");
12830
+ const _component_Input = resolveComponent("Input");
12831
+ const _component_Radio = resolveComponent("Radio");
12832
+ const _component_RadioGroup = resolveComponent("RadioGroup");
12833
+ const _component_NvLoading = resolveComponent("NvLoading");
12631
12834
  const _component_NvPage = resolveComponent("NvPage");
12632
12835
  return openBlock(), createBlock(_component_NvPage, {
12633
12836
  gutter: 8,
@@ -12911,15 +13114,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12911
13114
  autoLogin: false
12912
13115
  }, null, 512)
12913
13116
  ]),
12914
- createVNode(_component_Modal, {
13117
+ createVNode(_component_nvModal, {
12915
13118
  modelValue: _ctx.showEditUserSign,
12916
13119
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.showEditUserSign = $event),
12917
13120
  draggable: "",
12918
13121
  mask: true,
12919
13122
  "mask-closable": false,
12920
- width: 440,
12921
- title: "编辑签字信息",
12922
- styles: { top: "3%" }
13123
+ width: 400,
13124
+ title: _ctx.activeUserSealRow.UserName + "签字信息"
12923
13125
  }, {
12924
13126
  footer: withCtx(() => [
12925
13127
  createVNode(_component_Button, {
@@ -12963,16 +13165,24 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12963
13165
  alt: "",
12964
13166
  style: { "width": "120px", "height": "35px" }
12965
13167
  }, null, 8, _hoisted_12)) : createCommentVNode("", true),
13168
+ createVNode(_component_Button, {
13169
+ type: "error",
13170
+ size: "small",
13171
+ ghost: "",
13172
+ style: { "float": "right", "margin-left": "3px" },
13173
+ icon: "md-trash",
13174
+ onClick: _ctx.delUserSealImg,
13175
+ title: "清除印章图片"
13176
+ }, null, 8, ["onClick"]),
12966
13177
  createVNode(_component_Button, {
12967
13178
  type: "primary",
13179
+ size: "small",
13180
+ ghost: "",
12968
13181
  style: { "float": "right" },
12969
- onClick: _ctx.doLoadUserSealImg
12970
- }, {
12971
- default: withCtx(() => [
12972
- createTextVNode("加载")
12973
- ]),
12974
- _: 1
12975
- }, 8, ["onClick"])
13182
+ icon: "md-refresh",
13183
+ onClick: _ctx.doLoadUserSealImg,
13184
+ title: "加载印章图片"
13185
+ }, null, 8, ["onClick"])
12976
13186
  ]),
12977
13187
  _: 1
12978
13188
  }),
@@ -12984,16 +13194,24 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12984
13194
  alt: "",
12985
13195
  style: { "width": "120px", "height": "120px", "margin-left": "16px" }
12986
13196
  }, null, 8, _hoisted_13)) : createCommentVNode("", true),
13197
+ createVNode(_component_Button, {
13198
+ type: "error",
13199
+ size: "small",
13200
+ ghost: "",
13201
+ style: { "float": "right", "margin-left": "3px" },
13202
+ icon: "md-trash",
13203
+ onClick: _ctx.delUserYZImg,
13204
+ title: "清除圆章图片"
13205
+ }, null, 8, ["onClick"]),
12987
13206
  createVNode(_component_Button, {
12988
13207
  type: "primary",
13208
+ size: "small",
13209
+ ghost: "",
12989
13210
  style: { "float": "right" },
12990
- onClick: _ctx.doLoadUserYZImg
12991
- }, {
12992
- default: withCtx(() => [
12993
- createTextVNode("加载")
12994
- ]),
12995
- _: 1
12996
- }, 8, ["onClick"])
13211
+ icon: "md-refresh",
13212
+ onClick: _ctx.doLoadUserYZImg,
13213
+ title: "加载圆章图片"
13214
+ }, null, 8, ["onClick"])
12997
13215
  ]),
12998
13216
  _: 1
12999
13217
  })
@@ -13003,12 +13221,106 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
13003
13221
  ])
13004
13222
  ]),
13005
13223
  _: 1
13224
+ }, 8, ["modelValue", "title"]),
13225
+ createVNode(_component_nvModal, {
13226
+ modelValue: _ctx.importCAModal,
13227
+ "onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => _ctx.importCAModal = $event),
13228
+ draggable: "",
13229
+ mask: true,
13230
+ "mask-closable": false,
13231
+ width: 500,
13232
+ title: "导入CA数据",
13233
+ "footer-hide": ""
13234
+ }, {
13235
+ default: withCtx(() => [
13236
+ createElementVNode("div", _hoisted_14, [
13237
+ createVNode(_component_NvExcelImport, {
13238
+ ref: "NvExcelImport",
13239
+ onImport: _ctx.doExcelPointImport,
13240
+ isExportTemplete: true,
13241
+ 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"
13242
+ }, null, 8, ["onImport"])
13243
+ ])
13244
+ ]),
13245
+ _: 1
13246
+ }, 8, ["modelValue"]),
13247
+ createVNode(_component_nvModal, {
13248
+ modelValue: _ctx.selectCASealModal,
13249
+ "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => _ctx.selectCASealModal = $event),
13250
+ draggable: "",
13251
+ mask: true,
13252
+ "mask-closable": false,
13253
+ width: 400,
13254
+ title: "选择签字人员"
13255
+ }, {
13256
+ footer: withCtx(() => [
13257
+ createVNode(_component_Button, {
13258
+ type: "text",
13259
+ onClick: _cache[14] || (_cache[14] = ($event) => _ctx.selectCASealModal = false)
13260
+ }, {
13261
+ default: withCtx(() => [
13262
+ createTextVNode("关闭")
13263
+ ]),
13264
+ _: 1
13265
+ }),
13266
+ createVNode(_component_Button, {
13267
+ type: "primary",
13268
+ disabled: !_ctx.selUserSealId,
13269
+ onClick: _ctx.doSelUserSeal
13270
+ }, {
13271
+ default: withCtx(() => [
13272
+ createTextVNode("确定")
13273
+ ]),
13274
+ _: 1
13275
+ }, 8, ["disabled", "onClick"])
13276
+ ]),
13277
+ default: withCtx(() => [
13278
+ createElementVNode("div", _hoisted_15, [
13279
+ createVNode(_component_Input, {
13280
+ class: "nv-flex-1",
13281
+ style: { "margin-left": "10px" },
13282
+ modelValue: _ctx.searchUserSeal,
13283
+ "onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => _ctx.searchUserSeal = $event),
13284
+ onOnChange: _ctx.doSearchUserSeal,
13285
+ search: "",
13286
+ placeholder: "请输入人员名称"
13287
+ }, null, 8, ["modelValue", "onOnChange"])
13288
+ ]),
13289
+ createElementVNode("div", _hoisted_16, [
13290
+ _ctx.userSealData.length > 0 ? (openBlock(), createBlock(_component_RadioGroup, {
13291
+ key: 0,
13292
+ modelValue: _ctx.selUserSealId,
13293
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => _ctx.selUserSealId = $event),
13294
+ vertical: ""
13295
+ }, {
13296
+ default: withCtx(() => [
13297
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.userSealData, (item, index2) => {
13298
+ return openBlock(), createBlock(_component_Radio, {
13299
+ label: item.Id
13300
+ }, {
13301
+ default: withCtx(() => [
13302
+ createElementVNode("span", null, toDisplayString(item.SealName), 1)
13303
+ ]),
13304
+ _: 2
13305
+ }, 1032, ["label"]);
13306
+ }), 256))
13307
+ ]),
13308
+ _: 1
13309
+ }, 8, ["modelValue"])) : (openBlock(), createElementBlock("div", _hoisted_17, [
13310
+ _ctx.userSealListLoading ? (openBlock(), createBlock(_component_NvLoading, {
13311
+ key: 0,
13312
+ content: "人员数据加载中..."
13313
+ })) : (openBlock(), createElementBlock("div", _hoisted_18, "暂无人员数据"))
13314
+ ]))
13315
+ ])
13316
+ ]),
13317
+ _: 1
13006
13318
  }, 8, ["modelValue"])
13007
13319
  ]),
13008
13320
  _: 1
13009
13321
  });
13010
13322
  }
13011
- const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-76f4c320"]]);
13323
+ const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-38293ad4"]]);
13012
13324
  const propDefine$5 = {
13013
13325
  linkParam: {
13014
13326
  // 带入的参数