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 +7 -0
- package/dist/ocpviewplus.min.esm.js +23 -10
- package/dist/ocpviewplus.min.js +2 -2
- package/package.json +1 -1
- package/src/components/masterplate/leftlistrightdetails.vue +2 -2
- package/src/components/masterplate/lefttreerightdetails.vue +6 -0
- package/src/components/poptextbox/poptextbox.vue +41 -29
package/README.md
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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
|
}
|
|
@@ -49984,9 +49988,9 @@ const _sfc_main$m = {
|
|
|
49984
49988
|
},
|
|
49985
49989
|
methods: {
|
|
49986
49990
|
setLogName() {
|
|
49987
|
-
this.logName.push({ code: this.myConfig.
|
|
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.
|
|
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;
|