ocpview-pro 0.1.16 → 0.1.17

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.
package/dist/index.js CHANGED
@@ -453,7 +453,7 @@ common.initEview = function(ViewUI2) {
453
453
  common.initAnchor(ViewUI2.Anchor);
454
454
  };
455
455
  const name = "ocpview-pro";
456
- const version$2 = "0.1.16";
456
+ const version$2 = "0.1.17";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -45118,7 +45118,13 @@ const _sfc_main$f = {
45118
45118
  userShowSummary: void 0
45119
45119
  };
45120
45120
  },
45121
- watch: {},
45121
+ watch: {
45122
+ summaryColumn(val2) {
45123
+ if (val2 && val2.length > 0) {
45124
+ this.summaryColumn = [];
45125
+ }
45126
+ }
45127
+ },
45122
45128
  computed: {
45123
45129
  RewriteColumns() {
45124
45130
  return this.tableColumns.map((item) => {
@@ -45202,17 +45208,10 @@ const _sfc_main$f = {
45202
45208
  };
45203
45209
  },
45204
45210
  sumFields() {
45205
- return this.tableColumns.filter((item) => item.summary).map((item) => item.name);
45211
+ return this.tableColumns.filter((item) => item.sum).map((item) => item.name);
45206
45212
  }
45207
45213
  },
45208
45214
  methods: {
45209
- getSearchParam(obj, flag) {
45210
- const result = _sfc_main$1O.methods.getSearchParam.call(this, obj, flag);
45211
- if (result && result.summary_fld) {
45212
- delete result.summary_fld;
45213
- }
45214
- return result;
45215
- },
45216
45215
  refurbishSucceedDefault() {
45217
45216
  this.sumGroupNum = 0;
45218
45217
  if (this.dynamicInitData && this.dynamicInitData[this.myConfig.response]) {