@xuda.io/runtime-bundle 1.0.700 → 1.0.701
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.
|
@@ -27714,25 +27714,26 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
|
|
|
27714
27714
|
|
|
27715
27715
|
const fx = {
|
|
27716
27716
|
update_datasource: async function () {
|
|
27717
|
-
|
|
27718
|
-
|
|
27717
|
+
if (queue_obj?.paramsP) {
|
|
27718
|
+
var _ds = SESSION_OBJ[SESSION_ID].DS_GLB[queue_obj.dsSession];
|
|
27719
|
+
_ds.currentRecordId = queue_obj.paramsP.currentRecordId;
|
|
27719
27720
|
|
|
27720
|
-
|
|
27721
|
-
|
|
27722
|
-
};
|
|
27723
|
-
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
27724
|
-
|
|
27725
|
-
if (queue_obj.paramsP.field_id) {
|
|
27726
|
-
datasource_changes = {
|
|
27727
|
-
[_ds.dsSession]: {
|
|
27728
|
-
[_ds.currentRecordId]: {
|
|
27729
|
-
[queue_obj.paramsP.field_id]: queue_obj.paramsP.field_value,
|
|
27730
|
-
},
|
|
27731
|
-
},
|
|
27721
|
+
var datasource_changes = {
|
|
27722
|
+
[_ds.dsSession]: { [_ds.currentRecordId]: 'set' },
|
|
27732
27723
|
};
|
|
27733
27724
|
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
27734
|
-
}
|
|
27735
27725
|
|
|
27726
|
+
if (queue_obj.paramsP.field_id) {
|
|
27727
|
+
datasource_changes = {
|
|
27728
|
+
[_ds.dsSession]: {
|
|
27729
|
+
[_ds.currentRecordId]: {
|
|
27730
|
+
[queue_obj.paramsP.field_id]: queue_obj.paramsP.field_value,
|
|
27731
|
+
},
|
|
27732
|
+
},
|
|
27733
|
+
};
|
|
27734
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
27735
|
+
}
|
|
27736
|
+
}
|
|
27736
27737
|
return func.UI.worker.delete_job(SESSION_ID, queue_obj.job_num);
|
|
27737
27738
|
},
|
|
27738
27739
|
execute_xu_render_attributes: async function () {
|