biz9-logic 4.8.234 → 4.8.237
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 +4 -16
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -191,8 +191,8 @@ class Page_Logic {
|
|
|
191
191
|
}
|
|
192
192
|
return item_list;
|
|
193
193
|
};
|
|
194
|
-
static get_page_section = (type,page_id,section_id,value_id,value,
|
|
195
|
-
return {type:type,page_id:page_id,section_id:section_id,value_id:value_id,value:value,
|
|
194
|
+
static get_page_section = (type,page_id,section_id,value_id,value,value_list) => {
|
|
195
|
+
return {type:type,page_id:page_id,section_id:section_id,value_id:value_id,value:value,value_list:value_list};
|
|
196
196
|
};
|
|
197
197
|
static get_section_type_list = () => {
|
|
198
198
|
return [
|
|
@@ -228,25 +228,13 @@ class Page_Logic {
|
|
|
228
228
|
return 'section_'+section_id + '_value_'+value_id + "_" + type_str + "_value";
|
|
229
229
|
}
|
|
230
230
|
|
|
231
|
-
static
|
|
231
|
+
static get_section_property_type_list_value = (section_id,value_id,row_id) =>{
|
|
232
232
|
//page['section_1_value_1_type'] -- / list
|
|
233
|
-
//page['section_1_value_1_list_field_1']
|
|
234
233
|
//page['section_1_value_1_list_value_1']
|
|
235
|
-
//page['section_1_value_1_list_field_2']
|
|
236
234
|
//page['section_1_value_1_list_value_2']
|
|
237
|
-
//page['section_1_value_1_list_field_3']
|
|
238
235
|
//page['section_1_value_1_list_value_3']
|
|
239
236
|
//section_1_value_2_list_field_value_3
|
|
240
|
-
|
|
241
|
-
switch(type){
|
|
242
|
-
case 'field':
|
|
243
|
-
type_str = 'field';
|
|
244
|
-
break;
|
|
245
|
-
case 'value':
|
|
246
|
-
type_str = 'value';
|
|
247
|
-
break;
|
|
248
|
-
};
|
|
249
|
-
return 'section_'+section_id + '_value_'+value_id + "_list_" + type_str +"_" +row_id;
|
|
237
|
+
return 'section_'+section_id + '_value_'+value_id + "_list_value_" +row_id;
|
|
250
238
|
}
|
|
251
239
|
}
|
|
252
240
|
class Order_Logic {
|