biz9-logic 4.0.11 → 4.0.12
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/biz9_config +1 -1
- package/index.js +1 -25
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -43,29 +43,6 @@ class Template{
|
|
|
43
43
|
}
|
|
44
44
|
return template_sub_item_list;
|
|
45
45
|
}
|
|
46
|
-
function get_item_section_list(parent_item,top_item){
|
|
47
|
-
let new_list = [];
|
|
48
|
-
for(let a=1;a<3;a++){
|
|
49
|
-
let item_title = "Section " + String(a);
|
|
50
|
-
let item = DataItem.get_new(
|
|
51
|
-
DataType.ITEM,Number.get_id(), {
|
|
52
|
-
top_id:top_item.id,
|
|
53
|
-
top_data_type:top_item.data_type,
|
|
54
|
-
parent_id:parent_item.id,
|
|
55
|
-
parent_data_type:parent_item.data_type,
|
|
56
|
-
title:item_title,
|
|
57
|
-
title_url:Str.get_title_url(item_title),
|
|
58
|
-
sub_note:"Sub Note "+String(Number.get_id()),
|
|
59
|
-
note:"Note "+String(Number.get_id()),
|
|
60
|
-
}
|
|
61
|
-
);
|
|
62
|
-
for(let b=1;b<3;b++){
|
|
63
|
-
item['value_'+String(b)] = 'Section '+ String(a) + ' value ' + String(b);
|
|
64
|
-
}
|
|
65
|
-
new_list.push(item);
|
|
66
|
-
}
|
|
67
|
-
return new_list;
|
|
68
|
-
}
|
|
69
46
|
return template;
|
|
70
47
|
};
|
|
71
48
|
}
|
|
@@ -132,10 +109,9 @@ class Event{
|
|
|
132
109
|
class Section{
|
|
133
110
|
static get_test_list = (parent_item,top_item) =>{
|
|
134
111
|
let items = get_item_section_list(parent_item,top_item);
|
|
135
|
-
|
|
136
112
|
function get_item_section_list(parent_item,top_item){
|
|
137
113
|
let new_list = [];
|
|
138
|
-
for(let a=1;a<
|
|
114
|
+
for(let a=1;a<20;a++){
|
|
139
115
|
let item_title = "Section " + String(a);
|
|
140
116
|
let item = DataItem.get_new(
|
|
141
117
|
DataType.ITEM,Number.get_id(), {
|