|
|
|
|
@ -154,7 +154,6 @@
|
|
|
|
|
const live_info = airPortStoreVal.getLiveInfo;
|
|
|
|
|
const closeInspection = () => {};
|
|
|
|
|
const submit = () => {
|
|
|
|
|
console.log(props.type);
|
|
|
|
|
if (!instantiateItem.value.id) {
|
|
|
|
|
createMessage.warning('请选择AI算法实例');
|
|
|
|
|
return;
|
|
|
|
|
@ -168,7 +167,7 @@
|
|
|
|
|
// return;
|
|
|
|
|
// }
|
|
|
|
|
const querys = {
|
|
|
|
|
taskId: props.taskId,
|
|
|
|
|
taskId: airPortStoreVal.getTaskId,
|
|
|
|
|
algoInstanceId: instantiateItem.value.id,
|
|
|
|
|
rtmpUrl: live_info.rtmp + liveCode.value,
|
|
|
|
|
warningTitle: data.code,
|
|
|
|
|
@ -177,7 +176,6 @@
|
|
|
|
|
callAiModel(querys).then((res) => {
|
|
|
|
|
console.log(res);
|
|
|
|
|
createMessage.success('操作成功');
|
|
|
|
|
airPortStoreVal.setTaskId(props.taskId);
|
|
|
|
|
option.status.hide = true;
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|