ocpview-plus 1.3.2 → 1.3.4

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.2";
456
+ const version$2 = "1.3.3";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -4797,7 +4797,7 @@ const _sfc_main$1T = {
4797
4797
  };
4798
4798
  const _hoisted_1$17 = { key: 0 };
4799
4799
  const _hoisted_2$N = { key: 0 };
4800
- const _hoisted_3$t = { href: "javascript:void(0)" };
4800
+ const _hoisted_3$u = { href: "javascript:void(0)" };
4801
4801
  function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
4802
4802
  const _component_Ebutton = resolveComponent("Ebutton");
4803
4803
  const _component_Button = resolveComponent("Button");
@@ -4962,7 +4962,7 @@ function _sfc_render$1B(_ctx, _cache, $props, $setup, $data, $options) {
4962
4962
  })
4963
4963
  ]),
4964
4964
  default: withCtx(() => [
4965
- createElementVNode("a", _hoisted_3$t, [
4965
+ createElementVNode("a", _hoisted_3$u, [
4966
4966
  _cache[1] || (_cache[1] = createTextVNode(" \u64CD\u4F5C ")),
4967
4967
  createVNode(_component_CommonIcon, { type: "ios-arrow-down" })
4968
4968
  ])
@@ -6375,7 +6375,7 @@ const _hoisted_1$16 = {
6375
6375
  style: { "color": "#348eed" }
6376
6376
  };
6377
6377
  const _hoisted_2$M = { key: 1 };
6378
- const _hoisted_3$s = ["onClick"];
6378
+ const _hoisted_3$t = ["onClick"];
6379
6379
  function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
6380
6380
  const _component_ControlBox = resolveComponent("ControlBox");
6381
6381
  const _component_ShowText = resolveComponent("ShowText");
@@ -6435,7 +6435,7 @@ function _sfc_render$1z(_ctx, _cache, $props, $setup, $data, $options) {
6435
6435
  label: $options.formatValue(_ctx.form[item.name], _ctx.form, item),
6436
6436
  contentAlign: "left"
6437
6437
  }, null, 8, ["label"]))
6438
- ], 8, _hoisted_3$s)
6438
+ ], 8, _hoisted_3$t)
6439
6439
  ]),
6440
6440
  _: 2
6441
6441
  }, 1032, ["label", "prop"])
@@ -8706,7 +8706,7 @@ const _sfc_main$1M = {
8706
8706
  };
8707
8707
  const _hoisted_1$15 = { ref: "head" };
8708
8708
  const _hoisted_2$L = { key: 0 };
8709
- const _hoisted_3$r = { key: 0 };
8709
+ const _hoisted_3$s = { key: 0 };
8710
8710
  const _hoisted_4$p = {
8711
8711
  ref: "page",
8712
8712
  name: "page"
@@ -8894,7 +8894,7 @@ function _sfc_render$1y(_ctx, _cache, $props, $setup, $data, $options) {
8894
8894
  };
8895
8895
  })
8896
8896
  ]), 1032, ["row-class-name", "loading", "show-summary", "summary-method", "size", "stripe", "border", "height", "max-height", "show-header", "columns", "data", "onOnSortChange", "onOnCurrentChange", "highlight-row", "onOnRowDblclick", "onOnSelect", "onOnSelectCancel", "onOnSelectionChange", "onOnRowClick", "onOnColumnWidthResize"]),
8897
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
8897
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
8898
8898
  renderSlot(_ctx.$slots, "footer")
8899
8899
  ])) : createCommentVNode("", true),
8900
8900
  createElementVNode("div", _hoisted_4$p, [
@@ -10184,7 +10184,7 @@ const _sfc_main$1K = {
10184
10184
  };
10185
10185
  const _hoisted_1$14 = ["id"];
10186
10186
  const _hoisted_2$K = { key: 0 };
10187
- const _hoisted_3$q = ["onClick"];
10187
+ const _hoisted_3$r = ["onClick"];
10188
10188
  const _hoisted_4$o = {
10189
10189
  key: 0,
10190
10190
  ref: "page",
@@ -10295,7 +10295,7 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
10295
10295
  contentAlign: config2.contentAlign,
10296
10296
  class: normalizeClass(_ctx.IsCellError(index, config2))
10297
10297
  }, null, 8, ["label", "contentAlign", "class"]))
10298
- ], 8, _hoisted_3$q)
10298
+ ], 8, _hoisted_3$r)
10299
10299
  ])
10300
10300
  };
10301
10301
  })
@@ -10510,7 +10510,7 @@ const _sfc_main$1J = {
10510
10510
  };
10511
10511
  const _hoisted_1$13 = ["textContent"];
10512
10512
  const _hoisted_2$J = { key: 1 };
10513
- const _hoisted_3$p = {
10513
+ const _hoisted_3$q = {
10514
10514
  key: 4,
10515
10515
  style: { "margin-left": "10px" }
10516
10516
  };
@@ -10555,7 +10555,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
10555
10555
  href: "#",
10556
10556
  onClick: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.addRow && _ctx.addRow(...args), ["prevent"]))
10557
10557
  }, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10558
