ocpview-plus 1.1.3 → 1.1.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.1.2";
456
+ const version$2 = "1.1.4";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -4217,7 +4217,7 @@ var _export_sfc$1 = (sfc, props) => {
4217
4217
  }
4218
4218
  return target;
4219
4219
  };
4220
- const _sfc_main$1O = {
4220
+ const _sfc_main$1P = {
4221
4221
  name: "ebutton",
4222
4222
  data() {
4223
4223
  return {
@@ -4425,8 +4425,8 @@ function _sfc_render$1x(_ctx, _cache, $props, $setup, $data, $options) {
4425
4425
  ])
4426
4426
  ], 36)) : createCommentVNode("", true);
4427
4427
  }
4428
- var Ebutton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1O, [["render", _sfc_render$1x]]);
4429
- const _sfc_main$1N = {
4428
+ var Ebutton = /* @__PURE__ */ _export_sfc$1(_sfc_main$1P, [["render", _sfc_render$1x]]);
4429
+ const _sfc_main$1O = {
4430
4430
  name: "Toolbar",
4431
4431
  data() {
4432
4432
  return {
@@ -5044,7 +5044,7 @@ function _sfc_render$1w(_ctx, _cache, $props, $setup, $data, $options) {
5044
5044
  [vShow, $data.btnShow]
5045
5045
  ]);
5046
5046
  }
5047
- var Toolbar$2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1N, [["render", _sfc_render$1w]]);
5047
+ var Toolbar$2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1O, [["render", _sfc_render$1w]]);
5048
5048
  var size = {
5049
5049
  name: "size",
5050
5050
  data() {
@@ -5122,7 +5122,7 @@ var size = {
5122
5122
  }
5123
5123
  }
5124
5124
  };
