biz9-logic 4.8.241 → 4.8.242
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 +2 -2
- package/package.json +1 -1
- package/test.js +6 -6
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1599,8 +1599,8 @@ class Page_Url {
|
|
|
1599
1599
|
let action_url=PageType.get_title(PageType.HOME);
|
|
1600
1600
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1601
1601
|
};
|
|
1602
|
-
static
|
|
1603
|
-
let action_url="page/
|
|
1602
|
+
static post_value_field = (app_id,url,type,page_id,value_id,params) => {
|
|
1603
|
+
let action_url="page/post_value_field/"+type+"/"+page_id+"/"+value_id;
|
|
1604
1604
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1605
1605
|
};
|
|
1606
1606
|
}
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -33,12 +33,12 @@ describe("connect", () => {
|
|
|
33
33
|
function(call) {
|
|
34
34
|
//console.log('PAGE-SECTION-START');
|
|
35
35
|
let page = Page_Logic.get_test();
|
|
36
|
-
|
|
37
|
-
page[Page_Logic.get_page_value_field_title('list',1,1)] = 'cool';
|
|
38
|
-
page[Page_Logic.get_page_value_field_title('list',1,2)] = 'apple';
|
|
39
|
-
page[Page_Logic.get_page_value_field_title('list',1,3)] = 'sauce';
|
|
40
|
-
|
|
41
|
-
Log.w('
|
|
36
|
+
page[Page_Logic.get_page_value_field_title(FieldType.PAGE_VALUE_FIELD_TYPE_TEXT,1)] = 'apple';
|
|
37
|
+
//page[Page_Logic.get_page_value_field_title('list',1,1)] = 'cool';
|
|
38
|
+
//page[Page_Logic.get_page_value_field_title('list',1,2)] = 'apple';
|
|
39
|
+
//page[Page_Logic.get_page_value_field_title('list',1,3)] = 'sauce';
|
|
40
|
+
Log.w('page',page);
|
|
41
|
+
Log.w('text_1_value',Page_Logic.get_page_value_field_value(FieldType.PAGE_VALUE_FIELD_TYPE_TEXT,page,1));
|
|
42
42
|
//Log.w('list_1_value',Page_Logic.get_page_value_field_value(FieldType.PAGE_VALUE_TYPE_LIST,1,1));
|
|
43
43
|
|
|
44
44
|
|