- $data.showBtn && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_3$p, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10558
+ $data.showBtn && $data.myConfig.addBtnType === "3" && $data.btnReadOnly ? (openBlock(), createElementBlock("span", _hoisted_3$q, toDisplayString($data.myConfig.addBtnName), 1)) : createCommentVNode("", true),
10559
10559
  $data.showBtn && !$data.myConfig.readOnly && $data.myConfig.addBtnType === "1" ? (openBlock(), createElementBlock("a", {
10560
10560
  key: 5,
10561
10561
  href: "#",
@@ -27104,7 +27104,7 @@ const _hoisted_1$11 = {
27104
27104
  class: "ivu-select-selection"
27105
27105
  };
27106
27106
  const _hoisted_2$I = { class: "ivu-tag-text" };
27107
- const _hoisted_3$o = {
27107
+ const _hoisted_3$p = {
27108
27108
  key: 0,
27109
27109
  class: "ivu-tag ivu-tag-checked"
27110
27110
  };
@@ -27167,7 +27167,7 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
27167
27167
  })
27168
27168
  ]),
27169
27169
  default: withCtx(() => [
27170
- $data.myConfig.maxTagCount !== void 0 && $data.selectedMultiple.length > $data.myConfig.maxTagCount ? (openBlock(), createElementBlock("div", _hoisted_3$o, [
27170
+ $data.myConfig.maxTagCount !== void 0 && $data.selectedMultiple.length > $data.myConfig.maxTagCount ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
27171
27171
  createElementVNode("span", _hoisted_4$m, " + " + toDisplayString($data.selectedMultiple.length - $data.myConfig.maxTagCount) + "... ", 1)
27172
27172
  ])) : createCommentVNode("", true)
27173
27173
  ]),
@@ -30047,7 +30047,7 @@ const _sfc_main$1m = {
30047
30047
  };
30048
30048
  const _hoisted_1$Z = { style: { "text-align": "center" } };
30049
30049
  const _hoisted_2$G = ["onClick"];
30050
- const _hoisted_3$n = ["onClick"];
30050
+ const _hoisted_3$o = ["onClick"];
30051
30051
  const _hoisted_4$l = ["src", "data-original"];
30052
30052
  const _hoisted_5$i = { key: 0 };
30053
30053
  function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
@@ -30100,7 +30100,7 @@ function _sfc_render$1e(_ctx, _cache, $props, $setup, $data, $options) {
30100
30100
  color: "#ed4014",
30101
30101
  size: "16"
30102
30102
  })
30103
- ], 8, _hoisted_3$n)) : createCommentVNode("", true)
30103
+ ], 8, _hoisted_3$o)) : createCommentVNode("", true)
30104
30104
  ]),
30105
30105
  _cache[1] || (_cache[1] = createTextVNode(" \xA0"))
30106
30106
  ]),
@@ -30496,7 +30496,7 @@ const _hoisted_1$Y = {
30496
30496
  class: "filebtn"
30497
30497
  };
30498
30498
  const _hoisted_2$F = { ref: "photo" };
30499
- const _hoisted_3$m = ["src", "data-original"];
30499
+ const _hoisted_3$n = ["src", "data-original"];
30500
30500
  const _hoisted_4$k = ["innerHTML"];
30501
30501
  const _hoisted_5$h = {
30502
30502
  ref: "pdf",
@@ -30597,7 +30597,7 @@ function _sfc_render$1d(_ctx, _cache, $props, $setup, $data, $options) {
30597
30597
  src: $data.imgUrl,
30598
30598
  "data-original": `${$data.imgUrl}`,
30599
30599
  style: { "width": "100%", "height": "100%" }
30600
- }, null, 8, _hoisted_3$m)
30600
+ }, null, 8, _hoisted_3$n)
30601
30601
  ])
30602
30602
  ], 512), [
30603
30603
  [vShow, false]
@@ -31231,7 +31231,7 @@ const _sfc_main$1j = {
31231
31231
  };
31232
31232
  const _hoisted_1$X = { style: { "text-align": "center" } };
31233
31233
  const _hoisted_2$E = ["onClick"];
31234
- const _hoisted_3$l = ["onClick"];
31234
+ const _hoisted_3$m = ["onClick"];
31235
31235
  const _hoisted_4$j = ["src"];
31236
31236
  const _hoisted_5$g = { key: 1 };
31237
31237
  function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
@@ -31284,7 +31284,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
31284
31284
  color: "#ed4014",
31285
31285
  size: "16"
31286
31286
  })
31287
- ], 8, _hoisted_3$l)) : createCommentVNode("", true)
31287
+ ], 8, _hoisted_3$m)) : createCommentVNode("", true)
31288
31288
  ])
31289
31289
  ]),
