biz9-logic 3.5.7 → 3.5.9
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 +5 -5
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -59,8 +59,8 @@ class BiZ_Url {
|
|
|
59
59
|
let action_url= "main/biz_item/delete/"+item.data_type + "/" + item.id ;
|
|
60
60
|
return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
|
|
61
61
|
};
|
|
62
|
-
static get_full_item = (biz9_config,item
|
|
63
|
-
let action_url= "main/biz_item/get_full/"+item.data_type + "/" + item.id
|
|
62
|
+
static get_full_item = (biz9_config,item) => {
|
|
63
|
+
let action_url= "main/biz_item/get_full/"+item.data_type + "/" + item.id;
|
|
64
64
|
return get_cloud_url_main(biz9_config.APP_TITLE_ID,biz9_config.URL,action_url,null);
|
|
65
65
|
};
|
|
66
66
|
}
|
|
@@ -154,14 +154,14 @@ class CMS {
|
|
|
154
154
|
return {
|
|
155
155
|
id: item.id ? item.id : 0,
|
|
156
156
|
data_type:item.data_type ? item.data_type : DataType.DT_BLANK,
|
|
157
|
+
|
|
157
158
|
parent_id:item.parent_id ? item.parent_id : 0,
|
|
158
159
|
parent_data_type:item.parent_data_type ? item.parent_data_type : DataType.DT_BLANK,
|
|
159
160
|
|
|
160
|
-
top_id:
|
|
161
|
-
top_data_type:
|
|
161
|
+
top_id:item.top_id ? item.top_id : 0,
|
|
162
|
+
top_data_type:item.top_data_type ? item.top_data_type : DataType.DT_BLANK
|
|
162
163
|
}
|
|
163
164
|
};
|
|
164
|
-
|
|
165
165
|
static get_new_query_item = (item,parent_item,top_item) => {
|
|
166
166
|
return {
|
|
167
167
|
id: item.id ? item.id : 0,
|