ocpview-pro 0.0.4 → 0.0.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 = "0.0.
|
|
456
|
+
const version$2 = "0.0.5";
|
|
457
457
|
const title = "ocpviewPlus";
|
|
458
458
|
const description = "A high quality Service UI components Library with Vue.js";
|
|
459
459
|
const homepage = "";
|
|
@@ -56981,7 +56981,8 @@ const _sfc_main$c = {
|
|
|
56981
56981
|
},
|
|
56982
56982
|
showGrid: true,
|
|
56983
56983
|
showTitle: true,
|
|
56984
|
-
dataInfo: {}
|
|
56984
|
+
dataInfo: {},
|
|
56985
|
+
readOnly: false
|
|
56985
56986
|
};
|
|
56986
56987
|
},
|
|
56987
56988
|
computed: {},
|
|
@@ -56993,13 +56994,21 @@ const _sfc_main$c = {
|
|
|
56993
56994
|
this.showGrid = !this.showGrid;
|
|
56994
56995
|
},
|
|
56995
56996
|
setData(data = [], flag = "set") {
|
|
56996
|
-
|
|
56997
|
-
|
|
56997
|
+
this.dataInfo = { ...data };
|
|
56998
|
+
},
|
|
56999
|
+
getData() {
|
|
57000
|
+
return this.dataInfo;
|
|
57001
|
+
},
|
|
57002
|
+
getChangeData() {
|
|
57003
|
+
return this.dataInfo;
|
|
57004
|
+
},
|
|
57005
|
+
valueChanged(obj) {
|
|
57006
|
+
return true;
|
|
56998
57007
|
},
|
|
56999
57008
|
clearData() {
|
|
57000
57009
|
},
|
|
57001
57010
|
setReadOnly(value) {
|
|
57002
|
-
|
|
57011
|
+
this.readOnly = value;
|
|
57003
57012
|
},
|
|
57004
57013
|
doAction(params) {
|
|
57005
57014
|
this.$emit("doAction", params);
|
|
@@ -57078,11 +57087,11 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57078
57087
|
withDirectives(createElementVNode("div", null, [
|
|
57079
57088
|
_ctx.$slots[$data.myConfig.slot] ? renderSlot(_ctx.$slots, $data.myConfig.slot, {
|
|
57080
57089
|
key: 0,
|
|
57081
|
-
formData: _ctx.formData,
|
|
57082
57090
|
config: $props.config,
|
|
57083
57091
|
dictData: $props.dictData,
|
|
57084
57092
|
doAction: $options.doAction,
|
|
57085
|
-
dataInfo: $data.dataInfo
|
|
57093
|
+
dataInfo: $data.dataInfo,
|
|
57094
|
+
readOnly: $data.readOnly
|
|
57086
57095
|
}) : createCommentVNode("", true)
|
|
57087
57096
|
], 512), [
|
|
57088
57097
|
[vShow, $data.showGrid]
|
|
@@ -57193,13 +57202,14 @@ const _sfc_main$b = {
|
|
|
57193
57202
|
}
|
|
57194
57203
|
this.$refs[el2.name][0].setData(temp);
|
|
57195
57204
|
}
|
|
57196
|
-
if (el2.type === "SlotPanelCard") {
|
|
57197
|
-
this.$refs[el2.name][0].setData(data);
|
|
57198
|
-
}
|
|
57199
57205
|
} else {
|
|
57200
57206
|
if (el2.type !== "AppendixBox" || el2.type !== "AppendixBox2") {
|
|
57201
57207
|
if (this.$refs[el2.name] && this.$refs[el2.name][0]) {
|
|
57202
|
-
|
|
57208
|
+
if (el2.type === "SlotPanelCard") {
|
|
57209
|
+
this.$refs[el2.name][0].setData({ ...data });
|
|
57210
|
+
} else {
|
|
57211
|
+
this.$refs[el2.name][0].setData([]);
|
|
57212
|
+
}
|
|
57203
57213
|
}
|
|
57204
57214
|
}
|
|
57205
57215
|
}
|