|
@@ -229,7 +229,7 @@ const handleSelectionAllChange = (vals: any[]) => {
|
|
|
selectedDeviceList.value = JSON.parse(JSON.stringify(vals));
|
|
|
};
|
|
|
|
|
|
-const afterTimeStart = () => {
|
|
|
+const afterTimeStart = async () => {
|
|
|
const testParam = ref({});
|
|
|
testParam.value.processId = store.scanInfo.id;
|
|
|
testParam.value.operationName = store.scanInfo.operationName;
|
|
@@ -238,7 +238,7 @@ const afterTimeStart = () => {
|
|
|
testParam.value.times = startSettingTime.value;
|
|
|
const param = ref({ processId: store.scanInfo.id });
|
|
|
|
|
|
- startCSSJTesting(testParam.value).then((data) => {
|
|
|
+ await startCSSJTesting(testParam.value).then((data) => {
|
|
|
if (data.code === "200") {
|
|
|
dialogDevice.value = false;
|
|
|
startSettingVisible.value = false;
|
|
@@ -250,7 +250,7 @@ const afterTimeStart = () => {
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
- getDataDevice(param.value).then((data) => {
|
|
|
+ await getDataDevice(param.value).then((data) => {
|
|
|
selectedDeviceList.value = JSON.parse(JSON.stringify(data.data));
|
|
|
});
|
|
|
getList();
|