ocpview-plus 1.1.4 → 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.
package/README.md CHANGED
@@ -37,3 +37,6 @@ billImportConfig: {
37
37
 
38
38
  ### 1.1.4 更新说明
39
39
  DateBox 升级,增加快捷赋值操作配置项
40
+
41
+ ### 1.1.5 更新说明
42
+ PopTextBox 精灵多级参数透传
@@ -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
  }