31290
31290
  default: withCtx(() => [
@@ -32333,7 +32333,7 @@ const _sfc_main$1d = {
32333
32333
  };
32334
32334
  const _hoisted_1$T = ["textContent"];
32335
32335
  const _hoisted_2$C = { key: 0 };
32336
- const _hoisted_3$k = { key: 1 };
32336
+ const _hoisted_3$l = { key: 1 };
32337
32337
  const _hoisted_4$i = { key: 1 };
32338
32338
  function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32339
32339
  const _component_Icon = resolveComponent("Icon");
@@ -32370,7 +32370,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
32370
32370
  extra: withCtx(() => [
32371
32371
  _ctx.$slots.btn ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
32372
32372
  renderSlot(_ctx.$slots, "btn")
32373
- ])) : (openBlock(), createElementBlock("div", _hoisted_3$k, [
32373
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$l, [
32374
32374
  $data.showBtn && $data.editFlag && !$data.btnReadOnly ? (openBlock(), createElementBlock("a", {
32375
32375
  key: 0,
32376
32376
  href: "#",
@@ -33540,7 +33540,7 @@ const _sfc_main$1a = {
33540
33540
  };
33541
33541
  const _hoisted_1$Q = ["textContent"];
33542
33542
  const _hoisted_2$z = { style: { "padding": "16px" } };
33543
- const _hoisted_3$j = ["textContent"];
33543
+ const _hoisted_3$k = ["textContent"];
33544
33544
  const _hoisted_4$h = { key: 1 };
33545
33545
  const _hoisted_5$f = { style: { "padding": "16px" } };
33546
33546
  const _hoisted_6$c = ["textContent"];
@@ -33769,7 +33769,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
33769
33769
  createElementVNode("span", {
33770
33770
  class: normalizeClass($options.titleClass),
33771
33771
  textContent: toDisplayString($data.myConfig.title)
33772
- }, null, 10, _hoisted_3$j),
33772
+ }, null, 10, _hoisted_3$k),
33773
33773
  $data.myConfig.hide ? (openBlock(), createBlock(_component_Icon, {
33774
33774
  key: 0,
33775
33775
  class: "efuture-title-icon",
@@ -37580,7 +37580,7 @@ const _sfc_main$Q = {
37580
37580
  };
37581
37581
  const _hoisted_1$I = ["title"];
37582
37582
  const _hoisted_2$v = ["title"];
37583
- const _hoisted_3$i = ["value", "disabled"];
37583
+ const _hoisted_3$j = ["value", "disabled"];
37584
37584
  const _hoisted_4$g = ["title"];
37585
37585
  const _hoisted_5$e = ["title"];
37586
37586
  const _hoisted_6$b = {
@@ -37631,7 +37631,7 @@ function _sfc_render$M(_ctx, _cache, $props, $setup, $data, $options) {
37631
37631
  onKeydown: _cache[1] || (_cache[1] = (...args) => _ctx.keyDown && _ctx.keyDown(...args)),
37632
37632
  onKeyup: _cache[2] || (_cache[2] = (...args) => _ctx.keyUp && _ctx.keyUp(...args)),
37633
37633
  onChange: _cache[3] || (_cache[3] = (...args) => _ctx.keyUp && _ctx.keyUp(...args))
37634
- }, null, 40, _hoisted_3$i),
37634
+ }, null, 40, _hoisted_3$j),
37635
37635
  _cache[18] || (_cache[18] = createElementVNode("span", null, "/", -1)),
37636
37636
  createTextVNode(" " + toDisplayString(_ctx.allPages), 1)
37637
37637
  ], 10, _hoisted_2$v),
@@ -37875,7 +37875,7 @@ const _hoisted_2$u = {
37875
37875
  ref: "page",
37876
37876
  name: "page"
37877
37877
  };
37878
- const _hoisted_3$h = {
37878
+ const _hoisted_3$i = {
37879
37879
  key: 0,
37880
37880
  style: { "padding-top": "10px" }
37881
37881
  };
@@ -37971,7 +37971,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
37971
37971
  _: 1
37972
37972
  }),
37973
37973
  createElementVNode("div", _hoisted_2$u, [
37974
- _ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
37974
+ _ctx.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
37975
37975
  createVNode(_component_Card, {
37976
37976
  bordered: false,
37977
37977
  padding: 0,
@@ -40122,8 +40122,9 @@ const _sfc_main$K = {
40122
40122
  showAppendixCol: false,
40123
40123
  appedixLable: "\u9644\u4EF6"
40124
40124
  },
40125
- showAddBtn: true,
40126
- showDelBatchBtn: true,
40125
+ btnStyle: "padding-left:0px;padding-right:0px",
40126
+ showAddBtn: false,
40127
+ showDelBatchBtn: false,
40127
40128
  showGrid: true,
40128
40129
  showTitle: true,
40129
40130
  actionAppendixConfig: {
@@ -40135,6 +40136,9 @@ const _sfc_main$K = {
40135
40136
  }
40136
40137
  };
40137
40138
  },
40139
+ created() {
40140
+ this.myConfig = Object.assign({}, this.myConfig, this.config);
40141
+ },
40138
40142
  methods: {
40139
40143
  customInit2() {
40140
40144
  if (this.myConfig.showTitle !== void 0) {
@@ -40180,18 +40184,22 @@ const _sfc_main$K = {
40180
40184
  }
40181
40185
  }
40182
40186
  };
40183
- const _hoisted_1$F = ["onClick"];
40184
- const _hoisted_2$t = {
40187
+ const _hoisted_1$F = { key: 0 };
40188
+ const _hoisted_2$t = ["onClick"];
40189
+ const _hoisted_3$h = {
40185
40190
  key: 0,
40186
40191
  ref: "page",
40187
40192
  style: { "background": "#eee", "padding-top": "5px", "width": "100%" }
40188
40193
  };
40189
40194
  function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40195
+ const _component_Button = resolveComponent("Button");
40196
+ const _component_Col = resolveComponent("Col");
40197
+ const _component_Divider = resolveComponent("Divider");
40198
+ const _component_Row = resolveComponent("Row");
40190
40199
  const _component_ControlBox = resolveComponent("ControlBox");
40191
40200
  const _component_ShowText = resolveComponent("ShowText");
40192
40201
  const _component_Table = resolveComponent("Table");
40193
40202
  const _component_Page = resolveComponent("Page");
40194
- const _component_Row = resolveComponent("Row");
40195
40203
  const _component_Card = resolveComponent("Card");
40196
40204
  const _component_ExpandRow = resolveComponent("ExpandRow");
40197
40205
  const _component_Modal = resolveComponent("Modal");
@@ -40202,6 +40210,66 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40202
40210
  "dis-hover": ""
40203
40211
  }, {
40204
40212
  default: withCtx(() => [
40213
+ _ctx.$slots.header ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
40214
+ renderSlot(_ctx.$slots, "header")
40215
+ ])) : withDirectives((openBlock(), createBlock(_component_Row, {
40216
+ key: 1,
40217
+ "class-name": "row-box",
40218
+ type: "flex",
40219
+ justify: "start",
40220
+ align: "middle",
40221
+ gutter: 0,
40222
+ style: { "margin-bottom": "10px" }
40223
+ }, {
40224
+ default: withCtx(() => [
40225
+ $data.showAddBtn ? (openBlock(), createBlock(_component_Col, { key: 0 }, {
40226
+ default: withCtx(() => [
40227
+ createVNode(_component_Button, {
40228
+ style: normalizeStyle($data.btnStyle),
40229
+ customIcon: "iconfont icon-custom-rowadd3",
40230
+ type: "text",
40231
+ disabled: $data.myConfig.readOnly,
40232
+ onClick: _ctx.addRow
40233
+ }, {
40234
+ default: withCtx(() => _cache[1] || (_cache[1] = [
40235
+ createTextVNode("\u6DFB\u52A0")
40236
+ ])),
40237
+ _: 1
40238
+ }, 8, ["style", "disabled", "onClick"])
40239
+ ]),
40240
+ _: 1
40241
+ })) : createCommentVNode("", true),
40242
+ $data.showAddBtn && $data.showDelBatchBtn ? (openBlock(), createBlock(_component_Col, { key: 1 }, {
40243
+ default: withCtx(() => [
40244
+ createVNode(_component_Divider, {
40245
+ type: "vertical",
40246
+ style: { "margin": "0 6px 0 6px" }
40247
+ })
40248
+ ]),
40249
+ _: 1
40250
+ })) : createCommentVNode("", true),
40251
+ $data.showDelBatchBtn ? (openBlock(), createBlock(_component_Col, { key: 2 }, {
40252
+ default: withCtx(() => [
40253
+ createVNode(_component_Button, {
40254
+ style: normalizeStyle($data.btnStyle),
40255
+ customIcon: "iconfont icon-custom-rowdel3",
40256
+ type: "text",
40257
+ disabled: $data.myConfig.readOnly,
40258
+ onClick: _ctx.delBatchRow
40259
+ }, {
40260
+ default: withCtx(() => _cache[2] || (_cache[2] = [
40261
+ createTextVNode("\u5220\u9664")
40262
+ ])),
40263
+ _: 1
40264
+ }, 8, ["style", "disabled", "onClick"])
40265
+ ]),
40266
+ _: 1
40267
+ })) : createCommentVNode("", true)
40268
+ ]),
40269
+ _: 1
40270
+ }, 512)), [
40271
+ [vShow, $data.showGrid]
40272
+ ]),
40205
40273
  createVNode(_component_Row, { style: { "margin-top": "10px" } }, {
40206
40274
  default: withCtx(() => [
40207
40275
  createVNode(_component_Table, {
@@ -40245,12 +40313,12 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40245
40313
  config: config2,
40246
40314
  rowIndex: index
40247
40315
  }, null, 8, ["label", "contentAlign", "class", "config", "rowIndex"]))
40248
- ], 10, _hoisted_1$F)
40316
+ ], 10, _hoisted_2$t)
40249
40317
  ])
40250
40318
  };
40251
40319
  })
40252
40320
  ]), 1032, ["row-class-name", "loading", "size", "stripe", "border", "height", "maxHeight", "show-header", "onOnSelectionChange", "columns", "data", "onOnColumnWidthResize", "show-summary", "summary-method"]),
