ocpview-plus 1.3.9 → 1.3.11

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.
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-plus";
456
- const version$2 = "1.3.8";
456
+ const version$2 = "1.3.10";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -4796,7 +4796,7 @@ const _sfc_main$1U = {
4796
4796
  }
4797
4797
  };
4798
4798
  const _hoisted_1$18 = { key: 0 };
4799
- const _hoisted_2$N = { key: 0 };
4799
+ const _hoisted_2$O = { key: 0 };
4800
4800
  const _hoisted_3$u = { href: "javascript:void(0)" };
4801
4801
  function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
4802
4802
  const _component_Ebutton = resolveComponent("Ebutton");
@@ -4897,7 +4897,7 @@ function _sfc_render$1C(_ctx, _cache, $props, $setup, $data, $options) {
4897
4897
  ])) : createCommentVNode("", true)
4898
4898
  ], 64)) : createCommentVNode("", true),
4899
4899
  $props.tooltype === "row" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
4900
- $data.visible ? (openBlock(), createElementBlock("div", _hoisted_2$N, [
4900
+ $data.visible ? (openBlock(), createElementBlock("div", _hoisted_2$O, [
4901
4901
  $data.showType ? (openBlock(), createBlock(_component_Row, {
4902
4902
  key: 0,
4903
4903
  type: "flex",
@@ -6374,7 +6374,7 @@ const _hoisted_1$17 = {
6374
6374
  key: 0,
6375
6375
  style: { "color": "#348eed" }
6376
6376
  };
6377
- const _hoisted_2$M = { key: 1 };
6377
+ const _hoisted_2$N = { key: 1 };
6378
6378
  const _hoisted_3$t = ["onClick"];
6379
6379
  function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
6380
6380
  const _component_ControlBox = resolveComponent("ControlBox");
@@ -6415,7 +6415,7 @@ function _sfc_render$1A(_ctx, _cache, $props, $setup, $data, $options) {
6415
6415
  "show-message": false
6416
6416
  }, {
6417
6417
  label: withCtx(() => [
6418
- item.required === true ? (openBlock(), createElementBlock("span", _hoisted_1$17, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$M, toDisplayString(item.label), 1))
6418
+ item.required === true ? (openBlock(), createElementBlock("span", _hoisted_1$17, toDisplayString(item.label), 1)) : (openBlock(), createElementBlock("span", _hoisted_2$N, toDisplayString(item.label), 1))
6419
6419
  ]),
6420
6420
  default: withCtx(() => [
6421
6421
  createElementVNode("div", {
@@ -8705,7 +8705,7 @@ const _sfc_main$1N = {
8705
8705
  }
8706
8706
  };
8707
8707
  const _hoisted_1$16 = { ref: "head" };
8708
- const _hoisted_2$L = { key: 0 };
8708
+ const _hoisted_2$M = { key: 0 };
8709
8709
  const _hoisted_3$s = { key: 0 };
8710
8710
  const _hoisted_4$p = {
8711
8711
  ref: "page",
@@ -8750,7 +8750,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
8750
8750
  key: 1,
8751
8751
  style: normalizeStyle(_ctx.myConfig.headStyle)
8752
8752
  }, [
8753
- _ctx.showCondition ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
8753
+ _ctx.showCondition ? (openBlock(), createElementBlock("div", _hoisted_2$M, [
8754
8754
  _ctx.myConfig.gridType === "billGrid" ? (openBlock(), createBlock(_component_Row, {
8755
8755
  key: 0,
8756
8756
  gutter: 4
@@ -10183,7 +10183,7 @@ const _sfc_main$1L = {
10183
10183
  }
10184
10184
  };
10185
10185
  const _hoisted_1$15 = ["id"];
10186
- const _hoisted_2$K = { key: 0 };
10186
+ const _hoisted_2$L = { key: 0 };
10187
10187
  const _hoisted_3$r = ["onClick"];
10188
10188
  const _hoisted_4$o = {
10189
10189
  key: 0,
@@ -10206,7 +10206,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
10206
10206
  id: _ctx.config.name,
10207
10207
  style: { "padding": "5px" }
10208
10208
  }, [
10209
- _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_2$K, [
10209
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
10210
10210
  renderSlot(_ctx.$slots, "header")
10211
10211
  ])) : withDirectives((openBlock(), createBlock(_component_Row, {
10212
10212
  key: 1,
@@ -10509,7 +10509,7 @@ const _sfc_main$1K = {
10509
10509
  }
10510
10510
  };
10511
10511
  const _hoisted_1$14 = ["textContent"];
10512
- const _hoisted_2$J = { key: 1 };
10512
+ const _hoisted_2$K = { key: 1 };
10513
10513
  const _hoisted_3$q = {
10514
10514
  key: 4,
10515
10515
  style: { "margin-left": "10px" }
@@ -10543,7 +10543,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
10543
10543
  href: "#",
10544
10544
  onClick: _cache[1] || (_cache[1] = withModifiers((...args) => $options.editGrid && $options.editGrid(...args), ["prevent"]))
10545
10545
  }, toDisplayString($data.myConfig.editBtnName), 1)) : createCommentVNode("", true),
10546
- $data.showBtn && $data.myConfig.readOnly && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_2$J, toDisplayString($data.myConfig.editBtnName), 1)) : createCommentVNode("", true),
10546
+ $data.showBtn && $data.myConfig.readOnly && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_2$K, toDisplayString($data.myConfig.editBtnName), 1)) : createCommentVNode("", true),
10547
10547
  $data.showBtn && !$data.myConfig.readOnly && $data.myConfig.addBtnType === "3" ? (openBlock(), createElementBlock("a", {
10548
10548
  key: 2,
10549
10549
  href: "#",
@@ -27103,7 +27103,7 @@ const _hoisted_1$12 = {
27103
27103
  ref: "myControl",
27104
27104
  class: "ivu-select-selection"
27105
27105
  };
27106
- const _hoisted_2$I = { class: "ivu-tag-text" };
27106
+ const _hoisted_2$J = { class: "ivu-tag-text" };
27107
27107
  const _hoisted_3$p = {
27108
27108
  key: 0,
27109
27109
  class: "ivu-tag ivu-tag-checked"
@@ -27128,7 +27128,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
27128
27128
  class: "ivu-tag ivu-tag-checked",
27129
27129
  key: "tag_" + index
27130
27130
  }, [
27131
- createElementVNode("span", _hoisted_2$I, toDisplayString(item.label), 1),
27131
+ createElementVNode("span", _hoisted_2$J, toDisplayString(item.label), 1),
27132
27132
  !$data.myConfig.readOnly ? (openBlock(), createBlock(_component_Icon, {
27133
27133
  key: 0,
27134
27134
  type: "ios-close",
@@ -27481,7 +27481,7 @@ const _sfc_main$1x = {
27481
27481
  mixins: [proBase]
27482
27482
  };
27483
27483
  const _hoisted_1$11 = ["textContent"];
27484
- const _hoisted_2$H = { key: 1 };
27484
+ const _hoisted_2$I = { key: 1 };
27485
27485
  function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
27486
27486
  const _component_Icon = resolveComponent("Icon");
27487
27487
  const _component_Divider = resolveComponent("Divider");
@@ -27509,7 +27509,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
27509
27509
  key: 0,
27510
27510
  textContent: toDisplayString(_ctx.config.label)
27511
27511
  }, null, 8, _hoisted_1$11)) : createCommentVNode("", true),
27512
- !!_ctx.config.hide ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
27512
+ !!_ctx.config.hide ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
27513
27513
  _ctx.hideFlag ? (openBlock(), createElementBlock("p", {
27514
27514
  key: 0,
27515
27515
  onClick: _cache[0] || (_cache[0] = withModifiers((...args) => _ctx.hide && _ctx.hide(...args), ["stop"])),
@@ -30046,7 +30046,7 @@ const _sfc_main$1n = {
30046
30046
  }
30047
30047
  };
30048
30048
  const _hoisted_1$_ = { style: { "text-align": "center" } };
30049
- const _hoisted_2$G = ["onClick"];
30049
+ const _hoisted_2$H = ["onClick"];
30050
30050
  const _hoisted_3$o = ["onClick"];
30051
30051
  const _hoisted_4$l = ["src", "data-original"];
30052
30052
  const _hoisted_5$i = { key: 0 };
@@ -30088,7 +30088,7 @@ function _sfc_render$1f(_ctx, _cache, $props, $setup, $data, $options) {
30088
30088
  color: "#ed4014",
30089
30089
  size: "16"
30090
30090
  })
30091
- ], 8, _hoisted_2$G)) : createCommentVNode("", true),
30091
+ ], 8, _hoisted_2$H)) : createCommentVNode("", true),
30092
30092
  $data.showDownBtn && item.url !== void 0 ? (openBlock(), createElementBlock("a", {
30093
30093
  key: 1,
30094
30094
  href: "#",
@@ -30201,6 +30201,7 @@ const _sfc_main$1m = {
30201
30201
  notdelfile: "N",
30202
30202
  downfile: "",
30203
30203
  delfile: "",
30204
+ pdffile: "/mss-sysconf-boot/downloadPdf?filekey=",
30204
30205
  scenetype: "1",
30205
30206
  proName: {
30206
30207
  "billmoduleid": "billmoduleid",
@@ -30279,6 +30280,9 @@ const _sfc_main$1m = {
30279
30280
  if (!this.myConfig.uploadfile) {
30280
30281
  this.myConfig.uploadfile = this.OmdUrl.uploadfile;
30281
30282
  }
30283
+ if (!this.myConfig.pdffile) {
30284
+ this.myConfig.pdffile = this.OmdUrl.pdffile;
30285
+ }
30282
30286
  let usercode = this.getUserCode();
30283
30287
  let username = this.getUserName();
30284
30288
  let userInfo = "&usercode=" + usercode + "&username=" + username + "&ent_id=" + this.getEnt_id();
@@ -30495,7 +30499,7 @@ const _hoisted_1$Z = {
30495
30499
  key: 0,
30496
30500
  class: "filebtn"
30497
30501
  };
30498
- const _hoisted_2$F = { ref: "photo" };
30502
+ const _hoisted_2$G = { ref: "photo" };
30499
30503
  const _hoisted_3$n = ["src", "data-original"];
30500
30504
  const _hoisted_4$k = ["innerHTML"];
30501
30505
  const _hoisted_5$h = {
@@ -30591,7 +30595,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
30591
30595
  _: 1
30592
30596
  })
30593
30597
  ])) : createCommentVNode("", true),
30594
- withDirectives(createElementVNode("div", _hoisted_2$F, [
30598
+ withDirectives(createElementVNode("div", _hoisted_2$G, [
30595
30599
  createElementVNode("li", null, [
30596
30600
  createElementVNode("img", {
30597
30601
  src: $data.imgUrl,
@@ -31230,7 +31234,7 @@ const _sfc_main$1k = {
31230
31234
  }
31231
31235
  };
31232
31236
  const _hoisted_1$Y = { style: { "text-align": "center" } };
31233
- const _hoisted_2$E = ["onClick"];
31237
+ const _hoisted_2$F = ["onClick"];
31234
31238
  const _hoisted_3$m = ["onClick"];
31235
31239
  const _hoisted_4$j = ["src"];
31236
31240
  const _hoisted_5$g = { key: 1 };
@@ -31272,7 +31276,7 @@ function _sfc_render$1c(_ctx, _cache, $props, $setup, $data, $options) {
31272
31276
  color: "#ed4014",
31273
31277
  size: "16"
31274
31278
  })
31275
- ], 8, _hoisted_2$E)) : createCommentVNode("", true),
31279
+ ], 8, _hoisted_2$F)) : createCommentVNode("", true),
31276
31280
  $data.showDownBtn && item.url !== void 0 ? (openBlock(), createElementBlock("a", {
31277
31281
  key: 1,
31278
31282
  href: "#",
@@ -31550,7 +31554,7 @@ const _sfc_main$1i = {
31550
31554
  }
31551
31555
  };
31552
31556
  const _hoisted_1$W = { style: { "margin-left": "10px" } };
31553
- const _hoisted_2$D = { style: { "margin-left": "10px" } };
31557
+ const _hoisted_2$E = { style: { "margin-left": "10px" } };
31554
31558
  function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
31555
31559
  const _component_Checkbox = resolveComponent("Checkbox");
31556
31560
  const _component_CheckboxGroup = resolveComponent("CheckboxGroup");
@@ -31589,7 +31593,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
31589
31593
  class: "efuture-checkbox"
31590
31594
  }, {
31591
31595
  default: withCtx(() => [
31592
- createElementVNode("span", _hoisted_2$D, toDisplayString(item[$data.myConfig.textField]), 1)
31596
+ createElementVNode("span", _hoisted_2$E, toDisplayString(item[$data.myConfig.textField]), 1)
31593
31597
  ]),
31594
31598
  _: 2
31595
31599
  }, 1032, ["label", "disabled"]);
@@ -32332,7 +32336,7 @@ const _sfc_main$1e = {
32332
32336
  }
32333
32337
  };
32334
32338
  const _hoisted_1$U = ["textContent"];
32335
- const _hoisted_2$C = { key: 0 };
32339
+ const _hoisted_2$D = { key: 0 };
32336
32340
  const _hoisted_3$l = { key: 1 };
32337
32341
  const _hoisted_4$i = { key: 1 };
32338
32342
  function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
@@ -32368,7 +32372,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
32368
32372
  ], 4)) : createCommentVNode("", true)
32369
32373
  ]),
32370
32374
  extra: withCtx(() => [
32371
- _ctx.$slots.btn ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
32375
+ _ctx.$slots.btn ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
32372
32376
  renderSlot(_ctx.$slots, "btn")
32373
32377
  ])) : (openBlock(), createElementBlock("div", _hoisted_3$l, [
32374
32378
  $data.showBtn && $data.editFlag && !$data.btnReadOnly ? (openBlock(), createElementBlock("a", {
@@ -32695,7 +32699,7 @@ const _sfc_main$1d = {
32695
32699
  }
32696
32700
  };
32697
32701
  const _hoisted_1$T = ["textContent"];
32698
- const _hoisted_2$B = { style: { "padding": "0px" } };
32702
+ const _hoisted_2$C = { style: { "padding": "0px" } };
32699
32703
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32700
32704
  const _component_Icon = resolveComponent("Icon");
32701
32705
  const _component_FormCardBox = resolveComponent("FormCardBox");
@@ -32721,7 +32725,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32721
32725
  }, toDisplayString($data.myConfig.saveBtnText), 1)) : createCommentVNode("", true)
32722
32726
  ]),
32723
32727
  default: withCtx(() => [
32724
- withDirectives(createElementVNode("div", _hoisted_2$B, [
32728
+ withDirectives(createElementVNode("div", _hoisted_2$C, [
32725
32729
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.myConfig.items, (item) => {
32726
32730
  return openBlock(), createBlock(_component_FormCardBox, {
32727
32731
  ref_for: true,
@@ -33027,7 +33031,7 @@ const _sfc_main$1c = {
33027
33031
  }
33028
33032
  };
33029
33033
  const _hoisted_1$S = { key: 1 };
33030
- const _hoisted_2$A = { key: 0 };
33034
+ const _hoisted_2$B = { key: 0 };
33031
33035
  function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
33032
33036
  const _component_FormCardBox = resolveComponent("FormCardBox");
33033
33037
  const _component_EditGridCard = resolveComponent("EditGridCard");
@@ -33080,7 +33084,7 @@ function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
33080
33084
  key: "2"
33081
33085
  }
33082
33086
  ]), 1032, ["config", "dictData"]),
33083
- $data.showChildrenGrid ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
33087
+ $data.showChildrenGrid ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
33084
33088
  createVNode(_component_EditGridCard, {
33085
33089
  ref: "grid",
33086
33090
  config: $data.gridConfig,
@@ -33539,7 +33543,7 @@ const _sfc_main$1b = {
33539
33543
  }
33540
33544
  };
33541
33545
  const _hoisted_1$R = ["textContent"];
33542
- const _hoisted_2$z = { style: { "padding": "16px" } };
33546
+ const _hoisted_2$A = { style: { "padding": "16px" } };
33543
33547
  const _hoisted_3$k = ["textContent"];
33544
33548
  const _hoisted_4$h = { key: 1 };
33545
33549
  const _hoisted_5$f = { style: { "padding": "16px" } };
@@ -33567,7 +33571,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
33567
33571
  }, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true)
33568
33572
  ]),
33569
33573
  default: withCtx(() => [
33570
- withDirectives(createElementVNode("div", _hoisted_2$z, [
33574
+ withDirectives(createElementVNode("div", _hoisted_2$A, [
33571
33575
  $data.showAdd ? (openBlock(), createBlock(_component_FormDetail, {
33572
33576
  key: 0,
33573
33577
  ref: "addform",
@@ -34219,7 +34223,7 @@ const _sfc_main$19 = {
34219
34223
  }
34220
34224
  };
34221
34225
  const _hoisted_1$P = ["innerHTML"];
34222
- const _hoisted_2$y = ["innerHTML"];
34226
+ const _hoisted_2$z = ["innerHTML"];
34223
34227
  function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
34224
34228
  const _component_Tooltip = resolveComponent("Tooltip");
34225
34229
  return openBlock(), createBlock(_component_Tooltip, {
@@ -34252,7 +34256,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
34252
34256
  style: normalizeStyle("text-align:" + $props.contentAlign),
34253
34257
  onMouseenter: _cache[3] || (_cache[3] = (...args) => $options.handleTooltipIn && $options.handleTooltipIn(...args)),
34254
34258
  onMouseleave: _cache[4] || (_cache[4] = (...args) => $options.handleTooltipOut && $options.handleTooltipOut(...args))
34255
- }, null, 44, _hoisted_2$y))
34259
+ }, null, 44, _hoisted_2$z))
34256
34260
  ]),
34257
34261
  _: 1
34258
34262
  }, 8, ["content", "disabled", "max-width"]);
@@ -35794,7 +35798,7 @@ const _sfc_main$14 = {
35794
35798
  }
35795
35799
  };
35796
35800
  const _hoisted_1$M = ["font-size", "color"];
35797
- const _hoisted_2$x = ["xlink:href"];
35801
+ const _hoisted_2$y = ["xlink:href"];
35798
35802
  function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
35799
35803
  return openBlock(), createElementBlock("svg", {
35800
35804
  class: "eicon",
@@ -35805,7 +35809,7 @@ function _sfc_render$$(_ctx, _cache, $props, $setup, $data, $options) {
35805
35809
  }, [
35806
35810
  createElementVNode("use", {
35807
35811
  "xlink:href": "#icon-" + $props.type
35808
- }, null, 8, _hoisted_2$x)
35812
+ }, null, 8, _hoisted_2$y)
35809
35813
  ], 8, _hoisted_1$M);
35810
35814
  }
35811
35815
  var Eicon = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["render", _sfc_render$$]]);
@@ -35916,7 +35920,7 @@ const _sfc_main$12 = {
35916
35920
  }
35917
35921
  };
35918
35922
  const _hoisted_1$L = { key: 0 };
35919
- const _hoisted_2$w = ["src", "height"];
35923
+ const _hoisted_2$x = ["src", "height"];
35920
35924
  function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
35921
35925
  const _component_Modal = resolveComponent("Modal");
35922
35926
  return openBlock(), createBlock(_component_Modal, {
@@ -35937,7 +35941,7 @@ function _sfc_render$Z(_ctx, _cache, $props, $setup, $data, $options) {
35937
35941
  allowtransparency: "true",
35938
35942
  onLoad: _cache[0] || (_cache[0] = (...args) => $options.load && $options.load(...args)),
35939
35943
  frameborder: "0"
35940
- }, null, 40, _hoisted_2$w)
35944
+ }, null, 40, _hoisted_2$x)
35941
35945
  ])) : createCommentVNode("", true)
35942
35946
  ]),
35943
35947
  _: 1
@@ -37878,7 +37882,7 @@ const _sfc_main$Q = {
37878
37882
  }
37879
37883
  };
37880
37884
  const _hoisted_1$I = ["title"];
37881
- const _hoisted_2$v = ["title"];
37885
+ const _hoisted_2$w = ["title"];
37882
37886
  const _hoisted_3$j = ["value", "disabled"];
37883
37887
  const _hoisted_4$g = ["title"];
37884
37888
  const _hoisted_5$e = ["title"];
@@ -37933,7 +37937,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
37933
37937
  }, null, 40, _hoisted_3$j),
37934
37938
  _cache[18] || (_cache[18] = createElementVNode("span", null, "/", -1)),
37935
37939
  createTextVNode(" " + toDisplayString(_ctx.allPages), 1)
37936
- ], 10, _hoisted_2$v),
37940
+ ], 10, _hoisted_2$w),
37937
37941
  createElementVNode("li", {
37938
37942
  title: _ctx.t("i.page.next"),
37939
37943
  class: normalizeClass(_ctx.nextClasses),
@@ -38170,7 +38174,7 @@ const _sfc_main$P = {
38170
38174
  }
38171
38175
  };
38172
38176
  const _hoisted_1$H = { ref: "head" };
38173
- const _hoisted_2$u = {
38177
+ const _hoisted_2$v = {
38174
38178
  ref: "page",
38175
38179
  name: "page"
38176
38180
  };
@@ -38269,7 +38273,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
38269
38273
  ]),
