@byteluck-fe/model-driven-upgrade 2.22.2-beta.8 → 2.23.0-beta.1

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.
@@ -5,7 +5,7 @@
5
5
  * @LastEditTime: 2023-03-03 13:42:45
6
6
  * @FilePath: /model-driven/packages/upgrade/src/upgrade/v2_10.ts
7
7
  * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
- */ import { loop, CONTROL_TYPE, RulesMessage } from '@byteluck-fe/model-driven-shared';
8
+ */ import { loop, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
9
9
  import { OperationButton } from '@byteluck-fe/model-driven-controls';
10
10
  import { TitleConfigEnum } from '@byteluck-fe/model-driven-controls';
11
11
  var dataCleaner = function(schemaItems, payload) {
@@ -94,7 +94,7 @@ function conversion(schema, payload) {
94
94
  optbtn2.props.openType = (_item_props17 = item.props) === null || _item_props17 === void 0 ? void 0 : _item_props17.delete.open_type;
95
95
  optbtn2.props.formKey = (_item_props18 = item.props) === null || _item_props18 === void 0 ? void 0 : _item_props18.delete.form_key;
96
96
  optbtn2.props.needConfirm = true;
97
- optbtn2.props.confirmMessage = RulesMessage.getMessage('deleteConfirm');
97
+ optbtn2.props.confirmMessage = '确定要删除此条数据吗?';
98
98
  if ((_item_props19 = item.props) === null || _item_props19 === void 0 ? void 0 : _item_props19.delete.is_show) {
99
99
  item.children.push(optbtn2.toSchema());
100
100
  }
@@ -4,7 +4,7 @@
4
4
  * @Date: 2024-01-22 14:16:13
5
5
  * @LastEditors: SuperLuckyqi
6
6
  * @LastEditTime: 2024-05-11 14:44:13
7
- */ import { loop, CONTROL_TYPE, decamelizeKeys, RulesMessage } from '@byteluck-fe/model-driven-shared';
7
+ */ import { loop, CONTROL_TYPE, decamelizeKeys } from '@byteluck-fe/model-driven-shared';
8
8
  import { MetaRowHeight } from '@byteluck-fe/model-driven-core';
9
9
  function postProcess(controlMap, payload) {
10
10
  if ((payload === null || payload === void 0 ? void 0 : payload.formType) === 1 && (payload === null || payload === void 0 ? void 0 : payload.events) !== undefined) {
@@ -58,10 +58,10 @@ function conversion(schema, payload) {
58
58
  if (displayBoList) {
59
59
  displayBoList.forEach(function(item) {
60
60
  if (item.value === 'org_type_code') {
61
- item.label = RulesMessage.getMessage('businessType');
61
+ item.label = '业务类型';
62
62
  }
63
63
  if (item.value === 'org_pattern_code') {
64
- item.label = RulesMessage.getMessage('organizationalForm');
64
+ item.label = '组织形态';
65
65
  }
66
66
  });
67
67
  }
@@ -4,7 +4,7 @@
4
4
  * @Date: 2024-01-22 14:16:13
5
5
  * @LastEditors: SuperLuckyqi
6
6
  * @LastEditTime: 2024-01-22 14:19:43
7
- */ import { loop, CONTROL_TYPE, RulesMessage } from '@byteluck-fe/model-driven-shared';
7
+ */ import { loop, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
8
8
  var dataCleaner = function(schemaItems, payload) {
9
9
  var isArray = Array.isArray(schemaItems);
10
10
  var schemaArray = isArray ? schemaItems : [
@@ -27,10 +27,10 @@ function conversion(schema, payload) {
27
27
  if (displayBoList) {
28
28
  displayBoList.forEach(function(item) {
29
29
  if (item.value === 'org_type_code') {
30
- item.label = RulesMessage.getMessage('businessType');
30
+ item.label = '业务类型';
31
31
  }
32
32
  if (item.value === 'org_pattern_code') {
33
- item.label = RulesMessage.getMessage('organizationalForm');
33
+ item.label = '组织形态';
34
34
  }
35
35
  });
36
36
  }
@@ -4,7 +4,7 @@
4
4
  * @Date: 2024-01-22 14:16:13
5
5
  * @LastEditors: SuperLuckyqi
6
6
  * @LastEditTime: 2024-01-22 14:19:43
7
- */ import { loop, CONTROL_TYPE, RulesMessage } from '@byteluck-fe/model-driven-shared';
7
+ */ import { loop, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
8
8
  var dataCleaner = function(schemaItems, payload) {
9
9
  var isArray = Array.isArray(schemaItems);
10
10
  var schemaArray = isArray ? schemaItems : [
@@ -39,10 +39,10 @@ function conversion(schema, payload) {
39
39
  if (displayBoList) {
40
40
  displayBoList.forEach(function(item) {
41
41
  if (item.value === 'org_type_code') {
42
- item.label = RulesMessage.getMessage('businessType');
42
+ item.label = '业务类型';
43
43
  }
44
44
  if (item.value === 'org_pattern_code') {
45
- item.label = RulesMessage.getMessage('organizationalForm');
45
+ item.label = '组织形态';
46
46
  }
47
47
  });
48
48
  }