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
|
@@ -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
|
-
|
|
26929
|
-
if (
|
|
26930
|
-
const
|
|
26931
|
-
|
|
26932
|
-
|
|
26933
|
-
|
|
26934
|
-
|
|
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
|
}
|