38270
38274
  _: 1
38271
38275
  }),
38272
- createElementVNode("div", _hoisted_2$u, [
38276
+ createElementVNode("div", _hoisted_2$v, [
38273
38277
  _ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
38274
38278
  createVNode(_component_Card, {
38275
38279
  bordered: false,
@@ -40484,7 +40488,7 @@ const _sfc_main$K = {
40484
40488
  }
40485
40489
  };
40486
40490
  const _hoisted_1$F = { key: 0 };
40487
- const _hoisted_2$t = ["onClick"];
40491
+ const _hoisted_2$u = ["onClick"];
40488
40492
  const _hoisted_3$h = {
40489
40493
  key: 0,
40490
40494
  ref: "page",
@@ -40612,7 +40616,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40612
40616
  config: config2,
40613
40617
  rowIndex: index
40614
40618
  }, null, 8, ["label", "contentAlign", "class", "config", "rowIndex"]))
40615
- ], 10, _hoisted_2$t)
40619
+ ], 10, _hoisted_2$u)
40616
40620
  ])
40617
40621
  };
40618
40622
  })
@@ -41202,7 +41206,7 @@ const _sfc_main$J = {
41202
41206
  }
41203
41207
  };
41204
41208
  const _hoisted_1$E = ["textContent"];
41205
- const _hoisted_2$s = { style: { "padding-left": "24px" } };
41209
+ const _hoisted_2$t = { style: { "padding-left": "24px" } };
41206
41210
  const _hoisted_3$g = { ref: "photo" };
