ocpview-plus 1.1.5 → 1.1.6

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/README.md CHANGED
@@ -40,3 +40,7 @@ DateBox 升级,增加快捷赋值操作配置项
40
40
 
41
41
  ### 1.1.5 更新说明
42
42
  PopTextBox 精灵多级参数透传
43
+
44
+ ### 1.1.6 更新说明
45
+ 1、LeftListRightDetails 模版增加操作日志功能
46
+ 2、Tree 空间查询增强
@@ -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.4";
456
+ const version$2 = "1.1.6";
457
457
  const title = "ocpviewPlus";
458
458
  const description = "A high quality Service UI components Library with Vue.js";
459
459
  const homepage = "";
@@ -49988,9 +49988,9 @@ const _sfc_main$m = {
49988
49988
  },
49989
49989
  methods: {
49990
49990
  setLogName() {
49991
- this.logName.push({ code: this.myConfig.detailConfig.response, name: "\u4E3B\u8868" });
49991
+ this.logName.push({ code: this.myConfig.response, name: "\u4E3B\u8868" });
49992
49992
  this.myConfig.detailConfig.formsConfig.items.forEach((el2) => {
49993
- this.initLogName(el2.items, this.myConfig.detailConfig.response, el2.title);
49993
+ this.initLogName(el2.items, this.myConfig.response, el2.title);
49994
49994
  });
49995
49995
  if (this.myConfig.detailConfig.billDetailConfig !== void 0 && this.myConfig.detailConfig.billDetailConfig.items) {
49996
49996
  this.myConfig.detailConfig.billDetailConfig.items.forEach((el2) => {
@@ -50599,6 +50599,8 @@ const _sfc_main$l = {
50599
50599
  this.conditionConfig.data = this.$Method.copy(this.dictData[this.conditionConfig.dictkey]);
50600
50600
  }
50601
50601
  }
50602
+ if (this.conditionConfig.valueChanged)
50603
+ this.conditionConfig.onChange = this.$Method.copy(this.conditionConfig.valueChanged);
50602
50604
  this.conditionConfig.valueChanged = this.conditionValueChanged;
50603
50605
  this.showCondition = true;
50604
50606
  }
@@ -51019,6 +51021,13 @@ const _sfc_main$l = {
51019
51021
  return this.$refs.condition;
51020
51022
  },
51021
51023
  conditionValueChanged(e10) {
51024
+ let flag = true;
51025
+ if (this.conditionConfig.onChange)
51026
+ flag = this.conditionConfig.onChange(e10);
51027
+ if (flag === void 0)
51028
+ flag = true;
51029
+ if (!flag)
51030
+ return flag;
51022
51031
  this.$nextTick(() => {
51023
51032
  let tmp = {};
51024
51033
  let self2 = this;