|
|
@@ -116,6 +116,7 @@
|
|
|
<el-table-column label="设备名称" align="left" prop="deviceName" width="200" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="场景名称" align="center" prop="sceneName" width="200" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="场景序号" align="center" prop="sceneSort" width="150"/>
|
|
|
+ <el-table-column label="知识库" align="center" prop="datasetsName" width="150"/>
|
|
|
<el-table-column label="备注" align="left" prop="remark" :show-overflow-tooltip="true"/>
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="120">
|
|
|
<template #default="scope">
|
|
|
@@ -539,9 +540,11 @@ const submitDatasetsRel = async () => {
|
|
|
} else {
|
|
|
await addDatasetsIdentifierRel(datasetsData.form).finally(() => buttonLoading.value = false);
|
|
|
}
|
|
|
+ const res = await getGroupRelByGroupId(groupId.value);
|
|
|
+ deviceList.value = res.data;
|
|
|
proxy?.$modal.msgSuccess("操作成功");
|
|
|
datasetsRelLog.visible = false;
|
|
|
-}
|
|
|
+};
|
|
|
|
|
|
/** 提交按钮 */
|
|
|
const submitForm = () => {
|