ocpview-plus 1.2.5 → 1.2.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.
|
@@ -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.2.
|
|
456
|
+
const version$2 = "1.2.6";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -44071,6 +44071,9 @@ const _sfc_main$z = {
|
|
|
44071
44071
|
el2.resizable = true;
|
|
44072
44072
|
}
|
|
44073
44073
|
}
|
|
44074
|
+
if (el2.type === "ComboBox" && el2.codeWithName === void 0) {
|
|
44075
|
+
el2.codeWithName = this.OmdUrl.billQueryComboBoxCodeWithName !== void 0 ? this.OmdUrl.billQueryComboBoxCodeWithName : true;
|
|
44076
|
+
}
|
|
44074
44077
|
});
|
|
44075
44078
|
if (this.myConfig.gridConfig.initRefresh !== void 0) {
|
|
44076
44079
|
this.initRefresh = this.myConfig.gridConfig.initRefresh;
|
|
@@ -44086,7 +44089,9 @@ const _sfc_main$z = {
|
|
|
44086
44089
|
}
|
|
44087
44090
|
this.myConfig.queryConfig = {};
|
|
44088
44091
|
this.myConfig.queryConfig.curHelpUrl = this.config.curHelpUrl;
|
|
44089
|
-
this.myConfig.queryConfig.items = this.$Method.copy(
|
|
44092
|
+
this.myConfig.queryConfig.items = this.$Method.copy(
|
|
44093
|
+
this.myConfig.gridConfig.items
|
|
44094
|
+
);
|
|
44090
44095
|
this.myConfig.queryConfig.modulecode = this.config.modulecode;
|
|
44091
44096
|
this.myConfig.queryConfig.enablePermissions = this.enablePermissions;
|
|
44092
44097
|
if (this.myConfig.btnData) {
|
|
@@ -44097,10 +44102,14 @@ const _sfc_main$z = {
|
|
|
44097
44102
|
}
|
|
44098
44103
|
if (this.myConfig.usercustominfo) {
|
|
44099
44104
|
if (this.myConfig.usercustominfo.filterscene) {
|
|
44100
|
-
this.myConfig.queryConfig.sceneData = this.$Method.copy(
|
|
44105
|
+
this.myConfig.queryConfig.sceneData = this.$Method.copy(
|
|
44106
|
+
this.myConfig.usercustominfo.filterscene
|
|
44107
|
+
);
|
|
44101
44108
|
}
|
|
44102
44109
|
if (this.myConfig.usercustominfo.colset) {
|
|
44103
|
-
this.gridCol = JSON.parse(
|
|
44110
|
+
this.gridCol = JSON.parse(
|
|
44111
|
+
this.$Method.copy(this.myConfig.usercustominfo.colset)
|
|
44112
|
+
);
|
|
44104
44113
|
}
|
|
44105
44114
|
}
|
|
44106
44115
|
this.setChangeGridConfig();
|
|
@@ -44110,7 +44119,9 @@ const _sfc_main$z = {
|
|
|
44110
44119
|
if (this.enablePermissions) {
|
|
44111
44120
|
let btns = [];
|
|
44112
44121
|
this.moduleMethod.forEach((el2) => {
|
|
44113
|
-
let btn = this.rowBtnData.find(
|
|
44122
|
+
let btn = this.rowBtnData.find(
|
|
44123
|
+
(el22) => el2.name === el22.name
|
|
44124
|
+
);
|
|
44114
44125
|
if (btn) {
|
|
44115
44126
|
btns.push(btn);
|
|
44116
44127
|
}
|
|
@@ -44171,7 +44182,9 @@ const _sfc_main$z = {
|
|
|
44171
44182
|
this.$nextTick(() => {
|
|
44172
44183
|
let index = 0;
|
|
44173
44184
|
if (self2.ph_key) {
|
|
44174
|
-
let culIndex = data.findIndex(
|
|
44185
|
+
let culIndex = data.findIndex(
|
|
44186
|
+
(el2) => el2[self2.myConfig.gridConfig.bindSearchParam] === self2.ph_key
|
|
44187
|
+
);
|
|
44175
44188
|
if (culIndex > -1) {
|
|
44176
44189
|
index = culIndex;
|
|
44177
44190
|
}
|
|
@@ -44240,7 +44253,9 @@ const _sfc_main$z = {
|
|
|
44240
44253
|
let items = [];
|
|
44241
44254
|
this.gridCol.forEach((el2) => {
|
|
44242
44255
|
if (el2.name && el2.visible) {
|
|
44243
|
-
let tmp = this.myConfig.gridConfig.items.find(
|
|
44256
|
+
let tmp = this.myConfig.gridConfig.items.find(
|
|
44257
|
+
(el22) => el2.name === el22.name || el2.name === el22.sname
|
|
44258
|
+
);
|
|
44244
44259
|
if (tmp) {
|
|
44245
44260
|
let tmp2 = this.$Method.copy(tmp);
|
|
44246
44261
|
if (el2.fixed) {
|
|
@@ -44283,7 +44298,10 @@ const _sfc_main$z = {
|
|
|
44283
44298
|
},
|
|
44284
44299
|
beforeUnmount() {
|
|
44285
44300
|
if (this.$refs.toolbar) {
|
|
44286
|
-
this.observer.removeListener(
|
|
44301
|
+
this.observer.removeListener(
|
|
44302
|
+
this.$refs.toolbar,
|
|
44303
|
+
this.setOutsideHeight
|
|
44304
|
+
);
|
|
44287
44305
|
}
|
|
44288
44306
|
}
|
|
44289
44307
|
};
|
|
@@ -44327,7 +44345,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
44327
44345
|
createVNode(_component_Dropdown, {
|
|
44328
44346
|
trigger: "custom",
|
|
44329
44347
|
visible: $data.colsetFlag,
|
|
44330
|
-
style: { "position": "absolute", "z-index": "99", "right": "15px", "top": "1px", "padding": "7.5px", "background-color": "#
|
|
44348
|
+
style: { "position": "absolute", "z-index": "99", "right": "15px", "top": "1px", "padding": "7.5px", "background-color": "#f5f7fa" },
|
|
44331
44349
|
placement: "bottom-end",
|
|
44332
44350
|
transfer: $data.transferFlag,
|
|
44333
44351
|
onOnClickoutside: $options.closeColset
|