@xuda.io/xuda-worker-bundle-min 1.3.93 → 1.3.94
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/index.js +8 -22
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -7324,7 +7324,10 @@ func.events.execute = async function (
|
|
|
7324
7324
|
};
|
|
7325
7325
|
|
|
7326
7326
|
const get_params_obj = async function () {
|
|
7327
|
-
const _prog = await func.utils.VIEWS_OBJ.get(
|
|
7327
|
+
const _prog = await func.utils.VIEWS_OBJ.get(
|
|
7328
|
+
SESSION_ID,
|
|
7329
|
+
await get_prog_id()
|
|
7330
|
+
);
|
|
7328
7331
|
if (!_prog) {
|
|
7329
7332
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
7330
7333
|
return func.utils.debug_report(
|
|
@@ -7448,7 +7451,7 @@ func.events.execute = async function (
|
|
|
7448
7451
|
const params_obj = await get_params_obj();
|
|
7449
7452
|
return await func.UI.screen.init(
|
|
7450
7453
|
SESSION_ID,
|
|
7451
|
-
|
|
7454
|
+
await get_prog_id(),
|
|
7452
7455
|
$(containerP)?.data()?.xuData.screenId,
|
|
7453
7456
|
_session.DS_GLB[dsSession],
|
|
7454
7457
|
$calling_container,
|
|
@@ -7844,18 +7847,11 @@ func.events.execute = async function (
|
|
|
7844
7847
|
get_data: async function () {
|
|
7845
7848
|
const params_obj = await get_params_obj();
|
|
7846
7849
|
|
|
7847
|
-
if (!
|
|
7850
|
+
if (!(await get_prog_id())) {
|
|
7848
7851
|
func.utils.debug_report(
|
|
7849
7852
|
SESSION_ID,
|
|
7850
7853
|
"func.events.execute",
|
|
7851
|
-
elementP +
|
|
7852
|
-
">" +
|
|
7853
|
-
triggerP +
|
|
7854
|
-
">" +
|
|
7855
|
-
functionP +
|
|
7856
|
-
">" +
|
|
7857
|
-
args.prog_id +
|
|
7858
|
-
" - missing",
|
|
7854
|
+
elementP + ">" + triggerP + ">" + functionP + ">" + "prog missing",
|
|
7859
7855
|
"E"
|
|
7860
7856
|
);
|
|
7861
7857
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
@@ -7881,7 +7877,7 @@ func.events.execute = async function (
|
|
|
7881
7877
|
// }
|
|
7882
7878
|
const ret = await func.datasource.create(
|
|
7883
7879
|
SESSION_ID,
|
|
7884
|
-
|
|
7880
|
+
await get_prog_id(),
|
|
7885
7881
|
args.dataSourceNoP,
|
|
7886
7882
|
args.parentDataSourceNoP,
|
|
7887
7883
|
args.containerIdP,
|
|
@@ -8079,16 +8075,6 @@ func.events.execute = async function (
|
|
|
8079
8075
|
}
|
|
8080
8076
|
|
|
8081
8077
|
const api_ret = await func.api.call_api_program(_prog_id, params_obj);
|
|
8082
|
-
// {
|
|
8083
|
-
// dsSession: dsSessionP,
|
|
8084
|
-
// }
|
|
8085
|
-
// await func.api.set_field_value(output_field, ret);
|
|
8086
|
-
// const datasource_changes = {
|
|
8087
|
-
// [dsSessionP]: {
|
|
8088
|
-
// [ret_get_value.currentRecordId]: { [field_id]: value },
|
|
8089
|
-
// },
|
|
8090
|
-
// };
|
|
8091
|
-
// return await func.datasource.update(_this.SESSION_ID, datasource_changes);
|
|
8092
8078
|
|
|
8093
8079
|
let datasource_changes = {};
|
|
8094
8080
|
|