ocpview-plus 1.1.4 → 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
@@ -37,3 +37,10 @@ billImportConfig: {
37
37
 
38
38
  ### 1.1.4 更新说明
39
39
  DateBox 升级,增加快捷赋值操作配置项
40
+
41
+ ### 1.1.5 更新说明
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 = "";
@@ -26901,6 +26901,7 @@ const _sfc_main$1s = {
26901
26901
  return para;
26902
26902
  },
26903
26903
  click() {
26904
+ var _a2;
26904
26905
  let flag = true;
26905
26906
  if (!this.queryConfig.isTree) {
26906
26907
  if (this.$refs.popView.$children && this.$refs.popView.$children.length > 0) {
@@ -26925,13 +26926,16 @@ const _sfc_main$1s = {
26925
26926
  if (flag) {
26926
26927
  if (this.config.selectkey) {
26927
26928
  if (this.query && this.query.Config) {
26928
- const lastParam = this.query.Config.lastQueryParam;
26929
- if (lastParam) {
26930
- const newParam = { ...lastParam, ...this.searchParam };
26931
- if (JSON.stringify(lastParam) === "{}") {
26932
- this.query.Config.lastQueryParam = newParam;
26933
- }
26934
- 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;
26935
26939
  this.$refs["popView"].setSearchBeforeSearchParam(this.searchParam);
26936
26940
  }
26937
26941
  }
@@ -49984,9 +49988,9 @@ const _sfc_main$m = {
49984
49988
  },
49985
49989
  methods: {
49986
49990
  setLogName() {
49987
- this.logName.push({ code: this.myConfig.detailConfig.response, name: "\u4E3B\u8868" });
49991
+ this.logName.push({ code: this.myConfig.response, name: "\u4E3B\u8868" });
49988
49992
  this.myConfig.detailConfig.formsConfig.items.forEach((el2) => {
49989
- this.initLogName(el2.items, this.myConfig.detailConfig.response, el2.title);
49993
+ this.initLogName(el2.items, this.myConfig.response, el2.title);
49990
49994
  });
49991
49995
  if (this.myConfig.detailConfig.billDetailConfig !== void 0 && this.myConfig.detailConfig.billDetailConfig.items) {
49992
49996
  this.myConfig.detailConfig.billDetailConfig.items.forEach((el2) => {
@@ -50595,6 +50599,8 @@ const _sfc_main$l = {
50595
50599
  this.conditionConfig.data = this.$Method.copy(this.dictData[this.conditionConfig.dictkey]);
50596
50600
  }
50597
50601
  }
50602
+ if (this.conditionConfig.valueChanged)
50603
+ this.conditionConfig.onChange = this.$Method.copy(this.conditionConfig.valueChanged);
50598
50604
  this.conditionConfig.valueChanged = this.conditionValueChanged;
50599
50605
  this.showCondition = true;
50600
50606
  }
@@ -51015,6 +51021,13 @@ const _sfc_main$l = {
51015
51021
  return this.$refs.condition;
51016
51022
  },
51017
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;
51018
51031
  this.$nextTick(() => {
51019
51032
  let tmp = {};
51020
51033
  let self2 = this;