41207
41211
  const _hoisted_4$e = ["src", "data-original"];
41208
41212
  const _hoisted_5$c = ["innerHTML"];
@@ -41259,7 +41263,7 @@ function _sfc_render$G(_ctx, _cache, $props, $setup, $data, $options) {
41259
41263
  _: 1
41260
41264
  })
41261
41265
  ])) : createCommentVNode("", true),
41262
- createElementVNode("div", _hoisted_2$s, [
41266
+ createElementVNode("div", _hoisted_2$t, [
41263
41267
  _ctx.showTitle ? (openBlock(), createBlock(_component_Divider, {
41264
41268
  key: 0,
41265
41269
  style: { "margin-top": "0px", "margin-bottom": "10px" }
@@ -41836,7 +41840,7 @@ const _sfc_main$I = {
41836
41840
  }
41837
41841
  };
41838
41842
  const _hoisted_1$D = { style: { "margin-bottom": "10px", "display": "flex", "justify-content": "space-between" } };
41839
- const _hoisted_2$r = { style: { "margin-bottom": "10px", "display": "flex", "justify-content": "space-between" } };
41843
+ const _hoisted_2$s = { style: { "margin-bottom": "10px", "display": "flex", "justify-content": "space-between" } };
41840
41844
  const _hoisted_3$f = { class: "demo-spin-col-bill" };
41841
41845
  const _hoisted_4$d = {
41842
41846
  key: 0,
@@ -41921,7 +41925,7 @@ function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
41921
41925
  "dis-hover": ""
41922
41926
  }, {
41923
41927
  default: withCtx(() => [
41924
- createElementVNode("div", _hoisted_2$r, [
41928
+ createElementVNode("div", _hoisted_2$s, [
41925
41929
  _cache[9] || (_cache[9] = createElementVNode("div", null, [
41926
41930
  createElementVNode("span", { class: "efuture-title-verticalline" }),
41927
41931
  createTextVNode(),
@@ -42394,7 +42398,7 @@ const _sfc_main$H = {
42394
42398
  }
42395
42399
  };
42396
42400
  const _hoisted_1$C = { class: "demo-spin-col-bill" };
42397
- const _hoisted_2$q = { style: { "height": "220px", "background-color": "#F5F7FA", "border": "1px #DCDFE6 dashed" } };
42401
+ const _hoisted_2$r = { style: { "height": "220px", "background-color": "#F5F7FA", "border": "1px #DCDFE6 dashed" } };
42398
42402
  function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42399
42403
  const _component_Radio = resolveComponent("Radio");
42400
42404
  const _component_RadioGroup = resolveComponent("RadioGroup");
@@ -42438,7 +42442,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42438
42442
  ]),
42439
42443
  _: 1
42440
42444
  }, 8, ["modelValue"])) : createCommentVNode("", true),
42441
- createElementVNode("div", _hoisted_2$q, [
42445
+ createElementVNode("div", _hoisted_2$r, [
42442
42446
  createVNode(_component_Row, {
42443
42447
  type: "flex",
42444
42448
  justify: "center"
@@ -42595,10 +42599,38 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
42595
42599
  ]);
42596
42600
  }
42597
42601
  var mBillImport = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["render", _sfc_render$E], ["__scopeId", "data-v-14d9a5da"]]);
42602
+ var ContractPrintMixins = {
42603
+ data() {
42604
+ return {
42605
+ ContractModalWidth: 50,
42606
+ ContractModalShowType: false,
42607
+ ContractModalContentShowType: false,
42608
+ ContractModalIframeUrl: "/widgetmodelv3/#/contract-template-create?token={token}&modulecode={modulecode}&contno={contno}"
42609
+ };
42610
+ },
42611
+ methods: {
42612
+ StartContractPrint({ modulecode = "", contno = "1" } = {}) {
42613
+ const token = this.getToken();
42614
+ this.ContractModalIframeUrl = this.ContractModalIframeUrl.replace(
42615
+ "{token}",
42616
+ token
42617
+ ).replace("{modulecode}", modulecode).replace("{contno}", contno);
42618
+ this.ContractModalShowType = true;
42619
+ this.$nextTick(() => {
42620
+ this.ContractModalContentShowType = true;
42621
+ });
42622
+ },
42623
+ HideContractPrintModal() {
42624
+ this.ContractModalShowType = false;
42625
+ this.ContractModalContentShowType = false;
42626
+ }
42627
+ }
42628
+ };
42598
42629
  var layouttemplate_vue_vue_type_style_index_0_lang = "";
42599
42630
  const _sfc_main$G = {
42600
42631
  name: "BillTemplate",
42601
42632
  extends: _sfc_main$L,
42633
+ mixins: [ContractPrintMixins],
42602
42634
  components: { AppendixBoxs: mAppendixBoxs, BillAsyncImport: mBillAsyncImport, BillImport: mBillImport },
42603
42635
  computed: {
42604
42636
  uiLayoutType() {
@@ -42610,6 +42642,7 @@ const _sfc_main$G = {
42610
42642
  }
42611
42643
  };
42612
42644
  const _hoisted_1$B = ["src"];
42645
+ const _hoisted_2$q = ["src"];
42613
42646
  function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
42614
42647
  const _component_AppendixBoxs = resolveComponent("AppendixBoxs");
42615
42648
  const _component_Modal = resolveComponent("Modal");
@@ -42673,7 +42706,30 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
42673
42706
  key: 1,
42674
42707
  ref: "billImport",
42675
42708
  config: _ctx.billImportConfig
42676
- }, null, 8, ["config"])) : createCommentVNode("", true)
42709
+ }, null, 8, ["config"])) : createCommentVNode("", true),
42710
+ createVNode(_component_Modal, {
42711
+ title: "\u5408\u540C\u6A21\u7248",
42712
+ modelValue: _ctx.ContractModalShowType,
42713
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => _ctx.ContractModalShowType = $event),
42714
+ width: _ctx.ContractModalWidth,
42715
+ "mask-closable": false,
42716
+ "footer-hide": true,
42717
+ "class-name": "contract-print-panel-modal",
42718
+ onOnCancel: _ctx.HideContractPrintModal
42719
+ }, {
42720
+ default: withCtx(() => [
42721
+ _ctx.ContractModalContentShowType ? (openBlock(), createElementBlock("iframe", {
42722
+ key: 0,
42723
+ ref: "iframetemplate",
42724
+ src: _ctx.ContractModalIframeUrl,
42725
+ width: "100%",
42726
+ height: "100%",
42727
+ allowtransparency: "true",
42728
+ frameborder: "0"
42729
+ }, null, 8, _hoisted_2$q)) : createCommentVNode("", true)
42730
+ ]),
42731
+ _: 1
42732
+ }, 8, ["modelValue", "width", "onOnCancel"])
42677
42733
  ]);
42678
42734
  }
42679
42735
  var BillTemplate = /* @__PURE__ */ _export_sfc$1(_sfc_main$G, [["render", _sfc_render$D]]);