cloud-web-corejs 1.0.54-dev.483 → 1.0.54-dev.485
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/package.json +1 -1
- package/src/components/xform/form-designer/designer.js +1 -1654
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -282
- package/src/components/xform/form-designer/form-widget/field-widget/census-widget.vue +0 -2
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +5 -2
- package/src/components/xform/form-render/container-item/containerItemMixin.js +3 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -2909
- package/src/components/xform/form-render/indexMixin.js +1 -3406
- package/src/components/xform/mixins/defaultHandle.js +1 -340
- package/src/components/xform/mixins/scriptHttp.js +1 -172
- package/src/components/xform/utils/util.js +1 -1464
- package/src/store/modules/user.js +1 -23
|
@@ -113,14 +113,14 @@ modules = {
|
|
|
113
113
|
},
|
|
114
114
|
},*/
|
|
115
115
|
computed: {
|
|
116
|
-
currentValue() {
|
|
116
|
+
/* currentValue() {
|
|
117
117
|
let currentData =
|
|
118
118
|
this.tableParam && this.tableParam.row
|
|
119
119
|
? this.tableParam.row
|
|
120
120
|
: this.formModel;
|
|
121
121
|
let currentValue = currentData[this.fieldKeyName];
|
|
122
122
|
return currentValue;
|
|
123
|
-
},
|
|
123
|
+
}, */
|
|
124
124
|
formConfig: function () {
|
|
125
125
|
return this.getFormConfig();
|
|
126
126
|
},
|
|
@@ -154,6 +154,9 @@ modules = {
|
|
|
154
154
|
},
|
|
155
155
|
},
|
|
156
156
|
methods: {
|
|
157
|
+
setFormScriptEnabled(value){
|
|
158
|
+
this.field.options.formScriptEnabled = value || false
|
|
159
|
+
},
|
|
157
160
|
getOptionLabel(){
|
|
158
161
|
if (this.fieldModel === null) {
|
|
159
162
|
return null
|
|
@@ -63,6 +63,9 @@ modules = {
|
|
|
63
63
|
this.callSetHidden();
|
|
64
64
|
},
|
|
65
65
|
methods: {
|
|
66
|
+
setFormScriptEnabled(value){
|
|
67
|
+
this.widget.options.formScriptEnabled = value || false
|
|
68
|
+
},
|
|
66
69
|
unregisterFromRefList() { //销毁容器组件时注销组件ref
|
|
67
70
|
if ((this.refList !== null) && !!this.widget.options.name) {
|
|
68
71
|
let oldRefName = this.widget.options.name;
|