ocpview-plus 1.1.3 → 1.1.5

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: {
@@ -26885,6 +26901,7 @@ const _sfc_main$1s = {
26885
26901
  return para;
26886
26902
  },
26887
26903
  click() {
26904
+ var _a2;
26888
26905
  let flag = true;
26889
26906
  if (!this.queryConfig.isTree) {
26890
26907
  if (this.$refs.popView.$children && this.$refs.popView.$children.length > 0) {
@@ -26909,13 +26926,16 @@ const _sfc_main$1s = {
26909
26926
  if (flag) {
26910
26927
  if (this.config.selectkey) {
26911
26928
  if (this.query && this.query.Config) {
26912
- const lastParam = this.query.Config.lastQueryParam;
26913
- if (lastParam) {
26914
- const newParam = { ...lastParam, ...this.searchParam };
26915
- if (JSON.stringify(lastParam) === "{}") {
26916
- this.query.Config.lastQueryParam = newParam;
26917
- }
26918
- this.searchParam = { ...newParam };
26929
+ this.query.Config.lastQueryParam;
26930
+ if ((_a2 = this.query) == null ? void 0 : _a2.Config) {
26931
+ const lastParam = this.query.Config.lastQueryParam || {};
26932
+ const currentParam = this.searchParam || {};
26933
+ let finalParam = currentParam;
26934
+ if (currentParam.lastflag === "1") {
26935
+ finalParam = { ...lastParam, ...currentParam };
26936
+ }
26937
+ this.query.Config.lastQueryParam = { ...finalParam };
26938
+ this.searchParam = finalParam;
26919
26939
  this.$refs["popView"].setSearchBeforeSearchParam(this.searchParam);
26920
26940
  }
26921
26941
  }
@@ -29408,7 +29428,7 @@ function _sfc_render$1b(_ctx, _cache, $props, $setup, $data, $options) {
29408
29428
  var ConditionFilterBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["render", _sfc_render$1b]]);
29409
29429
  const _sfc_main$1i = {
29410
29430
  name: "picturebox",
29411
- extends: _sfc_main$1M,
29431
+ extends: _sfc_main$1N,
29412
29432
  data() {
29413
29433
  return {
29414
29434
  myConfig: {
@@ -30027,7 +30047,7 @@ function _sfc_render$1a(_ctx, _cache, $props, $setup, $data, $options) {
30027
30047
  var PictureBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render$1a]]);
30028
30048
  const _sfc_main$1h = {
30029
30049
  name: "picturebox",
30030
- extends: _sfc_main$1M,
30050
+ extends: _sfc_main$1N,
30031
30051
  data() {
30032
30052
  return {
30033
30053
  myConfig: {
@@ -30624,7 +30644,7 @@ function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
30624
30644
  var UploadBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _sfc_render$18]]);
30625
30645
  const _sfc_main$1f = {
30626
30646
  name: "videobox",
30627
- extends: _sfc_main$1M,
30647
+ extends: _sfc_main$1N,
30628
30648
  data() {
30629
30649
  return {
30630
30650
  myConfig: {
@@ -31205,7 +31225,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
31205
31225
  var VideoBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_render$17]]);
31206
31226
  const _sfc_main$1e = {
31207
31227
  name: "checkbox",
31208
- extends: _sfc_main$1M,
31228
+ extends: _sfc_main$1N,
31209
31229
  data() {
31210
31230
  return {
31211
31231
  myConfig: {
@@ -31301,7 +31321,7 @@ function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
31301
31321
  var CheckBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_render$16]]);
31302
31322
  const _sfc_main$1d = {
31303
31323
  name: "checkgroupbox",
31304
- extends: _sfc_main$1M,
31324
+ extends: _sfc_main$1N,
31305
31325
  data() {
31306
31326
  return {
31307
31327
  myConfig: {
@@ -31911,7 +31931,7 @@ function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
31911
31931
  var FormDetail$2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_render$14]]);
31912
31932
  const _sfc_main$1a = {
31913
31933
  name: "FormBox",
31914
- extends: _sfc_main$1K,
31934
+ extends: _sfc_main$1L,
31915
31935
  created() {
31916
31936
  this.init();
31917
31937
  },
@@ -31993,7 +32013,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
31993
32013
  var FormBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_render$13]]);
31994
32014
  const _sfc_main$19 = {
31995
32015
  name: "FormCardBox",
31996
- extends: _sfc_main$1K,
32016
+ extends: _sfc_main$1L,
31997
32017
  data() {
31998
32018
  return {
31999
32019
  myConfig: {
@@ -33885,18 +33905,6 @@ const _sfc_main$14 = {
33885
33905
  window.open(temp, "_self");
33886
33906
  }
33887
33907
  },
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
33908
  handleUpload(file) {
33901
33909
  if (!this.checkFormat(file)) {
33902
33910
  this.handleFormatError(file);
@@ -35237,7 +35245,7 @@ function _sfc_render$V(_ctx, _cache, $props, $setup, $data, $options) {
35237
35245
  var BillBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$_, [["render", _sfc_render$V]]);
35238
35246
  const _sfc_main$Z = {
35239
35247
  name: "radiogroupbox",
35240
- extends: _sfc_main$1M,
35248
+ extends: _sfc_main$1N,
35241
35249
  data() {
35242
35250
  return {
35243
35251
  myConfig: {
@@ -35338,7 +35346,7 @@ function _sfc_render$U(_ctx, _cache, $props, $setup, $data, $options) {
35338
35346
  var RadioGroupBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$Z, [["render", _sfc_render$U]]);
35339
35347
  const _sfc_main$Y = {
35340
35348
  name: "colorbox",
35341
- extends: _sfc_main$1M,
35349
+ extends: _sfc_main$1N,
35342
35350
  data() {
35343
35351
  return {
35344
35352
  myConfig: {
@@ -36535,7 +36543,7 @@ function _sfc_render$L(_ctx, _cache, $props, $setup, $data, $options) {
36535
36543
  var MyLiquidFill = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["render", _sfc_render$L]]);
36536
36544
  const _sfc_main$O = {
36537
36545
  name: "poptagbox",
36538
- extends: _sfc_main$1M,
36546
+ extends: _sfc_main$1N,
36539
36547
  data() {
36540
36548
  return {
36541
36549
  myConfig: {
@@ -36987,7 +36995,7 @@ function _sfc_render$K(_ctx, _cache, $props, $setup, $data, $options) {
36987
36995
  var PopTagBox = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["render", _sfc_render$K]]);
36988
36996
  const _sfc_main$N = {
36989
36997
  name: "cascaderbox",
36990
- extends: _sfc_main$1M,
36998
+ extends: _sfc_main$1N,
36991
36999
  data() {
36992
37000
  return {
36993
37001
  myConfig: {
@@ -37399,7 +37407,7 @@ function _sfc_render$I(_ctx, _cache, $props, $setup, $data, $options) {
37399
37407
  var PageCustom = /* @__PURE__ */ _export_sfc$1(_sfc_main$M, [["render", _sfc_render$I]]);
37400
37408
  const _sfc_main$L = {
37401
37409
  name: "mimpleviewgrid",
37402
- extends: _sfc_main$1H,
37410
+ extends: _sfc_main$1I,
37403
37411
  methods: {
37404
37412
  initCheckColumn(columns) {
37405
37413
  if (this.myConfig.showCheckBox) {
@@ -39693,7 +39701,7 @@ const _sfc_main$H = {
39693
39701
  };
39694
39702
  const _sfc_main$G = {
39695
39703
  name: "meditgridcard2",
39696
- extends: _sfc_main$1F,
39704
+ extends: _sfc_main$1G,
39697
39705
  data() {
39698
39706
  return {
39699
39707
  myConfig: {
@@ -44182,7 +44190,7 @@ var billquerygrid = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["render", _sfc_
44182
44190
  var editgridcard_vue_vue_type_style_index_0_scoped_true_lang = "";
44183
44191
  const _sfc_main$v = {
44184
44192
  name: "meditgridcard",
44185
- extends: _sfc_main$1F,
44193
+ extends: _sfc_main$1G,
44186
44194
  data() {
44187
44195
  return {
44188
44196
  myConfig: {
@@ -49480,7 +49488,8 @@ const _sfc_main$n = {
49480
49488
  moreFlag: false,
49481
49489
  btnItems: [],
49482
49490
  ignoreModule: ["downTemplate"],
49483
- notpowerFlag: true
49491
+ notpowerFlag: true,
49492
+ billoperlog: false
49484
49493
  };
49485
49494
  },
49486
49495
  props: {
@@ -49590,12 +49599,18 @@ const _sfc_main$n = {
49590
49599
  if (this.btnItems.length > this.myConfig.showNum) {
49591
49600
  this.moreFlag = true;
49592
49601
  }
49602
+ if (this.myConfig.billoperlog) {
49603
+ this.billoperlog = true;
49604
+ }
49593
49605
  },
49594
49606
  action(name2) {
49595
49607
  let obj = {};
49596
49608
  obj.name = name2;
49597
49609
  this.$emit("doAction", obj);
49598
49610
  },
49611
+ openBilloperlog() {
49612
+ this.doBtn("openBilloperlog");
49613
+ },
49599
49614
  setAllReadOnly(value) {
49600
49615
  let btn = this.$Method.copy(this.btnItems);
49601
49616
  this.addReadOnly = value;
@@ -49810,9 +49825,47 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
49810
49825
  }),
49811
49826
  createVNode(_component_Col, { span: "6" }, {
49812
49827
  default: withCtx(() => [
49813
- createVNode(_component_PromptMessages, {
49814
- modetype: "2",
49815
- style: { "height": "100%" }
49828
+ createVNode(_component_Row, {
49829
+ type: "flex",
49830
+ gutter: 0,
49831
+ justify: "end",
49832
+ align: "middle"
49833
+ }, {
49834
+ default: withCtx(() => [
49835
+ $data.billoperlog ? (openBlock(), createBlock(_component_Col, { key: 0 }, {
49836
+ default: withCtx(() => [
49837
+ createVNode(_component_Button, {
49838
+ customIcon: "iconfont icon-custom-baopidan",
49839
+ onClick: $options.openBilloperlog
49840
+ }, {
49841
+ default: withCtx(() => _cache[2] || (_cache[2] = [
49842
+ createTextVNode("\u64CD\u4F5C\u65E5\u5FD7")
49843
+ ])),
49844
+ _: 1
49845
+ }, 8, ["onClick"])
49846
+ ]),
49847
+ _: 1
49848
+ })) : createCommentVNode("", true),
49849
+ $data.billoperlog ? (openBlock(), createBlock(_component_Col, { key: 1 }, {
49850
+ default: withCtx(() => [
49851
+ createVNode(_component_Divider, {
49852
+ type: "vertical",
49853
+ class: "dividercommon"
49854
+ })
49855
+ ]),
49856
+ _: 1
49857
+ })) : createCommentVNode("", true),
49858
+ createVNode(_component_Col, null, {
49859
+ default: withCtx(() => [
49860
+ createVNode(_component_PromptMessages, {
49861
+ modetype: "2",
49862
+ style: { "height": "100%" }
49863
+ })
49864
+ ]),
49865
+ _: 1
49866
+ })
49867
+ ]),
49868
+ _: 1
49816
49869
  })
49817
49870
  ]),
49818
49871
  _: 1
@@ -49821,10 +49874,10 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
49821
49874
  _: 1
49822
49875
  });
49823
49876
  }
49824
- var ListBtnToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$k], ["__scopeId", "data-v-82cdd3f0"]]);
49877
+ var ListBtnToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["render", _sfc_render$k], ["__scopeId", "data-v-5d088daa"]]);
49825
49878
  const _sfc_main$m = {
49826
49879
  name: "mleftlistrightdetails",
49827
- components: { ListBtnToolbar, BillDetailForm: billdetailform },
49880
+ components: { BillOperLog, ListBtnToolbar, BillDetailForm: billdetailform },
49828
49881
  data() {
49829
49882
  return {
49830
49883
  myConfig: {
@@ -49844,7 +49897,14 @@ const _sfc_main$m = {
49844
49897
  },
49845
49898
  ph_key: "",
49846
49899
  searchValue: "",
49847
- headHeight: 63
49900
+ headHeight: 63,
49901
+ showBilloperlog: false,
49902
+ billOperLogConfig: {
49903
+ showOperLog: false,
49904
+ operLogKey: "billno"
49905
+ },
49906
+ logName: [],
49907
+ logData: null
49848
49908
  };
49849
49909
  },
49850
49910
  props: {
@@ -49869,6 +49929,9 @@ const _sfc_main$m = {
49869
49929
  },
49870
49930
  clientHeight2() {
49871
49931
  return this.$Store.state.app.clientHeight - this.headHeight;
49932
+ },
49933
+ logcurrentWidth() {
49934
+ return this.$Store.state.app.clientWidth * 0.8;
49872
49935
  }
49873
49936
  },
49874
49937
  created() {
@@ -49909,6 +49972,13 @@ const _sfc_main$m = {
49909
49972
  if (this.myConfig.menuToolbar && this.myConfig.menuToolbar.items) {
49910
49973
  this.menuToolbar = this.$Method.copy(this.myConfig.menuToolbar);
49911
49974
  }
49975
+ if (this.myConfig.billOperLogConfig) {
49976
+ this.billOperLogConfig = Object.assign({}, this.billOperLogConfig, this.myConfig.billOperLogConfig);
49977
+ if (this.billOperLogConfig.showOperLog) {
49978
+ this.menuToolbar.billoperlog = true;
49979
+ this.setLogName();
49980
+ }
49981
+ }
49912
49982
  this.myConfig.detailConfig.modetype = "2";
49913
49983
  this.myConfig.detailConfig.billKey = this.myConfig.billKey;
49914
49984
  this.myConfig.detailConfig.showAnchorLink = false;
@@ -49917,6 +49987,73 @@ const _sfc_main$m = {
49917
49987
  this.myConfig.detailConfig.resources = this.myConfig.resources;
49918
49988
  },
49919
49989
  methods: {
49990
+ setLogName() {
49991
+ this.logName.push({ code: this.myConfig.detailConfig.response, name: "\u4E3B\u8868" });
49992
+ this.myConfig.detailConfig.formsConfig.items.forEach((el2) => {
49993
+ this.initLogName(el2.items, this.myConfig.detailConfig.response, el2.title);
49994
+ });
49995
+ if (this.myConfig.detailConfig.billDetailConfig !== void 0 && this.myConfig.detailConfig.billDetailConfig.items) {
49996
+ this.myConfig.detailConfig.billDetailConfig.items.forEach((el2) => {
49997
+ if (el2.type === "EditGridCard") {
49998
+ this.logName.push({ code: el2.name, name: el2.title, isdetail: "1" });
49999
+ this.initLogName(el2.items, el2.name, el2.title, { isdetail: "1" });
50000
+ } else if (el2.type === "DetailsBox") {
50001
+ this.logName.push({ code: el2.name, name: el2.title, isdetail: "1" });
50002
+ this.initLogName(el2.formConfig.items, el2.name, el2.title, { isdetail: "1" });
50003
+ this.logName.push({ code: el2.gridName, name: el2.gridConfig.title, isdetail: "2", headtitle: el2.title, uniqueKeys: el2.uniqueKeys });
50004
+ this.initLogName(el2.gridConfig.items, el2.gridName, el2.gridConfig.title, { headtitle: el2.title, uniqueKeys: el2.uniqueKeys, isdetail: "2" });
50005
+ }
50006
+ });
50007
+ }
50008
+ this.billOperLogConfig.logName = this.$Method.copy(this.logName);
50009
+ },
50010
+ initLogName(list, headname, headtitle, pro) {
50011
+ if (!pro) {
50012
+ pro = {};
50013
+ }
50014
+ list.forEach((el2) => {
50015
+ if (el2.name) {
50016
+ let obj = {};
50017
+ obj.title = headtitle;
50018
+ obj.code = headname + "." + el2.name;
50019
+ obj.name = el2.label;
50020
+ Object.assign(obj, pro);
50021
+ this.logName.push(obj);
50022
+ }
50023
+ if (el2.textName) {
50024
+ let obj = {};
50025
+ obj.title = headtitle;
50026
+ obj.code = headname + "." + el2.textName;
50027
+ obj.name = el2.label;
50028
+ Object.assign(obj, pro);
50029
+ this.logName.push(obj);
50030
+ }
50031
+ if (el2.sname) {
50032
+ let obj = {};
50033
+ obj.title = el2.headtitle;
50034
+ obj.code = headname + "." + el2.sname;
50035
+ obj.name = el2.label;
50036
+ Object.assign(obj, pro);
50037
+ this.logName.push(obj);
50038
+ }
50039
+ if (el2.ename) {
50040
+ let obj = {};
50041
+ obj.title = el2.headtitle;
50042
+ obj.code = headname + "." + el2.ename;
50043
+ obj.name = el2.label;
50044
+ Object.assign(obj, pro);
50045
+ this.logName.push(obj);
50046
+ }
50047
+ });
50048
+ },
50049
+ openBilloperlog() {
50050
+ if (this.logData != null) {
50051
+ this.$refs.billoperlog.setData(this.logData[this.billOperLogConfig.operLogKey], this.logData);
50052
+ this.showBilloperlog = true;
50053
+ } else {
50054
+ this.alert("\u672A\u4EA7\u751F\u65E5\u5FD7");
50055
+ }
50056
+ },
49920
50057
  search() {
49921
50058
  this.$refs.form.clearData();
49922
50059
  this.$refs.grid.clearSearchBeforeSearchParam();
@@ -50023,6 +50160,7 @@ const _sfc_main$m = {
50023
50160
  initForm(para) {
50024
50161
  this.$refs.form.clearData();
50025
50162
  let data = this.getFormData(para);
50163
+ this.logData = this.$Method.copy(data);
50026
50164
  if (this.$parent.setBillData) {
50027
50165
  data = this.$parent.setBillData(data);
50028
50166
  }
@@ -50057,7 +50195,7 @@ const _sfc_main$m = {
50057
50195
  const method = obj.name;
50058
50196
  const methodBefore = method + "Before";
50059
50197
  const methodAfter = method + "After";
50060
- if (obj.name === "addData" || obj.name === "editData" || obj.name === "searchData") {
50198
+ if (obj.name === "addData" || obj.name === "editData" || obj.name === "openBilloperlog" || obj.name === "searchData") {
50061
50199
  let flag = true;
50062
50200
  if (this.$parent[methodBefore]) {
50063
50201
  flag = this.$parent[methodBefore](obj);
@@ -50083,6 +50221,13 @@ const _sfc_main$m = {
50083
50221
  };
50084
50222
  this.checkData(temp);
50085
50223
  }
50224
+ if (obj.name === "openBilloperlog") {
50225
+ if (this.$parent.openBilloperlog) {
50226
+ this.$parent.openBilloperlog();
50227
+ } else {
50228
+ this.openBilloperlog();
50229
+ }
50230
+ }
50086
50231
  if (this.$parent[methodAfter]) {
50087
50232
  this.$parent[methodAfter]();
50088
50233
  }
@@ -50262,6 +50407,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50262
50407
  const _component_SimpleViewGrid = resolveComponent("SimpleViewGrid");
50263
50408
  const _component_BillDetailForm = resolveComponent("BillDetailForm");
50264
50409
  const _component_Split = resolveComponent("Split");
50410
+ const _component_BillOperLog = resolveComponent("BillOperLog");
50411
+ const _component_Modal = resolveComponent("Modal");
50265
50412
  return openBlock(), createElementBlock("div", {
50266
50413
  style: normalizeStyle("background:#fff;overflow: hidden;height:" + $options.clientHeight + "px")
50267
50414
  }, [
@@ -50301,8 +50448,8 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50301
50448
  }, {
50302
50449
  default: withCtx(() => [
50303
50450
  createElementVNode("p", _hoisted_3$8, [
50304
- _cache[2] || (_cache[2] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
50305
- _cache[3] || (_cache[3] = createTextVNode()),
50451
+ _cache[3] || (_cache[3] = createElementVNode("span", { class: "efuture-title-verticalline" }, null, -1)),
50452
+ _cache[4] || (_cache[4] = createTextVNode()),
50306
50453
  createElementVNode("span", {
50307
50454
  style: { "font-size": "14px", "font-weight": "bold" },
50308
50455
  textContent: toDisplayString($data.myConfig.gridtitle)
@@ -50350,7 +50497,22 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
50350
50497
  ]),
50351
50498
  _: 1
50352
50499
  }, 8, ["modelValue"])
50353
- ], 4)
50500
+ ], 4),
50501
+ createVNode(_component_Modal, {
50502
+ title: "\u64CD\u4F5C\u65E5\u5FD7",
50503
+ modelValue: $data.showBilloperlog,
50504
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => $data.showBilloperlog = $event),
50505
+ width: $options.logcurrentWidth,
50506
+ "footer-hide": true
50507
+ }, {
50508
+ default: withCtx(() => [
50509
+ createVNode(_component_BillOperLog, {
50510
+ ref: "billoperlog",
50511
+ config: $data.billOperLogConfig
50512
+ }, null, 8, ["config"])
50513
+ ]),
50514
+ _: 1
50515
+ }, 8, ["modelValue", "width"])
50354
50516
  ], 4);
50355
50517
  }
50356
50518
  var mLeftListRightDetails = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["render", _sfc_render$j]]);
@@ -103063,7 +103225,7 @@ const _sfc_main$1 = {
103063
103225
  components: {
103064
103226
  Editor
103065
103227
  },
103066
- extends: _sfc_main$1M,
103228
+ extends: _sfc_main$1N,
103067
103229
  data() {
103068
103230
  return {
103069
103231
  myConfig: {
@@ -133011,19 +133173,19 @@ const components = {
133011
133173
  ComboBox,
133012
133174
  ExpandRow,
133013
133175
  EditGrid,
133014
- ViewGridBase: _sfc_main$1H,
133176
+ ViewGridBase: _sfc_main$1I,
133015
133177
  ViewGrid,
133016
133178
  EditGridCard,
133017
133179
  TextBox,
133018
133180
  RichTextBox,
133019
133181
  NumberBox,
133020
133182
  NumberRangeBox,
133021
- DateBox,
133183
+ DateBox: _sfc_main$1v,
133022
133184
  DateRangeBox,
133023
133185
  TimePicBox,
133024
133186
  PopTextBox,
133025
133187
  ControlBox,
133026
- ControlBase: _sfc_main$1M,
133188
+ ControlBase: _sfc_main$1N,
133027
133189
  ConditionBox,
133028
133190
  QueryConditionBoxBase: _sfc_main$1n,
133029
133191
  ConditionSelectorBox,
@@ -133046,7 +133208,7 @@ const components = {
133046
133208
  TreeBox,
133047
133209
  CommonIcon,
133048
133210
  RadioGroupBox,
133049
- BaseForm: _sfc_main$1K,
133211
+ BaseForm: _sfc_main$1L,
133050
133212
  MyBar,
133051
133213
  MyBarLine,
133052
133214
  MyPie,
@@ -133083,8 +133245,9 @@ const components = {
133083
133245
  mBillImport,
133084
133246
  wRichTextBox,
133085
133247
  mBillListDetails,
133086
- NumberBoxV1: _sfc_main$1w,
133087
- mListDetailsV2
133248
+ NumberBoxV1: _sfc_main$1x,
133249
+ mListDetailsV2,
133250
+ DateBoxV1: _sfc_main$1v
133088
133251
  };
133089
133252
  const iview = {
133090
133253
  ...components