40253
- $data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_2$t, [
40321
+ $data.myConfig.showPage ? (openBlock(), createElementBlock("div", _hoisted_3$h, [
40254
40322
  createVNode(_component_Card, {
40255
40323
  bordered: false,
40256
40324
  padding: 0,
@@ -40287,7 +40355,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40287
40355
  _: 1
40288
40356
  }),
40289
40357
  !_ctx.editRowFlag ? (openBlock(), createBlock(_component_Modal, {
40290
- key: 0,
40358
+ key: 2,
40291
40359
  modelValue: _ctx.showEditRowForm,
40292
40360
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.showEditRowForm = $event),
40293
40361
  width: "90%",
@@ -40306,7 +40374,7 @@ function _sfc_render$H(_ctx, _cache, $props, $setup, $data, $options) {
40306
40374
  _: 1
40307
40375
  }, 8, ["modelValue", "onOnOk"])) : createCommentVNode("", true)
40308
40376
  ]),
40309
- _: 1
40377
+ _: 3
40310
40378
  }, 512);
40311
40379
  }
40312
40380
  var EditGridCardS = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["render", _sfc_render$H]]);
@@ -46474,6 +46542,8 @@ const _sfc_main$v = {
46474
46542
  myConfig: {
46475
46543
  headStyle: "",
46476
46544
  readOnly: false,
46545
+ showAddBtn: true,
46546
+ showDelBatchBtn: true,
46477
46547
  downfile: "",
46478
46548
  delfile: "",
46479
46549
  pdffile: "/mss-sysconf-boot/downloadPdf?filekey=",
@@ -46505,27 +46575,35 @@ const _sfc_main$v = {
46505
46575
  name: "filememo",
46506
46576
  type: "ComboBox",
46507
46577
  dictkey: "CUSTFILETYPE",
46508
- visible: false
46578
+ codeWithName: false,
46579
+ width: 300,
46580
+ readOnly: true
46509
46581
  }, {
46510
46582
  label: "\u9644\u4EF6\u7C7B\u578B",
46511
46583
  name: "filemode",
46512
46584
  type: "TextBox",
46513
- width: 300
46585
+ width: 300,
46586
+ visible: false,
46587
+ readOnly: true
46514
46588
  }, {
46515
46589
  label: "\u6587\u4EF6\u540D\u79F0",
46516
46590
  name: "filename",
46517
- type: "TextBox"
46591
+ type: "TextBox",
46592
+ width: 200,
46593
+ readOnly: true
46518
46594
  }, {
46519
46595
  label: "\u6587\u4EF6\u5927\u5C0F",
46520
46596
  name: "filesize",
46521
46597
  render: this.sizeActionRender,
46522
- width: 120
46598
+ width: 120,
46599
+ readOnly: true
46523
46600
  }, {
46524
46601
  label: "\u4E0A\u4F20\u65E5\u671F",
46525
46602
  name: "ph_timestamp",
46526
46603
  type: "DateBox",
46527
46604
  vtype: "datetime",
46528
- width: 200
46605
+ width: 150,
46606
+ readOnly: true
46529
46607
  }, {
46530
46608
  label: "\u64CD\u4F5C",
46531
46609
  key: "action",
@@ -46595,8 +46673,9 @@ const _sfc_main$v = {
46595
46673
  if (!this.myConfig.pdffile) {
46596
46674
  this.myConfig.pdffile = this.OmdUrl.pdffile;
46597
46675
  }
46598
- this.myConfig.showAddBtn = false;
46599
- this.myConfig.showDelBatchBtn = false;
46676
+ if (this.myConfig.showTitle !== void 0) {
46677
+ this.showTitle = this.myConfig.showTitle;
46678
+ }
46600
46679
  this.myConfig.generalOrientation = true;
46601
46680
  if (this.myConfig.fileSize !== void 0) {
46602
46681
  this.fileSize = Number(this.myConfig.fileSize) * 1024;
@@ -46859,7 +46938,7 @@ const _sfc_main$v = {
46859
46938
  let obj = {};
46860
46939
  obj.readOnly = value;
46861
46940
  this.setPro(obj);
46862
- this.$refs.grid.setReadOnly(true);
46941
+ this.$refs.grid.setReadOnly(value);
46863
46942
  this.setBtnReadOnly(value);
46864
46943
  },
46865
46944
  showTxt(params) {
@@ -48424,6 +48503,7 @@ const _sfc_main$t = {
48424
48503
  if (data.procinfo && data.procinfo.proclist) {
48425
48504
  let result = data.procinfo.proclist || [];
48426
48505
  let copylist = [];
48506
+ let candidateUserList = [];
48427
48507
  if (data.procinfo.cc && data.procinfo.cc.length > 0) {
48428
48508
  data.procinfo.cc.forEach((item) => {
48429
48509
  let tmp = {};
@@ -48433,13 +48513,24 @@ const _sfc_main$t = {
48433
48513
  copylist.push(tmp);
48434
48514
  });
48435
48515
  }
48436
- result.forEach((item) => {
48516
+ if (data.procinfo && data.procinfo.flowerProgress) {
48517
+ if (data.procinfo.flowerProgress.length > 0) {
48518
+ let lastflowerProgress = data.procinfo.flowerProgress[data.procinfo.flowerProgress.length - 1];
48519
+ if (lastflowerProgress && lastflowerProgress.candidateUserList) {
48520
+ candidateUserList = lastflowerProgress.candidateUserList;
48521
+ }
48522
+ }
48523
+ }
48524
+ result.forEach((item, index) => {
48437
48525
  item.active = false;
48438
48526
  item.tasklist.forEach((list) => {
48439
48527
  if (list.usernam) {
48440
48528
  list.userName = list.username.substr(-2, 2);
48441
48529
  }
48442
48530
  });
48531
+ if (index === result.length - 1) {
48532
+ item.candidateUserList = candidateUserList;
48533
+ }
48443
48534
  });
48444
48535
  if (data.procinfo.btnlist) {
48445
48536
  data.procinfo.btnlist.forEach((el2) => {
@@ -48476,6 +48567,9 @@ const _sfc_main$t = {
48476
48567
  ".billrepeal",
48477
48568
  { billno: this.value.billno },
48478
48569
  (data) => {
48570
+ if (this.$parent && typeof this.$parent.approvalOk === "function") {
48571
+ this.$parent.approvalOk();
48572
+ }
48479
48573
  this.alert(data.msg, null, 3);
48480
48574
  this.showDrawer = false;
48481
48575
  }
@@ -48493,6 +48587,9 @@ const _sfc_main$t = {
48493
48587
  ".billreject",
48494
48588
  para,
48495
48589
  (data) => {
48590
+ if (this.$parent && typeof this.$parent.approvalOk === "function") {
48591
+ this.$parent.approvalOk();
48592
+ }
48496
48593
  this.showDrawer = false;
48497
48594
  this.alert(data.msg, null, 3);
48498
48595
  }
@@ -48516,6 +48613,9 @@ const _sfc_main$t = {
48516
48613
  param.comment = this.idea;
48517
48614
  }
48518
48615
  this.doPost(".billsubmit", param, (data) => {
48616
+ if (this.$parent && typeof this.$parent.approvalOk === "function") {
48617
+ this.$parent.approvalOk();
48618
+ }
48519
48619
  this.showDrawer = false;
48520
48620
  this.$nextTick(() => {
48521
48621
  setTimeout(() => {
@@ -48529,6 +48629,9 @@ const _sfc_main$t = {
48529
48629
  ".billapproval",
48530
48630
  { billno: this.value.billno, comment: this.idea },
48531
48631
  (data) => {
48632
+ if (this.$parent && typeof this.$parent.approvalOk === "function") {
48633
+ this.$parent.approvalOk();
48634
+ }
48532
48635
  this.showDrawer = false;
48533
48636
  this.alert(data.msg, null, 3);
48534
48637
  }
@@ -48736,6 +48839,12 @@ const _sfc_main$t = {
48736
48839
  },
48737
48840
  selectTypeChange() {
48738
48841
  this.clearUser();
48842
+ },
48843
+ getCandidateUserText(candidateUserList) {
48844
+ if (!candidateUserList || candidateUserList.length === 0)
48845
+ return "";
48846
+ let approvers = candidateUserList.map((user) => user.userName).join("\u3001");
48847
+ return approvers;
48739
48848
  }
48740
48849
  },
48741
48850
  mounted() {
@@ -48781,24 +48890,28 @@ const _hoisted_19 = { class: "right" };
48781
48890
  const _hoisted_20 = { class: "top" };
48782
48891
  const _hoisted_21 = { style: { "font-size": "16px" } };
48783
48892
  const _hoisted_22 = { class: "status" };
48784
- const _hoisted_23 = { class: "desc" };
48785
- const _hoisted_24 = ["textContent"];
48786
- const _hoisted_25 = {
48893
+ const _hoisted_23 = {
48894
+ key: 0,
48895
+ class: "desc"
48896
+ };
48897
+ const _hoisted_24 = { class: "desc" };
48898
+ const _hoisted_25 = ["textContent"];
48899
+ const _hoisted_26 = {
48787
48900
  key: 0,
48788
48901
  class: "card"
48789
48902
  };
48790
- const _hoisted_26 = { class: "main" };
48791
- const _hoisted_27 = { class: "user-list" };
48792
- const _hoisted_28 = { class: "user" };
48793
- const _hoisted_29 = { class: "icon-wrap" };
48794
- const _hoisted_30 = { style: { "z-index": "99" } };
48795
- const _hoisted_31 = {
48903
+ const _hoisted_27 = { class: "main" };
48904
+ const _hoisted_28 = { class: "user-list" };
48905
+ const _hoisted_29 = { class: "user" };
48906
+ const _hoisted_30 = { class: "icon-wrap" };
48907
+ const _hoisted_31 = { style: { "z-index": "99" } };
48908
+ const _hoisted_32 = {
48796
48909
  ref: "foot",
48797
48910
  class: "footer"
48798
48911
  };
48799
- const _hoisted_32 = { style: { "color": "#AF292E" } };
48800
- const _hoisted_33 = { style: { "color": "#AF292E", "cursor": "pointer" } };
48801
- const _hoisted_34 = ["textContent"];
48912
+ const _hoisted_33 = { style: { "color": "#AF292E" } };
48913
+ const _hoisted_34 = { style: { "color": "#AF292E", "cursor": "pointer" } };
48914
+ const _hoisted_35 = ["textContent"];
48802
48915
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
48803
48916
  const _component_Col = resolveComponent("Col");
48804
48917
  const _component_Button = resolveComponent("Button");
@@ -49146,7 +49259,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49146
49259
  class: "log-list",
49147
49260
  key: index
49148
49261
  }, [
49149
- _cache[23] || (_cache[23] = createElementVNode("div", { class: "line-wrap" }, null, -1)),
49262
+ _cache[24] || (_cache[24] = createElementVNode("div", { class: "line-wrap" }, null, -1)),
49150
49263
  createElementVNode("div", _hoisted_16, [
49151
49264
  item.mulflag === "N" ? (openBlock(), createElementBlock("span", _hoisted_17, toDisplayString(item.username), 1)) : (openBlock(), createBlock(_component_Icon, {
49152
49265
  key: 1,
@@ -49180,16 +49293,20 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49180
49293
  createElementVNode("span", _hoisted_22, toDisplayString(item.act_status_name), 1)
49181
49294
  ]),
49182
49295
  createElementVNode("div", null, [
49296
+ index === $data.auditLog.length - 1 && item.candidateUserList && item.candidateUserList.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_23, [
49297
+ _cache[20] || (_cache[20] = createTextVNode(" \u5F85\u5BA1\u6279\u4EBA\uFF1A")),
49298
+ createElementVNode("span", null, toDisplayString($options.getCandidateUserText(item.candidateUserList)), 1)
49299
+ ])) : createCommentVNode("", true),
49183
49300
  createElementVNode("span", null, toDisplayString(item.act_time_), 1),
49184
- createElementVNode("p", _hoisted_23, [
49185
- _cache[20] || (_cache[20] = createTextVNode("\u610F\u89C1\uFF1A")),
49301
+ createElementVNode("p", _hoisted_24, [
49302
+ _cache[21] || (_cache[21] = createTextVNode("\u610F\u89C1\uFF1A")),
49186
49303
  createElementVNode("span", {
49187
49304
  textContent: toDisplayString($options.getMessage(item.message))
49188
- }, null, 8, _hoisted_24)
49305
+ }, null, 8, _hoisted_25)
49189
49306
  ])
49190
49307
  ]),
49191
- item.tasklist.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_25, [
49192
- createElementVNode("ul", _hoisted_26, [
49308
+ item.tasklist.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_26, [
49309
+ createElementVNode("ul", _hoisted_27, [
49193
49310
  createVNode(_component_Row, {
49194
49311
  type: "flex",
49195
49312
  justify: "start",
@@ -49201,10 +49318,10 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49201
49318
  key: "task_" + index2
49202
49319
  }, {
49203
49320
  default: withCtx(() => [
49204
- createElementVNode("li", _hoisted_27, [
49205
- createElementVNode("div", _hoisted_28, [
49321
+ createElementVNode("li", _hoisted_28, [
49322
+ createElementVNode("div", _hoisted_29, [
49206
49323
  createElementVNode("span", null, toDisplayString(tmp.username), 1),
49207
- createElementVNode("div", _hoisted_29, [
49324
+ createElementVNode("div", _hoisted_30, [
49208
49325
  item.status === "Y" ? (openBlock(), createBlock(_component_Icon, {
49209
49326
  key: 0,
49210
49327
  custom: "iconfont icon-custom-wancheng",
@@ -49224,7 +49341,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49224
49341
  }))
49225
49342
  ])
49226
49343
  ]),
49227
- createElementVNode("p", _hoisted_30, toDisplayString(tmp.username), 1)
49344
+ createElementVNode("p", _hoisted_31, toDisplayString(tmp.username), 1)
49228
49345
  ])
49229
49346
  ]),
49230
49347
  _: 2
@@ -49251,7 +49368,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49251
49368
  type: "text",
49252
49369
  onClick: ($event) => $options.showGroupUser(index)
49253
49370
  }, {
49254
- default: withCtx(() => _cache[21] || (_cache[21] = [
49371
+ default: withCtx(() => _cache[22] || (_cache[22] = [
49255
49372
  createTextVNode("\u5C55\u5F00 ")
49256
49373
  ])),
49257
49374
  _: 2
@@ -49262,7 +49379,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49262
49379
  type: "text",
49263
49380
  onClick: ($event) => $options.showGroupUser(index)
49264
49381
  }, {
49265
- default: withCtx(() => _cache[22] || (_cache[22] = [
49382
+ default: withCtx(() => _cache[23] || (_cache[23] = [
49266
49383
  createTextVNode(" \u6536\u8D77")
49267
49384
  ])),
49268
49385
  _: 2
@@ -49280,7 +49397,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49280
49397
  ])
49281
49398
  ], 4)
49282
49399
  ]),
49283
- createElementVNode("div", _hoisted_31, [
49400
+ createElementVNode("div", _hoisted_32, [
49284
49401
  withDirectives(createVNode(_component_Form, { "label-width": 45 }, {
49285
49402
  default: withCtx(() => [
49286
49403
  createVNode(_component_FormItem, { label: "\u6284\u9001:" }, {
@@ -49293,9 +49410,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49293
49410
  default: withCtx(() => [
49294
49411
  createVNode(_component_Col, { span: "2" }, {
49295
49412
  default: withCtx(() => [
49296
- createElementVNode("span", _hoisted_32, toDisplayString($data.copy.length), 1),
49297
- _cache[24] || (_cache[24] = createTextVNode()),
49298
- _cache[25] || (_cache[25] = createElementVNode("span", null, "\u4EBA", -1))
49413
+ createElementVNode("span", _hoisted_33, toDisplayString($data.copy.length), 1),
49414
+ _cache[25] || (_cache[25] = createTextVNode()),
49415
+ _cache[26] || (_cache[26] = createElementVNode("span", null, "\u4EBA", -1))
49299
49416
  ]),
49300
49417
  _: 1
49301
49418
  }),
@@ -49316,7 +49433,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49316
49433
  size: "12",
49317
49434
  color: "#AF292E"
49318
49435
  }),
49319
- _cache[26] || (_cache[26] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u6284\u9001\u4EBA ", -1))
49436
+ _cache[27] || (_cache[27] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u6284\u9001\u4EBA ", -1))
49320
49437
  ])
49321
49438
  ]),
49322
49439
  _: 1
@@ -49364,11 +49481,11 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49364
49481
  default: withCtx(() => [
49365
49482
  createVNode(_component_Col, { span: "2" }, {
49366
49483
  default: withCtx(() => [
49367
- createElementVNode("span", _hoisted_33, toDisplayString($data.approvals.length), 1),
49368
- _cache[27] || (_cache[27] = createTextVNode()),
49484
+ createElementVNode("span", _hoisted_34, toDisplayString($data.approvals.length), 1),
49485
+ _cache[28] || (_cache[28] = createTextVNode()),
49369
49486
  createElementVNode("span", {
49370
49487
  textContent: toDisplayString($options.info2)
49371
- }, null, 8, _hoisted_34)
49488
+ }, null, 8, _hoisted_35)
49372
49489
  ]),
49373
49490
  _: 1
49374
49491
  }),
@@ -49389,7 +49506,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49389
49506
  size: "12",
49390
49507
  color: "#AF292E"
49391
49508
  }),
49392
- _cache[28] || (_cache[28] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u5BA1\u6279\u4EBA ", -1))
49509
+ _cache[29] || (_cache[29] = createElementVNode("span", { style: { "margin-left": "9px", "color": "#AF292E", "font-size": "14px" } }, " \u6DFB\u52A0\u5BA1\u6279\u4EBA ", -1))
49393
49510
  ])
49394
49511
  ]),
49395
49512
  _: 1
@@ -49457,7 +49574,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49457
49574
  customIcon: "iconfont icon-custom-submit",
49458
49575
  onClick: $options.onSubmit
49459
49576
  }, {
49460
- default: withCtx(() => _cache[29] || (_cache[29] = [
49577
+ default: withCtx(() => _cache[30] || (_cache[30] = [
49461
49578
  createTextVNode("\u63D0\u4EA4")
49462
49579
  ])),
49463
49580
  _: 1
@@ -49471,7 +49588,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49471
49588
  customIcon: "iconfont icon-custom-recall",
49472
49589
  onClick: $options.billBack
49473
49590
  }, {
49474
- default: withCtx(() => _cache[30] || (_cache[30] = [
49591
+ default: withCtx(() => _cache[31] || (_cache[31] = [
49475
49592
  createTextVNode("\u64A4\u56DE")
49476
49593
  ])),
49477
49594
  _: 1
@@ -49485,7 +49602,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49485
49602
  customIcon: "iconfont icon-custom-jiaqian",
49486
49603
  onClick: $options.billBack
49487
49604
  }, {
49488
- default: withCtx(() => _cache[31] || (_cache[31] = [
49605
+ default: withCtx(() => _cache[32] || (_cache[32] = [
49489
49606
  createTextVNode("\u52A0\u7B7E")
49490
49607
  ])),
49491
49608
  _: 1
@@ -49501,7 +49618,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49501
49618
  customIcon: "iconfont icon-custom-reject",
49502
49619
  onClick: $options.reject
49503
49620
  }, {
49504
- default: withCtx(() => _cache[32] || (_cache[32] = [
49621
+ default: withCtx(() => _cache[33] || (_cache[33] = [
49505
49622
  createTextVNode("\u9A73\u56DE")
49506
49623
  ])),
49507
49624
  _: 1
@@ -49515,7 +49632,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49515
49632
  customIcon: "iconfont icon-custom-approve",
49516
49633
  onClick: $options.submitApprove
49517
49634
  }, {
49518
- default: withCtx(() => _cache[33] || (_cache[33] = [
49635
+ default: withCtx(() => _cache[34] || (_cache[34] = [
49519
49636
  createTextVNode("\u5BA1\u6279")
49520
49637
  ])),
49521
49638
  _: 1
@@ -49532,7 +49649,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
49532
49649
  }, 8, ["modelValue"])
49533
49650
  ]);
49534
49651
  }
49535
- var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-5dfedae2"]]);
49652
+ var ApprovalBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["render", _sfc_render$q], ["__scopeId", "data-v-2555e92e"]]);
49536
49653
  const _sfc_main$s = {
49537
49654
  name: "moperlog",
49538
49655
  data() {
@@ -50617,8 +50734,9 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
50617
50734
  ]),
50618
50735
  createVNode(_component_ApprovalBox, {
50619
50736
  ref: "approval",
50620
- config: $data.billApprovalConfig
50621
- }, null, 8, ["config"]),
50737
+ config: $data.billApprovalConfig,
50738
+ onApprovalOk: $options.approvalOk
50739
+ }, null, 8, ["config", "onApprovalOk"]),
50622
50740
  createVNode(_component_Modal, {
50623
50741
  "class-name": "efuture-billapprovalmainframe",
50624
50742
  modelValue: $data.showApproval,
@@ -51765,8 +51883,6 @@ const _sfc_main$o = {
51765
51883
  this.myConfig.gridConfig.overrideData = this.gridOverrideData;
51766
51884
  this.myConfig.gridConfig.showCondition = false;
51767
51885
  this.myConfig.gridConfig.resources = this.myConfig.resources;
51768
- this.myConfig.gridConfig.method = this.myConfig.classPrefix + ".search";
51769
- this.myConfig.gridConfig.response = this.myConfig.response;
51770
51886
  this.myConfig.gridConfig.tableSize = "small";
51771
51887
  this.myConfig.gridConfig.showBorder = false;
51772
51888
  this.myConfig.gridConfig.pageShowSizer = false;
@@ -51776,6 +51892,12 @@ const _sfc_main$o = {
51776
51892
  if (this.myConfig.gridConfig.title !== void 0) {
51777
51893
  this.myConfig.gridtitle = this.myConfig.gridConfig.title;
51778
51894
  }
51895
+ if (!this.myConfig.gridConfig.method) {
51896
+ this.myConfig.gridConfig.method = this.myConfig.classPrefix + ".search";
51897
+ }
51898
+ if (!this.myConfig.gridConfig.response) {
51899
+ this.myConfig.gridConfig.response = this.myConfig.response;
51900
+ }
51779
51901
  this.myConfig.gridConfig.multiSelect = false;
51780
51902
  if (this.myConfig.treeConfig.items) {
51781
51903
  this.myConfig.gridConfig.items = this.$Method.copy(this.myConfig.treeConfig.items);