5125
- const _sfc_main$1M = {
5125
+ const _sfc_main$1N = {
5126
5126
  mixins: [size],
5127
5127
  data() {
5128
5128
  return {
@@ -5296,9 +5296,9 @@ const _sfc_main$1M = {
5296
5296
  }
5297
5297
  }
5298
5298
  };
5299
- const _sfc_main$1L = {
5299
+ const _sfc_main$1M = {
5300
5300
  name: "combobox",
5301
- extends: _sfc_main$1M,
5301
+ extends: _sfc_main$1N,
5302
5302
  data() {
5303
5303
  return {
5304
5304
  myConfig: {
@@ -5571,7 +5571,7 @@ function _sfc_render$1v(_ctx, _cache, $props, $setup, $data, $options) {
5571
5571
  [vShow, $data.myConfig.visible]
5572
5572
  ]);
5573
5573
  }
5574
- var ComboBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1L, [["render", _sfc_render$1v]]);
5574
+ var ComboBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1M, [["render", _sfc_render$1v]]);
5575
5575
  var comPro = {
5576
5576
  name: "formpcompro",
5577
5577
  data() {
@@ -5589,7 +5589,7 @@ var comPro = {
5589
5589
  },
5590
5590
  methods: {}
5591
5591
  };
5592
- const _sfc_main$1K = {
5592
+ const _sfc_main$1L = {
5593
5593
  name: "baseform",
5594
5594
  mixins: [comPro],
5595
5595
  data() {
@@ -6254,8 +6254,8 @@ const _sfc_main$1K = {
6254
6254
  }
6255
6255
  }
6256
6256
  };
6257
- const _sfc_main$1J = {
6258
- extends: _sfc_main$1K,
6257
+ const _sfc_main$1K = {
6258
+ extends: _sfc_main$1L,
6259
6259
  data() {
6260
6260
  return {
6261
6261
  editIndex: -1,
@@ -6456,8 +6456,8 @@ function _sfc_render$1u(_ctx, _cache, $props, $setup, $data, $options) {
6456
6456
  }, 8, ["model", "rules", "label-width", "inline", "id", "onKeydown"])
6457
6457
  ], 4);
6458
6458
  }
6459
- var ExpandRow = /* @__PURE__ */ _export_sfc$1(_sfc_main$1J, [["render", _sfc_render$1u]]);
6460
- const _sfc_main$1I = {
6459
+ var ExpandRow = /* @__PURE__ */ _export_sfc$1(_sfc_main$1K, [["render", _sfc_render$1u]]);
6460
+ const _sfc_main$1J = {
6461
6461
  mixins: [size],
6462
6462
  data() {
6463
6463
  return {
@@ -7469,9 +7469,9 @@ const _sfc_main$1I = {
7469
7469
  mounted() {
7470
7470
  }
7471
7471
  };
7472
- const _sfc_main$1H = {
7472
+ const _sfc_main$1I = {
7473
7473
  name: "viewgridbase",
7474
- extends: _sfc_main$1I,
7474
+ extends: _sfc_main$1J,
7475
7475
  data() {
7476
7476
  return {
7477
7477
  myConfig: {
@@ -8701,9 +8701,9 @@ const _sfc_main$1H = {
8701
8701
  }
8702
8702
  }
8703
8703
  };
8704
- const _sfc_main$1G = {
8704
+ const _sfc_main$1H = {
8705
8705
  name: "viewgrid",
8706
- extends: _sfc_main$1H,
8706
+ extends: _sfc_main$1I,
8707
8707
  mounted() {
8708
8708
  }
8709
8709
  };
@@ -9144,11 +9144,11 @@ function _sfc_render$1t(_ctx, _cache, $props, $setup, $data, $options) {
9144
9144
  ], 64))
9145
9145
  ]);
9146
9146
  }
9147
- var ViewGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$1G, [["render", _sfc_render$1t]]);
9147
+ var ViewGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$1H, [["render", _sfc_render$1t]]);
9148
9148
  var editgridbase_vue_vue_type_style_index_0_lang = "";
9149
- const _sfc_main$1F = {
9149
+ const _sfc_main$1G = {
9150
9150
  name: "editgridbase",
9151
- extends: _sfc_main$1I,
9151
+ extends: _sfc_main$1J,
9152
9152
  data() {
9153
9153
  return {
9154
9154
  myConfig: {
@@ -10175,9 +10175,9 @@ const _sfc_main$1F = {
10175
10175
  }
10176
10176
  }
10177
10177
  };
10178
- const _sfc_main$1E = {
10178
+ const _sfc_main$1F = {
10179
10179
  name: "editgrid",
10180
- extends: _sfc_main$1F,
10180
+ extends: _sfc_main$1G,
10181
10181
  mounted() {
10182
10182
  if (this.$refs.card && this.$refs.card.$el) {
10183
10183
  this.$refs.card.$el.onmouseleave = () => {
@@ -10360,10 +10360,10 @@ function _sfc_render$1s(_ctx, _cache, $props, $setup, $data, $options) {
10360
10360
  }, 8, ["modelValue", "onOnOk"])) : createCommentVNode("", true)
10361
10361
  ], 8, _hoisted_1$10);
10362
10362
  }
10363
- var EditGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$1E, [["render", _sfc_render$1s]]);
10364
- const _sfc_main$1D = {
10363
+ var EditGrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$1F, [["render", _sfc_render$1s]]);
10364
+ const _sfc_main$1E = {
10365
10365
  name: "editgridcard",
10366
- extends: _sfc_main$1F,
10366
+ extends: _sfc_main$1G,
10367
10367
  data() {
10368
10368
  return {
10369
10369
  myConfig: {
@@ -10702,10 +10702,10 @@ function _sfc_render$1r(_ctx, _cache, $props, $setup, $data, $options) {
10702
10702
  } : void 0
10703
10703
  ]), 1032, ["bordered", "dis-hover", "headClass", "extraClass"]);
10704
10704
  }
10705
- var EditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$1D, [["render", _sfc_render$1r]]);
10706
- const _sfc_main$1C = {
10705
+ var EditGridCard = /* @__PURE__ */ _export_sfc$1(_sfc_main$1E, [["render", _sfc_render$1r]]);
10706
+ const _sfc_main$1D = {
10707
10707
  name: "textbox",
10708
- extends: _sfc_main$1M,
10708
+ extends: _sfc_main$1N,
10709
10709
  components: {},
10710
10710
  data() {
10711
10711
  return {
@@ -10816,8 +10816,8 @@ function _sfc_render$1q(_ctx, _cache, $props, $setup, $data, $options) {
10816
10816
  [vShow, $data.myConfig.visible]
10817
10817
  ]);
10818
10818
  }
10819
- var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1C, [["render", _sfc_render$1q]]);
10820
- const _sfc_main$1B = {
10819
+ var TextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1D, [["render", _sfc_render$1q]]);
10820
+ const _sfc_main$1C = {
10821
10821
  name: "uploadbox",
10822
10822
  data() {
10823
10823
  return {
@@ -10982,7 +10982,7 @@ function _sfc_render$1p(_ctx, _cache, $props, $setup, $data, $options) {
10982
10982
  _: 3
10983
10983
  }, 8, ["default-file-list", "on-success", "format", "disabled", "max-size", "data", "on-format-error", "on-exceeded-size", "before-upload", "multiple", "class", "action"]);
10984
10984
  }
10985
- var UploadBox$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1B, [["render", _sfc_render$1p]]);
10985
+ var UploadBox$1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1C, [["render", _sfc_render$1p]]);
10986
10986
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
10987
10987
  function getDefaultExportFromCjs(x10) {
10988
10988
  return x10 && x10.__esModule && Object.prototype.hasOwnProperty.call(x10, "default") ? x10["default"] : x10;
@@ -24984,7 +24984,7 @@ const QuillEditor = defineComponent({
24984
24984
  ];
24985
24985
  }
24986
24986
  });
24987
- const _sfc_main$1A = {
24987
+ const _sfc_main$1B = {
24988
24988
  __name: "editor",
24989
24989
  props: ["value", "myConfig", "toolbarOptions"],
24990
24990
  emits: ["updateValue", "imgClick", "initQuill"],
@@ -25129,13 +25129,13 @@ const _sfc_main$1A = {
25129
25129
  }
25130
25130
  };
25131
25131
  var richtextbox_vue_vue_type_style_index_0_lang = "";
25132
- const _sfc_main$1z = {
25132
+ const _sfc_main$1A = {
25133
25133
  name: "richtextbox",
25134
25134
  components: {
25135
25135
  UploadBox: UploadBox$1,
25136
- Editor: _sfc_main$1A
25136
+ Editor: _sfc_main$1B
25137
25137
  },
25138
- extends: _sfc_main$1M,
25138
+ extends: _sfc_main$1N,
25139
25139
  data() {
25140
25140
  return {
25141
25141
  myConfig: {
@@ -25300,7 +25300,7 @@ function _sfc_render$1o(_ctx, _cache, $props, $setup, $data, $options) {
25300
25300
  [vShow, $data.myConfig.visible]
25301
25301
  ]);
25302
25302
  }
25303
- var RichTextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1z, [["render", _sfc_render$1o]]);
25303
+ var RichTextBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1A, [["render", _sfc_render$1o]]);
25304
25304
  var NumberRangeExpand = {
25305
25305
  name: "NumberRangeAppend",
25306
25306
  props: {
@@ -25310,9 +25310,9 @@ var NumberRangeExpand = {
25310
25310
  return this.render(h$1);
25311
25311
  }
25312
25312
  };
25313
- const _sfc_main$1y = {
25313
+ const _sfc_main$1z = {
25314
25314
  name: "numberbox",
25315
- extends: _sfc_main$1M,
25315
+ extends: _sfc_main$1N,
25316
25316
  data() {
25317
25317
  return {
25318
25318
  myConfig: {
@@ -25628,10 +25628,10 @@ function _sfc_render$1n(_ctx, _cache, $props, $setup, $data, $options) {
25628
25628
  [vShow, $data.myConfig.visible]
25629
25629
  ]);
25630
25630
  }
25631
- var NumberBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1y, [["render", _sfc_render$1n]]);
25632
- const _sfc_main$1x = {
25631
+ var NumberBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1z, [["render", _sfc_render$1n]]);
25632
+ const _sfc_main$1y = {
25633
25633
  name: "NumberRangeBox",
25634
- extends: _sfc_main$1M,
25634
+ extends: _sfc_main$1N,
25635
25635
  data() {
25636
25636
  return {
25637
25637
  myConfig: {
@@ -26117,8 +26117,8 @@ function _sfc_render$1m(_ctx, _cache, $props, $setup, $data, $options) {
26117
26117
  [vShow, $data.myConfig.visible]
26118
26118
  ]);
26119
26119
  }
26120
- var NumberRangeBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1x, [["render", _sfc_render$1m]]);
26121
- const _sfc_main$1w = {
26120
+ var NumberRangeBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1y, [["render", _sfc_render$1m]]);
26121
+ const _sfc_main$1x = {
26122
26122
  name: "NumberBoxV1",
26123
26123
  extends: NumberBox,
26124
26124
  methods: {
@@ -26143,9 +26143,9 @@ const _sfc_main$1w = {
26143
26143
  }
26144
26144
  }
26145
26145
  };
26146
- const _sfc_main$1v = {
26146
+ const _sfc_main$1w = {
26147
26147
  name: "datebox",
26148
- extends: _sfc_main$1M,
26148
+ extends: _sfc_main$1N,
26149
26149
  data() {
26150
26150
  return {
26151
26151
  myConfig: {
@@ -26286,10 +26286,26 @@ function _sfc_render$1l(_ctx, _cache, $props, $setup, $data, $options) {
26286
26286
  [vShow, $data.myConfig.visible]
26287
26287
  ]);
26288
26288
  }
26289
- var DateBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1v, [["render", _sfc_render$1l]]);
26289
+ var datebox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1w, [["render", _sfc_render$1l]]);
26290
+ const _sfc_main$1v = {
26291
+ name: "DateBoxV1",
26292
+ extends: datebox,
26293
+ methods: {},
26294
+ mounted() {
26295
+ const shortcuts = this.$utils.get(this.myConfig, "shortcuts", [
26296
+ {
26297
+ text: "\u4ECA\u5929",
26298
+ value() {
26299
+ return new Date();
26300
+ }
26301
+ }
26302
+ ]);
26303
+ this.options.shortcuts = shortcuts;
26304
+ }
26305
+ };
26290
26306
  const _sfc_main$1u = {
26291
26307
  name: "daterangebox",
26292
- extends: _sfc_main$1M,
26308
+ extends: _sfc_main$1N,
26293
26309
  data() {
26294
26310
  return {
26295
26311
  myConfig: {
@@ -26456,7 +26472,7 @@ function _sfc_render$1k(_ctx, _cache, $props, $setup, $data, $options) {
26456
26472
  var DateRangeBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1u, [["render", _sfc_render$1k]]);
26457
26473
  const _sfc_main$1t = {
26458
26474
  name: "timepicbox",
26459
- extends: _sfc_main$1M,
26475
+ extends: _sfc_main$1N,
26460
26476
  data() {
26461
26477
  return {
26462
26478
  myConfig: {
@@ -26548,7 +26564,7 @@ function _sfc_render$1j(_ctx, _cache, $props, $setup, $data, $options) {
26548
26564
  var TimePicBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1t, [["render", _sfc_render$1j]]);
26549
26565
  const _sfc_main$1s = {
26550
26566
  name: "poptextbox",
26551
- extends: _sfc_main$1M,
26567
+ extends: _sfc_main$1N,
26552
26568
  data() {
26553
26569
  return {
26554
26570
  myConfig: {
@@ -29408,7 +29424,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
29408
29424
  var ConditionFilterBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["render", _sfc_render$1b]]);
29409
29425
  const _sfc_main$1i = {
29410
29426
  name: "picturebox",
29411
- extends: _sfc_main$1M,
29427
+ extends: _sfc_main$1N,
29412
29428
  data() {
29413
29429
  return {
29414
29430
  myConfig: {
@@ -30027,7 +30043,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
30027
30043
  var PictureBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$1a]]);
30028
30044
  const _sfc_main$1h = {
30029
30045
  name: "picturebox",
30030
- extends: _sfc_main$1M,
30046
+ extends: _sfc_main$1N,
30031
30047
  data() {
30032
30048
  return {
30033
30049
  myConfig: {
@@ -30624,7 +30640,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
30624
30640
  var UploadBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$18]]);
30625
30641
  const _sfc_main$1f = {
30626
30642
  name: "videobox",
30627
- extends: _sfc_main$1M,
30643
+ extends: _sfc_main$1N,
30628
30644
  data() {
30629
30645
  return {
30630
30646
  myConfig: {
@@ -31205,7 +31221,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
31205
31221
  var VideoBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$17]]);
31206
31222
  const _sfc_main$1e = {
31207
31223
  name: "checkbox",
31208
- extends: _sfc_main$1M,
31224
+ extends: _sfc_main$1N,
31209
31225
  data() {
31210
31226
  return {
31211
31227
  myConfig: {
@@ -31301,7 +31317,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
31301
31317
  var CheckBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$16]]);
31302
31318
  const _sfc_main$1d = {
31303
31319
  name: "checkgroupbox",
31304
- extends: _sfc_main$1M,
31320
+ extends: _sfc_main$1N,
31305
31321
  data() {
31306
31322
  return {
31307
31323
  myConfig: {
@@ -31911,7 +31927,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
31911
31927
  var FormDetail$2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$14]]);
31912
31928
  const _sfc_main$1a = {
31913
31929
  name: "FormBox",
31914
- extends: _sfc_main$1K,
31930
+ extends: _sfc_main$1L,
31915
31931
  created() {
31916
31932
  this.init();
31917
31933
  },
@@ -31993,7 +32009,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
31993
32009
  var FormBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$13]]);
31994
32010
  const _sfc_main$19 = {
31995
32011
  name: "FormCardBox",
31996
- extends: _sfc_main$1K,
32012
+ extends: _sfc_main$1L,
31997
32013
  data() {
31998
32014
  return {
31999
32015
  myConfig: {
@@ -33885,18 +33901,6 @@ const _sfc_main$14 = {
33885
33901
  window.open(temp, "_self");
33886
33902
  }
33887
33903
  },
33888
- setExportDownUrl(url, param) {
33889
- let self2 = this;
33890
- this.url = this.getResturl(url, null, {}, self2);
33891
- if (this.myConfig.typeData.length > 1) {
33892
- this.param = param;
33893
- this.type = this.myConfig.typeData[0].code;
33894
- this.showUpload = true;
33895
- } else {
33896
- let temp = this.url + "&param=" + encodeURI(JSON.stringify(param));
33897
- window.open(temp, "_self");
33898
- }
33899
- },
33900
33904
  handleUpload(file) {
33901
33905
  if (!this.checkFormat(file)) {
33902
33906
  this.handleFormatError(file);
@@ -35237,7 +35241,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
35237
35241
  var BillBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$V]]);
35238
35242
  const _sfc_main$Z = {
35239
35243
  name: "radiogroupbox",
35240
- extends: _sfc_main$1M,
35244
+ extends: _sfc_main$1N,
35241
35245
  data() {
35242
35246
  return {
35243
35247
  myConfig: {
@@ -35338,7 +35342,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
35338
35342
  var RadioGroupBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$U]]);
35339
35343
  const _sfc_main$Y = {
35340
35344
  name: "colorbox",
35341
- extends: _sfc_main$1M,
35345
+ extends: _sfc_main$1N,
35342
35346
  data() {
35343
35347
  return {
35344
35348
  myConfig: {
@@ -36535,7 +36539,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
36535
36539
  var MyLiquidFill = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$L]]);
36536
36540
  const _sfc_main$O = {
36537
36541
  name: "poptagbox",
36538
- extends: _sfc_main$1M,
36542
+ extends: _sfc_main$1N,
36539
36543
  data() {
36540
36544
  return {
36541
36545
  myConfig: {
@@ -36987,7 +36991,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
36987
36991
  var PopTagBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$K]]);
36988
36992
  const _sfc_main$N = {
36989
36993
  name: "cascaderbox",
36990
- extends: _sfc_main$1M,
36994
+ extends: _sfc_main$1N,
36991
36995
  data() {
36992
36996
  return {
36993
36997
  myConfig: {
@@ -37399,7 +37403,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
37399
37403
  var PageCustom = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$I]]);
37400
37404
  const _sfc_main$L = {
37401
37405
  name: "mimpleviewgrid",
37402
- extends: _sfc_main$1H,
37406
+ extends: _sfc_main$1I,
37403
37407
  methods: {
37404
37408
  initCheckColumn(columns) {
37405
37409
  if (this.myConfig.showCheckBox) {
@@ -39693,7 +39697,7 @@ const _sfc_main$H = {
39693
39697
  };
39694
39698
  const _sfc_main$G = {
39695
39699
  name: "meditgridcard2",
39696
- extends: _sfc_main$1F,
39700
+ extends: _sfc_main$1G,
39697
39701
  data() {
39698
39702
  return {
39699
39703
  myConfig: {
@@ -44182,7 +44186,7 @@ var billquerygrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_
44182
44186
  var editgridcard_vue_vue_type_style_index_0_scoped_true_lang = "";
44183
44187
  const _sfc_main$v = {
44184
44188
  name: "meditgridcard",
44185
- extends: _sfc_main$1F,
44189
+ extends: _sfc_main$1G,
44186
44190
  data() {
44187
44191
  return {
44188
44192
  myConfig: {
@@ -49480,7 +49484,8 @@ const _sfc_main$n = {
49480
49484
  moreFlag: false,
49481
49485
  btnItems: [],
49482
49486
  ignoreModule: ["downTemplate"],
49483
- notpowerFlag: true
49487
+ notpowerFlag: true,
49488
+ billoperlog: false
49484
49489
  };
49485
49490
  },
49486
49491
  props: {
@@ -49590,12 +49595,18 @@ const _sfc_main$n = {
49590
49595
  if (this.btnItems.length > this.myConfig.showNum) {
49591
49596
  this.moreFlag = true;
49592
49597
  }
49598
+ if (this.myConfig.billoperlog) {
49599
+ this.billoperlog = true;
49600
+ }
49593
49601
  },
49594
49602
  action(name2) {
49595
49603
  let obj = {};
49596
49604
  obj.name = name2;
49597
49605
  this.$emit("doAction", obj);
49598
49606
  },
49607
+ openBilloperlog() {
49608
+ this.doBtn("openBilloperlog");
49609
+ },
49599
49610
  setAllReadOnly(value) {
49600
49611
  let btn = this.$Method.copy(this.btnItems);
49601
49612
  this.addReadOnly = value;
@@ -49810,9 +49821,47 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
49810
49821
  }),
49811
49822
  createVNode(_component_Col, { span: "6" }, {
49812
49823
  default: withCtx(() => [
49813
- createVNode(_component_PromptMessages, {
49814
- modetype: "2",
49815
- style: { "height": "100%" }
49824
+ createVNode(_component_Row, {
49825
+ type: "flex",
49826
+ gutter: 0,
49827
+ justify: "end",
49828
+ align: "middle"
49829
+ }, {
49830
+ default: withCtx(() => [
49831
+ $data.billoperlog ? (openBlock(), createBlock(_component_Col, { key: 0 }, {
49832
+ default: withCtx(() => [
49833
+ createVNode(_component_Button, {
49834
+ customIcon: "iconfont icon-custom-baopidan",
49835
+ onClick: $options.openBilloperlog
49836
+ }, {
49837
+ default: withCtx(() => _cache[2] || (_cache[2] = [
49838
+ createTextVNode("\u64CD\u4F5C\u65E5\u5FD7")
49839
+ ])),
49840
+ _: 1
49841
+ }, 8, ["onClick"])
49842
+ ]),
49843
+ _: 1
49844
+ })) : createCommentVNode("", true),
49845
+ $data.billoperlog ? (openBlock(), createBlock(_component_Col, { key: 1 }, {
49846
+ default: withCtx(() => [
49847
+ createVNode(_component_Divider, {
49848
+ type: "vertical",
49849
+ class: "dividercommon"
49850
+ })
49851
+ ]),
49852
+ _: 1
49853
+ })) : createCommentVNode("", true),
49854
+ createVNode(_component_Col, null, {
49855
+ default: withCtx(() => [
49856
+ createVNode(_component_PromptMessages, {
49857
+ modetype: "2",
49858
+ style: { "height": "100%" }
49859
+ })
49860
+ ]),
49861
+ _: 1
49862
+ })
49863
+ ]),
49864
+ _: 1
49816
49865
  })
49817
49866
  ]),
49818
49867
  _: 1
@@ -49821,10 +49870,10 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
49821
49870
  _: 1
49822
49871
  });
49823
49872
  }
49824
- var ListBtnToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$k], ["__scopeId", "data-v-82cdd3f0"]]);
49873
+ var ListBtnToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$k], ["__scopeId", "data-v-5d088daa"]]);
49825
49874
  const _sfc_main$m = {
49826
49875
  name: "mleftlistrightdetails",
49827
- components: { ListBtnToolbar, BillDetailForm: billdetailform },
49876
+ components: { BillOperLog, ListBtnToolbar, BillDetailForm: billdetailform },
49828
49877
  data() {
49829
49878
  return {
49830
49879
  myConfig: {
@@ -49844,7 +49893,14 @@ const _sfc_main$m = {
49844
49893
  },
49845
49894
  ph_key: "",
49846
49895
  searchValue: "",
49847
- headHeight: 63
49896
+ headHeight: 63,
49897
+ showBilloperlog: false,
49898
+ billOperLogConfig: {
49899
+ showOperLog: false,
49900
+ operLogKey: "billno"
49901
+ },
49902
+ logName: [],
49903
+ logData: null
49848
49904
  };
49849
49905
  },
49850
49906
  props: {
@@ -49869,6 +49925,9 @@ const _sfc_main$m = {
49869
49925
  },
49870
49926
  clientHeight2() {
49871
49927
  return this.$Store.state.app.clientHeight - this.headHeight;
49928
+ },
49929
+ logcurrentWidth() {
49930
+ return this.$Store.state.app.clientWidth * 0.8;
49872
49931
  }
49873
49932
  },
49874
49933
  created() {
@@ -49909,6 +49968,13 @@ const _sfc_main$m = {
49909
49968
  if (this.myConfig.menuToolbar && this.myConfig.menuToolbar.items) {
49910
49969
  this.menuToolbar = this.$Method.copy(this.myConfig.menuToolbar);
49911
49970
  }
49971
+ if (this.myConfig.billOperLogConfig) {
49972
+ this.billOperLogConfig = Object.assign({}, this.billOperLogConfig, this.myConfig.billOperLogConfig);
49973
+ if (this.billOperLogConfig.showOperLog) {
49974
+ this.menuToolbar.billoperlog = true;
49975
+ this.setLogName();
49976
+ }
49977
+ }
49912
49978
  this.myConfig.detailConfig.modetype = "2";
49913
49979
  this.myConfig.detailConfig.billKey = this.myConfig.billKey;
49914
49980
  this.myConfig.detailConfig.showAnchorLink = false;
@@ -49917,6 +49983,73 @@ const _sfc_main$m = {
49917
49983
  this.myConfig.detailConfig.resources = this.myConfig.resources;
49918
49984
  },
49919
49985
  methods: {
49986
+ setLogName() {
49987
+ this.logName.push({ code: this.myConfig.detailConfig.response, name: "\u4E3B\u8868" });
49988
+ this.myConfig.detailConfig.formsConfig.items.forEach((el2) => {
49989
+ this.initLogName(el2.items, this.myConfig.detailConfig.response, el2.title);
49990
+ });
49991
+ if (this.myConfig.detailConfig.billDetailConfig !== void 0 && this.myConfig.detailConfig.billDetailConfig.items) {
49992
+ this.myConfig.detailConfig.billDetailConfig.items.forEach((el2) => {
49993
+ if (el2.type === "EditGridCard") {
49994
+ this.logName.push({ code: el2.name, name: el2.title, isdetail: "1" });
49995
+ this.initLogName(el2.items, el2.name, el2.title, { isdetail: "1" });
49996
+ } else if (el2.type === "DetailsBox") {
49997
+ this.logName.push({ code: el2.name, name: el2.title, isdetail: "1" });
49998
+ this.initLogName(el2.formConfig.items, el2.name, el2.title, { isdetail: "1" });
49999
+ this.logName.push({ code: el2.gridName, name: el2.gridConfig.title, isdetail: "2", headtitle: el2.title, uniqueKeys: el2.uniqueKeys });
50000
+ this.initLogName(el2.gridConfig.items, el2.gridName, el2.gridConfig.title, { headtitle: el2.title, uniqueKeys: el2.uniqueKeys, isdetail: "2" });
50001
+ }
50002
+ });
50003
+ }
50004
+ this.billOperLogConfig.logName = this.$Method.copy(this.logName);
50005
+ },
50006
+ initLogName(list, headname, headtitle, pro) {
50007
+ if (!pro) {
50008
+ pro = {};
50009
+ }
50010
+ list.forEach((el2) => {
50011
+ if (el2.name) {
50012
+ let obj = {};
50013
+ obj.title = headtitle;
50014
+ obj.code = headname + "." + el2.name;
50015
+ obj.name = el2.label;
50016
+ Object.assign(obj, pro);
50017
+ this.logName.push(obj);
50018
+ }
50019
+ if (el2.textName) {
50020
+ let obj = {};
50021
+ obj.title = headtitle;
50022
+ obj.code = headname + "." + el2.textName;
50023
+ obj.name = el2.label;
50024
+ Object.assign(obj, pro);
50025
+ this.logName.push(obj);
50026
+ }
50027
+ if (el2.sname) {
50028
+ let obj = {};
50029
+ obj.title = el2.headtitle;
50030
+ obj.code = headname + "." + el2.sname;
50031
+ obj.name = el2.label;
50032
+ Object.assign(obj, pro);
50033
+ this.logName.push(obj);
50034
+ }
50035
+ if (el2.ename) {
50036
+ let obj = {};
50037
+ obj.title = el2.headtitle;
50038
+ obj.code = headname + "." + el2.ename;
50039
+ obj.name = el2.label;
50040
+ Object.assign(obj, pro);
50041
+ this.logName.push(obj);
50042
+ }
50043
+ });
50044
+ },
50045
+ openBilloperlog() {
50046
+ if (this.logData != null) {
50047
+ this.$refs.billoperlog.setData(this.logData[this.billOperLogConfig.operLogKey], this.logData);
50048
+ this.showBilloperlog = true;
50049
+ } else {
50050
+ this.alert("\u672A\u4EA7\u751F\u65E5\u5FD7");
50051
+ }
50052
+ },
49920
50053
  search() {
49921
50054
  this.$refs.form.clearData();
49922
50055
  this.$refs.grid.clearSearchBeforeSearchParam();
@@ -50023,6 +50156,7 @@ const _sfc_main$m = {
50023
50156
  initForm(para) {
50024
50157
  this.$refs.form.clearData();
50025
50158
  let data = this.getFormData(para);
50159
+ this.logData = this.$Method.copy(data);
50026
50160
  if (this.$parent.setBillData) {
50027
50161
  data = this.$parent.setBillData(data);
50028
50162
  }
@@ -50057,7 +50191,7 @@ const _sfc_main$m = {
50057
50191
  const method = obj.name;
50058
50192
  const methodBefore = method + "Before";
50059
50193
  const methodAfter = method + "After";
50060
- if (obj.name === "addData" || obj.name === "editData" || obj.name === "searchData") {
50194
+ if (obj.name === "addData" || obj.name === "editData" || obj.name === "openBilloperlog" || obj.name === "searchData") {
50061
50195
  let flag = true;
50062
50196
  if (this.$parent[methodBefore]) {
50063
50197
  flag = this.$parent[methodBefore](obj);
@@ -50083,6 +50217,13 @@ const _sfc_main$m = {
50083
50217
  };
50084
50218
  this.checkData(temp);
50085
50219
  }
50220
+ if (obj.name === "openBilloperlog") {
50221
+ if (this.$parent.openBilloperlog) {
50222
+ this.$parent.openBilloperlog();
50223
+ } else {
50224
+ this.openBilloperlog();
50225
+ }
50226
+ }
50086
50227
  if (this.$parent[methodAfter]) {
50087
50228
  this.$parent[methodAfter]();
50088
50229
  }
@@ -50262,6 +50403,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50262
50403
  const _component_SimpleViewGrid = resolveComponent("SimpleViewGrid");
50263
50404
  const _component_BillDetailForm = resolveComponent("BillDetailForm");
50264
50405
  const _component_Split = resolveComponent("Split");
50406
+ const _component_BillOperLog = resolveComponent("BillOperLog");
50407
+ const _component_Modal = resolveComponent("Modal");
50265
50408
  return openBlock(), createElementBlock("div", {
50266
50409
  style: normalizeStyle("background:#fff;overflow: hidden;height:" + $options.clientHeight + "px")
50267
50410
  }, [
@@ -50301,8 +50444,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50301
50444
  }, {
50302
50445
  default: withCtx(() => [
50303
50446
  createElementVNode("p", _hoisted_3$8, [
50304
- _cache[2] || (_cache[2] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
50305
- _cache[3] || (_cache[3] = createTextVNode()),
50447
+ _cache[3] || (_cache[3] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
50448
+ _cache[4] || (_cache[4] = createTextVNode()),
50306
50449
  createElementVNode("span", {
50307
50450
  style: { "font-size": "14px", "font-weight": "bold" },
50308
50451
  textContent: toDisplayString($data.myConfig.gridtitle)
@@ -50350,7 +50493,22 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50350
50493
  ]),
50351
50494
  _: 1
50352
50495
  }, 8, ["modelValue"])
50353
- ], 4)
50496
+ ], 4),
50497
+ createVNode(_component_Modal, {
50498
+ title: "\u64CD\u4F5C\u65E5\u5FD7",
50499
+ modelValue: $data.showBilloperlog,
50500
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showBilloperlog = $event),
50501
+ width: $options.logcurrentWidth,
50502
+ "footer-hide": true
50503
+ }, {
50504
+ default: withCtx(() => [
50505
+ createVNode(_component_BillOperLog, {
50506
+ ref: "billoperlog",
50507
+ config: $data.billOperLogConfig
50508
+ }, null, 8, ["config"])
50509
+ ]),
50510
+ _: 1
50511
+ }, 8, ["modelValue", "width"])
50354
50512
  ], 4);
50355
50513
  }
50356
50514
  var mLeftListRightDetails = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$j]]);
@@ -103063,7 +103221,7 @@ const _sfc_main$1 = {
103063
103221
  components: {
103064
103222
  Editor
103065
103223
  },
103066
- extends: _sfc_main$1M,
103224
+ extends: _sfc_main$1N,
103067
103225
  data() {
103068
103226
  return {
103069
103227
  myConfig: {
@@ -133011,19 +133169,19 @@ const components = {
133011
133169
  ComboBox,
133012
133170
  ExpandRow,
133013
133171
  EditGrid,
133014
- ViewGridBase: _sfc_main$1H,
133172
+ ViewGridBase: _sfc_main$1I,
133015
133173
  ViewGrid,
133016
133174
  EditGridCard,
133017
133175
  TextBox,
133018
133176
  RichTextBox,
133019
133177
  NumberBox,
133020
133178
  NumberRangeBox,
133021
- DateBox,
133179
+ DateBox: _sfc_main$1v,
133022
133180
  DateRangeBox,
133023
133181
  TimePicBox,
133024
133182
  PopTextBox,
133025
133183
  ControlBox,
133026
- ControlBase: _sfc_main$1M,
133184
+ ControlBase: _sfc_main$1N,
133027
133185
  ConditionBox,
133028
133186
  QueryConditionBoxBase: _sfc_main$1n,
133029
133187
  ConditionSelectorBox,
@@ -133046,7 +133204,7 @@ const components = {
133046
133204
  TreeBox,
133047
133205
  CommonIcon,
133048
133206
  RadioGroupBox,
133049
- BaseForm: _sfc_main$1K,
133207
+ BaseForm: _sfc_main$1L,
133050
133208
  MyBar,
133051
133209
  MyBarLine,
133052
133210
  MyPie,
@@ -133083,8 +133241,9 @@ const components = {
133083
133241
  mBillImport,
133084
133242
  wRichTextBox,
133085
133243
  mBillListDetails,
133086
- NumberBoxV1: _sfc_main$1w,
133087
- mListDetailsV2
133244
+ NumberBoxV1: _sfc_main$1x,
133245
+ mListDetailsV2,
133246
+ DateBoxV1: _sfc_main$1v
133088
133247
  };
133089
133248
  const iview = {
133090
133249
  ...components