cloud-web-corejs 1.0.54-dev.714 → 1.0.54-dev.715
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/XFormTabContainer//346/226/260/345/242/236/351/241/265/347/255/276/346/250/241/345/274/217-/350/220/275/345/234/260/345/256/236/346/226/275/346/226/207/346/241/243.md +232 -0
- package/src/components/xform/docs//345/257/271/346/257/224/345/212/237/350/203/275/350/220/275/345/234/260/346/226/271/346/241/210.md +563 -0
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +48 -0
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +60 -0
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +116 -13
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/autocomplete-mixin.js +5 -0
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/vabsearch-mixin.js +13 -0
- package/src/components/xform/form-designer/form-widget/field-widget/status-widget.vue +11 -0
- package/src/components/xform/form-designer/form-widget/field-widget/switch-widget.vue +9 -1
- package/src/components/xform/form-designer/widget-panel/index.vue +29 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +137 -0
- package/src/components/xform/form-render/compareDelList.vue +83 -0
- package/src/components/xform/form-render/compareView.vue +76 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +15 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +19 -0
- package/src/components/xform/form-render/index.vue +8 -1
- package/src/components/xform/form-render/indexMixin.js +757 -3
- package/src/components/xform/lang/en-US_extension.js +3 -0
- package/src/components/xform/lang/zh-CN.js +3 -0
- package/src/components/xform/mixins/defaultHandle.js +17 -0
|
@@ -114,6 +114,9 @@ export default {
|
|
|
114
114
|
"modify_by-text": "更新人",
|
|
115
115
|
"create_date-text": "创建时间",
|
|
116
116
|
"modify_date-text": "更新时间",
|
|
117
|
+
"compare-button": "对比",
|
|
118
|
+
"compare-close-button": "关闭对比",
|
|
119
|
+
"compare-del-button": "查看删除明细",
|
|
117
120
|
"user-vabsearch": "用户(单选)",
|
|
118
121
|
"saleOrg-vabsearch": "机构(单选)",
|
|
119
122
|
"user-project-tag": "用户(多选)",
|
|
@@ -76,6 +76,23 @@ modules = {
|
|
|
76
76
|
delete mainData._createBy;
|
|
77
77
|
delete mainData._modifyBy;
|
|
78
78
|
|
|
79
|
+
// 移除对比功能给各子表行加的快照字段 hData,避免提交到后端
|
|
80
|
+
let stripHData = (obj) => {
|
|
81
|
+
if (!obj || typeof obj !== "object") return;
|
|
82
|
+
if (Array.isArray(obj)) {
|
|
83
|
+
obj.forEach(stripHData);
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (Object.prototype.hasOwnProperty.call(obj, "hData")) {
|
|
87
|
+
delete obj.hData;
|
|
88
|
+
}
|
|
89
|
+
Object.keys(obj).forEach((k) => {
|
|
90
|
+
let v = obj[k];
|
|
91
|
+
if (v && typeof v === "object") stripHData(v);
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
stripHData(formData);
|
|
95
|
+
|
|
79
96
|
let reqData = {
|
|
80
97
|
formCode: formCode,
|
|
81
98
|
formVersion: reportTemplate.formVersion,
|