@newview/permission-service 1.2.35 → 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.
@@ -12305,6 +12305,22 @@ class UserinforInstance2 extends BaseInstance {
12305
12305
  this.message.error("读取失败,请稍后重试");
12306
12306
  }
12307
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
+ });
12308
12324
  /**
12309
12325
  * 加载圆章KEY
12310
12326
  */
@@ -12329,6 +12345,22 @@ class UserinforInstance2 extends BaseInstance {
12329
12345
  this.message.error("读取失败,请稍后重试");
12330
12346
  }
12331
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
+ });
12332
12364
  // 响应式方法 | xxx = () => {}
12333
12365
  //#endregion 重置密码 END
12334
12366
  __publicField(this, "importCAModal", ref(false));
@@ -12419,7 +12451,6 @@ class UserinforInstance2 extends BaseInstance {
12419
12451
  * 选择签字信息
12420
12452
  */
12421
12453
  __publicField(this, "doSelUserSeal", async () => {
12422
- console.log(this.selUserSealId.value);
12423
12454
  let sealInfo = this.userSealAllData.find((e) => e["Id"] == this.selUserSealId.value);
12424
12455
  if (sealInfo.CertType == 3) {
12425
12456
  this.userSignFormModel.CAUserSealKey = sealInfo.SKey;
@@ -12748,8 +12779,8 @@ class UserinforInstance2 extends BaseInstance {
12748
12779
  };
12749
12780
  }
12750
12781
  }
12751
- const Userinfor_vue_vue_type_style_index_0_scoped_72cde892_lang = "";
12752
- const _withScopeId$2 = (n) => (pushScopeId("data-v-72cde892"), 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);
12753
12784
  const _hoisted_1$5 = { class: "instree-search" };
12754
12785
  const _hoisted_2$3 = { class: "instree-list" };
12755
12786
  const _hoisted_3$3 = { style: { "height": "750px", "overflow-y": "auto" } };
@@ -12763,7 +12794,7 @@ const _hoisted_7$3 = { style: { "height": "650px", "overflow-y": "auto" } };
12763
12794
  const _hoisted_8$3 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "primary-color gird-tip" }, "勾选需要引入的用户!", -1));
12764
12795
  const _hoisted_9$2 = { style: { "height": "650px", "overflow-y": "auto" } };
12765
12796
  const _hoisted_10$1 = { style: { "display": "none" } };
12766
- const _hoisted_11$1 = { style: { "height": "400px", "overflow-y": "auto" } };
12797
+ const _hoisted_11$1 = { style: { "height": "400px" } };
12767
12798
  const _hoisted_12 = ["src"];
12768
12799
  const _hoisted_13 = ["src"];
12769
12800
  const _hoisted_14 = { style: { "height": "260px" } };
@@ -12794,8 +12825,8 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
12794
12825
  const _component_BaseLogin = resolveComponent("BaseLogin");
12795
12826
  const _component_NvComForm = resolveComponent("NvComForm");
12796
12827
  const _component_FormItem = resolveComponent("FormItem");
12797
- const _component_NvExcelImport = resolveComponent("NvExcelImport");
12798
12828
  const _component_nvModal = resolveComponent("nvModal");
12829
+ const _component_NvExcelImport = resolveComponent("NvExcelImport");
12799
12830
  const _component_Input = resolveComponent("Input");
12800
12831
  const _component_Radio = resolveComponent("Radio");
12801
12832
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -13083,15 +13114,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
13083
13114
  autoLogin: false
13084
13115
  }, null, 512)
13085
13116
  ]),
13086
- createVNode(_component_Modal, {
13117
+ createVNode(_component_nvModal, {
13087
13118
  modelValue: _ctx.showEditUserSign,
13088
13119
  "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => _ctx.showEditUserSign = $event),
13089
13120
  draggable: "",
13090
13121
  mask: true,
13091
13122
  "mask-closable": false,
13092
13123
  width: 400,
13093
- title: _ctx.activeUserSealRow.UserName + "签字信息",
13094
- styles: { top: "3%" }
13124
+ title: _ctx.activeUserSealRow.UserName + "签字信息"
13095
13125
  }, {
13096
13126
  footer: withCtx(() => [
13097
13127
  createVNode(_component_Button, {
@@ -13135,16 +13165,24 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
13135
13165
  alt: "",
13136
13166
  style: { "width": "120px", "height": "35px" }
13137
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"]),
13138
13177
  createVNode(_component_Button, {
13139
13178
  type: "primary",
13179
+ size: "small",
13180
+ ghost: "",
13140
13181
  style: { "float": "right" },
13141
- onClick: _ctx.doLoadUserSealImg
13142
- }, {
13143
- default: withCtx(() => [
13144
- createTextVNode("加载")
13145
- ]),
13146
- _: 1
13147
- }, 8, ["onClick"])
13182
+ icon: "md-refresh",
13183
+ onClick: _ctx.doLoadUserSealImg,
13184
+ title: "加载印章图片"
13185
+ }, null, 8, ["onClick"])
13148
13186
  ]),
13149
13187
  _: 1
13150
13188
  }),
@@ -13156,16 +13194,24 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
13156
13194
  alt: "",
13157
13195
  style: { "width": "120px", "height": "120px", "margin-left": "16px" }
13158
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"]),
13159
13206
  createVNode(_component_Button, {
13160
13207
  type: "primary",
13208
+ size: "small",
13209
+ ghost: "",
13161
13210
  style: { "float": "right" },
13162
- onClick: _ctx.doLoadUserYZImg
13163
- }, {
13164
- default: withCtx(() => [
13165
- createTextVNode("加载")
13166
- ]),
13167
- _: 1
13168
- }, 8, ["onClick"])
13211
+ icon: "md-refresh",
13212
+ onClick: _ctx.doLoadUserYZImg,
13213
+ title: "加载圆章图片"
13214
+ }, null, 8, ["onClick"])
13169
13215
  ]),
13170
13216
  _: 1
13171
13217
  })
@@ -13274,7 +13320,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
13274
13320
  _: 1
13275
13321
  });
13276
13322
  }
13277
- const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-72cde892"]]);
13323
+ const subuserinfor = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6], ["__scopeId", "data-v-38293ad4"]]);
13278
13324
  const propDefine$5 = {
13279
13325
  linkParam: {
13280
13326
  // 带入的参数