@adminforth/bulk-ai-flow 1.22.2 → 1.22.3
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/build.log +2 -2
- package/custom/VisionAction.vue +5 -0
- package/dist/custom/VisionAction.vue +5 -0
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -13,5 +13,5 @@ custom/package-lock.json
|
|
|
13
13
|
custom/package.json
|
|
14
14
|
custom/tsconfig.json
|
|
15
15
|
|
|
16
|
-
sent 99,
|
|
17
|
-
total size is 98,
|
|
16
|
+
sent 99,621 bytes received 172 bytes 199,586.00 bytes/sec
|
|
17
|
+
total size is 98,985 speedup is 0.99
|
package/custom/VisionAction.vue
CHANGED
|
@@ -382,6 +382,8 @@ async function runAiActions() {
|
|
|
382
382
|
isActiveGeneration.value = true;
|
|
383
383
|
completedRecordIds.value = new Set();
|
|
384
384
|
startedRecordCount.value = 0;
|
|
385
|
+
await nextTick();
|
|
386
|
+
tableRef.value?.refresh();
|
|
385
387
|
const limit = pLimit(props.meta.concurrencyLimit || 10);
|
|
386
388
|
const tasks = recordIds.value
|
|
387
389
|
.map(id => limit(() => processOneRecord(String(id))));
|
|
@@ -397,6 +399,9 @@ const closeDialog = () => {
|
|
|
397
399
|
isDialogOpen.value = false;
|
|
398
400
|
popupMode.value = 'confirmation';
|
|
399
401
|
isDataSaved.value = false;
|
|
402
|
+
if (isGenerationPaused.value || isGenerationCancelled.value) {
|
|
403
|
+
resolvePause();
|
|
404
|
+
}
|
|
400
405
|
}
|
|
401
406
|
|
|
402
407
|
async function initializeGlobalState() {
|
|
@@ -382,6 +382,8 @@ async function runAiActions() {
|
|
|
382
382
|
isActiveGeneration.value = true;
|
|
383
383
|
completedRecordIds.value = new Set();
|
|
384
384
|
startedRecordCount.value = 0;
|
|
385
|
+
await nextTick();
|
|
386
|
+
tableRef.value?.refresh();
|
|
385
387
|
const limit = pLimit(props.meta.concurrencyLimit || 10);
|
|
386
388
|
const tasks = recordIds.value
|
|
387
389
|
.map(id => limit(() => processOneRecord(String(id))));
|
|
@@ -397,6 +399,9 @@ const closeDialog = () => {
|
|
|
397
399
|
isDialogOpen.value = false;
|
|
398
400
|
popupMode.value = 'confirmation';
|
|
399
401
|
isDataSaved.value = false;
|
|
402
|
+
if (isGenerationPaused.value || isGenerationCancelled.value) {
|
|
403
|
+
resolvePause();
|
|
404
|
+
}
|
|
400
405
|
}
|
|
401
406
|
|
|
402
407
|
async function initializeGlobalState() {
|