@byteluck-fe/model-driven-upgrade 2.20.0-beta.2 → 2.20.0-beta.3
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/dist/esm/upgrade/v3_7.js +15 -0
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
package/dist/esm/upgrade/v3_7.js
CHANGED
|
@@ -32,6 +32,21 @@ function conversion(schema, payload) {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
//组织选择控件,选中后hover展示名称与key不对,由于设计态初始配置的key和名称错误,故在此进行重置
|
|
36
|
+
if (schema.type === CONTROL_TYPE.ORGANIZATION_SELECTION) {
|
|
37
|
+
var config = schema.props.selected_content_config;
|
|
38
|
+
var displayBoList = config === null || config === void 0 ? void 0 : config.display_bo_list;
|
|
39
|
+
if (displayBoList) {
|
|
40
|
+
displayBoList.forEach(function(item) {
|
|
41
|
+
if (item.value === "org_type_code") {
|
|
42
|
+
item.label = "业务类型";
|
|
43
|
+
}
|
|
44
|
+
if (item.value === "org_pattern_code") {
|
|
45
|
+
item.label = "组织形态";
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
35
50
|
return schema;
|
|
36
51
|
}
|
|
37
52
|
export { dataCleaner };
|